https://bugs.kde.org/show_bug.cgi?id=448058

            Bug ID: 448058
           Summary: Elisa mishandles Vorbis date fields
           Product: Elisa
           Version: 21.12.0
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: matthieu_gall...@yahoo.fr
          Reporter: xnagyti...@gmail.com
  Target Milestone: ---

SUMMARY
The Vorbis metadata format used in Ogg stuff like Vorbis, FLAC, Opus, etc uses
the ISO 8601 date format. Elisa currently mishandles these date fields if they
have more than just the year part.

List of Vorbis date field formats I have encountered in the wild: "YYYY-MM-DD",
"YYYYMMDD", "YYYY-MM", "YYYY"

If Vorbis dates have hyphens like "YYYY-MM-DD", Elisa truncates the date only
to the year part, causing precision loss.

If Vorbis dates have no hyphens like "YYYYMMDD", Elisa takes the whole date
string and interprets it as a year. For example today's date would place a song
20 million years into the distant future, into Year 20,220,107. This causes
issues when you'd like to sort tracks by year. This case can easily be
encountered by using youtube-dl or one of its forks with the '--add-metadata'
flag.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Graphics Platform: X11

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to