Attribute playing for recenttracks on user.getFriends

 
    • matloi said...
    • User
    • 20 Aug 2012, 20:05

    Attribute playing for recenttracks on user.getFriends

    Hey,

    I recently created a little web app for me to see what my friends are listening to.
    It updates itself via ajax every 30 seconds.

    http://metalmatze.de/lastfm/friends (this is really unstable, and german...)

    It catches for each friend a user.getRecenttracks with limit 1.
    This takes around 0.5 - 1 sec.

    The problem is, that with 10 or more friends we're speaking about 10+ seconds to update...

    Would it be possible to add the playing attribute to the user.getFriends recenttracks?
    Or has anyone a workaround for this?

    Thanks a lot!

    A programmer is a person who fixed a problem that you don't know you have, in a way you don't understand.
    • tburny said...
    • Forum Moderator
    • 22 Aug 2012, 20:10

    Combo.fm: Combine your favourite radio stations! | My Blog | scala-lastfmapi | Cache2k - A high performance Java in-memory cache
    P.S.: Do not click here
    throw new PokemonException(); //Gotta catch 'em all
    My forum post reflects my personal opinion :)
Anonymous users may not post messages. Please log in or create an account to post in the forums.