Audioscrobbler Beta » Discussions

OS X only Audioscrobbler

 
    • mxcl said...
    • Subscriber
    • 29 Jul 2009, 12:08

    OS X only Audioscrobbler

    While I was still at Last.fm we were working on a lot of stuff, of which one was a plain Cocoa scrobbler. We decided the scrobbling part of our software should be light (nobody here is clear who initially thought shoving everything into the same app was a good idea), so we split it out on each platform.

    The cocoa one was most finished when I left, so I forked it and began making it exactly how I want it.

    I've been using it for a few weeks and it seems stable and doesn't leak memory. So I am releasing it.

    http://www.methylblue.com/audioscrobbler/Audioscrobbler-0.9.9-mxcl.zip

    Fork it: http://github.com/mxcl/lastfm-cocoa/tree/minimalist

    It is the "minimalist" branch, I want to scrobble, but with as little overhead as possible (while still being useful). So it's just a menu item, and after playing with various metadata display possibilities, I settled on a dashboard widget, with a 4 minute inactivity timeout for showing the dashboard. This is surprsingly useful (I use my dashboard in many new ways now while before I never used it). And obviously completely optional.

    Notable Features:
    * Global shortcuts for tag and share
    * If you update the metadata for the playing track in iTunes, it scrobbles with the new metadata
    * Last.fm password stored in key chain (well it stores the session key, and the password is never asked for, but you get the idea).
    * Native Growl notifications (not the hacked ones in the current official client)
    * Shows artwork from iTunes in growl notifications
    * Dashboard widget showing current highest voted artist image
    * Scrobbles Playdar (http://github.com/RJ/playdar)
    * Sparkle updates

    Some points:
    * It doesn't do iPod scrobbling [1]
    * My fork is not officially supported, but I support it, and I wrote all the code, so… :)
    * It uses the new scrobsub (http://github.com/mxcl/scrobsub) so can scrobble from any source, not just iTunes. It even has an Applescript interface for scrobbling (which is what Playdar uses).
    * It is Leopard only (OS X 10.5), it shouldn't be too tricky to port it to Tiger, so feel free to try. But there are features of Leopard that are convenient and I don't want to lose in order to support Tiger.
    * The dashboard widget needs some love for the "nothing playing" state. I figured your friends' recent tracks would be cool. Someone needs to write that for me ;)
    * No fingerprinting. The master branch will have this if you object to not contributing to the dataz.

    The homepage is the github page above (be sure if you do fork you checkout the minimalist branch, the master branch is what should become part of client 2 on mac). You can leave me feedback here or via twitter: http://twitter.com/mxcl

    The github page also has an issue tracker for any bug reports you may have.




    [1] Although I know a way to do a 100% successful but completely manual iPod scrobbling solution. It sucks usability-wise relative to the official route, but is much simpler and doesn't require an iTunes plugin. I guess eventually I'll write it, but at the moment I don't use my iPod.

    Edited by mxcl on 10 Nov 2009, 02:28
    • bene001 said...
    • User
    • 29 Jul 2009, 14:19
    yeah - that's the app i wanted :D

    • Russ said...
    • Subscriber
    • 29 Jul 2009, 15:28

    Re: OS X only Audioscrobbler

    mxcl said:
    Firstly can I say, I am no longer staff. I left 6 weeks ago. Eventually I will lose my red icon, I expect :)


    Well now you pointed it out I have no choice ;)

    • por said...
    • Staff
    • 29 Jul 2009, 15:29
    Cool beans

  • Exactly what I've been waiting for a long time. Also, thanks for open sourcing it.

    • mxcl said...
    • Subscriber
    • 29 Jul 2009, 15:34
    Also a pro-tip, set the Growl notification style for TrackStarted/TrackResumed to "Music Video". It is awesome. I approached the Growl devs about adding config so apps can suggest notification styles and they were pretty anti the concept.

    But well anyway, you can click through the music video banner, so your dock can still be used. It just looks awesome IMO. And differentiates track changes from any other growl notifications the apps on your system make.

  • This is great. Thanks for releasing it. I look forward to iPod support.

  • quite nice.

    • mxcl said...
    • Subscriber
    • 12 Aug 2009, 15:37
    I released 0.9.8: http://bit.ly/EYxFp

    Fixed a bug with empty Artists stopping scrobbling for that session.
    Added feature to prompt you to love tracks you rate 4 stars or above.

    If it's already installed just do "Check for updates…"

    Edited by mxcl on 13 Aug 2009, 09:37
    • timmay_x said...
    • Subscriber
    • 12 Aug 2009, 21:02
    Yes! Very cool! Also rocking the music video growls =]

    Also looking forward to iPod support... please?

    • mxcl said...
    • Subscriber
    • 13 Aug 2009, 09:38
    Can't make any promises on an iPod scrobbling timeline…

  • A good one, thanks a lot!

    Feature request: ability to scrobble from which album a song came from.

  • A wonderful slim scrobbler. I love how it integrates iTunes with last.fm without being bloated, and have actually disabled last.fm "support" (how come everybody say they support last.fm when all they do is supporting scrobbling, by the way?) in my iTunes controller. Kudos!

    What I'd love however is a bit more love for the Love function (yes, very lame pun, but there you go):
    • a global hotkey! There are global hotkeys for Tag and Share, why not for Love?
    • smoother iTunes rating to Love transfer. I'm thinking automatic loving for tracks rated above a certain threshold (hardcoded to 4 stars if you don't want to make that a preference), with a side dish of loving already rated tracks, loving tracks whose rating is raised beyond the threshold, and unloving tracks whose rating is lowered below it (right now, the rate to Love logic of Audioscrobbler only kicks in on previously unrated tracks, and the "click this Growl notice" procedure feels clumsy).
    Track and album related last.fm links would also be a great addition to the widget. Finally, it would be nice for Audioscrobbler to relay the correct player name to last.fm's Now Playing notice, i.e. iTunes :).

    • mxcl said...
    • Subscriber
    • 10 Nov 2009, 01:31
    kopischke said:
    a global hotkey! There are global hotkeys for Tag and Share, why not for Love?


    Yeah good point, I love more often than I Share or Tag. This is the Last.fm influence in me pushing that. Tagging and Sharing is important for the data.

    smoother iTunes rating to Love transfer. I'm thinking automatic loving for tracks rated above a certain threshold (hardcoded to 4 stars if you don't want to make that a preference), with a side dish of loving already rated tracks, loving tracks whose rating is raised beyond the threshold, and unloving tracks whose rating is lowered below it (right now, the rate to Love logic of Audioscrobbler only kicks in on previously unrated tracks, and the "click this Growl notice" procedure feels clumsy).

    Sounds reasonable, but I don't really need it so most likely won't be writing it. I'd merge a patch though for sure.

    Track and album related last.fm links would also be a great addition to the widget.

    Yeah indeed, the widget could use a whole load of stuff. This for sure.

    Finally, it would be nice for Audioscrobbler to relay the correct player name to last.fm's Now Playing notice, i.e. iTunes :).This definitely needs to be changed, indeed.

    • mxcl said...
    • Subscriber
    • 10 Nov 2009, 01:31
    dr_zepsuj said:
    Feature request: ability to scrobble from which album a song came from.


    We do scrobble the album, so it's up to Last.fm to show that data.

    • mxcl said...
    • Subscriber
    • 10 Nov 2009, 02:26
    I just built 0.9.9.

    This is built for 10.5 (32bit) and 10.6 (64bit). It has a number of memory fixes that Xcode 3.2's static analysis compiler found.

    Scrobbles identify as originating from iTunes now.

    Using Growl Framework 1.2.

    Notably the 64 bit binary appears to use a lot more RAM… So you may want to edit the Info.plist and force it to be 32 bit. But that's daft in a way because it means OS X has to load the entire graphical stack into RAM again, so you lose either way on 10.6 :(

    Sparkle update is available.

Anonymous users may not post messages. Please log in or create an account to post in the forums.