[mythtv-commits] Ticket #3473: Video module in Mythweb cannot scan for OGM files
MythTV
mythtv at cvs.mythtv.org
Thu May 17 19:04:19 UTC 2007
#3473: Video module in Mythweb cannot scan for OGM files
-----------------------------------------------+----------------------------
Reporter: Jo Shields <directhex at apebox.org> | Owner: xris
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythweb | Version: head
Severity: medium |
-----------------------------------------------+----------------------------
In mythweb/modules/video/scan.php, the decision is made whether or not a
file should be considered a video (and therefore added to the DB) based on
the MIME type identified by "file -ib $file" containing a "video" section,
e.g.:
directhex at despair:~$ file -ib /data/Media/Video/Movies/Elephant\'s\
Dream.avi
video/x-msvideo
However, there's a problem:
directhex at despair:~$ file -ib /data/Media/Video/Movies/Finding\ Nemo.ogm
application/ogg
This is further complicated by the same MIME type being used for both OGM
video and Vorbis audio files (which should not be included)
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3473>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list