I tried leaving off the leading slash, no luck. I tried leaving off the path altogether and just specifying sa3250first as well, no luck.<br><br>To make sure I'm doing it right, here are my steps every time I make a change:
<br><br>1) Open terminal as root. service mythbackend stop.<br>2) Open terminal as the user mythtv (the default login on the system) and run mythtvsetup.<br>3) Make the changes in input connections, alt-F (finish).<br>4) Back to user root, service mythbackend start
<br>5) Back to user mythtv, mythtvfrontend<br>6) Test, curse, repeat.<br><br>Random questions:<br>Does it matter that the file is owned by root? I've confirmed that I can run it from a terminal as mythtv so I'm thinking it's not a problem. I should be running myttvsetup as the user mythtv, right? And finally, do I need to run mythfilldatabase every time I change something as simple as an external channel script?
<br><br><br><br><div class="gmail_quote">On Jan 7, 2008 7:58 PM, Greg <<a href="mailto:greg12866@nycap.rr.com">greg12866@nycap.rr.com</a>> 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></div><div class="Wj3C7c">Matt Emmott wrote:<br>> Hi,<br>><br>> I've given up on recording from Firewire until the next Myth release<br>> comes out, and am attempting to use S-video as my PVR-150's input. The
<br>> cable box is a Scientific Atlanta SA3250HD. My cable box is outputting<br>> component directly to my TV as well as S-video & composite audio to my<br>> PVR-150 on my Myth 0.20.2 box. It's kind of a unique setup but the box
<br>> seems to output to both destinations simultaneously without an issue.<br>><br>> Viewing / recording TV seems to be working - My issue is with changing<br>> the channels via an external script. I'm running a modified SA3250ch
<br>> script that I obtained from this mailing list. I'll post the script<br>> below. I named it sa3250first during my testing and the name just kind<br>> of stuck. At any rate, I can change the channel just fine via terminal
<br>> while logged in as the user mythtv (the same user that MythTV runs<br>> under) by typing, say, 'sa3250first 005' or typing the entire path, as<br>> in /usr/local/bin/sa3250first 0005. The script calls the original
<br>> sa3250ch script which is also in /usr/local/bin and is executable by<br>> user mythtv.<br>><br>> I've set up the external tuner script in mythtvsetup under input<br>> connections -> /dev/video0 S-video 1 -> External channel change
<br>> command and entered /usr/local/bin/sa3250first. The permissions &<br>> details on the file are -rwxr-xr-x 1 root root 218 Dec 13 19:23<br>> sa3250first<br>><br>> There's nothing in the /var/log/mythtv/mythbackend.log that seems out
<br>> of the ordinary, it thinks it's changing channels like so:<br>><br>> 2008-01-07 17:44:57.828 Finished recording NewsCenter 5 at<br>> Five-Thirty: channel 1003<br>> 2008-01-07 17:48:20.220 ret_pid(4724) child(4724) status(0x0)
<br>> 2008-01-07 17:48:20.222 External Tuning program exited with no error<br>> 2008-01-07 17:48:20.235 Finished recording That '70s Show "Red's Last<br>> Day": channel 1006<br>> 2008-01-07 17:48:
20.279 Finished recording That '70s Show "Red's Last<br>> Day": channel 1006<br>> 0: start_time: 11.628 duration: 18.201<br>> 1: start_time: 11.599 duration: 18.194<br>> stream: start_time: 128.877
duration: 202.554 bitrate=5193 kb/s<br>> 2008-01-07 17:48:20.306 AFD: Opened codec 0xa128820, id(MPEG2VIDEO)<br>> type(Video)<br>> 2008-01-07 17:48:20.315 AFD: Opened codec 0xa128cd0, id(MP2) type(Audio)<br>> 2008-01-07 17:48:
20.321 TVRec(4): RingBufferChanged()<br>> 2008-01-07 17:48:20.329 Finished recording That '70s Show "Red's Last<br>> Day": channel 1006<br>> 2008-01-07 17:48:51.294 ret_pid(4731) child(4731) status(0x0)
<br>><br>> Any ideas? Here's the sa3250first script:<br>><br>> [mythtv@magic bin]$ cat sa3250first<br>> #!/bin/sh<br>><br>> l=`echo $1 | awk '{print length($0)}'`<br>><br>> if [ $l -eq 3 ]
<br>> then<br>> sa3250ch -s $1<br>> fi<br>><br>> if [ $l -eq 2 ]<br>> then<br>> sa3250ch -s 0<br>> sa3250ch -s $1<br>> fi<br>><br>> if [ $l -eq 1 ]<br>> then<br>> sa3250ch -s 0<br>
> sa3250ch -s 0<br>> sa3250ch -s $1<br>> fi<br>><br>><br>><br>><br>><br></div></div>> ------------------------------------------------------------------------<br>><br>> _______________________________________________
<br>> mythtv-users mailing list<br>> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>> <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br>><br>I am not sure if this is your problem or not, but when i enter the path<br>for the script i use to change channels on my 3250 hd i don't add the<br>leading / like you did in the setup...My path reads<br>
usr/local/MyBlaster.pl . You stated above in mythtvsetup under input<br><div class="Ih2E3d">connections -> /dev/video0 S-video 1 -> External channel change command<br>and entered /usr/local/bin/sa3250first.<br><br>
</div>^ try leaving that off..<br><br>Good luck<br><br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>