[mythtv-users] Channelchanging after upgrade on an external satelite reciever

Per Jørgensen myth at pbj-design.dk
Thu Apr 3 18:26:28 UTC 2008


Hey Group.

I have my Myth upgraded to 0.21, which is almost working perfect.
I have an external satelite reciever connected to my PVR500.
I have made a script in bash that worked perfect under 0.20, but after 
the upgrade I'm starting to get a error on and don't quite know what to 
do to solve this.
The Dreambox haves a webinterface - which I use for changing the 
channels. called from a normal bashscript!

The startup log:
2008-04-03 19:52:11.299 Preview: Grabbed preview 
'/storage/records/4294967295_20080403194952.mpg' 720x576 at 64s
2008-04-03 19:52:33.703 Expiring 4 MBytes for 4294967295 @ tor apr 3 
19:49:43 2008 =>
2008-04-03 19:56:25.564 adding: my-unique-identifier-goes-here as a 
client (events: 0)
2008-04-03 19:58:33.720 AutoExpire: CalcParams(): Max required Free 
Space: 2.0 GB w/freq: 15 min
2008-04-03 20:03:07.515 adding: core as a client (events: 0)
2008-04-03 20:03:07.518 adding: core as a client (events: 1)
2008-04-03 20:05:16.910 adding: core as a client (events: 0)
2008-04-03 20:05:16.939 adding: core as a client (events: 1)
2008-04-03 20:07:53.583 Using runtime prefix = /usr, libdir = /usr/lib
2008-04-03 20:07:53.818 Cannot locate your home directory. Please set 
the environment variable HOME or MYTHCONFDIR
2008-04-03 20:07:53.856 Failed to init MythContext, exiting.
2008-04-03 20:08:17.839 Using runtime prefix = /usr, libdir = /usr/lib
2008-04-03 20:08:17.848 Empty LocalHostName.
2008-04-03 20:08:17.898 New DB connection, total: 1
2008-04-03 20:08:17.904 Closing DB connection named 'DBManager0'
2008-04-03 20:08:17.968 New DB connection, total: 2
2008-04-03 20:08:17.972 Current Schema Version: 1214
Starting up as the master server.
2008-04-03 20:08:22.418 New DB connection, total: 3
2008-04-03 20:08:22.559 Channel(/dev/v4l/video0) Error: 
GetCurrentChannelNum(1): Failed to find Channel
2008-04-03 20:08:22.560 Channel(/dev/v4l/video0)::TuneTo(1): Error, 
failed to find channel.
2008-04-03 20:08:26.964 Channel(/dev/v4l/video1) Error: 
GetCurrentChannelNum(1): Failed to find Channel
2008-04-03 20:08:26.967 Channel(/dev/v4l/video1)::TuneTo(1): Error, 
failed to find channel.
2008-04-03 20:08:26.970 New DB scheduler connection

The last lines are the one that makes me wonder.
Especially carse this haven't been a problem before.

well - When calling the script for an external tuner change are the 
logfiles like this:
2008-04-03 20:19:12.877 TVRec(1): HW Tuner: 1->1
2008-04-03 20:19:13.111 Channel(/dev/v4l/video0) Error: 
GetCurrentChannelNum(1): Failed to find Channel
2008-04-03 20:19:13.112 Channel(/dev/v4l/video0)::TuneTo(1): Error, 
failed to find channel.
2008-04-03 20:19:13.112 TVRec(1) Error: Failed to set channel to 75.
2008-04-03 20:19:13.127 TVRec(1) Error: GetProgramRingBufferForLiveTV()
            ProgramInfo is invalid.
ProgramInfo: channame() startts(tor apr 3 20:19:13 2008) endts(tor apr 3 
20:19:13 2008)
             recstartts(tor apr 3 20:19:13 2008) recendts(tor apr 3 
20:19:13 2008)
             title()
2008-04-03 20:19:14.215 TVRec(1): RingBufferChanged()
2008-04-03 20:19:14.248 Using runtime prefix = /usr, libdir = /usr/lib
2008-04-03 20:19:14.254 Empty LocalHostName.
2008-04-03 20:19:14.255 Using localhost value of core
2008-04-03 20:19:14.275 AutoExpire: CalcParams(): Max required Free 
Space: 2.0 GB w/freq: 15 min
2008-04-03 20:19:14.278 New DB connection, total: 1
2008-04-03 20:19:14.303 Connected to database 'mythconverg' at host: 
localhost
2008-04-03 20:19:14.304 Closing DB connection named 'DBManager0'
2008-04-03 20:19:14.306 Connected to database 'mythconverg' at host: 
localhost
2008-04-03 20:19:14.308 New DB connection, total: 2
2008-04-03 20:19:14.309 Connected to database 'mythconverg' at host: 
localhost
2008-04-03 20:19:14.312 Current Schema Version: 1214
2008-04-03 20:19:16.774 AFD: Opened codec 0x82c4840, id(MPEG2VIDEO) 
type(Video)
2008-04-03 20:19:16.777 AFD: codec MP2 has 2 channels
2008-04-03 20:19:16.777 AFD: Opened codec 0x82c5c10, id(MP2) type(Audio)
2008-04-03 20:19:16.849 Preview: Grabbed preview 
'/storage/records/4294967295_20080403201014.mpg' 720x576 at 64s

Since the script aren't called at all, the channels arent changing.
The script can be seen here http://linux.pbj-design.dk/scripts/ch_chan.txt
So can someone tell me what to do - to make this work again. Carse the 
picture's is there and working great - but cannot change the channels. 
unfortunably. !

Cheers
Per Jørgensen



More information about the mythtv-users mailing list