[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mythtv-dev
Subject:    [mythtv] RFC: Add network control for MythVideo to start Video/DVD
From:       Denys Dmytriyenko <denis () denix ! org>
Date:       2008-05-25 2:30:55
Message-ID: 20080525023055.GA1812 () denix ! org
[Download RAW message or body]

Hi,

While working on the touchscreen remote control for Myth frontend (still in 
the early stages...) I wanted to be able to start playback of arbitrary 
Video/DVD files in MythVideo as well as monitor and stop it. As far as I know 
the only way to control frontend is over the network control (aka telnet) 
interface. Luckily "query location" and "play stop" worked fine with Video/DVD 
playback in the Internal player. All I had to do is add the way to start 
video or DVD playback.

My first attempt is attached in the ticket # 5394. It is quite rough and I 
wanted to discuss some of the issues I faced while implementing this 
featurette.

The main issue is that network control interface is an afterthought (no 
offence to developers) and is only handled in the mythfrontend and not 
propagated to plugins. This adds unnecessary complexity and knowledge of 
plugin internals to the mythfrontend. Are there any plans to add proper 
network control interface to plugins in the future?

Due to the above issue, Video/DVD playback starts in the Watch Recordings 
(aka PlaybackBox), instead of MythVideo gallery/browser/list.

The patch adds a new command "play video [dvd:]filename [resume]", where dvd: 
prefix is optional (handled automatically anyway) and "resume" supposed to 
start from a DVD bookmark. It is only tested in the Internal player, as that 
is what I use for all my videos/DVDs.

I'd appreciate comments and any feedback. Thanks.

-- 
Denys
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic