jellyfin-media-player
jellyfin-media-player copied to clipboard
Could not play the video successfully, log uploaded here
The library interface is normal without problem. But the player interface could not play the selected video. Keep loading with a spinning cycle.
I also have the same problem. After deleting the server and adding it again, it can be played. After closing the software and reopening it, it will not be able to play. After reload the library page several times, there is a probability that it can be played
I think I'm getting this too: same symptom and similar error in the log.
Here's a relevant snippet of my log:
2023-05-08 22:28:50.168 [info] unknown @ 0 - JS: error registering serviceWorker: TypeError: Failed to register a ServiceWorker: The URL protocol of the current origin ('file://') is not supported.
2023-05-08 22:28:50.169 [info] unknown @ 0 - JS: TypeError: Failed to execute 'put' on 'Cache': Request scheme 'file' is unsupported
[...]
2023-05-08 22:28:51.618 [info] unknown @ 0 - JS: Requesting https://<REDACTED>/System/Endpoint
2023-05-08 22:28:51.623 [info] unknown @ 0 - JS: TypeError: Failed to execute 'put' on 'Cache': Request scheme 'file' is unsupported
2023-05-08 22:28:51.623 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://<REDACTED>/Items/<REDACTED>/PlaybackInfo?UserId=<REDACTED>&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000
2023-05-08 22:28:51.627 [info] unknown @ 0 - JS: Uncaught (in promise) #<Response>
I am having the same problem for a few months, I have to use to connect using firefox directly to my server. Wish I could use the app again tho.
Same thing is happening to me. I don't know if this has anything to do with it, but for me it started happening after I installed and then uninstalled the two plugins Jellyscrub and Intro Skipper.
For some reason, attaching the debugger worked for the first playback, but then any subsequent playback results in this error:
{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": 400,
"traceId": "00-5fc4fdee225875b8c2749e5a311e2728-52d5f7e560aad94a-00",
"errors": {
"maxStreamingBitrate": [
"The value '2400000000' is not valid."
]
}
}
Looking at the successful and unsuccessful requests, the successful request has MaxStreamingBitrate=1680000000
, while the unsuccessful request has MaxStreamingBitrate=2400000000
.
I assume the problem is an integer overflow on the server side: https://github.com/jellyfin/jellyfin/blob/1cff5aef6386b8f4b303d86c8ab533010a7a7109/Jellyfin.Api/Models/MediaInfoDtos/PlaybackInfoDto.cs#L19
The value is int
, which would max out at 2,147,483,647
, but the client is sending 2,400,000,000
.