Bug#243759: Bug #243759: nautilus: ogg-encapsulated video treated as audio when opening

albanbrowaeys@oreka.com, 243759@bugs.debian.org albanbrowaeys@oreka.com, 243759@bugs.debian.org
Mon, 31 May 2004 23:52:49 +0200

>The problem is that even though on some level it is clearly recognized
>that these are video files (because of the snapshot previews), when
>double clicked, Nautilus tries to open the files in rhythmbox by default.
>"Open with other application" allows me to change what to do to Ogg audio
>files, but I'd rather like to have rhythmbox handle the audio and Totem
>the video.

with an .ogg vorbis audio file , "file" returns "Ogg data, Vorbis audio, 
stereo, 44100 Hz, ~112001 bps, created by: Xiph.Org libVorbis I (1.0)"
with a video one ".ogm" it returns "Ogg data".

could the file detection mechanism be tweaked to consider "Ogg data" 
without " Vorbis audio" as a a ".ogm" mime type. An ogg container can 
contain vorbis audio, mpeg4 video or just audio . It is like ".avi".

A faster workaround is to add .ogm to mime-shared , which should be 
done too, but please consider fixing the ogg detection pattern to link .Ogg 
to "vorbis" instead of "ogg data" (which is just a multimedia container.