jellyfin / jellyfin-media-player

Jellyfin Desktop Client
GNU General Public License v2.0
3.18k stars 316 forks source link

Media not playing at all - regression #780

Open HerrCraziDev opened 1 week ago

HerrCraziDev commented 1 week ago

Platform :

Symptoms:

No media ever plays on the desktop client (Linux). It works fine in the browser, and even transcodes where needed. No issues playing on the mobile client (Android) or on the TV either. On the desktop, copying the stream URL and launching MPV directly with it plays without any issues. The downloaded files also plays without issues locally using MPV and VLC. In all cases, subtitles were used and poses no issues.

Media never plays on the desktop client, no matter the formats, transcoding or whatever. The client freezes when clicking play, the player does not appears. No black screen or anything, the library stays frozen, and cannot be interacted with; almost like if the MPV embed was not starting/drawing anything.

I had encountered a similar issue when I first started using the desktop client a couple years ago or so, and somehow got it to work back then, but only God knows how now, I've forgotten. It had been working flawlessly since then, even better than on other clients (TV especially was slower to load but due to HW specs most likely). The desktop client was able to play, directly or with transcoding, without issues whatsoever.

[Edit] From the logs below, this error might be of interest : 2024-10-21 03:19:31.131 [critical] unknown @ 0 - main: Command loadfile: argument index has incompatible type.

Nothing gets traced to stdout/stderr. No errors or suspect lines in the server logs. I haven't found client logs, but would welcome pointers to their location to provide them if possible.

Thanks <3

[Edit: Found the logs, here is an excerpt of a playing attempt]

