Issue with user.getrecenttracks and 'Now Playing' album name

 
    • MaFt disse...
    • Usuário
    • Mai 2 2012, 17h45

    Issue with user.getrecenttracks and 'Now Playing' album name

    Hi,

    There seems to be an issue with the user.getrecenttracks where the nowplaying track shows an empty or incorrect album.

    Quite frequently the album seems to be matched to any album that features that track as opposed to the one that has been submitted with the scrobbled data.

    For example if I was listening to 'Screamager' by Therapy? on the live album "We're Here To The End (CD1)" then when it shows as 'now playing' it shows the album as "Troublegum" instead of the scrobbled album. THis is semi-correct - the track DOES appear on Troublegum, BUT this particular track (i.e. the live version) is a different album.

    I've had similar where a non-existant album was shown - this was for tracks from the album "In With The Out Crowd" the album showed as "In WT Out Crowd C Ed) (Ad" but then when it was shown in the recent tracks list it had the correct title.

    It's as though the nowplaying album data is being ignored for the call at http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=maft&api_key=[yourAPIhere]&limit=1

    Hope this makes sense?!

    MaFt

    *******************
    http://maft.co.uk
    • MaFt disse...
    • Usuário
    • Mai 2 2012, 17h52
    Sample output while there's a song playing:

    <?xml version="1.0" encoding="utf-8"?>
    <lfm status="ok">
    <recenttracks user="MaFt" page="1" perPage="1" totalPages="2490" total="2490" >
    <track nowplaying="true">
    <artist mbid="c0a138e2-cef7-471b-8fbb-524e1076256a">Four Year Strong</artist>
    <name>Only The Meek Get Pinched. The Bold Survive</name>
    <streamable>0</streamable>
    <mbid></mbid>
    <album mbid=""></album>
    <url>http://www.last.fm/music/Four+Year+Strong/_/Only+The+Meek+Get+Pinched.++The+Bold+Survive</url>;
    <image size="small"></image>
    <image size="medium"></image>
    <image size="large"></image>
    <image size="extralarge"></image>
    </track>
    <track>
    <artist mbid="c0a138e2-cef7-471b-8fbb-524e1076256a">Four Year Strong</artist>
    <name>Fight The Future</name>
    <streamable>0</streamable>
    <mbid></mbid>
    <album mbid="">In Some Way, Shape, Or Form.</album>
    <url>http://www.last.fm/music/Four+Year+Strong/_/Fight+The+Future</url>;
    <image size="small">http://userserve-ak.last.fm/serve/34s/72056556.png</image>;
    <image size="medium">http://userserve-ak.last.fm/serve/64s/72056556.png</image>;
    <image size="large">http://userserve-ak.last.fm/serve/126/72056556.png</image>;
    <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/72056556.png</image>;
    <date uts="1335980865">2 May 2012, 17:47</date>
    </track>
    </recenttracks></lfm>

    *******************
    http://maft.co.uk
    • MaFt disse...
    • Usuário
    • Mai 2 2012, 17h54
    and when the song has finished and it shows as a recent track (as opposed to the now playing track) the album is shown correctly:

    <?xml version="1.0" encoding="utf-8"?>
    <lfm status="ok">
    <recenttracks user="MaFt" page="1" perPage="1" totalPages="2491" total="2491" >
    <track>
    <artist mbid="c0a138e2-cef7-471b-8fbb-524e1076256a">Four Year Strong</artist>
    <name>Only The Meek Get Pinched. The Bold Survive</name>
    <streamable>0</streamable>
    <mbid></mbid>
    <album mbid="">In Some Way, Shape, Or Form.</album>
    <url>http://www.last.fm/music/Four+Year+Strong/_/Only+The+Meek+Get+Pinched.++The+Bold+Survive</url>;
    <image size="small">http://userserve-ak.last.fm/serve/34s/72056556.png</image>;
    <image size="medium">http://userserve-ak.last.fm/serve/64s/72056556.png</image>;
    <image size="large">http://userserve-ak.last.fm/serve/126/72056556.png</image>;
    <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/72056556.png</image>;
    <date uts="1335981074">2 May 2012, 17:51</date>
    </track>
    </recenttracks></lfm>

    *******************
    http://maft.co.uk
    • MaFt disse...
    • Usuário
    • Mai 3 2012, 12h02
    I should add that this is the case from 2 scrobbling apps:
    1) gMusic on iOS
    2) official Last.fm Android app

    Is no one else seeing this?

    *******************
    http://maft.co.uk
  • I am also having this problem - the first track has the tags, but they are empty. Example below:


    <track nowplaying="true">
    <artist mbid="">Hans Zimmer & James Newton Howard</artist>
    <name>A Dark Knight</name>
    <streamable>0</streamable>
    <mbid>feb3aafe-76fb-4c07-a19e-7c60d842b3b4</mbid>
    <album mbid=""/>
    <url>http://www.last.fm/music/Hans+Zimmer+&+James+Newton+Howard/_/A+Dark+Knight</url>;
    <image size="small"/>
    <image size="medium"/>
    <image size="large"/>
    <image size="extralarge"/>
    </track>

Usuários anônimos não podem postar mensagens. É preciso fazer login ou criar uma conta para postar nos fóruns.