The attached patch makes MediaMonitor recognize CD-ROMs and DVD-ROMs
with the UDF file system (in addition to the current ISO-9660 file
system support) as "CD-ROM"s (is_cdrom variable). This makes
MythVideo work properly for those of us who need to use UDF for >4GiB
AVIs and such.
Index: mythtv/libs/libmyth/mythmediamonitor.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmyth/mythmediamonitor.cpp,v
retrieving revision 1.11
diff -u -r1.11 mythmediamonitor.cpp
--- mythtv/libs/libmyth/mythmediamonitor.cpp 27 Jan 2005 23:43:13 -0000 1.11
+++ mythtv/libs/libmyth/mythmediamonitor.cpp 20 Feb 2005 19:41:41 -0000
@@ -164,7 +164,9 @@
}
if (strstr(mep->fs_mntops, MNTTYPE_ISO9660) ||
- strstr(mep->fs_vfstype, MNTTYPE_ISO9660))
+ strstr(mep->fs_vfstype, MNTTYPE_ISO9660) ||
+ strstr(mep->fs_vfstype, MNTTYPE_UDF) ||
+ strstr(mep->fs_vfstype, MNTTYPE_AUTO))
{
is_cdrom = true;
//cout << "Device is a CDROM" << endl;
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev