Jump to content

Emby incorrectly handles music tracks with multiple artists


gbcox

Recommended Posts

gbcox

After playing songs in a playlist, scrobbling stops, yet music continues to play to next selections in playlist.  They aren't scrobbled.  When looking at the log, find this:

2022-06-22 15:53:29.331 Info HttpClient: POST https://api.listenbrainz.org/1/submit-listens
2022-06-22 15:53:29.847 Info ListenBrainz: gbcox played 'Más Fuerte Que Yo' - VIDA - Luis Fonsi
2022-06-22 15:53:30.019 Error ListenBrainz: Error reporting playback start to ListenBrainz
	*** Error Report ***
	Version: 4.8.0.2
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /bzb/bzb1/vault/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-rpm_{version}_x86_64.rpm
	Operating system: Linux version 5.18.5-200.fc36.x86_64 (mockbuild@bkernel01.iad2.fedoraproject.org) (gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1), GNU ld version 2.37-2
	Framework: .NET 6.0.2
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: /bzb/bzb1/vault/emby
	Application path: /opt/emby-server/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: BadRequest
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at ListenBrainz.Api.ListenBrainzApiClient.NowPlaying(Audio item, ListenBrainzUser user)
	   at ListenBrainz.ServerEntryPoint.PlaybackStart(Object sender, PlaybackProgressEventArgs e)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
Edited by gbcox
correct title
Link to comment
Share on other sites

gbcox

That was fast response.  Thanks...   The server doesn't crash, the listenbrainz plugin apparently crashes because as I mentioned, the music continues to play, but no further songs are scrobbled.  I have to cancel out of the playlist and restart it in order for scrobbling to restart.  Then, after a few songs, it crashes again.  I've reworded the title, is it clear now?

Edited by gbcox
Link to comment
Share on other sites

gbcox

Just a guess, because I can't see the plugin code... I recently had an issue with another Listenbrainz plugin and the behavior was similar... i.e. the plugin would work and all of a sudden stop working and hang on the last successful song scrobbled.  It turned out this particular plugin was using curl and the timeout needed to be adjusted from 5000ms to 7000ms.  I just ran a test with debugging enabled and was able to get to 30 songs in the playlist and it never failed.  So unless you have a better idea, might be worthwhile taking a look at that - or if you have another method for me to provide any needed information, please advise.

Edited by gbcox
Link to comment
Share on other sites

Happy2Play

Luke will have to comment further as it does not appear to be the current version as the catalog show 1.0.0.4.

Link to comment
Share on other sites

gbcox

Yeah, turned off debugging and it happened again.  Says it's a bad request, but I don't know how to capture that information.  Symptom wise it is similar to what was happening with the other plugin I previously mentioned, but I looked through the code and didn't find anything obvious that resembled a hardcoded timeout value. 

2022-06-22 18:12:16.577 Info ListenBrainz: gbcox played 'Don Don (Remix)' - Don Don - Daddy Yankee
2022-06-22 18:12:16.653 Error ListenBrainz: Error reporting playback start to ListenBrainz
	*** Error Report ***
	Version: 4.8.0.2
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /bzb/bzb1/vault/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-rpm_{version}_x86_64.rpm
	Operating system: Linux version 5.18.5-200.fc36.x86_64 (mockbuild@bkernel01.iad2.fedoraproject.org) (gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1), GNU ld version 2.37-2
	Framework: .NET 6.0.2
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: /bzb/bzb1/vault/emby
	Application path: /opt/emby-server/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: BadRequest
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at ListenBrainz.Api.ListenBrainzApiClient.NowPlaying(Audio item, ListenBrainzUser user)
	   at ListenBrainz.ServerEntryPoint.PlaybackStart(Object sender, PlaybackProgressEventArgs e)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
Link to comment
Share on other sites

Yea I'm not sure why they're rejecting the requests. Did you configure your listenbrainz info? Maybe try redoing that.

Link to comment
Share on other sites

gbcox

I haven't made any changes to Listenbrainz, and I'm using the same credentials that I use on other clients and it has been working fine.  Also, the majority of the requests are not rejected, they are processed properly.  I was able to capture a fail with debugging turned on, and I've posted the results below.  Didn't look much different than when debugging was off.  Maybe you can see something worthwhile.  FWIW I haven't noticed a fail on the Roku client, only when I'm using Google TV - but that may just be anecdotal.  I've annotated the log with comments to give an indication of what was occuring. 

