RSS 2.0
  • Home
  • DNS Control
  •  

    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.

    21 Responses to “Allofmp3 Linux Client Python Version”

    1. Anonymous Says:

      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…

    2. Anonymous Says:

      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

    3. Gli appunti di .[dot]coma » Blog Archive » Client Linux per Allofmp3.com Says:

      [...] Per chi preferisce comprare la musica su Allofmp3, c’è un semplice ma efficace client in Python per scaricare i brani appena acquistati. [...]

    4. Stodge » Blog Archive » Enhanced Python AllOfMp3.com downloader Says:

      [...] 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. [...]

    5. sal Says:

      I’ve been hacking your scripts; If you want to see what I have achieved, please cehck out my blog.

    6. sal Says:

      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.

    7. romeo Says:

      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

    8. Justin Says:

      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.

    9. romeo Says:

      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.

    10. romeo Says:

      Works great. Thanks

    11. Justin Says:

      Hey, np! Glad it worked out for you ;-)

    12. asp Says:

      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

    13. import this. » Blog Archive » Rootshell’s AllOfMP3 client Says:

      [...] 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. [...]

    14. steve Says:

      I’m having the same ‘issue’? as romeo. How do you run this?

    15. steve Says:

      >> ./all_of_mp3.py /home/steve/Music/
      >> None!

      That’s what I get.

    16. Justin Says:

      Do you have pycurl installed?

    17. steve Says:

      “Do you have pycurl installed?” I do.

    18. steve Says:

      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.

    19. Justin Says:

      try running the script with python2.3. if you installed it for 2.3, it wont work with 2.4.

    20. steve Says:

      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!

    21. binaryfeed Says:

      Try geddum. It’s also written in Python, but includes a Mac OS X Cocoa GUI written in PyObjC!

    Leave a Reply

    You must be logged in to post a comment.