[mythtv] Media monitoring question

MaxPower maxpower44 at tiscali.fr
Sun Feb 8 17:36:30 EST 2004


Thx to reply so quilky

J. Donavan Stanley wrote:

> MaxPower wrote:
>
>> Hi,
>> 1 Anybody can explain why the MEDIATYPE_MIXED exist ? for me a media 
>> is mixed if it is MEDIATYPE_AUDIO + MEDIATYPE_VIDEO ...
>
>
> Mixed is a standard CDROM format.  Audio + Data.  i.e. music CDs with 
> extra content.
>
Ok I understand now . At the beginning I believe that MEDIATYPE 
describe  the support and not the content .
Can i conclude that mediamonitoring won't make the differents between a 
cd which contain video (avi), mp3 or picture (jpg) and will be consider 
as Data only.
It will be difficult to use media monitoring for mythgallery and 
mythvideo ...

>
>> 2 I have an usb storage but i believe that only cdrom/dvdrom was 
>> implement in mediamonitor. mediamonitor detect cdrom/dvdrom by the 
>> "udf" "iso9660" string. What the best way to detect usb storage. I 
>> think about searching "noauto" string in fstab. Looks it correct ?
>
>
> I had planned to look into that at some point.  The biggest reason I 
> didn't was that there are no handlers for data disks so there wasn't 
> any real point.  At some point I'd like to implement some sort of 
> import function for MythVideo/Music/Gallery/Game to copy files off of 
> data disks.
>
> You could probably trigger off of the SCSI emulation device (i.e. 
> /dev/sdaX is a USB/Firewire device)

I don't know how to trigger the SCSI emulation device ... but it's true 
, import function for MythVideo/Music/Gallery/Game will become 
necessary. Probably we can do that without a trigger of the scsi 
emulation device.

>
>> 3 I found a "bug", if I insert a cd which isn't an audio cd or dvd 
>> video, the device is mounted but never umount then I can eject the cd 
>> /dvd.
>
>
> That's a feature not a bug.  I intentionally unlock the drive door 
> (and jump through hoops to do so).  Personally I don't want to have to 
> use software to eject a DVD after I'm done playing it.  IF you don't 
> like this behavior look at the "allow eject" parameter.

When i put a cd of data, myth mount the device and say that's not a 
audio cd and not a dvd. but it don't umount the device. Then the unique 
way to tage my cd is to swith from a console and umount the device. I 
don't know where is the feature ... And it's not easy only with a 
remote. then it easier to reboot ...I don't talk about ejecting the 
device but just unlock to allow me to try a other cd.

>
>> 4 What about replace MEDIATYPE_VIDEO by MEDIATYPE_DVD ? because 
>> MEDIATYPE_VIDEO can be use for mythvideo file ...
>
>
> Because you also have to consider VideoCDs which are also 
> MEDIATYPE_VIDEO disks.  How could MEDIATYPE_VIDEO be used by MythVideo 
> anyway?  The MEDIATYPE_* constants refer to the physical media nothing 
> else.  MythVideo deals with files...


Same as 1

Xavier Hervy






More information about the mythtv-dev mailing list