Revision [632]

This is an old revision of CkAllAvi2Webm made by CyberKiller on 2011-01-26 18:20:07.
 

Jamendo Ogg Vorbis direct downloader

As of 2010-11-10 this script may not work correctly, cause Jamendo changed something on their side.
 

This is a shell script that allows you to download music from jamendo.com in Ogg Vorbis format directly and easily (even multiple albums) - all you need to know is the album id.

Requirements



Tested on Linux, probably will work on other platforms supported by php-cli and wget as well.

The script (version 1.0.1)


ckjamendooggdl.php (line 1)
  1. #!/usr/bin/php -q
  2.  
  3. <?php
  4.  
  5. if($_SERVER["argc"] > 1)
  6. {
  7.         for($num=1; $num<=($_SERVER["argc"]-1); $num++)
  8.         {
  9.                 $albumid = $_SERVER["argv"][$num];
  10.                 system("wget http://www.jamendo.com/get/album/id/album/archiverestricted/redirect/" . $albumid . "/?p2pnet=bittorrent\&are=ogg3");
  11.         }
  12. }
  13. else
  14. {
  15.         print("Jamendo Ogg downloader. Version 1.0.1 by Cyber Killer\n");
  16.         print("Get the latest version at http://digital.dharkness.info/CkJamendoOggDl\n\n");
  17.         print("Usage:\n");
  18.         print("ckjamendooggdl.php <albumid> [albumid] [...]\n");
  19. }
  20.  
  21. ?>


Just click grab to save the file, or copy&paste it yourself to your favorite editor. Remember to add executable permissions.

License


CC-GNU GPL
This program is under the CC-GNU GPL, version 2.0 or later.

Special thanks


I'd like to thank Karol „Zal” Zalewski for showing me how to force downloading Vorbis files directly from Jamendo. Great thanks to Jamendo for providing such a great service, but you could add an option to download ogg Vorbis files normally ;-P.


CategoryProjekty

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki