Last.fm Last Track |
|
Submitted By Frans Twisk (Puck) |
DescriptionDisplay the last track you've submitted on your Last.fm account. If you're like me and play your music on another computer or media center, you can use this Xtra to show the track you're playing now or recently played. Just like Last.fm it displays either:"currently listening to Come To Daddy by Aphex Twin" or, if the song is played more then 10 minutes ago: "was listening to Come To Daddy by Aphex Twin 23 minutes ago" "was listening to Come To Daddy by Aphex Twin 1h and 4m ago" It's Last.fm friendly, since it uses a delay for fetching the last track of the last.fm server. Usage Put the following in your name, status message or message: %_lastfmtrack{username,delay} username: your last.fm username delay: refresh time for fetching track of server (Adium refreshes like every 30 sec. so set delay to '6' for every 3 minutes) Customization You can change the text 'currently listening to' and 'was listening to ... ago' easily by doing the following:
Disclaimer I'm not responsible for anything that could affect you or your computer when using this script ;-) Also, this is my first Adium script so if you find any bugs or have improvements of the script, leave a comment or contact me through my Last.fm profile: http://www.last.fm/user/hexagram/ CommentsYou can reply to individual comments by clicking the "Reply" link next to each. # by jazzndre on 06/03/08 at 05:57:58thanks, that's a great script. how can i modify the "was listening to..." and "currently listening to..." parts?
# by bittin on 10/04/08 at 23:01:35Thank you :)
# by norz on 04/12/09 at 12:51:59Thank you, great script! :)
I tried to add a little note symbol (♫): it didn't work in script editor, the script would have to be in unicode I guess. Anyway, adding the symbol directly in Adium settings worked for google talk, but made msn display no status at all. :( # by lu_yw on 11/06/08 at 03:10:21Hey, great script! but I'm bit silly and don't know how to use it to accommodate my needs.
It doesn't show the actual song I'm listening to on the Last.fm player at the moment, but a song I've listened to before. IE, If I'm listening to Song A, It won't say "Currently listening to Song A by Whatever" but "Was listening to Song B by Whoever 11 minutes ago." And when I'm not playing a song at all, it will tell say that I'm listening to Song A again. How do I turn off the "Was listening to" thing altogether? I just want to display what I'm currently listening to at the moment, just like how you can do so on iTunes. Thanks for all your help! (: # by lisnake on 11/06/08 at 20:31:07I have absolutely the same problem as lu_yw.
I hope you can sort it out :) # by Puck on 11/06/08 at 22:59:33Yup, it's the way it works. There is a delay becuase it takes a bit of time before last.fm scrobbles the song and for the plugin to get the last song. This means that sometimes (for instance when you listen to a song that is 10 minutes or longer) you'll see the "was listening to". Anyway: there is always a delay. You could lower down the delay for faster synchronization, but last.fm needs it time to scrobble anyway. Conclusion: it's not real-time like the iTunes plugin (which works on the same computer), but for me I see no problem. The fact that you want people to show them your music is about the music and your identity that comes along with it... So what it's 3 minutes later?
Post a New CommentYou must be logged in to post comments. |
# by Skunkie on 05/22/08 at 11:30:23