2022-06-23 10:44:15.308 Info App: User policy for gbcox. EnableAudioPlaybackTranscoding: True
2022-06-23 10:44:15.308 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: host1, IsInLocalNetwork: True
2022-06-23 10:44:15.308 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: host1, IsInLocalNetwork: True
2022-06-23 10:44:15.308 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: host1, IsInLocalNetwork: True
2022-06-23 10:44:15.353 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:44:15.354 Debug SqliteItemRepository: Public GetItemLinks

>>> The song "Apunta y dispara" starts playing in the playlist.  This is the song which did not scrobble.

2022-06-23 10:44:15.354 Info SessionManager: Playback start reported by app AndroidTv 2.0.77g playing Apunta y dispara. Started at 0 ms
2022-06-23 10:44:15.354 Info Server: http/1.1 Response 204 to host1. Time: 2ms. http://192.168.1.10:8096/emby/Sessions/Playing
2022-06-23 10:44:15.355 Info HttpClient: POST https://api.listenbrainz.org/1/submit-listens
2022-06-23 10:44:15.927 Info ListenBrainz: gbcox played 'Pasión' - Talento De Barrio - Daddy Yankee

>>> The previous sone "Pasion" ended.  This song successfully scrobbled.

>>> Following is the error report associated with "Apunta y dispara"

2022-06-23 10:44:16.100 Error ListenBrainz: Error reporting playback start to ListenBrainz
	*** Error Report ***
	Version: 4.8.0.2
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /bzb/bzb1/vault/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-rpm_{version}_x86_64.rpm
	Operating system: Linux version 5.18.6-200.fc36.x86_64 (mockbuild@bkernel01.iad2.fedoraproject.org) (gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1), GNU ld version 2.37-2
	Framework: .NET 6.0.2
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: /bzb/bzb1/vault/emby
	Application path: /opt/emby-server/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: BadRequest
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at ListenBrainz.Api.ListenBrainzApiClient.NowPlaying(Audio item, ListenBrainzUser user)
	   at ListenBrainz.ServerEntryPoint.PlaybackStart(Object sender, PlaybackProgressEventArgs e)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
