Re: [mythtv-users] red_eye script

2005-12-13 Thread Neil Bird

Around about 09/12/05 11:32, Craig Tinson typed ...
Would still like to see your skychannel script / collate script - it 
sounds like you have a very similar setup to me - UK+PVR250 etc.. if you 
wouldn't mind sharing - I'll look through the list for the last month 
and see if I can find that version too.



  For ref., here's a copy of the response I sent Craig off-list from home, 
without all the attachment padding:



> P.S. and your script is *still* more reliable than anything else I've
> found - and a couple of days ago I switched to SVN - and to be honest it
> feels like channel changing is even quicker with SVN/your script.


  Heh;  brave man.  I was actually considering it, but there's too much on 
ATM and I couldn't deal with going back to VCR :)   Plus, just as I started 
thinking about it I read a thread about LiveTV beung broken for  a while in 
SVN, so it kind of put me off.


  The only thing I'd gain from SVN would be proper myth-controlled LCD (esp. 
mythmusic, which is *why* I wanted to get an LCD).  But I've got the LCD 
working pretty-much OK now [apart from the music] anyway.



  Ah yes, let me dig out the link:

http://www.watercoolingshop.com/catalog/product_info.php?products_id=392

  £21.99, plus £6.99 for a desk stand (same site).  I stupidly managed to buy 
the blue/black one [not paying enough attention] and had to replace it with 
the blue/white :-/


  It's currently on my main PC, but this or next W/E I'm running a new cable 
from my PVR (in cupboard) so I can hang it off that & display it next to my TV.


--
[EMAIL PROTECTED] ~]# rm -f .signature
[EMAIL PROTECTED] ~]# ls -l .signature
ls: .signature: No such file or directory
[EMAIL PROTECTED] ~]# exit

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] red_eye script

2005-12-09 Thread Craig Tinson

Neil Bird wrote:



  Hmm.  Well, I posted a semi-recent one a month or so ago along with 
the redeye stuff I was using.  Since then, I think I added one more 
failsafe channel change ~10 s. after triggering as I managed to miss 
one channel change once.  I think it was because another IR (TV or 
amp.) was in use at the time;  the one danger of the IR blaster 
approach.  It's not let me down other that that since ~February.


  My *current* version is no longer 'portable', alas.  It has as 
ivtvctl call in it now to determine whether the box needs turning on 
(therefore ivtv/Hauppage-PVR specific) at the outset [that is easily 
editible, though, and may actually have been in my posted version].


  Also, I've changed the 'turn off in ~4 hours' thing into a 
4-hours-long loop, polling Myth's status every 5 minutes.  While this 
could probably be done without vast difficulty in the script, it might 
be a bit painful.



  I've invested in a cheap LCD to monitor whether Myth's recording, a 
sort of now'n'next display, HD temp. and free-space, show date+time, 
plus even whether I've emails waiting.


  I've hand-written a perl script to drive LCDd as the lcdproc stuf in 
Myth 0.18.1 is broken and I don't want to risk SVN builds.  I have a 
'collate-status' script running on my main PC (email count) and my PVR 
(now+next, HD status), putting these in a little table in mySQL on the 
PVR once a minute.  The LCDd script then polls this info.


  My skychannel script gets this out from the d/b to see if the PVR's 
active and whether the Sky box can thus be turned off.  So skychannel 
is now dependant upon my PVR 'collate-status' and a command-line i/f 
to sql 'get-status'.  It polls every 5 mins., for 4 hours trynig to 
turn off the box, then gives up (now doesn't blindly turn it off after 
4 hours).



  If you're interested, the PVR status can be had from telnetting into 
the nmythbackend on some port I've forgotten (search the list) and 
doing 'GET /xml', although I had to play silly wotsits to stop this [I 
use 'socat'] timing out and returning a null string when the PVR's busy.




Hi Neil

Thanks for the response - sounds like you've been busy!

Would still like to see your skychannel script / collate script - it 
sounds like you have a very similar setup to me - UK+PVR250 etc.. if you 
wouldn't mind sharing - I'll look through the list for the last month 
and see if I can find that version too.


