Stable: 2.5.2
Development: 2.6-alpha3
Hi there,
Some months ago i've written a little plugin for MOC player in order to properly scrobble my library to my LastFm account.
I think it will be usefull for some guys.
Simply follow few steps described here:
http://kompote.net/moc-lastfm-plugin/
enjoy!
Kompote
eoranged
Mon, 2012-01-09 13:15
Permalink
I'm thinking about LastFM
I'm thinking about LastFM plugin right now.
The problem is the mocp calls OnSongChange script only when new song is started and passes information about NEW song.
It's good to show nowplaying, but not good for scrobbling, because if you switch to the next song in few seconds after another song has started to play, both will be scrobbled.
Right now I'm trying to add option like OnSongFinished, which will trigger the script before switching to next song or stopping playback, but my skills in C is not right now, so any help is appreciated.
Also, you can check lastfmsubmitd, which implements offline storage and other stuff, but needs some love.
muerte_civil
Sat, 2012-03-03 18:52
Permalink
I have a problem
alexey@alexey-MS-7369:~$ cd ~/.moc/moclast
alexey@alexey-MS-7369:~/.moc/moclast$ chmod +x setup.py
alexey@alexey-MS-7369:~/.moc/moclast$ chmod +x moclast.py
alexey@alexey-MS-7369:~/.moc/moclast$ ./setup.py
File "./setup.py", line 71
print("LastFm Account Informations:")
^
SyntaxError: invalid syntax
alexey@alexey-MS-7369:~/.moc/moclast$
muerte_civil
Sun, 2012-03-04 20:25
Permalink
thank you
I corrected the code, but the plugin does not work.
mynegation
Sun, 2012-03-18 20:23
Permalink
That link is dead!
That link is dead!
Fancycakes
Wed, 2012-04-18 18:40
Permalink
moc_submit_lasfm
I found this script a long while back. It's written in Python and checks to see if the song is still playing, waits until the song is half over, and then uses lastfmsubmitd to scrobble the information: http://pastebin.ca/2137633