2022-06-23 10:44:18.422 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:44:18.422 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:44:18.423 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:44:28.749 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:44:28.750 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:44:28.750 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:44:39.084 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:44:39.084 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:44:39.084 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:44:49.428 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:44:49.429 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:44:49.429 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:44:59.177 Debug NetworkManager: NetworkAddressChanged
2022-06-23 10:44:59.746 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:44:59.747 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:44:59.748 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:45:07.424 Debug NetworkManager: Detected local ip addresses: 192.168.1.10, 2603:8000:3f01:8a4f::199e, 2603:8000:3f01:8a4f:2225:8b0d:5ad:5fcd, fe80::1dfa:319e:2948:a795%2, 127.0.0.1, ::1
2022-06-23 10:45:07.425 Debug App: Ping test result to http://192.168.1.10:8096/system/ping. Success: True
2022-06-23 10:45:10.074 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:45:10.075 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:45:10.075 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:45:20.394 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:45:20.395 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:45:20.395 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:45:30.678 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:45:30.679 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:45:30.679 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:45:40.930 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:45:40.930 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:45:40.931 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:45:51.186 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:45:51.186 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:45:51.187 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:46:01.456 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:46:01.457 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:46:01.457 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:46:11.666 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:46:11.667 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:46:11.667 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:46:21.995 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:46:21.996 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:46:21.997 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:46:32.294 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:46:32.295 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:46:32.295 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:46:42.628 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:46:42.629 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:46:42.629 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:46:52.956 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:46:52.957 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:46:52.957 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:47:03.285 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:47:03.285 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:47:03.285 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:47:13.586 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:47:13.587 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:47:13.587 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:47:23.850 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:47:23.851 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:47:23.851 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:47:34.168 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:47:34.169 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:47:34.169 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:47:44.502 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:47:44.503 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:47:44.503 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:47:54.836 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:47:54.836 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:47:54.837 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:48:03.823 Info Server: http/1.1 Response 200 to host1. Time: 228517ms. http://192.168.1.10:8096/emby/audio/32200/universal?PlaySessionId=147&container=flac,ogg,oga,aac,mp3,mpa,wma,asf,wav|PCM_S16LE,flv,mp2,webma,m4a,mka,mkv,mpeg&deviceId=7c78e43178dbfd1e&userId=bda28a2c3ed845b889faba3b200e88d9&maxStreamingBitrate=140000000&transcodingContainer=aac&transcodingProtocol=http&audioCodec=aac&enableRedirection=true&enableRemoteMedia=false
2022-06-23 10:48:05.166 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:48:05.167 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:48:05.167 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:48:13.670 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/Users/bda28a2c3ed845b889faba3b200e88d9?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
2022-06-23 10:48:13.671 Debug Server: http/2 Response 200 to ::1. Time: 1ms. https://emby_remote_ip:8920/emby/Users/bda28a2c3ed845b889faba3b200e88d9?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45
2022-06-23 10:48:13.715 Debug App: SessionInfosWebSocketListener Begin transmitting over websocket to ::1
2022-06-23 10:48:13.715 Debug App: ScheduledTasksWebSocketListener Begin transmitting over websocket to ::1
2022-06-23 10:48:13.723 Debug App: ActivityLogWebSocketListener Begin transmitting over websocket to ::1
2022-06-23 10:48:13.724 Debug App: ActivityLogWebSocketListener Begin transmitting over websocket to ::1
2022-06-23 10:48:13.876 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/System/ActivityLog/Entries?StartIndex=0&Limit=10&MinDate=2022-06-16T17:48:13.720Z&hasUserId=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
2022-06-23 10:48:13.876 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/System/ActivityLog/Entries?StartIndex=0&Limit=4&MinDate=2022-06-16T17:48:13.721Z&hasUserId=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
2022-06-23 10:48:13.877 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/ScheduledTasks?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
2022-06-23 10:48:13.877 Debug Server: http/2 Response 200 to ::1. Time: 2ms. https://emby_remote_ip:8920/emby/System/ActivityLog/Entries?StartIndex=0&Limit=4&MinDate=2022-06-16T17:48:13.721Z&hasUserId=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45
2022-06-23 10:48:13.878 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/System/Info?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
2022-06-23 10:48:13.878 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/LiveTv/Recordings?UserId=bda28a2c3ed845b889faba3b200e88d9&IsInProgress=true&Fields=BasicSyncInfo,CanDelete,Container,PrimaryImageAspectRatio&EnableTotalRecordCount=false&EnableImageTypes=Primary,Thumb,Backdrop&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
2022-06-23 10:48:13.878 Debug Server: http/2 Response 200 to ::1. Time: 1ms. https://emby_remote_ip:8920/emby/ScheduledTasks?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45
2022-06-23 10:48:13.878 Debug Server: http/2 Response 200 to ::1. Time: 1ms. https://emby_remote_ip:8920/emby/System/Info?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45
2022-06-23 10:48:13.879 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/Sessions?IncludeAllSessionsIfAdmin=true&IsPlaying=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
2022-06-23 10:48:13.879 Debug Server: http/2 Response 200 to ::1. Time: 3ms. https://emby_remote_ip:8920/emby/System/ActivityLog/Entries?StartIndex=0&Limit=10&MinDate=2022-06-16T17:48:13.720Z&hasUserId=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45
2022-06-23 10:48:13.880 Debug Server: http/2 Response 200 to ::1. Time: 1ms. https://emby_remote_ip:8920/emby/Sessions?IncludeAllSessionsIfAdmin=true&IsPlaying=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45
2022-06-23 10:48:13.881 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/web/configurationpages?pageType=PluginConfiguration&EnableInMainMenu=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
2022-06-23 10:48:13.881 Debug Server: http/2 Response 200 to ::1. Time: 0ms. https://emby_remote_ip:8920/emby/web/configurationpages?pageType=PluginConfiguration&EnableInMainMenu=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45
2022-06-23 10:48:13.883 Debug Server: http/2 Response 200 to ::1. Time: 5ms. https://emby_remote_ip:8920/emby/LiveTv/Recordings?UserId=bda28a2c3ed845b889faba3b200e88d9&IsInProgress=true&Fields=BasicSyncInfo,CanDelete,Container,PrimaryImageAspectRatio&EnableTotalRecordCount=false&EnableImageTypes=Primary,Thumb,Backdrop&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45
2022-06-23 10:48:15.505 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:48:15.506 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:48:15.506 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:48:25.819 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:48:25.820 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:48:25.820 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:48:36.092 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:48:36.092 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:48:36.093 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:48:46.398 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:48:46.399 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:48:46.400 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:48:46.443 Debug App: ScheduledTasksWebSocketListener stop transmitting over websocket to ::1
2022-06-23 10:48:46.443 Debug App: SessionInfosWebSocketListener stop transmitting over websocket to ::1
2022-06-23 10:48:46.584 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/System/Configuration?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
2022-06-23 10:48:46.585 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/System/Logs/Query?SortBy=SortName&SortOrder=Ascending&Fields=BasicSyncInfo,CanDelete,Container,PrimaryImageAspectRatio,ProductionYear,Status,EndDate,CommunityRating,OfficialRating,CriticRating&StartIndex=0&EnableImageTypes=Primary,Backdrop,Thumb&ImageTypeLimit=1&Limit=30&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
2022-06-23 10:48:46.585 Debug Server: http/2 Response 200 to ::1. Time: 1ms. https://emby_remote_ip:8920/emby/System/Configuration?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45
2022-06-23 10:48:46.586 Debug Server: http/2 Response 200 to ::1. Time: 1ms. https://emby_remote_ip:8920/emby/System/Logs/Query?SortBy=SortName&SortOrder=Ascending&Fields=BasicSyncInfo,CanDelete,Container,PrimaryImageAspectRatio,ProductionYear,Status,EndDate,CommunityRating,OfficialRating,CriticRating&StartIndex=0&EnableImageTypes=Primary,Backdrop,Thumb&ImageTypeLimit=1&Limit=30&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45
2022-06-23 10:48:48.737 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/System/Logs/embyserver.txt. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
2022-06-23 10:48:48.783 Debug Server: http/2 Response 200 to ::1. Time: 46ms. https://emby_remote_ip:8920/emby/System/Logs/embyserver.txt
2022-06-23 10:48:56.716 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:48:56.717 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:48:56.717 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:48:59.491 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Stopped. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:48:59.492 Debug App: ReportPlaybackStopped PlaySessionId: 148

