Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Notes on playing DVDs using mplayer plugin



Martin Fischer wrote:

> I was looking for an easy to use solution to play DVDs, VCDs and AVIs
> with VDR. Current dvd plugin is nice but most of my DVDs fail due to
> some problems with dvdnav (and cannot play divx). 
> 
> To be able to play DVDs using the mplayer plugin I put a dummy textfile 
> called "DVD" in the mplayer directory and modified the mplayer.sh use 
> the following params when this file was selected:
> 
> if [ "$FILE" = "<path to mplayer dir>/DVD" ]; then
>   /bin/su -c "$MPLAYER $OPTS $SLAVE -alang de_DE dvd://1" -
>   exit 0
> fi

> When terminating mplayer with lirc the behaviour is very well. I defined
> a quit command in lircrc and mplayer terminates. Everything works fine.
> 
> BUT when terminating mplayer from VDR menue with the blue button 
> it is not possible to start it again (channel is blocked).  Maybe some
> resources don't get released properly.

> So (finally) my question: is it possible to prevent the blue "terminate" key
> for the mplayer plugin in the VDR menue? Or alternatively: is it possible to
> add a hook that is called when VDR want's to terminate a plugin.

Use exec to execute mplayer in your script.

But another thing:
Why don't you just use my mplayer.sh script from
http://batleth.sapienti-sat.org/projects/VDR/ ? It does all the DVD/VCD
stuff in a similiar manner like your approach and it plays nearly every
file that mplayer can handle. Just have a look and don't reinvent the
wheel :)

Cheers,
Juri



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index