Out if interest where did you get a cheap LCD in the UK? not been able 
to find one that I can easily integrate.. not sure if it's something I 
actually want but would be interested (my silverstone case covers all 
drives so probably isn't practical)


Thanks

Craig

P.S. and your script is *still* more reliable than anything else I've 
found - and a couple of days ago I switched to SVN - and to be honest it 
feels like channel changing is even quicker with SVN/your script.





___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] red_eye script

2005-12-08 Thread Neil Bird

Around about 07/12/05 17:49, Craig Tinson typed ...
If Neil Bird's listening I was wondering if he'd managed to get his 
channel changing digibox app to compile and work under FC4?


  Sorry, I'm still using an if-it-aint-broke-dont-fix-it FC3 box.  My main 
PC's FC4 now, and I guess during the Summer lean-TV period I may bump my PVR 
to FC4.  But not yet :)



okies - figured a way around it - I compiled on an FC3 machine. copied 
it over and it works fine now


  That's one way :)


also - I noticed a bit ago you mentioned you were re-working the 
skychannel script .. would be interested to find out how far you got 
with it?


  Hmm.  Well, I posted a semi-recent one a month or so ago along with the 
redeye stuff I was using.  Since then, I think I added one more failsafe 
channel change ~10 s. after triggering as I managed to miss one channel change 
once.  I think it was because another IR (TV or amp.) was in use at the time; 
 the one danger of the IR blaster approach.  It's not let me down other that 
that since ~February.


  My *current* version is no longer 'portable', alas.  It has as ivtvctl call 
in it now to determine whether the box needs turning on (therefore 
ivtv/Hauppage-PVR specific) at the outset [that is easily editible, though, 
and may actually have been in my posted version].


  Also, I've changed the 'turn off in ~4 hours' thing into a 4-hours-long 
loop, polling Myth's status every 5 minutes.  While this could probably be 
done without vast difficulty in the script, it might be a bit painful.



  I've invested in a cheap LCD to monitor whether Myth's recording, a sort of 
now'n'next display, HD temp. and free-space, show date+time, plus even whether 
I've emails waiting.


  I've hand-written a perl script to drive LCDd as the lcdproc stuf in Myth 
0.18.1 is broken and I don't want to risk SVN builds.  I have a 
'collate-status' script running on my main PC (email count) and my PVR 
(now+next, HD status), putting these in a little table in mySQL on the PVR 
once a minute.  The LCDd script then polls this info.


  My skychannel script gets this out from the d/b to see if the PVR's active 
and whether the Sky box can thus be turned off.  So skychannel is now 
dependant upon my PVR 'collate-status' and a command-line i/f to sql 
'get-status'.  It polls every 5 mins., for 4 hours trynig to turn off the box, 
then gives up (now doesn't blindly turn it off after 4 hours).



  If you're interested, the PVR status can be had from telnetting into the 
nmythbackend on some port I've forgotten (search the list) and doing 'GET 
/xml', although I had to play silly wotsits to stop this [I use 'socat'] 
timing out and returning a null string when the PVR's busy.


--
[EMAIL PROTECTED] ~]# rm -f .signature
[EMAIL PROTECTED] ~]# ls -l .signature
ls: .signature: No such file or directory
[EMAIL PROTECTED] ~]# exit
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] red_eye script

2005-12-07 Thread Craig Tinson

Craig Tinson wrote:

If Neil Bird's listening I was wondering if he'd managed to get his 
channel changing digibox app to compile and work under FC4?


We discussed this a few months ago but I didn't have any luck - it 
just seg faults and if I remember correctly when I debug'd it it was 
something to do with permissions on the ttyS0.. I never got around this..


I've just updated to SVN and now I have a problem - if the script 
doesn't exit without an error myth quits recording and that creates a 
whole load of problems


Cheers

Craig
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

okies - figured a way around it - I compiled on an FC3 machine. copied 
it over and it works fine now


also - I noticed a bit ago you mentioned you were re-working the 
skychannel script .. would be interested to find out how far you got 
with it?


Cheers

Craig


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users