2024-10-21 03:19:28.870 [info] unknown @ 0 - JS: [RouterHistory] history update [object Object]
2024-10-21 03:19:28.873 [info] unknown @ 0 - JS: [ViewManagerPage] loading view [%s] itemDetails/index.html
2024-10-21 03:19:28.906 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Users/c66ef790e83049f1b72e25b6d66a14a2/Items/82abe9caa34f3821e6ca11b1ef755ee3
2024-10-21 03:19:28.964 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Items/82abe9caa34f3821e6ca11b1ef755ee3/Similar?userId=c66ef790e83049f1b72e25b6d66a14a2&limit=12&fields=PrimaryImageAspectRatio%2CCanDelete
2024-10-21 03:19:28.984 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Shows/82abe9caa34f3821e6ca11b1ef755ee3/Seasons?userId=c66ef790e83049f1b72e25b6d66a14a2&Fields=ItemCounts%2CPrimaryImageAspectRatio%2CCanDelete%2CMediaSourceCount
2024-10-21 03:19:28.985 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/LiveTv/Programs?UserId=c66ef790e83049f1b72e25b6d66a14a2&ImageTypeLimit=1&HasAired=false&SortBy=StartDate&EnableTotalRecordCount=false&Limit=50&EnableUserData=false&Fields=ChannelInfo%2CChannelImage&LibrarySeriesId=82abe9caa34f3821e6ca11b1ef755ee3
2024-10-21 03:19:28.985 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Shows/NextUp?SeriesId=82abe9caa34f3821e6ca11b1ef755ee3&UserId=c66ef790e83049f1b72e25b6d66a14a2&Fields=MediaSourceCount
2024-10-21 03:19:30.975 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Users/c66ef790e83049f1b72e25b6d66a14a2/Items/2c78c2f422118058c9e9fe378467141d
2024-10-21 03:19:30.997 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Shows/82abe9caa34f3821e6ca11b1ef755ee3/Episodes?IsVirtualUnaired=false&IsMissing=false&UserId=c66ef790e83049f1b72e25b6d66a14a2&Fields=Chapters%2CTrickplay
2024-10-21 03:19:31.036 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/System/Endpoint
2024-10-21 03:19:31.039 [info] unknown @ 0 - JS: Requesting https://[redacted]/player/Playback/BitrateTest?Size=500000
2024-10-21 03:19:31.048 [info] unknown @ 0 - JS: BitrateTest 524288 bytes loaded (500000 requested) in 0.004574999969918281 seconds -> 916787766 bps
2024-10-21 03:19:31.048 [info] unknown @ 0 - JS: Requesting https://[redacted]/player/Playback/BitrateTest?Size=1000000
2024-10-21 03:19:31.061 [info] unknown @ 0 - JS: BitrateTest 1048576 bytes loaded (1000000 requested) in 0.009149999998044223 seconds -> 916787760 bps
2024-10-21 03:19:31.061 [info] unknown @ 0 - JS: Requesting https://[redacted]/player/Playback/BitrateTest?Size=3000000
2024-10-21 03:19:31.069 [info] unknown @ 0 - JS: Requesting https://[redacted]/player/Playback/BitrateTest?Size=500000
2024-10-21 03:19:31.092 [info] unknown @ 0 - JS: BitrateTest 524288 bytes loaded (500000 requested) in 0.019100000034086406 seconds -> 219597068 bps
2024-10-21 03:19:31.093 [info] unknown @ 0 - JS: Requesting https://[redacted]/player/Playback/BitrateTest?Size=1000000
2024-10-21 03:19:31.114 [info] unknown @ 0 - JS: BitrateTest 1048576 bytes loaded (1000000 requested) in 0.016965000017080456 seconds -> 494465546 bps
2024-10-21 03:19:31.114 [info] unknown @ 0 - JS: Requesting https://[redacted]/player/Playback/BitrateTest?Size=3000000
2024-10-21 03:19:31.119 [info] unknown @ 0 - JS: BitrateTest 4194304 bytes loaded (3000000 requested) in 0.04752500000176951 seconds -> 706037496 bps
2024-10-21 03:19:31.120 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Items/2c78c2f422118058c9e9fe378467141d/PlaybackInfo?UserId=c66ef790e83049f1b72e25b6d66a14a2&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=494226247
2024-10-21 03:19:31.128 [debug] unknown @ 0 - cplayer: Set property: sub-delay=0.000000 -> 1
2024-10-21 03:19:31.129 [debug] unknown @ 0 - Disabling OS screensaver
2024-10-21 03:19:31.130 [info] unknown @ 0 - JS: playing url: https://[redacted]/player/Videos/2c78c2f422118058c9e9fe378467141d/stream.mkv?Static=true&mediaSourceId=2c78c2f422118058c9e9fe378467141d&deviceId=SmVsbHlmaW5NZWRpYVBsYXllciAxLjExLjEgKGxpbnV4LXg4Nl82NCB1bmtub3duKXwxNzI5NDczNTU0MTIz&api_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&Tag=b02bf969cc0a926c0a07af32f9a1dbf2
2024-10-21 03:19:31.131 [info] unknown @ 0 - Looking for a display at: QRect(2297,449 1280x720) (center: QPoint(2936,808) )
2024-10-21 03:19:31.131 [info] unknown @ 0 - Display index: 0
2024-10-21 03:19:31.131 [info] unknown @ 0 - Looking for a display at: QRect(2297,449 1280x720) (center: QPoint(2936,808) )
2024-10-21 03:19:31.131 [info] unknown @ 0 - Display index: 0
2024-10-21 03:19:31.131 [debug] unknown @ 0 - "Parsing other configuration: "
2024-10-21 03:19:31.131 [debug] unknown @ 0 - "Parsing other configuration: "
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: video-sync="audio" -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: hwdec="auto-copy" -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: hwdec-image-format="no" -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: deinterlace="no" -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: display-fps-override=164.833908 -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: audio-delay=0.000000 -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: demuxer-max-bytes=78643200 -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: video-unscaled=false -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: video-aspect-override="-1" -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: keepaspect=true -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: panscan=0.000000 -> 1
2024-10-21 03:19:31.131 [critical] unknown @ 0 - main: Command loadfile: argument index has incompatible type.
2024-10-21 03:19:31.131 [info] unknown @ 0 - JS: Active player: {"name":"MPV Video Player","id":"mpvvideoplayer","playerName":"MPV Video Player","playableMediaTypes":[false,true,false,false],"isLocalPlayer":true,"supportedCommands":["GoHome","GoToSettings","VolumeUp","VolumeDown","Mute","Unmute","ToggleMute","SetVolume","SetAudioStreamIndex","SetSubtitleStreamIndex","SetMaxStreamingBitrate","DisplayContent","GoToSearch","DisplayMessage","SetRepeatMode","SetShuffleQueue","PlayMediaSource","PlayTrailers","ToggleFullscreen","SetAspectRatio","PlaybackRate"]}
2024-10-21 03:19:31.132 [info] unknown @ 0 - JS: SyncPlay WrapperFactory getWrapper: htmlvideoplayer
2024-10-21 03:19:31.133 [info] unknown @ 0 - JS: nowplaying event: playbackstart
2024-10-21 03:19:31.133 [info] unknown @ 0 - JS: [nowPlayingBar:onStateChanged] event: playbackstart
2024-10-21 03:19:31.133 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Sessions/Playing
2024-10-21 03:19:31.170 [info] unknown @ 0 - JS: BitrateTest 4194304 bytes loaded (3000000 requested) in 0.04736500000581145 seconds -> 708422506 bps
2024-10-21 03:19:41.136 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Sessions/Playing/Progress
2024-10-21 03:19:51.135 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Sessions/Playing/Progress
2024-10-21 03:19:55.071 [info] unknown @ 0 - JS: Sending web socket message: KeepAlive
2024-10-21 03:19:55.072 [info] unknown @ 0 - JS: Received KeepAlive from server.
2024-10-21 03:19:55.376 [debug] unknown @ 0 - Window state when saving geometry: QWindow::Windowed
2024-10-21 03:19:55.376 [debug] unknown @ 0 - Saving window geometry: QRect(2297,449 1280x720)
2024-10-21 03:19:55.386 [debug] unknown @ 0 - QWindow visibility set to QWindow::Hidden
2024-10-21 03:19:55.387 [debug] unknown @ 0 - Window state when saving geometry: QWindow::Hidden
2024-10-21 03:19:55.387 [debug] unknown @ 0 - Saving window geometry: QRect(2297,449 1280x720)
DieserCoookie commented 1 week ago

