<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Sep 12, 2008 at 11:47 AM, Chris Reeves <span dir="ltr"><<a href="mailto:chrisrco_08@yahoo.com">chrisrco_08@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>In case it's useful to anyone, here's the script I created. It's nothing fancy, but it may save someone a few minutes if they run into this.<br>
<br>#!/bin/bash<br>hn=`hostname`<br>if [ $hn == "mythmain" ]; then<br> xine -pfhq --no-splash "\"$1\""<br>elif [ $hn == "mythfe" ]; then<br> mplayer -fs "$1"<br>fi<br><br>
I put this script in the shared directory my videos are in, and simply set the mvthvideo play command to /media/share/scripts/play.sh %s<br><br>One other interesting thing, in .20.2 at least, it seems like each frontend can have a different default player command, but when you set specific commands for specific file extensions, they end up the same across all frontends. This may just be some strange issue with my setup though.<br>
<br>Thanks again for the
help,<br>Chris<br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div class="Ih2E3d">----- Original Message ----<br>
From: Chris Reeves <<a href="mailto:chrisrco_08@yahoo.com" target="_blank">chrisrco_08@yahoo.com</a>><br>To: Discussion about mythtv <<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a>><br>
</div><div class="Ih2E3d">Sent: Thursday, September 11, 2008 11:14:13 AM<br>Subject: Re: [mythtv-users] Different mythvideo settings per frontend<br><br>
</div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div><div class="Ih2E3d">Thanks, that sounds like a great solution (and one I probably would never have thought of). I don't know why I thought mythvideo frontends worked like that to begin with.<br>
<br></div>Thanks again,<br>Chris<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div class="Ih2E3d">
----- Original Message ----<br>From: Kevin Kuphal <<a href="mailto:kkuphal@gmail.com" target="_blank">kkuphal@gmail.com</a>><br>To: Discussion about mythtv <<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a>><br>
Sent: Thursday, September 11, 2008 10:47:38 AM<br>Subject: Re: [mythtv-users] Different mythvideo settings per frontend<br><br>
</div><div dir="ltr"><div class="gmail_quote"><div class="Ih2E3d">On Thu, Sep 11, 2008 at 11:22 AM, Chris Reeves <span dir="ltr"><<a rel="nofollow" href="mailto:chrisrco_08@yahoo.com" target="_blank">chrisrco_08@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi,<br><br>If I have two frontends, is there any way to have separate mythvideo settings for each one? Specifically, I'd like to use a different command to play video files on each frontend. For some reason, I thought mythvideo frontend settings were independent, but when I change the video playing command on one, it changes on the other as well. I'm still using 20.2, so if there is a solution for this in 21, I'm sorry.</div>
</div></div></blockquote><div><br></div></div><div class="Ih2E3d"><div>No. Better off to use a script you create as the default player and have it detect the hostname and then call the appropriate player</div><div><br></div>
<div>Kevin</div></div></div>
</div>
</div></div></div><br>
</div></div></div></div><br>
</div></blockquote><div><br>While that solution is KISS elegant, it shouldn't strictly be necessary. I am unfamiliar with xine, but mplayer and Internal both can handle that scenario just fine with no modifications. mplayer, because you can use a line like: <br>
<br>mplayer -fs -zoom -quiet -vo xv %s -ao alsa:device=digital -ac hwac3, -alang en<br><br>which will fail gracefully if the alsa device isn't available, and Internal because near as I can tell it uses your regular TV playback settings which are frontend specific. It seems like xine should have a command line that should fail politely as well.<br>
<br><br></div></div><br></div>