View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Tuner status at logon
PostPosted: Tue Jan 08, 2008 2:38 pm 
Offline
Joined: Mon Jul 31, 2006 10:41 pm
Posts: 149
Welcome to KnoppMyth (Kernel 2.6.18-chw-13)

Last login: Sun Jan 6 21:08:45 2008 from 192.168.1.25

Encoder status

Encoder 1 is local on mythtv2 and is not recording.
Encoder 2 is local on mythtv2 and is not recording.
Encoder 3 is local on mythtv2 and is not recording.

The next recording starts in 8 hours and 30 minutes

=====

to /etc/profile add:
/usr/local/bin/motdxtra.sh

=====

create /usr/local/bin/motdxtra.sh and make it executable:

$ ls -l /usr/local/bin/motdxtra.sh
-rwxr-xr-x 1 root root 318 Dec 1 20:32 /usr/local/bin/motdxtra.sh

=====

$ cat /usr/local/bin/motdxtra.sh
#! /bin/bash
echo ""
lynx -dump http://localhost:6544 | sed -n '/^Encoder\ status$/,/^Schedule$/p' | sed '/^Schedule$/d'
lynx -dump http://localhost:6544 | sed 20q | sed -n '/profile\.$/{g;1!p;};h' | tail -n 1 | sed 's/ This recording will start in / The next recording starts in /' | sed 's/ using.*$//'
echo ""


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu