
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
EDIT: since the 1.4.1 version, Amarok can read last.fm radio without any script. Get Amarok 1.4.1 at http://amarok.kde.org/ !
LastamaroK allows to play last.fm radios ( http://last.fm/ ) in amaroK, and to use some basic controls as love/skip/ban.
LastamaroK can be integrated in both Firefox and Konqueror.
More informations about using LastamaroK are in the Readme.
LastamaroK is based on the lastFMProxy by Vidar Madesn ( http://vidar.gimp.org/?page_id=50 ).
LastamaroK depend of amaroK ;-), python, and Tkinter (packages python*.*-tk in many distributions).
14 years ago
*Version 0.4.0:
-Add a second (or more) entry in the playlist for using the Amarok forward button.
-Add a hitory of recent played radio
-New 'Record to profil' option<
-Fix the 'menu entry wich not appear' bug
*Version 0.3.1 (since 0.3.0):
-new error message when Tk is missing
-new 'tune neighbour radio' entry in the context menu
14 years ago
*Version 0.4.0:
-Add a second (or more) entry in the playlist for using the Amarok forward button.
-Add a hitory of recent played radio
-New 'Record to profil' option<
-Fix the 'menu entry wich not appear' bug
*Version 0.3.1 (since 0.3.0):
-new error message when Tk is missing
-new 'tune neighbour radio' entry in the context menu
ZTwinsen
13 years ago
I can install and run the script successfully, but I cannot configure it. After I clicked the configure box inside the script manager, nothing happens at all. =.= Any idea? thx.
Report
kaviazzz
13 years ago
File "/home/kav/.kde3.5/share/apps/amarok/scripts/lastamarok.amarokscript/lastamarok.py", line 84
sc.config(command = self.radiolist.yview)
^
IndentationError: expected an indented block
Report
kaviazzz
13 years ago
Traceback (most recent call last):
File "/usr/lib64/python2.4/threading.py", line 442, in __bootstrap
self.run()
File "/usr/lib64/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/kav/.kde3.5/share/apps/amarok/scripts/lastamarok.amarokscript/lastamarok.py", line 396, in notif
configure()
File "/home/kav/.kde3.5/share/apps/amarok/scripts/lastamarok.amarokscript/lastamarok.py", line 151, in configure
Conf = Configure()
File "/home/kav/.kde3.5/share/apps/amarok/scripts/lastamarok.amarokscript/lastamarok.py", line 78, in __init__
f = open(os.path.join(lfmp.basedir, "bookmarks.txt"),'r')
IOError: [Errno 2] No such file or directory: '/home/kav/.kde3.5/share/apps/amarok/scripts/lastamarok.amarokscript/bookmarks.txt'
u got a clue about this error boss ?? :)
thkz in advance... grate idea...
Report
Thesa
13 years ago
BUT Amarok has a builtin support of last.fm radios (since the 1.4.1 version), and I'll no longer support the LastamaroK script.
Report
kaviazzz
13 years ago
Traceback (most recent call last):
File "/usr/lib64/python2.4/threading.py", line 442, in __bootstrap
self.run()
File "/usr/lib64/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/kav/.kde3.5/share/apps/amarok/scripts/lastamarok.amarokscript/lastamarok.py", line 396, in notif
configure()
File "/home/kav/.kde3.5/share/apps/amarok/scripts/lastamarok.amarokscript/lastamarok.py", line 151, in configure
Conf = Configure()
File "/home/kav/.kde3.5/share/apps/amarok/scripts/lastamarok.amarokscript/lastamarok.py", line 78, in __init__
f = open(os.path.join(lfmp.basedir, "bookmarks.txt"),'r')
IOError: [Errno 2] No such file or directory: '/home/kav/.kde3.5/share/apps/amarok/scripts/lastamarok.amarokscript/bookmarks.txt'
u got a clue about this error boss ?? :)
thkz in advance... grate idea...
Report
dasbooter
14 years ago
Report
Thesa
14 years ago
The lastfmproxy is running as a new thread. When you quit Amarok, my script tell to the lastfmproxy to quit, but it don't always quit.
I don't know if I'll try to fix this problems (and to continue to maintain this script) : Amarok as now a lastfm radio support with its new version 1.4.1.
Report
dasbooter
14 years ago
amarok looks alot different. It is not in this beta version. Will built in support be available in the next beta?
Report
dasbooter
14 years ago
Should read:
On my ststem scripts like amarok_replaygain do shutdown correctly.
Report
AceTheFace
14 years ago
But thx for your great work for all non-svn-users.
Report
Thesa
14 years ago
A real integration will be better than a script. This script it's just for waiting...
Report
AceTheFace
14 years ago
Report
Thesa
14 years ago
I'll edit the lastamarok presentation to recomand to upgrade amarok.
Report
dasbooter
14 years ago
Report
dasbooter
14 years ago
Report
Thesa
14 years ago
I would change that in the next release.
Report
Thesa
14 years ago
In fact, it's not Amarok you must run in network.protocol-handler.app.lastfm but the lastamarok.py file from my script (probably $HOME/.kde/share/apps/amarok/scripts/lastamarok.amarokscript/lastamarok.py ). Amarok can not work directly with lastfm:// urls.
Report
dasbooter
14 years ago
Report
Thesa
14 years ago
Disable mplayer plugin for pls. Next, open a pls file, and select Amarok as application, and choose to always use it.
It's just a file type, not a protocol (like lastfm://). For file type, you have not to go in about:config.
Report
dasbooter
14 years ago
Report
dasbooter
14 years ago
Report
Thesa
14 years ago
-You disable the plugin
-You open a pls file, choose Amarok and *check the option always use Amarok*
-You enable the plugin
Normally, the action Amarok for pls will be used instead of mplayer only for pls file. In other case, it's mplayer plugin (I use this plugin too, I like it too).
Report
GrimReaper
14 years ago
Report
Thesa
14 years ago
I will try to work on all demands about metadata... but be patient ;-)
Report
rastaplan
14 years ago
first thanks for the tool.
I am wondering if its possible to use it in connection with recordradio to rip the last.fm stream?
I tried it with amarok1.4.0 and the latest version of your script, but it didnt work out... any ideas?
Thanks! Christian
Report