Yuh-Fwu Guu
|
How to handle mediastore addition and deletion during playback?
|
Yuh-Fwu Guu
07/30/2012 9:59 AM
post94512
|
How to handle mediastore addition and deletion during playback?
Hello,
I have MME and MCD setup to detect mediastores on USB sticks, how do I handle mediastore addition and deletion due to
the insertion and removal of the USB sticks during a library based track session playback?
For example, when I have one USB inserted, and I am playing audio files from this USB with track session created using
the following statement...
select fid from library where msid in (select msid from mediastores where (mountpath="/fs/usb0" or mountpath="/fs/usb1")
and available=1)
The track session playback will contain only files from USB_1, which is mounted as /fs/usb0. Now, if I inserted a second
USB stick, it will be mounted as /fs/usb1, will MME add the files from the second USB stick and let the playback
continue to play files in USB_2 when all files from USB_1 have been played back?
Thanks.
|
|
|