>>> Apunta y dispara finished play, but nothing was scrobbled.

2022-06-23 10:48:59.492 Info SessionManager: Playback stopped reported by app AndroidTv 2.0.77g playing Apunta y dispara. Stopped at 0 ms
2022-06-23 10:48:59.492 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Stopped
2022-06-23 10:48:59.499 Info Server: http/1.1 GET http://192.168.1.10:8096/emby/audio/7148/universal?PlaySessionId=148&container=flac,ogg,oga,aac,mp3,mpa,wma,asf,wav|PCM_S16LE,flv,mp2,webma,m4a,mka,mkv,mpeg&deviceId=7c78e43178dbfd1e&userId=bda28a2c3ed845b889faba3b200e88d9&maxStreamingBitrate=140000000&transcodingContainer=aac&transcodingProtocol=http&audioCodec=aac&enableRedirection=true&enableRemoteMedia=false. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:48:59.500 Debug App: GetPostedPlaybackInfo request: {"Id":"7148","UserId":"bda28a2c3ed845b889faba3b200e88d9","MaxStreamingBitrate":140000000,"DeviceProfile":{"SupportedMediaTypes":"Audio,Photo,Video","MaxStreamingBitrate":8000000,"MusicStreamingTranscodingBitrate":256000,"DirectPlayProfiles":[{"Container":"flac","Type":"Audio"},{"Container":"ogg","Type":"Audio"},{"Container":"oga","Type":"Audio"},{"Container":"aac","Type":"Audio"},{"Container":"mp3","Type":"Audio"},{"Container":"mpa","Type":"Audio"},{"Container":"wma","Type":"Audio"},{"Container":"asf","Type":"Audio"},{"Container":"wav","AudioCodec":"PCM_S16LE","Type":"Audio"},{"Container":"flv","Type":"Audio"},{"Container":"mp2","Type":"Audio"},{"Container":"webma","Type":"Audio"},{"Container":"m4a","Type":"Audio"},{"Container":"mka","Type":"Audio"},{"Container":"mkv","Type":"Audio"},{"Container":"mpeg","Type":"Audio"}],"TranscodingProfiles":[{"Container":"aac","Type":"Audio","AudioCodec":"aac","Protocol":"http","EstimateContentLength":false,"EnableMpegtsM2TsMode":false,"TranscodeSeekInfo":"Auto","CopyTimestamps":false,"Context":"Streaming","MinSegments":0,"SegmentLength":0,"BreakOnNonKeyFrames":false,"AllowInterlacedVideoStreamCopy":false,"MaxManifestSubtitles":0}],"ContainerProfiles":[],"CodecProfiles":[],"ResponseProfiles":[],"SubtitleProfiles":[]},"EnableDirectPlay":true,"EnableDirectStream":true,"EnableTranscoding":true,"AllowInterlacedVideoStreamCopy":false,"AllowVideoStreamCopy":true,"AllowAudioStreamCopy":true,"IsPlayback":true,"AutoOpenLiveStream":false,"DirectPlayProtocols":["Http"]}
2022-06-23 10:48:59.501 Info App: User policy for gbcox. EnableAudioPlaybackTranscoding: True
2022-06-23 10:48:59.501 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Stopped. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:48:59.501 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: host1, IsInLocalNetwork: True
2022-06-23 10:48:59.501 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: host1, IsInLocalNetwork: True
2022-06-23 10:48:59.501 Info App: RemoteClientBitrateLimit: 40000000, RemoteIp: host1, IsInLocalNetwork: True
2022-06-23 10:48:59.501 Debug App: ReportPlaybackStopped PlaySessionId: 148
2022-06-23 10:48:59.501 Info SessionManager: Playback stopped reported by app AndroidTv 2.0.77g playing Apunta y dispara. Stopped at 283738 ms
2022-06-23 10:48:59.501 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Stopped
2022-06-23 10:48:59.502 Info HttpClient: POST https://api.listenbrainz.org/1/submit-listens
2022-06-23 10:48:59.553 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:48:59.554 Debug SqliteItemRepository: Public GetItemLinks

