[mythtv-users] Remote frontend and live TV

Henrik Ostergaard Madsen Henrik at ostergaard.net
Sun Feb 18 14:54:11 UTC 2007


I'm setting up a MythTV system based on Debian systems. 

So far, the backend runs and I can watch live TV on that PC (with a PVR-500).

Myth is installed on a remote front end too, but I cannot get Live TV to function here. It just 
flickers for a second and goes back to the menu. The error message is:

2007-02-18 15:19:48.465 TV: Attempting to change from None to WatchingLiveTV
2007-02-18 15:19:48.470 Using protocol version 31
2007-02-18 15:19:48.476 GetEntryAt(-1) failed.
2007-02-18 15:19:48.478 EntryToProgram(0 at tor jan 1 01:00:00 1970) failed to get pginfo
2007-02-18 15:19:48.479 TV Error: LiveTV not successfully started
2007-02-18 15:19:48.480 TV Error: LiveTV not successfully started   

I CAN connect to the MySQL base. 
I have tried to setup the system with a slave backend and without, but it makes no 
difference. It seems that it insists on opening channel 0/programme 0, which does not exist. 
I have tried to edit the database to create such af channel, but it doesn't work either.

The slave backend does come out with the following:
2007-02-18 15:19:48.474 MainServer::HandleRecorderQuery() Unknown encoder: 7
2007-02-18 15:19:48.474 write -> 12 3       bad
- the tuner card is attached as input 7 on the master backend. I do not get theis when using 
only one backend, but the front end gives the same result.

I have attached the logs from the frontend, the slave backend and the master backend (with 
the tuner card).

Any ideas?

Regards

Henrik


Log from Master backend:
2007-02-18 15:19:47.372 MythSocket(ada00bc0:15): new socket
2007-02-18 15:19:47.372 MythSocket(ada00bc0:15): setSocket: 14
2007-02-18 15:19:47.372 MythSocket(ada00bc0:14): state change Idle -> Connected
2007-02-18 15:19:47.372 MythSocket(ada00bc0:14): UpRef: 1
2007-02-18 15:19:47.373 MythSocket(ada00bc0:14): socket is readable
2007-02-18 15:19:47.373 MythSocket(ada00bc0:14): cb->readyRead()
2007-02-18 15:19:47.373 MythSocket(ada00bc0:14): UpRef: 2
2007-02-18 15:19:47.373 read  <- 14 21      MYTH_PROTO_VERSION 31
2007-02-18 15:19:47.373 write -> 14 13      ACCEPT[]:[]31
2007-02-18 15:19:47.373 MythSocket(ada00bc0:14): DownRef: 1
2007-02-18 15:19:47.374 MythSocket(ada00bc0:14): socket is readable
2007-02-18 15:19:47.374 MythSocket(ada00bc0:14): cb->readyRead()
2007-02-18 15:19:47.374 MythSocket(ada00bc0:14): UpRef: 2
2007-02-18 15:19:47.374 read  <- 14 20      ANN Monitor MythTv 0
2007-02-18 15:19:47.374 MainServer::HandleAnnounce Monitor
2007-02-18 15:19:47.374 adding: MythTv as a client (events: 0)
2007-02-18 15:19:47.374 write -> 14 2       OK
2007-02-18 15:19:47.375 MythSocket(ada00bc0:14): DownRef: 1
2007-02-18 15:19:47.375 MythSocket(ada00e20:16): new socket
2007-02-18 15:19:47.375 MythSocket(ada00e20:16): setSocket: 15
2007-02-18 15:19:47.376 MythSocket(ada00e20:15): state change Idle -> Connected
2007-02-18 15:19:47.376 MythSocket(ada00e20:15): UpRef: 1
2007-02-18 15:19:47.376 MythSocket(ada00e20:15): socket is readable
2007-02-18 15:19:47.376 MythSocket(ada00e20:15): cb->readyRead()
2007-02-18 15:19:47.376 MythSocket(ada00e20:15): UpRef: 2
2007-02-18 15:19:47.376 read  <- 15 20      ANN Monitor MythTv 1
2007-02-18 15:19:47.376 MainServer::HandleAnnounce Monitor
2007-02-18 15:19:47.376 adding: MythTv as a client (events: 1)
2007-02-18 15:19:47.376 write -> 15 2       OK
2007-02-18 15:19:47.376 MythSocket(ada00e20:15): DownRef: 1
2007-02-18 15:19:47.377 MythSocket(ada00bc0:14): socket is readable
2007-02-18 15:19:47.377 MythSocket(ada00bc0:14): cb->readyRead()
2007-02-18 15:19:47.377 MythSocket(ada00bc0:14): UpRef: 2
2007-02-18 15:19:47.377 read  <- 14 29      GET_NEXT_FREE_RECORDER[]:[]-1
2007-02-18 15:19:47.377 Getting next free recorder after : -1
2007-02-18 15:19:47.378 MSqlQuery: SELECT data FROM settings WHERE value = 
'LastFreeCard' AND hostname = 'Ostergaard' ;
2007-02-18 15:19:47.379 MSqlQuery: SELECT data FROM settings WHERE value = 
'LastFreeCard' AND hostname IS NULL;
2007-02-18 15:19:47.379 Checking card 3. Best card so far 3
2007-02-18 15:19:47.379 Checking card 7. Best card so far 7
2007-02-18 15:19:47.379 write -> 14 24      7[]:[]127.0.0.1[]:[]6543
2007-02-18 15:19:47.379 MythSocket(ada00bc0:14): DownRef: 1                                   