Im also having that issue.

tw9mini commented 6 days ago

I'm on Manjaro, application starts but clicking at library doesn't work, only orange outline appears around the thumbnail and the library won't open. Started few days ago after an update. In the logs I found some error stating "Could not find a taskbar component matching this platform. Taskbar functions disabled." . Don't know if related. Sorry for not having the full log but currently I uninstalled the player and logs are gone too.

EDIT: I uninstalled jellyfin player with yay, then deleted all caches and leftovers and after that I tried to compile older version 1.11.0. That didn't go so well because the compiled binary crashed immediately with segmentation fault. So I again deleted everything and installed the application with yay once again and now it's running fine. I don't know what did the trick but I also don't know what I'm doing most of the time.

trynan commented 5 days ago

This may be unrelated but FWIW I was having the same problem as the above comment (application starts, but couldn't play media and could not click on anything in the library, just outlines appearing). After removing the cache at "~/.cache/Jellyfin Media Player" and re-running everything worked fine.

Also worth mentioning that for me, this did not start as a result of any update to JMP, but only after I upgraded jellyfin to the latest version (although web and mobile versions never stopped working).

I'm running Arch with a Wayland DE (unlike the OP who said they are NOT using Wayland)

HerrCraziDev commented 4 days ago

Deleting the cache did not solve the issue for me :'(

I have found the logs, tho

2024-10-21 03:19:28.870 [info] unknown @ 0 - JS: [RouterHistory] history update [object Object]
2024-10-21 03:19:28.873 [info] unknown @ 0 - JS: [ViewManagerPage] loading view [%s] itemDetails/index.html
2024-10-21 03:19:28.906 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Users/c66ef790e83049f1b72e25b6d66a14a2/Items/82abe9caa34f3821e6ca11b1ef755ee3
2024-10-21 03:19:28.964 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Items/82abe9caa34f3821e6ca11b1ef755ee3/Similar?userId=c66ef790e83049f1b72e25b6d66a14a2&limit=12&fields=PrimaryImageAspectRatio%2CCanDelete
2024-10-21 03:19:28.984 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Shows/82abe9caa34f3821e6ca11b1ef755ee3/Seasons?userId=c66ef790e83049f1b72e25b6d66a14a2&Fields=ItemCounts%2CPrimaryImageAspectRatio%2CCanDelete%2CMediaSourceCount
2024-10-21 03:19:28.985 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/LiveTv/Programs?UserId=c66ef790e83049f1b72e25b6d66a14a2&ImageTypeLimit=1&HasAired=false&SortBy=StartDate&EnableTotalRecordCount=false&Limit=50&EnableUserData=false&Fields=ChannelInfo%2CChannelImage&LibrarySeriesId=82abe9caa34f3821e6ca11b1ef755ee3
2024-10-21 03:19:28.985 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Shows/NextUp?SeriesId=82abe9caa34f3821e6ca11b1ef755ee3&UserId=c66ef790e83049f1b72e25b6d66a14a2&Fields=MediaSourceCount
2024-10-21 03:19:30.975 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Users/c66ef790e83049f1b72e25b6d66a14a2/Items/2c78c2f422118058c9e9fe378467141d
2024-10-21 03:19:30.997 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Shows/82abe9caa34f3821e6ca11b1ef755ee3/Episodes?IsVirtualUnaired=false&IsMissing=false&UserId=c66ef790e83049f1b72e25b6d66a14a2&Fields=Chapters%2CTrickplay
2024-10-21 03:19:31.036 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/System/Endpoint
2024-10-21 03:19:31.039 [info] unknown @ 0 - JS: Requesting https://[redacted]/player/Playback/BitrateTest?Size=500000
2024-10-21 03:19:31.048 [info] unknown @ 0 - JS: BitrateTest 524288 bytes loaded (500000 requested) in 0.004574999969918281 seconds -> 916787766 bps
2024-10-21 03:19:31.048 [info] unknown @ 0 - JS: Requesting https://[redacted]/player/Playback/BitrateTest?Size=1000000
2024-10-21 03:19:31.061 [info] unknown @ 0 - JS: BitrateTest 1048576 bytes loaded (1000000 requested) in 0.009149999998044223 seconds -> 916787760 bps
2024-10-21 03:19:31.061 [info] unknown @ 0 - JS: Requesting https://[redacted]/player/Playback/BitrateTest?Size=3000000
2024-10-21 03:19:31.069 [info] unknown @ 0 - JS: Requesting https://[redacted]/player/Playback/BitrateTest?Size=500000
2024-10-21 03:19:31.092 [info] unknown @ 0 - JS: BitrateTest 524288 bytes loaded (500000 requested) in 0.019100000034086406 seconds -> 219597068 bps
2024-10-21 03:19:31.093 [info] unknown @ 0 - JS: Requesting https://[redacted]/player/Playback/BitrateTest?Size=1000000
2024-10-21 03:19:31.114 [info] unknown @ 0 - JS: BitrateTest 1048576 bytes loaded (1000000 requested) in 0.016965000017080456 seconds -> 494465546 bps
2024-10-21 03:19:31.114 [info] unknown @ 0 - JS: Requesting https://[redacted]/player/Playback/BitrateTest?Size=3000000
2024-10-21 03:19:31.119 [info] unknown @ 0 - JS: BitrateTest 4194304 bytes loaded (3000000 requested) in 0.04752500000176951 seconds -> 706037496 bps
2024-10-21 03:19:31.120 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Items/2c78c2f422118058c9e9fe378467141d/PlaybackInfo?UserId=c66ef790e83049f1b72e25b6d66a14a2&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=494226247
2024-10-21 03:19:31.128 [debug] unknown @ 0 - cplayer: Set property: sub-delay=0.000000 -> 1
2024-10-21 03:19:31.129 [debug] unknown @ 0 - Disabling OS screensaver
2024-10-21 03:19:31.130 [info] unknown @ 0 - JS: playing url: https://[redacted]/player/Videos/2c78c2f422118058c9e9fe378467141d/stream.mkv?Static=true&mediaSourceId=2c78c2f422118058c9e9fe378467141d&deviceId=SmVsbHlmaW5NZWRpYVBsYXllciAxLjExLjEgKGxpbnV4LXg4Nl82NCB1bmtub3duKXwxNzI5NDczNTU0MTIz&api_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&Tag=b02bf969cc0a926c0a07af32f9a1dbf2
2024-10-21 03:19:31.131 [info] unknown @ 0 - Looking for a display at: QRect(2297,449 1280x720) (center: QPoint(2936,808) )
2024-10-21 03:19:31.131 [info] unknown @ 0 - Display index: 0
2024-10-21 03:19:31.131 [info] unknown @ 0 - Looking for a display at: QRect(2297,449 1280x720) (center: QPoint(2936,808) )
2024-10-21 03:19:31.131 [info] unknown @ 0 - Display index: 0
2024-10-21 03:19:31.131 [debug] unknown @ 0 - "Parsing other configuration: "
2024-10-21 03:19:31.131 [debug] unknown @ 0 - "Parsing other configuration: "
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: video-sync="audio" -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: hwdec="auto-copy" -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: hwdec-image-format="no" -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: deinterlace="no" -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: display-fps-override=164.833908 -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: audio-delay=0.000000 -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: demuxer-max-bytes=78643200 -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: video-unscaled=false -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: video-aspect-override="-1" -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: keepaspect=true -> 1
2024-10-21 03:19:31.131 [debug] unknown @ 0 - cplayer: Set property: panscan=0.000000 -> 1
2024-10-21 03:19:31.131 [critical] unknown @ 0 - main: Command loadfile: argument index has incompatible type.
2024-10-21 03:19:31.131 [info] unknown @ 0 - JS: Active player: {"name":"MPV Video Player","id":"mpvvideoplayer","playerName":"MPV Video Player","playableMediaTypes":[false,true,false,false],"isLocalPlayer":true,"supportedCommands":["GoHome","GoToSettings","VolumeUp","VolumeDown","Mute","Unmute","ToggleMute","SetVolume","SetAudioStreamIndex","SetSubtitleStreamIndex","SetMaxStreamingBitrate","DisplayContent","GoToSearch","DisplayMessage","SetRepeatMode","SetShuffleQueue","PlayMediaSource","PlayTrailers","ToggleFullscreen","SetAspectRatio","PlaybackRate"]}
2024-10-21 03:19:31.132 [info] unknown @ 0 - JS: SyncPlay WrapperFactory getWrapper: htmlvideoplayer
2024-10-21 03:19:31.133 [info] unknown @ 0 - JS: nowplaying event: playbackstart
2024-10-21 03:19:31.133 [info] unknown @ 0 - JS: [nowPlayingBar:onStateChanged] event: playbackstart
2024-10-21 03:19:31.133 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Sessions/Playing
2024-10-21 03:19:31.170 [info] unknown @ 0 - JS: BitrateTest 4194304 bytes loaded (3000000 requested) in 0.04736500000581145 seconds -> 708422506 bps
2024-10-21 03:19:41.136 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Sessions/Playing/Progress
2024-10-21 03:19:51.135 [info] unknown @ 0 - JS: Requesting url without automatic networking: https://[redacted]/player/Sessions/Playing/Progress
2024-10-21 03:19:55.071 [info] unknown @ 0 - JS: Sending web socket message: KeepAlive
2024-10-21 03:19:55.072 [info] unknown @ 0 - JS: Received KeepAlive from server.
2024-10-21 03:19:55.376 [debug] unknown @ 0 - Window state when saving geometry: QWindow::Windowed
2024-10-21 03:19:55.376 [debug] unknown @ 0 - Saving window geometry: QRect(2297,449 1280x720)
2024-10-21 03:19:55.386 [debug] unknown @ 0 - QWindow visibility set to QWindow::Hidden
2024-10-21 03:19:55.387 [debug] unknown @ 0 - Window state when saving geometry: QWindow::Hidden
2024-10-21 03:19:55.387 [debug] unknown @ 0 - Saving window geometry: QRect(2297,449 1280x720)

Most interestingly, this critical warning : 2024-10-21 03:19:31.131 [critical] unknown @ 0 - main: Command loadfile: argument index has incompatible type.