>>> Playback start for El Trunco... this song will scrobble successfully...

2022-06-23 10:48:59.554 Info SessionManager: Playback start reported by app AndroidTv 2.0.77g playing El Truco. Started at 0 ms
2022-06-23 10:48:59.555 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing
2022-06-23 10:48:59.555 Info HttpClient: POST https://api.listenbrainz.org/1/submit-listens

>>> Another error report for the scrobble for Apunta y dispara.  I'm noticing on the dashboard that when a song starts, it displays:
gbcox is playing...
when the song is finished it displays two messages, i.e:
gbcox has finished playing...
gbcox has finished playing...



2022-06-23 10:49:00.034 Error ListenBrainz: Error scrobbling to ListenBrainz
	*** Error Report ***
	Version: 4.8.0.2
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /bzb/bzb1/vault/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-rpm_{version}_x86_64.rpm
	Operating system: Linux version 5.18.6-200.fc36.x86_64 (mockbuild@bkernel01.iad2.fedoraproject.org) (gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1), GNU ld version 2.37-2
	Framework: .NET 6.0.2
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: /bzb/bzb1/vault/emby
	Application path: /opt/emby-server/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: BadRequest
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at ListenBrainz.Api.ListenBrainzApiClient.Scrobble(Audio item, ListenBrainzUser user)
	   at ListenBrainz.ServerEntryPoint.PlaybackStopped(Object sender, PlaybackStopEventArgs e)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
>>> More information on the next song in the playlist... El Trunco, which scrobbled successfully....

