Allofmp3 Linux Client Python Version
Here is another version written in python for allofmp3:
http://r00tshell.com/svn/allofmp3/tags/1.0.0/all_of_mp3.py
This version requires pycurl. This just makes us one step closer to a GTK version with more features. I currently do not program in GTK, so its more of an experiament. If you do know GTK and want to help me out, please let me know.
May 5th, 2005 at 12:19 pm
New Language
My new goal for the next several days - learn a new programming language - namely, Python.
I’ve heard about it quite a bit lately, and I did some quick copy/paste modifications to a python script last night and was fairly impressed by it. (In case y…
May 24th, 2005 at 2:14 pm
Feature suggestion
Works Great! Thanks!
One suggestion might be to allow some option of downloading files concurrently - I believe allofmp3 allows up to 4 (maybe more?). I think it currently limits download bandwidth of each “download” instance to 40 or 50 kB/s. If we had the option to do more at a time, it would speed things up considerably.
Currently, if I have quite a few to download, I’ll just make 4 lists in text files and start 4 instances of wget using the “-i” option.
If I know any Python I’d try to help. Anyway, if the mood hit’s you, it might be a worthwhile feature…
-Mark Murray
July 15th, 2005 at 4:39 pm
[...] Per chi preferisce comprare la musica su Allofmp3, c’è un semplice ma efficace client in Python per scaricare i brani appena acquistati. [...]
October 16th, 2005 at 5:55 pm
[...] I’ve been working on a hacked version of r00tshell’s Python “All Of Mp3 music downloader“; The idea is to take his research into exactly how to connect to the All of MP3 music download service and re-package it as a friendly, testable, deployable python program. [...]
October 16th, 2005 at 5:59 pm
I’ve been hacking your scripts; If you want to see what I have achieved, please cehck out my blog.
October 18th, 2005 at 4:46 am
I have a basic client working now; Due to connectivity problems I was unable to submit back to my subversion, but I will try again tonight. Here is the deal:
* Refactor of R00tshell’s AOMP3 downloader.
* Fully object-oriented, reusable code
* Multi-threaded
* Currently knows how to ‘organize’ based downloads - puts files into root/artist/album/songname.ogg
Next steps:
* MP3/id3 organisation
* Python distutils installer
* Gentoo eBuild scripts
* Official release to the net
Mr R00tshell - why not contact me tonight on skype. We can work together on this.
November 11th, 2005 at 8:56 pm
I may be stupid but I can’t get this to work. I initially run in and it asks me for username password and if I want ssl. Then prints out usage: mp3downloader + directory. So I try typing mp3downloader musicdirectory. mp3downloader command not found. I also tried all_of_mp3.py mp3downloader musicdirectory and it just creates a mp3downloader dir and hangs. Tried all_of_mp3.py musicdirectory and it hangs also. I have pycurl installed. Am I missing something?
Thanks
November 11th, 2005 at 9:33 pm
That should do it. are you able to get to their site(allofmp3.com) right now? try removing the .mp3downloader dir in your home directory and re-running it without ssl.
November 11th, 2005 at 10:43 pm
ahh, can’t get to allofmp3 right now, this is probably my problem, I’ll post back when I can get back to it via web browser. Thanks for the response.
November 12th, 2005 at 9:38 am
Works great. Thanks
November 12th, 2005 at 10:19 am
Hey, np! Glad it worked out for you
December 6th, 2005 at 4:57 pm
Good work, very useful script! Thanks for the work…
I changed the href var to be quoted so the program wouldn’t die when it saw files with ‘(’ or ‘)’. This line did the trick for me…
href = ‘”‘ + href + ‘”‘
in the download function right before the actual call to wget…
-aaron
January 23rd, 2006 at 9:43 pm
[...] This is almost a year old, but r00tshell has an AllOfMP3 client that’s written in Python. Really only useful if you download your music from the Russians, but it might be decent example code. There is also an enhanced version by Randi Mooney. [...]
January 27th, 2006 at 2:46 pm
I’m having the same ‘issue’? as romeo. How do you run this?
January 27th, 2006 at 2:50 pm
>> ./all_of_mp3.py /home/steve/Music/
>> None!
That’s what I get.
January 27th, 2006 at 2:53 pm
Do you have pycurl installed?
January 27th, 2006 at 6:22 pm
“Do you have pycurl installed?” I do.
January 27th, 2006 at 6:39 pm
Hmm or not… I installed python2.3-pycurl, but see I’m calling python2.4.2. & don’t see a python2.4.2-pycurl package. I’m using Ubuntu.
January 28th, 2006 at 5:44 pm
try running the script with python2.3. if you installed it for 2.3, it wont work with 2.4.
February 1st, 2006 at 4:43 pm
try running the script with python2.3. if you installed it for 2.3, it wont work with 2.4.
Done, yet same result.
“#! /usr/bin/python2.3
import urllib, pycurl, os, sys, re, ConfigParser, getpass
from string import split
…”
steve@ubuntu:~/bin$ ./all_of_mp3.py /home/steve/Music/
None!
March 12th, 2006 at 2:48 pm
Try geddum. It’s also written in Python, but includes a Mac OS X Cocoa GUI written in PyObjC!