1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-11 03:21:52 +02:00

Read albumpos from scriptresolvers

This commit is contained in:
Dominik Schmidt 2012-01-22 18:57:28 +01:00
parent cc6a7fd5c5
commit b06d50be98

@ -243,6 +243,7 @@ ScriptResolver::handleMsg( const QByteArray& msg )
Tomahawk::artist_ptr ap = Tomahawk::Artist::get( m.value( "artist" ).toString(), false );
rp->setArtist( ap );
rp->setAlbum( Tomahawk::Album::get( ap, m.value( "album" ).toString(), false ) );
rp->setAlbumPos( m.value( "albumpos" ).toInt() );
rp->setTrack( m.value( "track" ).toString() );
rp->setDuration( m.value( "duration" ).toUInt() );
rp->setBitrate( m.value( "bitrate" ).toUInt() );