Opened 8 years ago

Last modified 6 years ago

#8702 new bug

Audio Ogg files are mistakenly marked as Video Ogg files

Reported by: Giova84 Owned by: axeld
Priority: normal Milestone: R1
Component: Preferences/FileTypes Version: R1/Development
Keywords: audio ogg files mistakenly marked as video ogg files Cc:
Blocked By: Blocking:
Platform: x86


Go here: and downloads one audio/ogg files listed in the page. Once the file is on the disk, inside Tracker, this file will be marked as video/ogg instead of audio/ogg. The same occurs with this app: : to solve i have used "settype -t audio/ogg foo.ogg"


Change History (2)

comment:1 by korli, 8 years ago

I believe there is no way to easily detect if an ogg file is audio or video. That could be a reason.

comment:2 by pulkomandy, 6 years ago

The rule could be changed to 0.50 ("OggS") [28:64]("\x01vorbis") for audio files, and the priority raised above the video one. However this would only handle Vorbis.The RFC for Ogg mime types define a few other formats and the strings to look for (section 4):

Note: See TracTickets for help on using tickets.