[mythtv-users] Feature request: Send commands to existing mythfrontend session

Chris Pinkham cpinkham at bc2va.org
Fri Aug 14 16:22:46 UTC 2009


* On Thu Aug 13, 2009 at 09:17:14PM -0700, Yeechang Lee wrote:
> It would be nice if mythtv (or mythfrontend) could be invoked with a
> command-line switch to tell an existing mythfrontend session to play a
> specified file. Bonus points if a playback group could be specified
> via command line, too!

I saw your email late last night and threw together a quick patch
that would allow you to send the network control interface a
"play file /path/to/some/video/filename.mpg" command and the
frontend would start playing that file.  It needs some tweaking and
I think there is a cleaner way I could do it, so I didn't want to
post the patch, but it did work.  The PlayGroup isn't as easy to
accomplish since it would require an extension to the existing
media handler code which I hooked into.  It sounds like a nice
feature to have though, so I'll probably take another look at it
again over the next few days.  I can see it coming in handy in
quite a few places.

--
Chris


More information about the mythtv-users mailing list