Jump to content

PlayingItems API changes + small bug


Tolriq

Recommended Posts

OK just to help confirm a theory I have, if you limit the pre-caching so that it's only occurring near the end of the previous song, how does that compare? Specifically I mean under one minute. Thanks.

Link to comment
Share on other sites

Tolriq

I can't really test under 1 minute as it would require a huge refactor for all the devices I have.

But without pre cache so only caching after the song have already played a lot, this is the same the second it start to load the next song the media disapear from the dashboard and won't be visible when the second item starts playing.

The dashboard also bugs.

TOLRIQ is playing Aylior - Poolside on Google Pixel 6 Pro
4/20/2024, 9:33:15 AM

TOLRIQ has finished playing Aylior - Zero on Google Pixel 6 Pro
4/20/2024, 9:33:15 AM

TOLRIQ has finished playing Aylior - Zero on Google Pixel 6 Pro
4/20/2024, 9:32:06 AM

TOLRIQ is playing Aylior - Zero on Google Pixel 6 Pro

It reports that I finish playing the first song at the moment I start loading the next, but no I did not stop nor send any event about that.

2024-04-20 09:31:49.969 Info Server: http/1.1 Response 200 to host1. Time: 1ms. POST http://192.168.1.80:8096/Items/182521/PlaybackInfo?UserId=6196d32f642f4a29886eefaef1ae5518&AutoOpenLiveStream=true&StartTimeTicks=0&MaxStreamingBitrate=160000
2024-04-20 09:31:49.992 Info Server: http/1.1 POST http://192.168.1.80:8096/Sessions/Playing/Ping?PlaySessionId=97320df5517e4899882ae2d677eb7ad6. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:31:49.992 Info Server: http/1.1 Response 204 to host1. Time: 0ms. POST http://192.168.1.80:8096/Sessions/Playing/Ping?PlaySessionId=97320df5517e4899882ae2d677eb7ad6
2024-04-20 09:31:50.016 Info Server: http/1.1 GET http://192.168.1.80:8096/audio/182521/stream.ogg?DeviceId=6CD5513EAB54D9DCCC60D70E7B25E44B&MediaSourceId=4bed7508d38680676b668b499c5f7a26&PlaySessionId=97320df5517e4899882ae2d677eb7ad6&api_key=x_secret2_x&AudioCodec=opus&AudioBitrate=160000&AudioStreamIndex=0&TranscodingMaxAudioChannels=6. Accept=*/*, Connection=close, Host=host2, User-Agent=Lavf/60.3.100, Range=bytes=0-, Icy-MetaData=1
2024-04-20 09:31:50.028 Info App: ProcessRun 'StreamTranscode 769931' Execute: C:\Prog\Emby\system\ffmpeg.exe -loglevel +timing -y -print_graphs_file "C:\Prog\Emby\logs\ffmpeg-transcode-76993182-1f62-4ff6-8bd7-aa75f2bc13ac_1graph.txt" -f mp3 -c:v:0 mjpeg -i "\\server\music\_Unsorted\lofi hip hop\Aylior, Sebastian Kamae - Poolside.mp3" -map 0:0 -vn -sn -c:a:0 libopus -ab:a:0 160000 -ac:a:0 2 "C:\Prog\Emby\transcoding-temp\22397B\22397B.ogg"
2024-04-20 09:31:51.068 Info App: AppendExtraLogData - Read graph file: C:\Prog\Emby\logs\ffmpeg-transcode-76993182-1f62-4ff6-8bd7-aa75f2bc13ac_1graph.txt
2024-04-20 09:31:51.068 Info App: AppendExtraLogData - Deserialized GraphData fileStream: 5,912.000 bytes Graph Count: 1
2024-04-20 09:31:51.068 Info App: AppendExtraLogData - File Deleted
2024-04-20 09:31:51.069 Info App: ProcessRun 'StreamTranscode 769931' Process exited with code 0 - Succeeded
2024-04-20 09:31:51.185 Info Server: http/1.1 Response 200 to host1. Time: 1169ms. GET http://192.168.1.80:8096/audio/182521/stream.ogg?DeviceId=6CD5513EAB54D9DCCC60D70E7B25E44B&MediaSourceId=4bed7508d38680676b668b499c5f7a26&PlaySessionId=97320df5517e4899882ae2d677eb7ad6&api_key=x_secret2_x&AudioCodec=opus&AudioBitrate=160000&AudioStreamIndex=0&TranscodingMaxAudioChannels=6
2024-04-20 09:31:51.302 Info Server: http/1.1 GET http://192.168.1.80:8096/audio/182521/stream.ogg?DeviceId=6CD5513EAB54D9DCCC60D70E7B25E44B&MediaSourceId=4bed7508d38680676b668b499c5f7a26&PlaySessionId=97320df5517e4899882ae2d677eb7ad6&api_key=x_secret2_x&AudioCodec=opus&AudioBitrate=160000&AudioStreamIndex=0&TranscodingMaxAudioChannels=6. Connection=keep-alive, Host=host2, User-Agent=Symfonium/10.1.0B1 (Linux;Android 14), Accept-Encoding=identity, Icy-MetaData=1, X-MediaBrowser-Token=4c630dd4d5fe41a0a5169eaa2d7644ff, X-Emby-Authorization=MediaBrowser Client="Android", Device="Google Pixel 6 Pro", DeviceId="6CD5513EAB54D9DCCC60D70E7B25E44B", Version="14"
2024-04-20 09:31:51.409 Info Server: http/1.1 GET http://192.168.1.80:8096/audio/182521/stream.ogg?DeviceId=6CD5513EAB54D9DCCC60D70E7B25E44B&MediaSourceId=4bed7508d38680676b668b499c5f7a26&PlaySessionId=97320df5517e4899882ae2d677eb7ad6&api_key=x_secret2_x&AudioCodec=opus&AudioBitrate=160000&AudioStreamIndex=0&TranscodingMaxAudioChannels=6. Connection=keep-alive, Host=host2, User-Agent=Symfonium/10.1.0B1 (Linux;Android 14), Accept-Encoding=identity, Icy-MetaData=1, X-MediaBrowser-Token=4c630dd4d5fe41a0a5169eaa2d7644ff, X-Emby-Authorization=MediaBrowser Client="Android", Device="Google Pixel 6 Pro", DeviceId="6CD5513EAB54D9DCCC60D70E7B25E44B", Version="14"
2024-04-20 09:31:51.447 Info Server: http/1.1 Response 200 to host1. Time: 145ms. GET http://192.168.1.80:8096/audio/182521/stream.ogg?DeviceId=6CD5513EAB54D9DCCC60D70E7B25E44B&MediaSourceId=4bed7508d38680676b668b499c5f7a26&PlaySessionId=97320df5517e4899882ae2d677eb7ad6&api_key=x_secret2_x&AudioCodec=opus&AudioBitrate=160000&AudioStreamIndex=0&TranscodingMaxAudioChannels=6
2024-04-20 09:32:06.264 Info SessionManager: Session SYMF196ab4c3bdf54a208c578b86e5d816df has gone idle while playing
2024-04-20 09:32:06.264 Info SessionManager: Playback stopped reported by app Android 14 on Google Pixel 6 Pro playing Zero. Stopped at 59000 ms
2024-04-20 09:32:06.265 Info SessionManager: Removing playSession SYMF196ab4c3bdf54a208c578b86e5d816df from session 0a5e113308a3910c9b62cddd56c6e6a3
2024-04-20 09:32:08.961 Info Server: http/1.1 POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182523/Progress?PositionTicks=600000000&PlayMethod=Transcode&IsPaused=False&PlaySessionId=0c1d8f550d7645bb9f9adaa231232fd0. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:32:08.961 Info Server: http/1.1 Response 204 to host1. Time: 1ms. POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182523/Progress?PositionTicks=600000000&PlayMethod=Transcode&IsPaused=False&PlaySessionId=0c1d8f550d7645bb9f9adaa231232fd0
2024-04-20 09:32:09.842 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey)
2024-04-20 09:32:09.900 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(AlbumId)
2024-04-20 09:32:39.303 Info Server: http/1.1 POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182523/Progress?PositionTicks=900000000&PlayMethod=Transcode&IsPaused=False&PlaySessionId=0c1d8f550d7645bb9f9adaa231232fd0. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:32:39.305 Info Server: http/1.1 Response 204 to host1. Time: 2ms. POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182523/Progress?PositionTicks=900000000&PlayMethod=Transcode&IsPaused=False&PlaySessionId=0c1d8f550d7645bb9f9adaa231232fd0
2024-04-20 09:33:03.830 Info Server: http/1.1 Response 200 to host1. Time: 72421ms. GET http://192.168.1.80:8096/audio/182521/stream.ogg?DeviceId=6CD5513EAB54D9DCCC60D70E7B25E44B&MediaSourceId=4bed7508d38680676b668b499c5f7a26&PlaySessionId=97320df5517e4899882ae2d677eb7ad6&api_key=x_secret2_x&AudioCodec=opus&AudioBitrate=160000&AudioStreamIndex=0&TranscodingMaxAudioChannels=6
2024-04-20 09:33:09.677 Info Server: http/1.1 POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182523/Progress?PositionTicks=1210000000&PlayMethod=Transcode&IsPaused=False&PlaySessionId=0c1d8f550d7645bb9f9adaa231232fd0. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:33:09.679 Info Server: http/1.1 Response 204 to host1. Time: 2ms. POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182523/Progress?PositionTicks=1210000000&PlayMethod=Transcode&IsPaused=False&PlaySessionId=0c1d8f550d7645bb9f9adaa231232fd0
2024-04-20 09:33:15.051 Info Server: http/1.1 POST http://192.168.1.80:8096/Sessions/Playing/Stopped. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:33:15.052 Info SessionManager: Playback stopped reported by app Android 14 on Google Pixel 6 Pro playing Zero. Stopped at 0 ms
2024-04-20 09:33:15.053 Info SessionManager: Removing playSession 0c1d8f550d7645bb9f9adaa231232fd0 from session 0a5e113308a3910c9b62cddd56c6e6a3
2024-04-20 09:33:15.053 Info Server: http/1.1 Response 204 to host1. Time: 1ms. POST http://192.168.1.80:8096/Sessions/Playing/Stopped
2024-04-20 09:33:15.065 Info Server: http/1.1 POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182521/Progress?PositionTicks=0&PlayMethod=Transcode&IsPaused=False&PlaySessionId=97320df5517e4899882ae2d677eb7ad6. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:33:15.074 Info Server: http/1.1 Response 204 to host1. Time: 9ms. POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182521/Progress?PositionTicks=0&PlayMethod=Transcode&IsPaused=False&PlaySessionId=97320df5517e4899882ae2d677eb7ad6
2024-04-20 09:33:15.078 Info Server: http/1.1 POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182521?PlaySessionId=97320df5517e4899882ae2d677eb7ad6. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:33:15.078 Info SessionManager: Playback start reported by app Android 14 playing Poolside. Started at unknown ms
2024-04-20 09:33:15.080 Info Server: http/1.1 Response 204 to host1. Time: 3ms. POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182521?PlaySessionId=97320df5517e4899882ae2d677eb7ad6
2024-04-20 09:33:16.334 Info Server: http/1.1 POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayedItems/182523?datePlayed=20240420073317. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:33:16.336 Info Server: http/1.1 Response 200 to host1. Time: 2ms. POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayedItems/182523?datePlayed=20240420073317
2024-04-20 09:33:16.346 Info Server: http/1.1 DELETE http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182523. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:33:16.347 Info SessionManager: Playback stopped reported by app Android 14 on Google Pixel 6 Pro playing unknown item. Stopped at 0 ms
2024-04-20 09:33:16.347 Info Server: http/1.1 Response 204 to host1. Time: 0ms. DELETE http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182523
2024-04-20 09:33:19.841 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey)
2024-04-20 09:33:19.890 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(AlbumId)
2024-04-20 09:33:45.103 Info Server: http/1.1 POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182521/Progress?PositionTicks=300000000&PlayMethod=Transcode&IsPaused=False&PlaySessionId=97320df5517e4899882ae2d677eb7ad6. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:33:45.104 Info Server: http/1.1 Response 204 to host1. Time: 2ms. POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182521/Progress?PositionTicks=300000000&PlayMethod=Transcode&IsPaused=False&PlaySessionId=97320df5517e4899882ae2d677eb7ad6
2024-04-20 09:33:50.300 Info Server: http/1.1 POST http://192.168.1.80:8096/Items/182520/PlaybackInfo?UserId=6196d32f642f4a29886eefaef1ae5518&AutoOpenLiveStream=true&StartTimeTicks=0&MaxStreamingBitrate=160000. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:33:50.301 Info App: User policy for TOLRIQ. EnableAudioPlaybackTranscoding: True
2024-04-20 09:33:50.301 Info App: Bitrate exceeds DirectStream limit: media bitrate: 244216, max bitrate: 160000
2024-04-20 09:33:50.301 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 244216, max bitrate: 160000
2024-04-20 09:33:50.301 Info App: Bitrate exceeds DirectStream limit: media bitrate: 244216, max bitrate: 160000
2024-04-20 09:33:50.301 Info SessionManager: Adding playSession e9ae3690c472448d88f0b2df9aa52ffe to session 0a5e113308a3910c9b62cddd56c6e6a3
2024-04-20 09:33:50.301 Info Server: http/1.1 Response 200 to host1. Time: 1ms. POST http://192.168.1.80:8096/Items/182520/PlaybackInfo?UserId=6196d32f642f4a29886eefaef1ae5518&AutoOpenLiveStream=true&StartTimeTicks=0&MaxStreamingBitrate=160000
2024-04-20 09:33:50.313 Info Server: http/1.1 POST http://192.168.1.80:8096/Sessions/Playing/Ping?PlaySessionId=e9ae3690c472448d88f0b2df9aa52ffe. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:33:50.314 Info Server: http/1.1 Response 204 to host1. Time: 0ms. POST http://192.168.1.80:8096/Sessions/Playing/Ping?PlaySessionId=e9ae3690c472448d88f0b2df9aa52ffe
2024-04-20 09:33:50.331 Info Server: http/1.1 GET http://192.168.1.80:8096/audio/182520/stream.ogg?DeviceId=6CD5513EAB54D9DCCC60D70E7B25E44B&MediaSourceId=9709866ebcfdb61ccd67c12d21cc056f&PlaySessionId=e9ae3690c472448d88f0b2df9aa52ffe&api_key=x_secret2_x&AudioCodec=opus&AudioBitrate=160000&AudioStreamIndex=0&TranscodingMaxAudioChannels=6. Accept=*/*, Connection=close, Host=host2, User-Agent=Lavf/60.3.100, Range=bytes=0-, Icy-MetaData=1
2024-04-20 09:33:50.338 Info App: ProcessRun 'StreamTranscode 661edb' Execute: C:\Prog\Emby\system\ffmpeg.exe -loglevel +timing -y -print_graphs_file "C:\Prog\Emby\logs\ffmpeg-transcode-661edbc8-4858-4012-b06a-a229f24900e4_1graph.txt" -f mp3 -c:v:0 mjpeg -i "\\server\music\_Unsorted\lofi hip hop\Aylior, Sebastian Kamae - Dunes.mp3" -map 0:0 -vn -sn -c:a:0 libopus -ab:a:0 160000 -ac:a:0 2 "C:\Prog\Emby\transcoding-temp\EB446C\EB446C.ogg"
2024-04-20 09:33:51.443 Info App: AppendExtraLogData - Read graph file: C:\Prog\Emby\logs\ffmpeg-transcode-661edbc8-4858-4012-b06a-a229f24900e4_1graph.txt
2024-04-20 09:33:51.444 Info App: AppendExtraLogData - Deserialized GraphData fileStream: 5,912.000 bytes Graph Count: 1
2024-04-20 09:33:51.444 Info App: AppendExtraLogData - File Deleted
2024-04-20 09:33:51.445 Info App: ProcessRun 'StreamTranscode 661edb' Process exited with code 0 - Succeeded
2024-04-20 09:33:51.538 Info Server: http/1.1 Response 200 to host1. Time: 1207ms. GET http://192.168.1.80:8096/audio/182520/stream.ogg?DeviceId=6CD5513EAB54D9DCCC60D70E7B25E44B&MediaSourceId=9709866ebcfdb61ccd67c12d21cc056f&PlaySessionId=e9ae3690c472448d88f0b2df9aa52ffe&api_key=x_secret2_x&AudioCodec=opus&AudioBitrate=160000&AudioStreamIndex=0&TranscodingMaxAudioChannels=6
2024-04-20 09:33:51.661 Info Server: http/1.1 GET http://192.168.1.80:8096/audio/182520/stream.ogg?DeviceId=6CD5513EAB54D9DCCC60D70E7B25E44B&MediaSourceId=9709866ebcfdb61ccd67c12d21cc056f&PlaySessionId=e9ae3690c472448d88f0b2df9aa52ffe&api_key=x_secret2_x&AudioCodec=opus&AudioBitrate=160000&AudioStreamIndex=0&TranscodingMaxAudioChannels=6. Connection=keep-alive, Host=host2, User-Agent=Symfonium/10.1.0B1 (Linux;Android 14), Accept-Encoding=identity, Icy-MetaData=1, X-MediaBrowser-Token=4c630dd4d5fe41a0a5169eaa2d7644ff, X-Emby-Authorization=MediaBrowser Client="Android", Device="Google Pixel 6 Pro", DeviceId="6CD5513EAB54D9DCCC60D70E7B25E44B", Version="14"
2024-04-20 09:33:51.728 Info Server: http/1.1 GET http://192.168.1.80:8096/audio/182520/stream.ogg?DeviceId=6CD5513EAB54D9DCCC60D70E7B25E44B&MediaSourceId=9709866ebcfdb61ccd67c12d21cc056f&PlaySessionId=e9ae3690c472448d88f0b2df9aa52ffe&api_key=x_secret2_x&AudioCodec=opus&AudioBitrate=160000&AudioStreamIndex=0&TranscodingMaxAudioChannels=6. Connection=keep-alive, Host=host2, User-Agent=Symfonium/10.1.0B1 (Linux;Android 14), Accept-Encoding=identity, Icy-MetaData=1, X-MediaBrowser-Token=4c630dd4d5fe41a0a5169eaa2d7644ff, X-Emby-Authorization=MediaBrowser Client="Android", Device="Google Pixel 6 Pro", DeviceId="6CD5513EAB54D9DCCC60D70E7B25E44B", Version="14"
2024-04-20 09:33:51.804 Info Server: http/1.1 Response 200 to host1. Time: 143ms. GET http://192.168.1.80:8096/audio/182520/stream.ogg?DeviceId=6CD5513EAB54D9DCCC60D70E7B25E44B&MediaSourceId=9709866ebcfdb61ccd67c12d21cc056f&PlaySessionId=e9ae3690c472448d88f0b2df9aa52ffe&api_key=x_secret2_x&AudioCodec=opus&AudioBitrate=160000&AudioStreamIndex=0&TranscodingMaxAudioChannels=6
2024-04-20 09:34:15.635 Info Server: http/1.1 POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182521/Progress?PositionTicks=600000000&PlayMethod=Transcode&IsPaused=False&PlaySessionId=97320df5517e4899882ae2d677eb7ad6. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:34:15.636 Info Server: http/1.1 Response 204 to host1. Time: 1ms. POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182521/Progress?PositionTicks=600000000&PlayMethod=Transcode&IsPaused=False&PlaySessionId=97320df5517e4899882ae2d677eb7ad6
2024-04-20 09:34:37.687 Info Server: http/1.1 POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182521/Progress?PositionTicks=820000000&PlayMethod=Transcode&IsPaused=True&PlaySessionId=97320df5517e4899882ae2d677eb7ad6. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:34:37.689 Info Server: http/1.1 Response 204 to host1. Time: 2ms. POST http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182521/Progress?PositionTicks=820000000&PlayMethod=Transcode&IsPaused=True&PlaySessionId=97320df5517e4899882ae2d677eb7ad6
2024-04-20 09:34:38.963 Info Server: http/1.1 DELETE http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182521. UserAgent: Symfonium/10.1.0B1 (Linux;Android 14)
2024-04-20 09:34:38.963 Info SessionManager: Playback stopped reported by app Android 14 on Google Pixel 6 Pro playing unknown item. Stopped at 82000 ms
2024-04-20 09:34:38.963 Info Server: http/1.1 Response 204 to host1. Time: 0ms. DELETE http://192.168.1.80:8096/Users/6196d32f642f4a29886eefaef1ae5518/PlayingItems/182521

 

Link to comment
Share on other sites

OK I think I know what the issue is. The hopeful fix will be in the beta channel soon with the next build. Thanks.

  • Thanks 1
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...