2022-06-23 10:49:00.103 Info ListenBrainz: gbcox is now playing 'El Truco' - Tormenta Tropical: Volume One - Daddy Yankee
2022-06-23 10:49:02.957 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/System/ActivityLog/Entries?StartIndex=0&Limit=10&MinDate=2022-06-16T17:49:02.939Z&hasUserId=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
2022-06-23 10:49:02.957 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/System/ActivityLog/Entries?StartIndex=0&Limit=4&MinDate=2022-06-16T17:49:02.940Z&hasUserId=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
2022-06-23 10:49:02.959 Debug Server: http/2 Response 200 to ::1. Time: 2ms. https://emby_remote_ip:8920/emby/System/ActivityLog/Entries?StartIndex=0&Limit=10&MinDate=2022-06-16T17:49:02.939Z&hasUserId=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45
2022-06-23 10:49:02.960 Debug Server: http/2 Response 200 to ::1. Time: 3ms. https://emby_remote_ip:8920/emby/System/ActivityLog/Entries?StartIndex=0&Limit=4&MinDate=2022-06-16T17:49:02.940Z&hasUserId=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=96d81907-e5d9-40f2-82e4-16770e78c665&X-Emby-Client-Version=4.7.0.45
2022-06-23 10:49:07.223 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:49:07.223 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:49:07.224 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:49:17.540 Info Server: http/1.1 POST http://192.168.1.10:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 10; Chromecast Build/QTS1.210311.036)
2022-06-23 10:49:17.540 Debug SessionManager: OnPlaybackProgress TimeUpdate 
2022-06-23 10:49:17.541 Info Server: http/1.1 Response 204 to host1. Time: 1ms. http://192.168.1.10:8096/emby/Sessions/Playing/Progress
2022-06-23 10:49:20.541 Debug Server: http/2 GET https://emby_remote_ip:8920/emby/System/Logs/embyserver.txt. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
Link to comment
Share on other sites

Maybe it's because the content doesn't match up with anything on listenbrainz. I would check the emby metadata editor on the track. If there are any external id's set, check them and make sure they're accurate.

if there are no external id's set, then I'm guessing the album name, track name and track number are going to need to exactly match what listenbrainz has.

Link to comment
Share on other sites

gbcox

I've identified the bug.  What is happening if there is a track that has more than one artist specified, the emby listenbrainz plugin fails.  This isn't correct behavior, it should scrobble the song correctly.  You need to be scrobbling all artists on the track as specified in the tag.  I've verified this with elisa, qmmp and plex.  They all scrobble correctly. 

For example, this song fails:

Machika on the J Balvin album, Vibras.  The artist in the tag is:  J Balvin, Jeon & Anitta - when emby sees this it fails, however other programs work just fine.

Here's a snippet from musicbrainz:

Musicbrainz Artistid            : d606b860-cc03-4959-a3fd-3a24bccf2560
Artist                          : J Balvin, Jeon & Anitta
Artistsort                      : Balvin, J, Jeon & Anitta

Another example:

Cucaracha on the Farruko La 167 album.  The artist in the tag is: Farruko feat. Ñengo Flow - again, emby chokes but elisa, qmmp and plex work just fine.

Also, the track information isn't being displayed in the application or Dashboard log.  You're truncating the track artist information.

 

 

 

 

Edited by gbcox
Link to comment
Share on other sites

On 6/25/2022 at 12:26 AM, gbcox said:

I've identified the bug.  What is happening if there is a track that has more than one artist specified, the emby listenbrainz plugin fails.  This isn't correct behavior, it should scrobble the song correctly.  You need to be scrobbling all artists on the track as specified in the tag.  I've verified this with elisa, qmmp and plex.  They all scrobble correctly. 

For example, this song fails:

Machika on the J Balvin album, Vibras.  The artist in the tag is:  J Balvin, Jeon & Anitta - when emby sees this it fails, however other programs work just fine.

Here's a snippet from musicbrainz:

Musicbrainz Artistid            : d606b860-cc03-4959-a3fd-3a24bccf2560
Artist                          : J Balvin, Jeon & Anitta
Artistsort                      : Balvin, J, Jeon & Anitta

Another example:

Cucaracha on the Farruko La 167 album.  The artist in the tag is: Farruko feat. Ñengo Flow - again, emby chokes but elisa, qmmp and plex work just fine.

Also, the track information isn't being displayed in the application or Dashboard log.  You're truncating the track artist information.

 

 

 

 

Can you show a screenshot of the emby metadata editor for this track? Thanks.

Link to comment
Share on other sites

gbcox

I've attached the emby metadata editor information.  I've also attached a listing from listenbrainz showing how when plex does it, works.  Also, I've showed how Plex handles the album vs Emby.  Notice how when there is more than one track artist, Plex displays this... emby completely ignores it - however, when you look at the emby metadata, you'll see it's there along with the musicbrainz information.  All my tracks are tagged via Picard using Musicbrainz, so it always will match since that is where I get all my tag information.

The other thing I noticed is that the tag specifies feat. not a semicolin as shown in emby metadata.... I'm assuming that is something you folks have done.  Notice the plex display shows "feat." as specified in the tag and the Musicbrainz database.

 

 

