Autotorrent
Amarok 1.x Scripts
Score 50%
Description:

This Amarok script adds a "Download this album" menu item that when clicked, searches mininova.org and torrentspy.com for the album and starts your Bittorrent client to download it

It also can be set to automatically download albums played on last.fm that you don't have in your collection
Last changelog:

10 years ago

Version 0.6.1
* Fixed dumb mistake where Mininova wouldn't ever be used
* Fixed TorrentSpy.com 302 redirect issues
* Made search less strict, only ensures 80% of words are on page

Version 0.6
* Added support for TorrentSpy.com
* Fixed errors related to having Qt4 installed instead of Qt3
* Only Bittorrent programs that are installed show up now
* Autotorrent now tries all torrent sites it knows about
* Fixed auto-download from last.fm bug where it wouldn't detect if you already had the song correctly


Version 0.5.2
* Bugfix release - Autotorrent doesn't find torrents when a different menu item is clicked


Version 0.5.1
* Made compatible with older versions of QtRuby; if you got a crash when the config dialog was displayed, this fixes it
* Fixed a bug in the torrent app list that made mininova.org show up


Version 0.5
* Support for KTorrent / Bittorrent added
* Get torrent from mininova instead of using magnet URI
* KTorrent set to default and now silently adds torrents even if KTorrent must be started first
* last.fm auto-download feature added
* Configuration GUI added
* Fixed bug where torrent program would start even when no torrent was found


Version 0.1.1
* Fixed so error messages show up

mirshafie

10 years ago

Wow, cool script. Looks like it crashes when i click Configure in the Script Manager though:

/home/sam/.kde/share/apps/amarok/scripts/autotorrent/configdialog.rb:22: uninitialized constant Qt (NameError) from /home/sam/.kde/share/apps/amarok/scripts/autotorrent/configuration.rb:71:in `require' from /home/sam/.kde/share/apps/amarok/scripts/autotorrent/configuration.rb:71:in `initialize' from /usr/lib/ruby/1.8/singleton.rb:95:in `new' from /usr/lib/ruby/1.8/singleton.rb:95:in `instance' from /home/sam/.kde/share/apps/amarok/scripts/autotorrent/autotorrent.rb:121 from /home/sam/.kde/share/apps/amarok/scripts/autotorrent/autotorrent.rb:114:in `loop' from /home/sam/.kde/share/apps/amarok/scripts/autotorrent/autotorrent.rb:114


Btw, is it possible to first get a list of found torrents, to make it easier to chose file format and such? And it would be really great to get this for OiNK.

Report

C

xpaulbettsx

10 years ago

Looks like you've got the wrong version of QtRuby or something - read the previous messages

The torrent selection is something I'll probably work on, but OinK can't be done because it uses a captcha.

Report

C

xpaulbettsx

10 years ago

http://blog.paulbetts.org/index.php/2007/04/21/autotorrent-broken-right-now/

It looks like Torrentspy and Mininova changed their sites - I'm going to work on fixing this tomorrow (or maybe tonight).

Report

paven

10 years ago

I used this in ubuntu before, but since the Torrent support was added I can't use the script, it shuts down when I try to configure.

I like this function so, I would like to get it to work.

Report

C

xpaulbettsx

10 years ago

Can you post the error? I can't do anything with 'doesn't work'

Report

paven

10 years ago

Thank you, but i figured it out my self. I had the wrong qtruby installed. I can't remember the error message but it was something about namesspece and qt.

Report

erezny

10 years ago

the error message title is:

The script 'AutoTorrent' exited with error code: 1

the message is:

