A Mennucc wrote:
> hi
> 
> 
> I have a freevo 1.8.1 box , where the program freevo runs as user
> 'freevo' (and not root)
> 
> I have a data CD with some audio files on it;
> if I mount the CD as root, then I can browse the CD and play audio fine;
> if I insert the CD and let freevo manage it, all hell breaks loose
> 
> the problem is that freevo continues to mount/unmount the CD, but this
> exposes many bugs
> 
> one such bug for example is in the  Dirwatcher plugin that wants to scan
> the directory in the CD, but the CD gets unmounted,  and freevo crashes
> 
> I have fixed all bugs in directory.py , I attach a patch, so now I can
> browse the CD fine
> 
>  but I still cannot play stuff there... I have to intercept the call to
> mplayer, and be sure the CD is not unmounted while mplayer is trying
> playing the music in it; where do I find it?

I think this has already been fixed in svn. But what you can try is to 
see if it makes a difference running freevo as root. I'm curious to see 
if there is a difference between running as root and non-root.

The mounts and un-mounts are important otherwise the disc will be locked 
in the drive. After the first mount, following mounts are very quick. 
Using an automounter will be slower than the normal mount command.

There are a lot of additional complications when not running freevo as 
root, if the box is a standalone HTPC it really is not very dangerous 
using root as all the access is performed through the UI.

Duncan

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to