Hi,
Carsten Rietzschel wrote:
How does xineplayer work? I think it sends a command to xine to play the selected file, doesn't it? Would be also possible to play a DVD via xineplayer?
Well, xineplayer tells vdr-xine that input_vdr in xine shall play a further MRL. In that way, OSD and keystrokes still go to vdr-xine via the original vdr:// MRL.
The drawback is that you cannot control the new MRL by means of xine-ui. And as xineplayer currently only support the TRADITIONAL mode of mplayer plugin, you can only play the stream from the beginning and abort it at any time.
xineplayer relies on the mplayer plugin to put vdr-xine into playmode EXTERNAL before it is called. Otherwise, vdr-xine will report
vdr-xine: external commands not allowed!
Besides that, something like
xineplayer dvd://
should do the trick.
How can I debug xineplayer?
Depends on what you want to debug. Maybe it's enough to use printf debugging ;-)
Bye.