Not scrobbling tidal playlist items, other scrobbling fully functional
-
I used https://github.com/ClaraCrazy/Tidal2Strawberry to create some playlists based on tidal playlists, which seemed to work fine. I've uploaded the xspf generated from https://tidal.com/browse/playlist/32e95470-5b7f-4830-ae28-b763852b01f9 at https://ctxt.io/2/AAAopVYWFg.
When I import the xspf, it plays back fine, but only the now playing audioscrobbler message is sent to last.fm, with nothing being sent when the track finishes and the scrobble is not recorded. Compare and contrast an item from that playlist:11:04:57.395 DEBUG GstEnginePipeline:1274 Stream changed from URL "https://sp-pr-fa.audio.tidal.com/ mediatracks/CAEaKRInOGQyMjhiZGJkYTQ4NjRmNjE5NzYwYjM0ZDliMDdiMDlfNjAubXA0/0.flac?token=MYTOKEN" to "https://sp- pr-fa.audio.tidal.com/mediatracks/CAEaKRInODFkM2ZkNzkyZjRmNWEyYzBhNDM2NGMwMTYwOTFhYWRfNjAubXA0/0.flac?token=MY TOKEN" 11:04:57.420 DEBUG MainWindow:1393 Song changed to "Mase" "Harlem World" "Feel so Good" 11:04:57.420 DEBUG AudioScrobbler:132 Sending now playing for song "Mase" "Harlem World" "Feel so Good" 11:04:57.425 DEBUG Player:739 Playing song "Feel so Good" QUrl("https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInODFkM2ZkNzkyZjRmNWEyYzBhNDM2NGMwMTYwOTFhYWRfNjAubXA0/0.flac?token=MYTOKEN") position 0 11:04:57.425 DEBUG GstEnginePipeline:1564 Setting pipeline state to "Playing" -- 11:04:58.309 DEBUG PlaylistBackend:333 Saving playlist 52 -- 11:08:09.409 DEBUG GstEngine:533 Stream from URL "https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInODFkM2ZkNzkyZjRmNWEyYzBhNDM2NGMwMTYwOTFhYWRfNjAubXA0/0.flac?token=MYTOKEN" about to end in 12 seconds. Fuge: 1100 + Gap: 12000 11:08:09.604 DEBUG TidalStreamURLRequest:190 Tidal: Unknown codec "mqa" 11:08:09.604 DEBUG Player:283 URL handler for QUrl("tidal:10182279") returned QUrl("https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInYWYwZTFkNGYwNjUzODJkMTE2NTIwZTUzY2Y5NGI0NTNfNjAubXA0/0.flac?token=MYTOKEN") 11:08:09.604 DEBUG Player:350 Preloading next song "Ambition (feat. Meek Mill & Rick Ross)" QUrl("https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInYWYwZTFkNGYwNjUzODJkMTE2NTIwZTUzY2Y5NGI0NTNfNjAubXA0/0.flac?token=MYTOKEN") 11:08:09.605 DEBUG logging:95(GLib-GIO) GSocketClient: Starting new address enumeration 11:08:09.606 DEBUG logging:95(GLib-GIO) IPv6 DNS error: Error resolving “sp-pr-fa.audio.tidal.com”: Name or service not known 11:08:09.606 DEBUG logging:95(GLib-GIO) GSocketClient: Address enumeration succeeded -- 11:08:09.617 DEBUG logging:95(GLib-GIO) GSocketClient: Connection successful! 11:08:09.750 DEBUG GstEngine:965 Got stream info for "https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInYWYwZTFkNGYwNjUzODJkMTE2NTIwZTUzY2Y5NGI0NTNfNjAubXA0/0.flac?token=MYTOKEN" "FLAC" 11:08:11.505 DEBUG GstEnginePipeline:1169 Stream from URL "https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInODFkM2ZkNzkyZjRmNWEyYzBhNDM2NGMwMTYwOTFhYWRfNjAubXA0/0.flac?token=MYTOKEN" about to finish. 11:08:11.505 DEBUG GstEnginePipeline:1813 Setting next URL to "https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInYWYwZTFkNGYwNjUzODJkMTE2NTIwZTUzY2Y5NGI0NTNfNjAubXA0/0.flac?token=MYTOKEN" 11:08:11.506 DEBUG GstEnginePipeline:876 Setting user-agent -- 11:08:11.506 DEBUG logging:95(GLib-GIO) GSocketClient: Starting new address enumeration 11:08:11.506 DEBUG logging:95(GLib-GIO) IPv6 DNS error: Error resolving “sp-pr-fa.audio.tidal.com”: Name or service not known 11:08:11.522 DEBUG logging:95(GLib-GIO) GSocketClient: Address enumeration succeeded -- 11:08:11.539 DEBUG logging:95(GLib-GIO) GSocketClient: Connection successful! 11:08:22.245 DEBUG GstEnginePipeline:1274 Stream changed from URL "https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInODFkM2ZkNzkyZjRmNWEyYzBhNDM2NGMwMTYwOTFhYWRfNjAubXA0/0.flac?token=MYTOKEN" to "https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInYWYwZTFkNGYwNjUzODJkMTE2NTIwZTUzY2Y5NGI0NTNfNjAubXA0/0.flac?token=MYTOKEN" 11:08:22.257 DEBUG MainWindow:1393 Song changed to "Wale, Meek Mill, Rick Ross" "Ambition (Deluxe Version)" "Ambition (feat. Meek Mill & Rick Ross)"
vs. something from my local files and a track added to my play queue using the Strawberry Tidal interface:
11:13:24.785 DEBUG GstEnginePipeline:1274 Stream changed from URL "https://sp-pr-fa.audio.tidal.com/ mediatracks/CAEaKRInYWYwZTFkNGYwNjUzODJkMTE2NTIwZTUzY2Y5NGI0NTNfNjAubXA0/0.flac?token=MYTOKEN" to "https://sp- pr-fa.audio.tidal.com/mediatracks/CAEaKRInZTdmZWFiYTNiNzg3ZTJhNWJmYjEzYmRjYzBjYWQ3OWRfNjEubXA0/0.flac?token=MY TOKEN" 11:13:24.813 DEBUG MainWindow:1393 Song changed to "Amyl and The Sniffers" "Security" "Security" 11:13:24.813 DEBUG AudioScrobbler:132 Sending now playing for song "Amyl and The Sniffers" "Security" "Security" 11:13:24.818 DEBUG Player:739 Playing song "Security" QUrl("https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInZTdmZWFiYTNiNzg3ZTJhNWJmYjEzYmRjYzBjYWQ3OWRfNjEubXA0/0.flac?token=MYTOKEN") position 0 11:13:24.818 DEBUG GstEnginePipeline:1564 Setting pipeline state to "Playing" -- 11:15:18.916 DEBUG AudioScrobbler:156 Scrobbling song "Amyl and The Sniffers" "Security" "Security" at 114 11:15:18.916 DEBUG ScrobblingAPI20:491 "Last.fm" Submitting scrobbles. 11:15:19.151 DEBUG ScrobblingAPI20:598 "Last.fm" Scrobbles accepted: 1 ignored: 0 11:15:19.151 DEBUG ScrobblingAPI20:683 "Last.fm" Scrobble for "Security" accepted 11:16:59.909 DEBUG GstEngine:533 Stream from URL "https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInZTdmZWFiYTNiNzg3ZTJhNWJmYjEzYmRjYzBjYWQ3OWRfNjEubXA0/0.flac?token=MYTOKEN" about to end in 13 seconds. Fuge: 1100 + Gap: 12000 11:17:00.203 DEBUG GstEngine:965 Got stream info for "file:///run/media/jason/story15tb/Music/E/Elvis_Costello/Spike/07__Tramp_The_Dirt_Down.mp3:" "MPEG" 11:17:01.669 DEBUG GstEnginePipeline:1169 Stream from URL "https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInZTdmZWFiYTNiNzg3ZTJhNWJmYjEzYmRjYzBjYWQ3OWRfNjEubXA0/0.flac?token=MYTOKEN" about to finish. 11:17:01.669 DEBUG GstEnginePipeline:1813 Setting next URL to "file:///run/media/jason/story15tb/Music/E/Elvis_Costello/Spike/07__Tramp_The_Dirt_Down.mp3" 11:17:12.392 DEBUG GstEnginePipeline:1274 Stream changed from URL "https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInZTdmZWFiYTNiNzg3ZTJhNWJmYjEzYmRjYzBjYWQ3OWRfNjEubXA0/0.flac?token=MYTOKEN" to "file:///run/media/jason/story15tb/Music/E/Elvis_Costello/Spike/07__Tramp_The_Dirt_Down.mp3" 11:17:12.419 DEBUG MainWindow:1393 Song changed to "Elvis Costello" "Spike" "Tramp The Dirt Down" 11:17:12.419 DEBUG AudioScrobbler:132 Sending now playing for song "Elvis Costello" "Spike" "Tramp The Dirt Down" -- 11:20:04.408 DEBUG AudioScrobbler:156 Scrobbling song "Elvis Costello" "Spike" "Tramp The Dirt Down" at 172 11:20:04.409 DEBUG ScrobblingAPI20:491 "Last.fm" Submitting scrobbles. 11:20:04.585 DEBUG ScrobblingAPI20:598 "Last.fm" Scrobbles accepted: 1 ignored: 0 11:20:04.585 DEBUG ScrobblingAPI20:683 "Last.fm" Scrobble for "Tramp The Dirt Down" accepted 11:22:44.409 DEBUG GstEngine:533 Stream from URL "file:///run/media/jason/story15tb/Music/E/Elvis_Costello/Spike/07__Tramp_The_Dirt_Down.mp3" about to end in 12 seconds. Fuge: 1100 + Gap: 12000 11:22:44.740 DEBUG TidalStreamURLRequest:190 Tidal: Unknown codec "mqa" 11:22:44.740 DEBUG Player:283 URL handler for QUrl("tidal:104161477") returned QUrl("https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInMzUzZDkwNmQ1NDExZGQwNTk3MGNmOWM5MmJmOTlkM2FfNjAubXA0/0.flac?token=MYTOKEN") 11:22:44.741 DEBUG Player:350 Preloading next song "Successful" QUrl("https://sp-pr-fa.audio.tidal.com/mediatracks/CAEaKRInMzUzZDkwNmQ1NDExZGQwNTk3MGNmOWM5MmJmOTlkM2FfNjAubXA0/0.flac?token=MYTOKEN")
-
@alwayslurking
Is length and source shown correctly? What does this output in Tools / Console?select source, url, length, artist, title from playlist_items where source != 2
-
Looking at this python script: https://github.com/ClaraCrazy/Tidal2Strawberry, it does not parse and set "duration" in the XSPF file, this is highly problematic.
-
@jonas Choosing an artist with working and not-working scrobbles:
> select source, url, length, artist, title from playlist_items where source != 2 and artist="John Grant" 6|tidal:356897871|-1|John Grant|The Child Catcher 6|tidal:21410110|306000000000|John Grant|Tc & Honeybear 6|tidal:21410111|238000000000|John Grant|Marz 6|tidal:21410112|364000000000|John Grant|Where Dreams Go To Die 6|tidal:21410113|211000000000|John Grant|Sigourney Weaver 6|tidal:21410114|218000000000|John Grant|Chicken Bones 6|tidal:21410115|251000000000|John Grant|Silver Platter Club 6|tidal:21410116|278000000000|John Grant|It's Easier 6|tidal:21410117|195000000000|John Grant|Outer Space 6|tidal:21410118|228000000000|John Grant|Jc Hates Faggots 6|tidal:21410119|215000000000|John Grant|Caramel 6|tidal:21410120|281000000000|John Grant|Leopard and Lamb 6|tidal:21410121|289000000000|John Grant|Queen of Denmark 6|tidal:21410122|252000000000|John Grant|That's the Good News 6|tidal:21410123|172000000000|John Grant|Supernatural Defibrillator 6|tidal:21410124|220000000000|John Grant|Fireflies 6|tidal:21410125|475000000000|John Grant|What Time? 6|tidal:356897871|-1|John Grant|The Child Catcher
-
@jonas Is that the source of the -1 in the length? I guess that makes the playlist generator less useful.