forum

Auto-downloader for Bloodcat (osu! beatmap mirror)

posted
Total Posts
60
show more
Topic Starter
RavenMac

Syrasu wrote:

Im getting an error: http://puu.sh/bbsFo/8765d8d3ee.png
it immediatly closes the windows after opening the file.
Sorry for the late reply. I was attending a convention.
For some reason when editing the code on Mediafire, it converts the first tab into 4 spaces.
I have to reuploaded the code in order to prevent this.
Aistify
I'm getting this error for some reason.
http://puu.sh/cb1DE.png

EDIT
Saving the beatmap without unicode characters fixed the problem for me.
Topic Starter
RavenMac

Aistify wrote:

I'm getting this error for some reason.
http://puu.sh/cb1DE.png

EDIT
Saving the beatmap without unicode characters fixed the problem for me.
I know exactly what the problem is. I've noticed this on a few songs before. When it grabs the title and artist, sometimes there are unicode characters in them. I've updated the code.

And for a side note. I'm no longer using mediafire to share the code. I'm using pastebin now. I hope this will help when making small edits like i have been doing. For some reason it saved my last edit as one entire line. With some programming languages that's fine, but not with python.
Aistify
Is it even possible for it to check all the songs you have and download the ones you don't?
Topic Starter
RavenMac

Aistify wrote:

Is it even possible for it to check all the songs you have and download the ones you don't?
With this code, no.
However, it can be done.

I've got some relatives coming in today, so I'm gonna be busy for a little while.
I can look at doing this afterwords.
thisischrys
Hangs on the first song, with or without unicode
Topic Starter
RavenMac

thisischrys wrote:

Hangs on the first song, with or without unicode
I've just downloaded and tested downloading 4 songs with each for 2.7 and 3.4

2.7:

3.4:

Make sure you're using the 2.7 code with Python 2.7 or 3.4 with 3.4.
There are slight syntax differences between the two and some components are named differently.

Also without a screen shot or description of what's going on or what the error is, i can't help all too much.
Aistify

Used unicode again and got that again. I did change the code to look through 20 and only that. Works with no unicode though. Also is it possible to add a progress bar (or just the %) with the download speed somewhere? (Sorry if it looks like I'm asking too much but I'm just suggesting additional features that might be useful in the future :? )
Topic Starter
RavenMac

Aistify wrote:


Used unicode again and got that again. I did change the code to look through 20 and only that. Works with no unicode though. Also is it possible to add a progress bar (or just the %) with the download speed somewhere? (Sorry if it looks like I'm asking too much but I'm just suggesting additional features that might be useful in the future :? )
I may have time tonight to look at the problem.

I don't mind the requests at all. I'll look more into it. It may help me when i start the GUI for Java. But I've gotta get school work finished first.
Topic Starter
RavenMac
I've fixed the problem. I wasn't using a function incorrectly. I'll look into the progress bar soon and download speeds soon.
Aistify
I was trying to make a GUI and I came across a nice application to do so Glade 3. Why not try using that? I'm actually working on one myself at the moment.
Topic Starter
RavenMac
I've been looking at the GUI builder in NetBeans. I'm currently working on a semester long group project for my class and learned how to use it properly. I already have a program running just like this one in Java, but I've been busy with so many things.

I will take a look at this though. It looks quite interesting. Thanks :D
Aistify

RavenMac wrote:

I've been looking at the GUI builder in NetBeans. I'm currently working on a semester long group project for my class and learned how to use it properly. I already have a program running just like this one in Java, but I've been busy with so many things.

I will take a look at this though. It looks quite interesting. Thanks :D
;o Good luck with your school work
felicitousname
If you've already got working code in python, I suggest that you take a look at pyqt or pyside.
Topic Starter
RavenMac

felicitousname wrote:

If you've already got working code in python, I suggest that you take a look at pyqt or pyside.
I know getting it to work in a GUI isn't hard, but i want to make it so that nobody will need to download anything before using it.
Virtually everybody has Java and that's why i'm trying to work more toward it.
Python is great, but people need to get the right stuff for it to run. Unless there's something i'm missing...
Howl

RavenMac wrote:

Python is great, but people need to get the right stuff for it to run. Unless there's something i'm missing...
You ARE missing something. http://www.py2exe.org/
ovnz
Topic Starter
RavenMac

Ovnize wrote:

I god an error http://0vn.eu/7k4rr.jpg
Aww man. Not another indent error... I swear I've fixed this a couple times now.

Are you using the most current version? I've had problems with MediaFire in the past that caused this issue. I've switched over to pastebin now.
I assume you're using the correct version of python for the code or else it would have given a different error.

Besides those two, I should look into what Howl said earlier and just make it into an exe and just submit the source code.
ovnz
I'm using the most current version of both your script and python ^,^`
And yeah, I agree with that
Lem
Hey, I wanted to ask if there was some way to get the program to only download ranked maps?
show more
Please sign in to reply.

New reply