[mythtv-users] Can't watch live TV (lengthy)

martin martin at knespel.at
Sun Mar 4 23:10:08 UTC 2007


(This is my first mail to this list, so please have some mercy).

After struggling along a long time I give up and write this mail. Before 
I start to rant: I _love_ MythTV and used it for many years, but now I'm 
so fed up...

I switched from V0.18, which worked good enough for my use (but 
occasionally forgot to record a show) to 0.20. The first thing I 
learned: DiseqC isn't working anymore. So I checked out the SVN-version 
and I am using 12923 now - where DiseqC is working again.

Then I started to set up the system completely anew. New compile, fresh 
database, added the card, set up the two LNBs I have, scanned for 
channels etc.

Up until now I could switch to LiveTV on the frontend and see something.

Then I started editing the channels and shifted them around in the order 
I'd like to have them. Well - here the fun ends! The channel editor is a 
pain i.t.a.

Why is mythtv-setup assigning the same channel number over and over 
again - when the frontend isn't able to tune to these channels anyway???

PLEASE: If some developer is listening: Add a "start channel number" 
field in the general setup and don't touch any assigned channel numbers 
below this value (so when I enter 1000, start numbering the newly found 
channels from 1000 onwards - and NEVER use the same channel number 
twice!) - I'd like to do it myself, but I am much too unfamiliar with 
the code. If someone would give me a hint where to start, I do it!

After ordering the channels the way I want it, I cannot watch LiveTV 
anymore. :-O I took care to tune in to a channel before starting to edit 
which I already had (channel 1) and also the starting channels for both 
LNBs exist. (And yes: I did this 2 or 3 times until I found out that 
editing the channels is the problem!)

Looking at the logs (-v all from front- and backend) I can tell:

- the backend seems to tune fine into the two starting channels
- the backend-log seems very fine, no errors, but suddenly stops 
recording the live stream
- the frontend-log shows some errors:

2007-03-04 23:02:40.958 MythSocket(88a0830:14): attempting connect() to 
2007-03-04 23:02:40.959 MythSocket(88a0830:14): state change Idle -> 
2007-03-04 23:02:40.974 write -> 14 21      MYTH_PROTO_VERSION 33
2007-03-04 23:02:40.999 read  <- 14 13      ACCEPT[]:[]33
2007-03-04 23:02:41.006 Using protocol version 33
2007-03-04 23:02:41.006 write -> 14 18      ANN Playback msi 0
2007-03-04 23:02:41.016 read  <- 14 2       OK
2007-03-04 23:02:41.022 write -> 14 72      QUERY_RECORDER 
2007-03-04 23:02:48.041 MythSocket(88a0830:14): readStringList: Error, 
timeout (quick).
2007-03-04 23:02:48.042 MythSocket(88a0830:14): state change Connected 
-> Idle
2007-03-04 23:02:48.042 RemoteEncoder::SendReceiveStringList(): No response.
2007-03-04 23:02:48.045 MSqlQuery: SELECT chanid, starttime, endtime, 
discontinuity, chainpos, hostprefix, cardtype, channame, input FROM 
tvchain WHERE chainid = 'live-msi-2007-03-04T23:02:40' ORDER BY chainpos;
2007-03-04 23:02:48.066 GetEntryAt(-1) failed.
2007-03-04 23:02:48.069 MSqlQuery: SELECT 
recorded.recpriority,progstart,progend,basename,recgroup, storagegroup 
FROM recorded LEFT JOIN channel ON recorded.chanid = channel.chanid 
WHERE recorded.chanid = '0' AND starttime = '1970-01-01T01:00:00' ;
2007-03-04 23:02:48.085 EntryToProgram(0 at Thu Jan 1 01:00:00 1970) failed 
to get pginfo
2007-03-04 23:02:48.086 TV Error: LiveTV not successfully started
2007-03-04 23:02:48.086 MythSocket(88a0830:-1): DownRef: -1
2007-03-04 23:02:48.086 MythSocket(88a0830:-1): delete socket
2007-03-04 23:02:48.086 TV Error: LiveTV not successfully started
2007-03-04 23:02:48.095 TV: Deleting TV Chain in destructor

("server" is my server and "msi" is my client)

- the only thing that I see is, that both times are not exactls the same 
(client reports "live-msi-2007-03-04T23:02:40", but server has 
starttime: "2007-03-04T23:02:55"

I can send both logs, if necessary - if this is the right list to ask 
for help.

My hardware:

Both systems are P4 with 1.6 and 1.8 GHz, running a debian system with 
kernel 2.6.18. The tuner card is a Hauppauge Nexus-s with a 
DiseqC-switch and 2 LNBs for Astra and Hotbird (I am living in Europe).

Any other info you need?

And - yes - I searched the net, the tickets and the archives: There are 
reports that LiveTV suddenly doesn't work anymore, but no definitive or 
usable solution. There are also reports about the "failed to get 
pginfo"-message - also with no solution.

Anyway: Why is watching LiveTV not working anymore after editing the 
channels with mythtv-setup?

Thanks for reading and sorry for wasting some bandwidth - but sometimes 
you need to ...


More information about the mythtv-users mailing list