listenbrainz.png.58e50fa67b8c9b07edd4d3c7d21da376.pngScreenshot_20220626-152458.thumb.png.02f3409715f2504af8ed7390be18bee1.png

Screenshot_20220626-152512.thumb.png.2b70b7879c1e2adbf6d03de24c0f3a47.pnglistenbrainz.png.58e50fa67b8c9b07edd4d3c7d21da376.png

Cucaracha1.png

Cucaracha2.png

Cucaracha3.png

Cucaracha4.png

Cucaracha5.png

emby2.png

emb1.png

Edited by gbcox
Link to comment
Share on other sites

Quote

The other thing I noticed is that the tag specifies feat. not a semicolin as shown in emby metadata

Well this is something we've always done so that you can actually have two artist records in your database instead of one that is "artist feat. xxx".

Link to comment
Share on other sites

gbcox
21 hours ago, Luke said:

Well this is something we've always done so that you can actually have two artist records in your database instead of one that is "artist feat. xxx".

I guess it depends on what you're doing with that.  If you're only using it internally for database index purposes that's one thing, but if you're for some reason forwarding that on to Listenbrainz as the track artist that's another.

21 hours ago, Luke said:

That's odd that we'd have to supply that when they could just figure it out using the musicbrainz ids. Do you know what the delimiter is? All of their examples in their api doc only use a single artist_name:

https://buildmedia.readthedocs.org/media/pdf/listenbrainz/latest/listenbrainz.pdf

The plex code as you know is closed, so I don't know what they are doing, but here are some projects that are handling it fine:

https://github.com/mariusor/mpris-scrobbler/

https://github.com/InputUsername/rescrobbled/

https://github.com/kawaiiDango/pScrobbler

Or, you could simply ask them:  https://community.metabrainz.org/c/listenbrainz/ 

You'd be better prepared to ask the question rather than me because you are (of course) familiar with exactly what your code is doing.  They are good people and typically respond quickly. 

 

Edited by gbcox
  • Thanks 1
Link to comment
Share on other sites

gbcox

Luke, to answer your question about the delimiter, I don't know what they are doing on the backend.  I do know that when you enter the information into the musicbrainz database you follow these guidelines:  https://musicbrainz.org/doc/Artist_Credits

I haven't seen a semicolin there, just comma, &, feat. , etc. 

Edited by gbcox
  • Thanks 1
Link to comment
Share on other sites

gbcox

When comparing with Picard I found that the separation value is a semi-colin.  There is a self generating tag for "Artists", which matches the file tag (with the exception of a space after the semi-colin which shouldn't make any difference - but did notice that Picard auto corrects and automatically adds the space if it wasn't entered).  The only other difference between the emby metadata and the picard tag was for MusicBrainz Artist Id.  Emby uses a "/" with no spaces, whereas Picard uses the semi-colin and a space between the values.  As you alluded to, it appears that in all cases the separation character is a semicolin, followed by a space.  Here is a screenshot of picard so you can see all the values.farruko_picard.png.dc08186453ace0c9a8ea3adcb13a361c.png 

Link to comment
Share on other sites

gbcox

Have you had a chance to look at this yet.  Was thinking that since jellyfin was based on emby that the plugins may be similar.  As I mentioned, jellyfin has the plugin working perfectly now.

Link to comment
Share on other sites

  • 4 weeks later...
gbcox

Any update on this?  I reported this issue going on 2 months ago now.  It's been identified and I've provided several links to other programs which are doing this correctly, including Jellyfin.

What additional information can I provide to get this fixed?

Link to comment
Share on other sites

Happy2Play
On 7/1/2022 at 10:38 AM, gbcox said:

Picard uses the semi-colin and a space between the values.

You know that is configurable to anything you like? 

Link to comment
Share on other sites

gbcox

You need to read the entire thread.  The listenbrainz plugin crashes.  If you don't understand what is going on after reading the thread please advise and I'll try to make it clearer.  As I mentioned above, JellyFin had the same issue, they understood and were able to fix within 48 hours of being reported.  Why is this so hard?

Link to comment
Share on other sites

Happy2Play

So this is only a specific issue with ListenBrainz and nothing to do with Picard or delimiters?  As personally am not seeing an issue with multi-artists but don't use ListenBrainz.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...