/home/e-man/.kde/share/apps/amarok/scripts/autotorrent/configdialog.rb:22: uninitialized constant Qt (NameError)
from /home/e-man/.kde/share/apps/amarok/scripts/autotorrent/configuration.rb:71:in `require'
from /home/e-man/.kde/share/apps/amarok/scripts/autotorrent/configuration.rb:71:in `initialize'
from /usr/lib/ruby/1.8/singleton.rb:95:in `new'
from /usr/lib/ruby/1.8/singleton.rb:95:in `instance'
from /home/e-man/.kde/share/apps/amarok/scripts/autotorrent/autotorrent.rb:119
from /home/e-man/.kde/share/apps/amarok/scripts/autotorrent/autotorrent.rb:112:in `loop'
from /home/e-man/.kde/share/apps/amarok/scripts/autotorrent/autotorrent.rb:112


the script is set to ktorrent and I can't change it to azureus. I tried looking at the source, but i don't know ruby. I havent been able to try the script yet, but thanks in advance!

Report

erezny

10 years ago

Ok, I found KTorrent in configureation.rb and changed it to Azureus and it works now. My friends are going to be jealous.

Thanks a lot

Report

TheNacho

10 years ago

For anyone who experiences this problem too: You need the QT bindings for Ruby (or was ist the Ruby bindings for QT?)

Anyway, under Ubuntu Edgy it's the package libqt0-ruby1.8 .

Report

ChaosWars

10 years ago

How about all you crackhead Yanks back off from the crackpipe, and think about the rest of the world outside your borders? It isn't illegal in every country to download music. Far from it. It's legal in Holland, for example. And since Open Source isn't bound to any one country, there are plenty of users that can use this script legally.

So realize that there are users that appreciate this script, and stop your pretentious bitching.

Report

gstnet

10 years ago

I second that. There is nothing illegal about this script if you use it in Canada. Unless you are in USA, DMCA and related regulations are irrelevant.

Report

Fri13

10 years ago

This application is not for KDE. KDE is legal software and not meant to courage users to use illegal material.

I hope Amarok is not gonna respect this plugin.

of course, it is about user does he like to use it but that should not be on kde-apps.org.

So please, remove this application and share it on your own site....

Report

c0nv1ct

10 years ago

According to the Digital Millennium Copyright Act, it could be considered illegal. But the same laws apply to DVD Ripping tools, and I see them on this site as well.

Personally, I don't think its a big deal. Users that download music illegally will do it whether or not they have this plugin. This just reduces the amount of steps it would take to search and download.

Anyways, what do you care? Do you work at a label? are you a recording artist? Would you have to sell one of your Ferrari's if people use this plugin to download music?

Report

waltframe

10 years ago

Not everyone lives in the US and have to obey the DMCA

Report

Fri13

10 years ago

No, im not music artist, i dont work on that area or i dont like RIAA MPAA and so on...

And piracy is piracy always when you download material from internet if you you dont have rights to own or you share it to others who dont have either (how do you download without upload on bittorrent?).

I understand artist but i hate RIAA MPAA and so on but still, making piracy easier, is not part of free world... or would you like that i come to your house and i take what ever i like and i leave just saying "i dont need to pay for this for anyone!".

YES, it can be very nice to always just ingnore anti-piracy guys or yell them. But doing something knowing it is wrong, is stupid.

What do you think if Microsoft would host same kind plugin for WMP to get more users than iTunes?


If someone wants to use P2P technology to do crime (ofcource if it is crime on their country), let them to do it by own way. I dont think you would give handgun for person who likes to kill someone?

There would not be anykind problem if this plugin allows user to buy music but it could be still be used against law someway. But now, when it is meant to be support piracy, there is big problem.

All what i do, i care about freedom to do right things and support it.

Freedom to do all what user wants byself... is not always allowed to do, we all live together on this world and we just must accept that there are rules, there are stupid ones and there are good ones...

Report

conares

10 years ago

..it a little bit? How are you going to pay for the albums? Will you add that as a feature? Dont think this is kind of crap should be connected to amarok or kde in anyway! Please remove!

Report

C

xpaulbettsx

10 years ago

Look, if you know of a service that can download the same album legally (ie set up an account with them, then they send you a bill or something), then by all means I'll add that too. But the problem is, I don't know of a way to do that on Linux, everything is DRM-locked down on Windows.

I wrote this program because I wanted to get exposure to more music without the effort of maintaining a "to buy" list, going to the record store, then ripping the CD to my computer, and right now, the only way is through torrent sites. It's really unfortunate that the "best" way to access digital movies and music is through copyright infringement but that's the world that the RIAA/MPAA has set up for themselves.

Now, perhaps instead it could automatically go on Amazon and put the CD in your cart for you? That's something I'd be glad to add as well, send me some code to talk to Amazon and you'll see a "buy this CD" item too.

In short, if you don't like this script, you're free to ignore it but instead of doing that, perhaps help me add an alternative

Report

C

xpaulbettsx

10 years ago

Turns out the link for the website was busted, sorry about that.

I'm working on a new version that has multiple torrent client support as well as a config UI (and it will just get the torrent file instead of using the magnet URI)

Report

gollum

10 years ago

How hard would it be to add KTorrent to download the torrent ?
It's just that I was never able to install Azureus, which needs java.
I saw azureus one time, and it seemed so slow, and unable to download anything ( it was behind the same wifi bow as I was ) when ktorrend never needed any configuration.

And, finaly, Amarok and KTorrent are both KDE. Will be more coherent marketing wise ^^

Report

leinir

10 years ago

On top of that, KTorrent is being hailed at the µTorrent for KDE (or is it the other way around? can't remember). Another possibility would be to enable the user to set it as an option in the script? :)

Report

C

xpaulbettsx

10 years ago

Yeah, that's definitely something I had in mind, just haven't got a chance to make a config dialog yet. Does KTorrent support Magnet URIs?

Report

bodly

10 years ago

No, ktorrent doesn't do magnet yet. The devs are working on it, though.

It seems easy enough just to grab the .torrent file and pass it to ktorrent via dcop. I hacked up a quick and dirty version of autotorrent that does that if you're interested. You write nice, clean code so it was easy to replace azureaus with ktorrent and magnet with torrent.

Let me know if you'd like to see my version, but I'm sure you could implement it yourself very quickly. It took me about 30 minutes and I don't even know ruby. :-)

Report

ljubomir

10 years ago

Thats probably because Blackdown or other non-Sun implementation. That was my case. Try official Java from Sun.

Report

10 years ago

Version 0.6.1
* Fixed dumb mistake where Mininova wouldn't ever be used
* Fixed TorrentSpy.com 302 redirect issues
* Made search less strict, only ensures 80% of words are on page

Version 0.6
* Added support for TorrentSpy.com
* Fixed errors related to having Qt4 installed instead of Qt3
* Only Bittorrent programs that are installed show up now
* Autotorrent now tries all torrent sites it knows about
* Fixed auto-download from last.fm bug where it wouldn't detect if you already had the song correctly


Version 0.5.2
* Bugfix release - Autotorrent doesn't find torrents when a different menu item is clicked


Version 0.5.1
* Made compatible with older versions of QtRuby; if you got a crash when the config dialog was displayed, this fixes it
* Fixed a bug in the torrent app list that made mininova.org show up


Version 0.5
* Support for KTorrent / Bittorrent added
* Get torrent from mininova instead of using magnet URI
* KTorrent set to default and now silently adds torrents even if KTorrent must be started first
* last.fm auto-download feature added
* Configuration GUI added
* Fixed bug where torrent program would start even when no torrent was found


Version 0.1.1
* Fixed so error messages show up

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.6.1
updated Apr 21 2007
added Feb 18 2007
downloads today
0
page views today 2