Mailing List archive

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

[vdr] Re: ANNOUNCE: mplayer.sh version 0.8.4



Juri Haberland wrote:

Florian Steinel wrote:

Juri Haberland wrote:

Is it possible to select the DVD Title, if not i've got a patch/quick hack for you.

No, and I don't plan to support the DVD-crap anymore, because it is just
an ugly hack and will never do all those nice things (changing language
on the fly, choosing the title etc.) if MPlayer itself doesn't support it.

IMHO, if you want to watch DVDs then use the DVD plugin.


I'm too busy to build the Bitstreamout -> soundcard -> DD/DTS decoder path,
so mplayer to DVB audio out is easy (without patching).

But out of curiosity, what does your patch?

I'm using a file DVD.1 for title one with support for the DVD file.

from mplayer.sh-0.8.3-mod
-8<--------------------------------------------------------------
# Var for DVD Title selection
declare file=${FILE##*/}
declare base=${file%%.*}
declare DVDTITLE=${file#*.}
debugvar DVDTitles "$FILE : $path, $file, $base, $DVDTITLE"

#if test \( "$FILE" == "$DVDFiles/DVD" -o "$FILE" == "$DVDFiles/VCD" \) -a -n "$DVDFiles" -a -n "$DVD"; then
if test \( "$base" == "DVD" -o "$FILE" == "$DVDFiles/VCD" \) -a -n "$DVDFiles" -a -n "$DVD"; then
declare file=${FILE##*/}
declare base=${file%%.*}
declare DVDTITLE=${file#*.}
debugvar DVDTitles "$FILE : $path, $file, $base, $DVDTITLE"

if test "$base" == "DVD"; then
if ([ -n "$DVDTILE" ] & [ $base == $DVDTITLE ]); then
DVDTITLE=1
fi
CMDLINE="$MPLAYER -vo $VO $AOUT -aid 128 -ac hwac3 dvd://$DVDTITLE -alang $DVDLANG $DVDOPTIONS $FDSTR $CACHESTR $REMOTE $USERDEF -dvd-device /dev/hdc"
fi
->8------------------------------------------------------------------

Cu
Florian



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



Home | Main Index | Thread Index