Full log from frontend:
2007-02-18 15:19:42.921 Media status changed...  New status is: 
MEDIASTAT_NOTMOUNTED old status was MEDIASTAT_UNPLUGGED
2007-02-18 15:19:48.456 Connecting to backend server: 192.168.3.4:6543 (try 1 of 5)
2007-02-18 15:19:48.458 Using protocol version 31
2007-02-18 15:19:48.465 TV: Attempting to change from None to WatchingLiveTV
2007-02-18 15:19:48.470 Using protocol version 31
2007-02-18 15:19:48.476 GetEntryAt(-1) failed.
2007-02-18 15:19:48.478 EntryToProgram(0 at tor jan 1 01:00:00 1970) failed to get pginfo
2007-02-18 15:19:48.479 TV Error: LiveTV not successfully started
2007-02-18 15:19:48.480 TV Error: LiveTV not successfully started
2007-02-18 15:19:48.489 TV: Deleting TV Chain in destructor
2007-02-18 15:19:48.512 DPMS Deactivated
2007-02-18 15:19:48.513 DPMS Reactivated.                  

Log from slave backend:
2007-02-18 15:19:48.466 MythSocket(8176068:13): new socket
2007-02-18 15:19:48.466 MythSocket(8176068:13): setSocket: 12
2007-02-18 15:19:48.467 MythSocket(8176068:12): state change Idle -> Connected
2007-02-18 15:19:48.467 MythSocket(8176068:12): UpRef: 1
2007-02-18 15:19:48.468 MythSocket(8176068:12): socket is readable
2007-02-18 15:19:48.468 MythSocket(8176068:12): cb->readyRead()
2007-02-18 15:19:48.468 MythSocket(8176068:12): UpRef: 2
2007-02-18 15:19:48.469 read  <- 12 21      MYTH_PROTO_VERSION 31
2007-02-18 15:19:48.470 write -> 12 13      ACCEPT[]:[]31
2007-02-18 15:19:48.471 MythSocket(8176068:12): socket is readable
2007-02-18 15:19:48.471 MythSocket(8176068:12): cb->readyRead()
2007-02-18 15:19:48.471 MythSocket(8176068:12): UpRef: 3
2007-02-18 15:19:48.472 read  <- 12 21      ANN Playback MythTv 0
2007-02-18 15:19:48.472 MainServer::HandleAnnounce Playback
2007-02-18 15:19:48.472 adding: MythTv as a client (events: 0)
2007-02-18 15:19:48.472 write -> 12 2       OK
2007-02-18 15:19:48.472 MythSocket(8176068:12): DownRef: 2
2007-02-18 15:19:48.473 MythSocket(8176068:12): socket is readable
2007-02-18 15:19:48.473 MythSocket(8176068:12): cb->readyRead()
2007-02-18 15:19:48.474 MythSocket(8176068:12): UpRef: 3
2007-02-18 15:19:48.474 read  <- 12 75      QUERY_RECORDER 
7[]:[]SPAWN_LIVETV[]:[]live-MythTv-2007-02-18T15:19:48[]:[]0
2007-02-18 15:19:48.474 MainServer::HandleRecorderQuery() Unknown encoder: 7
2007-02-18 15:19:48.474 write -> 12 3       bad
2007-02-18 15:19:48.474 MythSocket(8176068:12): DownRef: 2
2007-02-18 15:19:48.475 MythSocket(8176068:12): DownRef: 1
2007-02-18 15:19:48.479 MythSocket(8176068:12): socket is readable
2007-02-18 15:19:48.479 MythSocket(8176068:12): socket closed
2007-02-18 15:19:48.479 MythSocket(8176068:12): state change Connected -> Idle
2007-02-18 15:19:48.480 MythSocket(8176068:-1): cb->connectionClosed()                   
-----------------------------------------------------------
Henrik Østergaard Madsen	Phone: +45 44 48 44 92
PhD, M.Sc.    			Cell:  +45 30 94 02 88  
Mosegard Park 42      		email: Henrik at Ostergaard.net
DK-3500 Værløse     		WWW homepage: 
Denmark                   		http://www.Ostergaard.net/Henrik 






More information about the mythtv-users mailing list