fix: missing id in queue items was preventing scrobble to work properly
This commit is contained in:
parent
1afc495920
commit
5e7aaa667b
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ const PLAYER_SCROBBLE = 'PLAYER_SCROBBLE'
|
||||||
const PLAYER_PLAY_ALBUM = 'PLAYER_PLAY_ALBUM'
|
const PLAYER_PLAY_ALBUM = 'PLAYER_PLAY_ALBUM'
|
||||||
|
|
||||||
const mapToAudioLists = (item) => ({
|
const mapToAudioLists = (item) => ({
|
||||||
|
id: item.id,
|
||||||
name: item.title,
|
name: item.title,
|
||||||
singer: item.artist,
|
singer: item.artist,
|
||||||
cover: subsonicUrl('getCoverArt', item.id, { size: 300 }),
|
cover: subsonicUrl('getCoverArt', item.id, { size: 300 }),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue