mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
Specific DateTime metadata format prevents audio from playing. #6803
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @modernham on GitHub (Mar 7, 2025).
Description of the bug
When attempting to play several audio files via the JellyFin web client after an update to the latest version (10.10.6), a "Playback Error" windows appears stating "Playback failed because the media is not supported by this client.".
This seems to affect at least both wav, as well as flac files.
These audio files worked and played on version 9.X prior to updating.
The jellyfin logs indicate that an exception occurs due to an un-representable DateTime
System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime.This seems to be related to #11576 , as the user had a similar issue there, however the issue was closed due to the issue being fixed in 10.9.2. However, the issue was reported to be back in 10.10.6 as indicated by the replies afterwards. One user in the issue also reported downgrading to 10.10.5, scanning the library, and then upgrading back to 10.10.6 to successfully play the media.
Reproduction steps
Sign into the web client.
Navigate to the Music Tab.
Attempt to play a song with the "un-representable DateTime"
What is the current bug behavior?
A "Playback Error" windows appears stating "Playback failed because the media is not supported by this client.".
What is the expected correct behavior?
Song plays despite incorrect date format, or it is corrected.
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
10.10.6
Specify the build version
10.10.6
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
[playbackmanager] onPlaybackError: DOMException: The media resource indicated by the src attribute or assigned media provider object was not suitable.
Object { type: "MEDIA_NOT_SUPPORTED", streamInfo: {…} }
main.jellyfin.bundle.js:2:170374
[nowPlayingBar:onPlaybackStopped] event: playbackstop 19029.6abd0493253e4d49db27.chunk.js:1:9820
Relevant screenshots or videos
No response
Additional information
No response
@gnattu commented on GitHub (Mar 7, 2025):
PR already submitted to upstream library, but that PR is simply to not import that field and use a fallback with the smallest date value instead. I'm not sure what is the best way to handle this now as the year tag abusing seems extremely common, where the year tag was entered a non-parsable full number date.
@felix920506 commented on GitHub (Apr 28, 2025):
fixed by #13683