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:
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() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user