View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 15 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Apr 13, 2008 1:10 am 
Offline
Joined: Sun Feb 03, 2008 10:09 am
Posts: 7
First let me say Knoppmyth is a great system, and many thanks to all the people who make this possible. I am trying to learn as much as I can about Linux, but never being involved with software before makes it difficult. I will persevere and learn as much as I can.
I have been trying to get Knoppmyth R5F27 working for some time but I am not having much luck despite my efforts. So I am calling on some kind person who knows more than I do to give a helping hand.
The (auto) install appears to go very smoothly. I have tried running the install many times and I do not notice any errors.
I am able to watch TV no problem (video OK, sound OK), I can even record by pressing the "R" key while watching TV. My remote works with the exception of changing channels. In order to change channels I have to bring up a terminal window and use the command line. The IR blaster works just fine and changes the channel on the cable box.
I have a subscription with Schedules Direct and when I do a mythfilldatabase it looks like Knoppmyth is receiving the data and saving it. But no program guide. If I look at the system info it says the guide update was done and the result is blank. It suggests the time of the next update. Then the next line says "There's no guide data available!" and the line after asks if I have run mythfilldatabase. It also shows Schedules direct status as blank but shows the expiry date of my subscription.
Here is what portions of the backend log looks like:

2008-03-05 12:00:53.677 Using runtime prefix = /usr
2008-03-05 12:00:53.908 New DB connection, total: 1
2008-03-05 12:00:53.923 Connected to database 'mythconverg' at host: localhost
2008-03-05 12:00:53.979 Current Schema Version: 1160
Starting up as the master server.
2008-03-05 12:00:54.040 New DB connection, total: 2
2008-03-05 12:00:54.044 Connected to database 'mythconverg' at host: localhost
2008-03-05 12:00:54.054 EITHelper: localtime offset -5:00:00
2008-03-05 12:00:54.111 TVRec(1) Error: Problem finding starting channel, setting to default of '3'.
2008-03-05 12:00:54.121 New DB connection, total: 3
2008-03-05 12:00:54.124 Connected to database 'mythconverg' at host: localhost
2008-03-05 12:00:54.143 GetChannelData() failed because it could not
find channel number '3' in DB for source '1'.
2008-03-05 12:00:54.145 TVRec(1) Error: Setting start channel '3' failed,
and no other channels were found on input.
2008-03-05 12:00:54.198 New DB scheduler connection
2008-03-05 12:00:54.200 Connected to database 'mythconverg' at host: localhost
2008-03-05 12:00:55.633 Main::Registering HttpStatus Extension
2008-03-05 12:00:55.656 mythbackend version: 0.20.20070821-1 www.mythtv.org
2008-03-05 12:00:55.658 Enabled verbose msgs: important general
2008-03-05 12:00:55.766 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
2008-03-05 12:00:55.781 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min
2008-03-05 12:00:56.336 Reschedule requested for id -1.
2008-03-05 12:00:56.387 Scheduled 0 items in 0.0 = 0.01 match + 0.04 place
2008-03-05 12:00:56.397 Seem to be woken up by USER

I really do hope some one can point me in the right direction.
Thanks in advance,
Frank

Knoppmyth R5F27
Hauppauge PVR 350 + remote, 1 card
Compaq DS510, 1536MB (P4 1.8 GHZ)
IDE disk 200 GB
NVidia Geforce 6200 256 MB PCIMaster frontend/backend
Rogers digital cable box (Scientific Atlanta 940)
IR blaster on com 1


[/img]


Top
 Profile  
 
PostPosted: Sun Apr 13, 2008 7:12 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
Welcome!
gr8escap wrote:
...My remote works with the exception of changing channels. In order to change channels I have to bring up a terminal window and use the command line. The IR blaster works just fine and changes the channel on the cable box.
You'll need to define the script in the Input Connections setup (see below).

gr8escap wrote:
I have a subscription with Schedules Direct and when I do a mythfilldatabase it looks like Knoppmyth is receiving the data and saving it. But no program guide. If I look at the system info it says the guide update was done and the result is blank. It suggests the time of the next update. Then the next line says "There's no guide data available!" and the line after asks if I have run mythfilldatabase.
Did you setup a channel lineup @ SD? If you run mythfilldatabase from an xterm do you see any errors? Oh, and as you have a PVR-350 be sure to not "Scan for channels", but "Fetch channels from listings source" instead.

gr8escap wrote:
Here is what portions of the backend log looks like:
...
2008-03-05 12:00:54.111 TVRec(1) Error: Problem finding starting channel, setting to default of '3'.
2008-03-05 12:00:54.143 GetChannelData() failed because it could not
find channel number '3' in DB for source '1'.
2008-03-05 12:00:54.145 TVRec(1) Error: Setting start channel '3' failed,
and no other channels were found on input.
Sounds like your Input connections are not (properly) defined. See http://www.knoppmythwiki.org/index.php? ... WatchingTV Yes, it's lengthy, but 99% of the issues people have with tuners/schedules are solved by something in this page. Note that section "4. Input Connections" probably covers your problem with the remote as well, you need to define a channel-changing script (See for example http://www.knoppmythwiki.org/index.php? ... hSetTopBox)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 13, 2008 8:29 pm 
Offline
Joined: Sun Feb 03, 2008 10:09 am
Posts: 7
Thanks for your help.
I have defined the script in the Input Connections setup.
I did setup a channel lineup @ SD.
When I run mythfilldatabase from an xterm I do not recognise any errors.
I did not "Scan for Channels".
Since reading your reply I tried the "Fetch Channels".
I have been through the "Black Screen Watching TV" wiki a few times before but I did it one more time because I have this feeling that I am real close to having this system work perfectly. I paid special attention to section 4 as you suggested. It appears to be OK there.

When I do this command as root :
dmesg | egrep 'tv|i2c|tuner|msp|saa|cx25|cx88|lirc'
I get the following output:

Linux version 2.6.18-chw-13 (root@mythtv) (gcc version 4.1.2 20061115 (prereleas
e) (Debian 4.1.1-21)) #1 SMP PREEMPT Sat Jun 2 21:06:06 PDT 2007
ivtv: Start initialization, version 1.1.0
ivtv0: Initializing card #0
ivtv0: Autodetected Hauppauge card (cx23415 based)
ivtv0: YUV filter table not found in firmware.
tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 0-0043: type set to tda9887
tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
msp3400 0-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #0)
msp3400 0-0040: MSP4448G-A2 supports radio, mode is autodetect and autoselect
saa7115 0-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c driver #0)
tveeprom 0-0050: Hauppauge model 48132, rev K268, serial# 9888784
tveeprom 0-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 0-0050: audio processor is MSP4448 (idx 27)
tveeprom 0-0050: decoder processor is SAA7115 (idx 19)
tveeprom 0-0050: has radio, has IR receiver, has no IR transmitter
ivtv0: Autodetected Hauppauge WinTV PVR-350
saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
tuner-simple 0-0061: type set to 47 (LG NTSC (TAPE series))
tuner 0-0061: type set to LG NTSC (TAPE series)
ivtv0: Registered device video0 for encoder MPG (4096 kB)
ivtv0: Registered device video32 for encoder YUV (2048 kB)
ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
ivtv0: Registered device video24 for encoder PCM (320 kB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Registered device video16 for decoder MPG (1024 kB)
ivtv0: Registered device vbi8 for decoder VBI (64 kB)
ivtv0: Registered device vbi16 for decoder VOUT
ivtv0: Registered device video48 for decoder YUV (1024 kB)
ivtv0: Initialized card #0: Hauppauge WinTV PVR-350
ivtv: End initialization
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
saa7134: Unknown symbol get_key_pinnacle_color
saa7134: Unknown symbol get_key_pinnacle_grey
saa7134_dvb: Unknown symbol saa7134_ts_register
saa7134_dvb: Unknown symbol saa7134_set_gpio
saa7134_dvb: Unknown symbol saa7134_ts_qops
saa7134_dvb: Unknown symbol saa7134_i2c_call_clients
saa7134_dvb: Unknown symbol saa7134_ts_unregister
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
cx88/2: cx2388x dvb driver version 0.0.6 loaded
cx88/2: registering cx8802 driver, type: dvb access: shared
lirc_dev: IR Remote Control driver registered, at major 61
cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
lirc_dev: lirc_register_plugin: sample_rate: 10
lirc_serial: auto-detected active high receiver
lirc_dev: lirc_register_plugin: sample_rate: 0
ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02060039
ivtv0: Decoder revision: 0x02020023
ivtv0: Loaded v4l-cx2341x-init.mpg firmware (155648 bytes)

I notice the card type is 47, is that OK?
I did set "Preset Tuner To channel =3" in the "Input Device Setup"

To this point there has been a minor change in that now when I try to use the remote to change channels, the number channel I key in appears in the top right hand corner of the screen but when I press OK the numbers on the screen goes away but it remains on the same channel. That did not happen before. Am I making progress?

From A Xterm I was able to do "$ tv_grab_na_dd --configure" and configure SD. I was also able to do "$ tv_grab_na_dd --days 5 --output test.txt". When I look at this file all the data seems to be coming down the pipe from SD.

I wish I knew what I am doing wrong here.

Regards,
Frank


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 14, 2008 8:38 am 
Offline
Joined: Mon Oct 09, 2006 12:18 pm
Posts: 29
Maybe try

Code:
mythfilldatabase --do-channel-updates


or delete and re-create all your capture cards, video sources and input connections


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 14, 2008 3:58 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
gr8escap wrote:
Thanks for your help.
I have defined the script in the Input Connections setup.
I did setup a channel lineup @ SD.
When I run mythfilldatabase from an xterm I do not recognise any errors.
I did not "Scan for Channels".
Since reading your reply I tried the "Fetch Channels".
When running mythfilldatabase from an xterm you should see a number of entries like
Code:
--04:02:09--  http://webservices.schedulesdirect.tmsdatadirect.com/schedulesdirect/tvlistings/xtvdService
           => `-'
Resolving webservices.schedulesdirect.tmsdatadirect.com... 206.18.98.175
Connecting to webservices.schedulesdirect.tmsdatadirect.com|206.18.98.175|:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Reusing existing connection to webservices.schedulesdirect.tmsdatadirect.com:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]

    0K .......... .......... .......... .......... ..........   14.32 KB/s
   50K .......... .......... .......... .......... ..........  130.28 KB/s
  100K .......... .......... .......... .......... ..........   31.16 KB/s
  150K .......... .......... .......... .......... ........     43.32 KB/s

04:02:16 (30.06 KB/s) - `-' saved [202796]
This output should also be present in your /var/log/mythtv/mythbackend log.

gr8escap wrote:
Code:
tveeprom 0-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)

I notice the card type is 47, is that OK?
Exactly how my 350 shows up, you should be good there.

gr8escap wrote:
I did set "Preset Tuner To channel =3" in the "Input Device Setup"

To this point there has been a minor change in that now when I try to use the remote to change channels, the number channel I key in appears in the top right hand corner of the screen but when I press OK the numbers on the screen goes away but it remains on the same channel. That did not happen before. Am I making progress?
I don't use a STB so I don't know particulars there, but a search for your specific make/model may lead to a different channel-change script (?). Either way, without guide data you won't be able to record shows (except manually). Let's see that output from mythfilldatabase.

Are you still receiving the
Code:
2008-03-05 12:00:54.143 GetChannelData() failed because it could not
find channel number '3' in DB for source '1'.
2008-03-05 12:00:54.145 TVRec(1) Error: Setting start channel '3' failed,
and no other channels were found on input.
errors?

Lastly, if you can post the output of the following MySQL commands:
Code:
select * from program;  (Just a snippet to see if anything is in there)
select cardid, cardtype from capturecard;
select cardid, sourceid from cardinput;
select * from videosource;
(Just clear out the username/password on that last one).

Sometimes it's easier/faster to start from scratch as tatuirovka mentioned...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 19, 2008 7:37 pm 
Offline
Joined: Sun Feb 03, 2008 10:09 am
Posts: 7
[color=darkred]Sorry I am a bit slow with getting things done and replying but between work and being a techno-weenie, thats is why. But I do appreciate the help.[/color]

tatuirovka:
You suggested I try "mythfilldatabase --do-channel-updates"
I did but nothing changed.
I then tried deleting and recreating the capture cards, video sources, and input connections, but there was no change.

slowtolearn:
When I run "mythfilldatabase from an xterm this is some of what I get:
2008-04-17 20:04:38.904 Running mythfilldatabase
--20:04:39-- http://webservices.schedulesdirect.tmsd ... tvdService
=> `-'
Resolving webservices.schedulesdirect.tmsdatadirect.com... 206.18.98.175
Connecting to webservices.schedulesdirect.tmsdatadirect.com|206.18.98.175|:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Reusing existing connection to webservices.schedulesdirect.tmsdatadirect.com:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]

0K .......... .......... .......... .......... .......... 17.92 KB/s
50K .......... .......... .......... .......... .......... 15.58 KB/s
100K .......... .......... .......... .......... .......... 164.65 KB/s
150K .......... .......... .......... .......... .......... 185.55 KB/s
200K .......... .......... .......... .......... .......... 263.06 KB/s
250K .......... .......... .......... .......... .......... 290.43 KB/s
300K .......... .......... .......... .......... .......... 143.92 KB/s
350K .......... .......... .......... .......... .......... 36.29 KB/s
400K .......... .......... .......... .......... .......... 44.38 KB/s
450K .......... .......... .......... .......... .......... 281.13 KB/s
500K ...... 902.93 KB/s

20:04:50 (50.75 KB/s) - `-' saved [518213]


--20:23:41-- http://webservices.schedulesdirect.tmsd ... tvdService
=> `-'
Resolving webservices.schedulesdirect.tmsdatadirect.com... 206.18.98.175
Connecting to webservices.schedulesdirect.tmsdatadirect.com|206.18.98.175|:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Reusing existing connection to webservices.schedulesdirect.tmsdatadirect.com:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]

0K .......... .......... .......... .......... .......... 20.70 KB/s
50K .......... .......... .......... .......... .......... 23.01 KB/s
100K .......... .......... .......... .......... .......... 260.83 KB/s
150K .......... .......... .......... .......... .......... 376.81 KB/s
200K .......... .......... .......... .......... .......... 427.45 KB/s
250K .......... .......... .......... .......... .......... 411.49 KB/s
300K .......... .......... .......... .......... .......... 273.37 KB/s
350K .......... .......... .......... .......... .......... 58.12 KB/s
400K .......... .......... .......... .......... .......... 62.04 KB/s
450K .......... .......... .......... .......... .. 306.37 KB/s

20:23:48 (68.98 KB/s) - `-' saved [504207]

2008-04-17 20:24:38.943 mythfilldatabase still running, skipping checks.
--20:25:17-- http://webservices.schedulesdirect.tmsd ... tvdService
=> `-'
Resolving webservices.schedulesdirect.tmsdatadirect.com... 206.18.98.175
Connecting to webservices.schedulesdirect.tmsdatadirect.com|206.18.98.175|:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Reusing existing connection to webservices.schedulesdirect.tmsdatadirect.com:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]

0K .......... .......... .......... .......... .......... 20.98 KB/s
50K .......... .......... .......... .......... .......... 23.03 KB/s
100K .......... .......... .......... .......... .......... 213.42 KB/s
150K .......... .......... .......... .......... .......... 246.66 KB/s
200K .......... .......... .......... .......... .......... 270.43 KB/s
250K .......... .......... .......... .......... .......... 376.54 KB/s
300K .......... .......... .......... .......... .......... 84.35 KB/s
350K .......... .......... .......... .......... .......... 60.53 KB/s
400K .......... .......... .......... .......... .......... 87.01 KB/s
450K .......... ........ 305.25 KB/s

20:25:25 (63.61 KB/s) - `-' saved [479528]

2008-04-17 20:26:49.848 MainServer::HandleAnnounce Monitor
2008-04-17 20:26:49.854 adding: mythtv as a client (events: 0)
2008-04-17 20:26:49.858 MainServer::HandleAnnounce Monitor
2008-04-17 20:26:49.859 adding: mythtv as a client (events: 1)
2008-04-17 20:26:49.915 Reschedule requested for id -1.
2008-04-17 20:26:49.967 Scheduled 0 items in 0.1 = 0.01 match + 0.04 place
2008-04-17 23:20:51.596 MainServer::HandleAnnounce Playback
2008-04-17 23:20:51.599 adding: mythtv as a client (events: 0)
2008-04-17 23:20:51.604 TVRec(2): Changing from None to WatchingLiveTV
2008-04-17 23:20:51.610 TVRec(2) Error: Problem finding starting channel, setting to default of '3'.
2008-04-17 23:20:51.611 TVRec(2): HW Tuner: 2->2
2008-04-17 23:20:51.630 GetChannelData() failed because it could not
find channel number '3' in DB for source '1'.
2008-04-17 23:20:51.632 TVRec(2) Error: Failed to set channel to 3.
2008-04-17 23:20:51.757 TVRec(2) Error: GetProgramRingBufferForLiveTV()
ProgramInfo is invalid.
ProgramInfo: channame() startts(Thu Apr 17 23:20:51 2008) endts(Thu Apr 17 23:20:51 2008)
recstartts(Thu Apr 17 23:20:51 2008) recendts(Thu Apr 17 23:20:51 2008)
title()
2008-04-17 23:20:58.426 TVRec(2): Changing from WatchingLiveTV to None
2008-04-17 23:20:58.690 Finished recording : channel 4294967295
2008-04-17 23:21:58.756 Using runtime prefix = /usr
2008-04-17 23:21:58.991 New DB connection, total: 1
2008-04-17 23:21:59.005 Connected to database 'mythconverg' at host: localhost
2008-04-17 23:21:59.036 Current Schema Version: 1160
Starting up as the master server.
2008-04-17 23:21:59.103 New DB connection, total: 2
2008-04-17 23:21:59.108 Connected to database 'mythconverg' at host: localhost
2008-04-17 23:21:59.138 EITHelper: localtime offset -4:00:00
2008-04-17 23:21:59.211 TVRec(2) Error: Problem finding starting channel, setting to default of '3'.
2008-04-17 23:22:00.592 New DB connection, total: 3
2008-04-17 23:22:00.611 Connected to database 'mythconverg' at host: localhost
2008-04-17 23:22:00.731 GetChannelData() failed because it could not
find channel number '3' in DB for source '1'.
2008-04-17 23:22:00.739 TVRec(2) Error: Setting start channel '3' failed,
and no other channels were found on input.
2008-04-17 23:22:00.809 New DB scheduler connection
2008-04-17 23:22:00.811 Connected to database 'mythconverg' at host: localhost
2008-04-17 23:22:02.252 Main::Registering HttpStatus Extension
2008-04-17 23:22:02.258 mythbackend version: 0.20.20070821-1 www.mythtv.org
2008-04-17 23:22:02.259 Enabled verbose msgs: important general
2008-04-17 23:22:02.319 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
2008-04-17 23:22:02.323 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min
2008-04-17 23:22:02.901 Reschedule requested for id -1.
2008-04-17 23:22:02.951 Scheduled 0 items in 0.0 = 0.01 match + 0.04 place
2008-04-17 23:22:02.961 Seem to be woken up by USER
2008-04-17 23:22:20.344 Expiring from Thu Apr 17 23:20:51 2008, 3 MBytes, forced expire (LiveTV recording)
2008-04-17 23:22:58.466 MainServer::HandleAnnounce Monitor
2008-04-17 23:22:58.478 adding: mythtv as a client (events: 0)
2008-04-17 23:22:58.481 MainServer::HandleAnnounce Monitor
2008-04-17 23:22:58.484 adding: mythtv as a client (events: 1)
2008-04-17 23:22:58.497 MainServer::HandleAnnounce Playback
2008-04-17 23:22:58.519 adding: mythtv as a client (events: 0)
2008-04-17 23:22:58.539 TVRec(2): Changing from None to WatchingLiveTV
2008-04-17 23:22:58.545 TVRec(2) Error: Problem finding starting channel, setting to default of '3'.
2008-04-17 23:22:58.546 TVRec(2): HW Tuner: 2->2
2008-04-17 23:22:58.558 GetChannelData() failed because it could not
find channel number '3' in DB for source '1'.
2008-04-17 23:22:58.559 TVRec(2) Error: Failed to set channel to 3.
2008-04-17 23:22:58.666 TVRec(2) Error: GetProgramRingBufferForLiveTV()
ProgramInfo is invalid.
ProgramInfo: channame() startts(Thu Apr 17 23:22:58 2008) endts(Thu Apr 17 23:22:58 2008)
recstartts(Thu Apr 17 23:22:58 2008) recendts(Thu Apr 17 23:22:58 2008)
title()
2008-04-17 23:23:05.834 TVRec(2): Changing from WatchingLiveTV to None
2008-04-17 23:23:06.081 Finished recording : channel 4294967295
2008-04-17 23:24:20.439 Expiring from Thu Apr 17 23:22:58 2008, 3 MBytes, forced expire (LiveTV recording)
2008-04-17 23:24:44.118 MainServer::HandleAnnounce Playback
2008-04-17 23:24:44.122 adding: mythtv as a client (events: 0)
2008-04-17 23:24:44.127 TVRec(2): Changing from None to WatchingLiveTV
2008-04-17 23:24:44.133 TVRec(2) Error: Problem finding starting channel, setting to default of '3'.
2008-04-17 23:24:44.134 TVRec(2): HW Tuner: 2->2
2008-04-17 23:24:44.152 GetChannelData() failed because it could not
find channel number '3' in DB for source '1'.
2008-04-17 23:24:44.153 TVRec(2) Error: Failed to set channel to 3.
2008-04-17 23:24:44.225 TVRec(2) Error: GetProgramRingBufferForLiveTV()
ProgramInfo is invalid.
ProgramInfo: channame() startts(Thu Apr 17 23:24:44 2008) endts(Thu Apr 17 23:24:44 2008)
recstartts(Thu Apr 17 23:24:44 2008) recendts(Thu Apr 17 23:24:44 2008)
title()
2008-04-17 23:25:17.939 GetChannelData() failed because it could not
find channel number '33' in DB for source '1'.
2008-04-17 23:25:17.943 TVRec(2) Error: Failed to set channel to 33.
2008-04-17 23:25:17.957 Finished recording : channel 4294967295
2008-04-17 23:25:17.973 TVRec(2) Error: GetProgramRingBufferForLiveTV()
ProgramInfo is invalid.
ProgramInfo: channame() startts(Thu Apr 17 23:25:17 2008) endts(Thu Apr 17 23:25:17 2008)
recstartts(Thu Apr 17 23:25:17 2008) recendts(Thu Apr 17 23:25:17 2008)
title()
2008-04-17 23:25:18.126 Finished recording : channel 4294967295
2008-04-17 23:25:18.244 TVRec(2): RingBufferChanged()
2008-04-17 23:25:18.262 Finished recording : channel 4294967295
[mpeg @ 0xb736b7f0]Parser not found for Codec Id: 94210 !
0: start_time: 0.036 duration: 2.964
1: start_time: 0.000 duration: -9223372036854.775
2: start_time: 0.026 duration: 2.933
stream: start_time: 0.000 duration: 33.333 bitrate=5072 kb/s
2008-04-17 23:25:21.055 AFD: Opened codec 0x821ef50, id(MPEG2VIDEO) type(Video)
2008-04-17 23:25:21.108 AFD: Opened codec 0x81a4ef0, id(MP2) type(Audio)
2008-04-17 23:25:47.589 TVRec(2): Changing from WatchingLiveTV to None
2008-04-17 23:25:47.897 Finished recording : channel 4294967295
2008-04-17 23:26:20.505 Expiring from Thu Apr 17 23:24:44 2008, 20 MBytes, forced expire (LiveTV recording)
2008-04-17 23:28:20.557 Expiring from Thu Apr 17 23:25:17 2008, 18 MBytes, forced expire (LiveTV recording)

I am running just one 350 and that is all that shows up.

Here is my channel-change script:
#!/bin/bash

# Automatically Generated by /usr/local/bin/irblaster.sh

echo Changing to $1

REMOTE_NAME=SA2200

for digit in $(echo $1 | sed -e 's/./& /g'); do
/usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit
sleep 0.7
done

I am still receiving these messages in my backend log:
2008-04-17 23:20:51.604 TVRec(2): Changing from None to WatchingLiveTV
2008-04-17 23:20:51.610 TVRec(2) Error: Problem finding starting channel, setting to default of '3'.
2008-04-17 23:20:51.611 TVRec(2): HW Tuner: 2->2
2008-04-17 23:20:51.630 GetChannelData() failed because it could not
find channel number '3' in DB for source '1'.
2008-04-17 23:20:51.632 TVRec(2) Error: Failed to set channel to 3.
2008-04-17 23:20:51.757 TVRec(2) Error: GetProgramRingBufferForLiveTV()
ProgramInfo is invalid.
ProgramInfo: channame() startts(Thu Apr 17 23:20:51 2008) endts(Thu Apr 17 23:20:51 2008)
recstartts(Thu Apr 17 23:20:51 2008) recendts(Thu Apr 17 23:20:51 2008)
title()
2008-04-17 23:20:58.426 TVRec(2): Changing from WatchingLiveTV to None
2008-04-17 23:20:58.690 Finished recording : channel 4294967295
2008-04-17 23:21:58.756 Using runtime prefix = /usr
2008-04-17 23:21:58.991 New DB connection, total: 1
2008-04-17 23:21:59.005 Connected to database 'mythconverg' at host: localhost
2008-04-17 23:21:59.036 Current Schema Version: 1160
Starting up as the master server.
2008-04-17 23:21:59.103 New DB connection, total: 2
2008-04-17 23:21:59.108 Connected to database 'mythconverg' at host: localhost
2008-04-17 23:21:59.138 EITHelper: localtime offset -4:00:00
2008-04-17 23:21:59.211 TVRec(2) Error: Problem finding starting channel, setting to default of '3'.
2008-04-17 23:22:00.592 New DB connection, total: 3
2008-04-17 23:22:00.611 Connected to database 'mythconverg' at host: localhost
2008-04-17 23:22:00.731 GetChannelData() failed because it could not
find channel number '3' in DB for source '1'.
2008-04-17 23:22:00.739 TVRec(2) Error: Setting start channel '3' failed,
and no other channels were found on input.
2008-04-17 23:22:00.809 New DB scheduler connection

When I enter the four MYSQL commands you suggest I get the same response for all:
ERROR 1046 (3D000): No database selected

I suspect I have two problems, one is the program guide and the other is the changing of the channels.
Hope this info helps, and thanks again.
Frank


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 20, 2008 7:14 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
gr8escap wrote:
2008-04-17 23:24:44.133 TVRec(2) Error: Problem finding starting channel, setting to default of '3'.
2008-04-17 23:24:44.134 TVRec(2): HW Tuner: 2->2
2008-04-17 23:24:44.152 GetChannelData() failed because it could not
find channel number '3' in DB for source '1'.

2008-04-17 23:24:44.153 TVRec(2) Error: Failed to set channel to 3.
You still have something wrong in your tuner/inputs setup. How did you setup your 350 in Capture Cards? (The mysql statements will tell us)

gr8escap wrote:
When I enter the four MYSQL commands you suggest I get the same response for all:
ERROR 1046 (3D000): No database selected
You need to use the mythconverg database. Such as mysql mythconverg

gr8escap wrote:
I suspect I have two problems, one is the program guide and the other is the changing of the channels.
This is correct, so take it one step at a time. Get the guide data squared away first...


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 20, 2008 1:47 pm 
Offline
Joined: Sun Feb 03, 2008 10:09 am
Posts: 7
I will have to try typing this as I have no idea how to capture a xterm screen to a file. Hope this works.

Mysql commands: followed by results

select * from program;
Empty set

select cardid, cardtype from capturecard;
cardid=2 cardtype=Mpeg

select cardid, sourceid from cardinput;
cardid=2 sourceid=1

select * from videosource;
sourceid=1 name=SD xmltvgrabber=schedulesdirect1
userid=XXX freqtable=default
lineupid=null password=XXX
useeit=0

Regards,
Frank


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 20, 2008 3:39 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
gr8escap wrote:
select * from videosource;
sourceid=1 name=SD xmltvgrabber=schedulesdirect1
userid=XXX freqtable=default
lineupid=null password=XXX
useeit=0
To steal from Jamie Hyneman: "Well there's your problem!" Do you have a lineup defined with Schedules Direct? If so, you haven't picked it up (and probably have no channels defined, therefore no guide data). Double-check http://www.knoppmythwiki.org/index.php? ... WatchingTV and make sure you have the portion under "3. Video Source" covered.

Also, one last mysql statement just in case the above isn't true (sorry I forgot this in the last post)
Code:
select * from channel;


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 20, 2008 3:51 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Nice detective work here slowtolearn. I think this is classic that we'll be pointing others to in the future.

BTW - I usually give people the command line form to avoid confusion. E.g. as root run:
Code:
mysql mythconverg -e "select * from channel"

Then you can tell them that to capture the output just add:
Code:
mysql mythconverg -e "select * from channel" >results.log

or:
Code:
mysql mythconverg -e "select * from channel" >>results.log

if there is more than one output that you want to group together.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 20, 2008 4:01 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
tjc wrote:
Nice detective work here slowtolearn. I think this is classic that we'll be pointing others to in the future.
Thanks tjc.

tjc wrote:
BTW - I usually give people the command line form to avoid confusion. E.g. as root run:
Code:
mysql mythconverg -e "select * from channel"

Then you can tell them that to capture the output just add:
Code:
mysql mythconverg -e "select * from channel" >results.log

or:
Code:
mysql mythconverg -e "select * from channel" >>results.log

if there is more than one output that you want to group together.
Yeah, should have gone down that road. Been building a new deck all weekend, brain and body a bit fried, not all that much up for thinking right now :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 20, 2008 8:59 pm 
Offline
Joined: Sun Feb 03, 2008 10:09 am
Posts: 7
I think I do have a lineup defined with Schedules Direct.
I am able to do:
$ tv_grab_na_dd --configure
It shows my userid, timezone, lineup, etc.
When I do:
$ tv_grab_na_dd --days 1 --output listing.txt
This is a sample of the start and the end of the data received.

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">

<tv source-info-url="http://www.schedulesdirect.org/" source-info-name="Schedules Direct" generator-info-name="XMLTV/$Id: tv_grab_na_dd.in,v 1.54 2007/08/20 21:35:05 rmeden Exp $" generator-info-url="http://www.xmltv.org/">
<channel id="I10036.labs.zap2it.com">
<display-name>270 ARTSC</display-name>
<display-name>270 ARTSC 0005580:X</display-name>
<display-name>270</display-name>
<display-name>ARTSC</display-name>
<display-name>Arts &amp; Entertainment Canada</display-name>
<display-name>Canadian Satellite</display-name>
</channel>
<channel id="I10050.labs.zap2it.com">
<display-name>120 CHAN</display-name>
<display-name>120 CHAN 0005580:X</display-name>
<display-name>120</display-name>
<display-name>8 CHAN fcc</display-name>
<display-name>CHAN</display-name>
<display-name>Global BC</display-name>
<display-name>Canadian Independent</display-name>
</channel>
<channel id="I10051.labs.zap2it.com">
<display-name>49 BET</display-name>
<display-name>49 BET 0005580:X</display-name>
<display-name>49</display-name>
<display-name>BET</display-name>
<display-name>Black Entertainment Television</display-name>
<display-name>Satellite</display-name>
</channel>
<channel id="I10090.labs.zap2it.com">
<display-name>12 CBLFT</display-name>
<display-name>12 CBLFT 0005580:X</display-name>
<display-name>12</display-name>
<display-name>25 CBLFT fcc</display-name>
<display-name>CBLFT</display-name>
<display-name>CBLFT</display-name>
<display-name>SRC Affiliate</display-name>
</channel>
<channel id="I10091.labs.zap2it.com">
<display-name>127 CBLT</display-name>
<display-name>127 CBLT 0005580:X</display-name>
<display-name>127</display-name>
<display-name>5 CBLT fcc</display-name>
<display-name>CBLT</display-name>
<display-name>CBLT - CBC Toronto</display-name>
<display-name>CBC Affiliate</display-name>
</channel>

End Section
<programme start="20080420180000 -0500" stop="20080420183000 -0500" channel="I59663.labs.zap2it.com">
<title lang="en">Warriors: TKO</title>
<sub-title lang="en">Session 7</sub-title>
<desc lang="en">The fighters get into the ring for some technical sparring with Harry.</desc>
<date>20080419</date>
<category lang="en">Drama</category>
<category lang="en">Series</category>
<episode-num system="dd_progid">EP01028008.0006</episode-num>
</programme>
<programme start="20080420183000 -0500" stop="20080420190000 -0500" channel="I59663.labs.zap2it.com">
<title lang="en">Rez Rides</title>
<desc lang="en">The drama and culture of two different Native custom car shops.</desc>
<category lang="en">Docudrama</category>
<category lang="en">Series</category>
<episode-num system="dd_progid">SH00890717.0000</episode-num>
</programme>
<programme start="20080420190000 -0500" stop="20080420193000 -0500" channel="I59663.labs.zap2it.com">
<title lang="en">MYTV</title>
<desc lang="en">Profiling up and coming as well as established hip hop, rock and country performers.</desc>
<category lang="en">Community</category>
<category lang="en">Series</category>
<episode-num system="dd_progid">SH01027979.0000</episode-num>
</programme>
<programme start="20080420193000 -0500" stop="20080420200000 -0500" channel="I59663.labs.zap2it.com">
<title lang="en">renegadepress.com</title>
<sub-title lang="en">Reality Rites</sub-title>
<desc lang="en">Jack discovers his music is linked to a suicide cluster.</desc>
<date>20080418</date>
<category lang="en">Drama</category>
<category lang="en">Series</category>
<episode-num system="dd_progid">EP00629534.0059</episode-num>
</programme>
<programme start="20080420200000 -0500" stop="20080420220000 -0500" channel="I59663.labs.zap2it.com">
<title lang="en">There's Something About Mary</title>
<desc lang="en">A geek (Ben Stiller) hires a sleazy private eye (Matt Dillon) to report on a woman (Cameron Diaz) he has adored since high school.</desc>
<credits>
<director>Bobby Farrelly</director>
<director>Peter Farrelly</director>
<actor>Cameron Diaz</actor>
<actor>Matt Dillon</actor>
<actor>Ben Stiller</actor>
<actor>Lee Evans</actor>
<actor>Chris Elliott</actor>
<actor>Lin Shaye</actor>
<actor>Jeffrey Tambor</actor>
<actor>Markie Post</actor>
<actor>Keith David</actor>
<actor>W. Earl Brown</actor>
<actor>Jonathan Richman</actor>
<actor>Brett Favre</actor>
<writer>Ed Decter</writer>
<writer>John J. Strauss</writer>
<writer>Peter Farrelly</writer>
<writer>Bobby Farrelly</writer>
<producer>Bradley Thomas</producer>
<producer>Charles B. Wessler</producer>
</credits>
<date>1998</date>
<category lang="en">Romance-comedy</category>
<length units="minutes">118</length>
<episode-num system="dd_progid">MV00061416.0000</episode-num>
<rating system="advisory">
<value>Adult Situations</value>
</rating>
<rating system="advisory">
<value>Language</value>
</rating>
<rating system="MPAA">
<value>R</value>
</rating>
<star-rating>
<value>2.5/4</value>
</star-rating>
</programme>
<programme start="20080420220000 -0500" stop="20080420223000 -0500" channel="I59663.labs.zap2it.com">
<title lang="en">Beyond Words</title>
<sub-title lang="en">Festivals</sub-title>
<date>20040226</date>
<category lang="en">Series</category>
<episode-num system="dd_progid">EP00406260.0058</episode-num>
</programme>
<programme start="20080420223000 -0500" stop="20080420230000 -0500" channel="I59663.labs.zap2it.com">
<title lang="en">Sharing Circle</title>
<sub-title lang="en">No Room to Grow</sub-title>
<desc lang="en">The government's inactivity relating to social and affordable housing in the past decade.</desc>
<date>20080316</date>
<category lang="en">Newsmagazine</category>
<category lang="en">Documentary</category>
<category lang="en">Series</category>
<episode-num system="dd_progid">EP00549611.0145</episode-num>
<episode-num system="onscreen">1607</episode-num>
<subtitles type="teletext" />
</programme>
<programme start="20080420230000 -0500" stop="20080421010000 -0500" channel="I59663.labs.zap2it.com">
<title lang="en">There's Something About Mary</title>
<desc lang="en">A geek (Ben Stiller) hires a sleazy private eye (Matt Dillon) to report on a woman (Cameron Diaz) he has adored since high school.</desc>
<credits>
<director>Bobby Farrelly</director>
<director>Peter Farrelly</director>
<actor>Cameron Diaz</actor>
<actor>Matt Dillon</actor>
<actor>Ben Stiller</actor>
<actor>Lee Evans</actor>
<actor>Chris Elliott</actor>
<actor>Lin Shaye</actor>
<actor>Jeffrey Tambor</actor>
<actor>Markie Post</actor>
<actor>Keith David</actor>
<actor>W. Earl Brown</actor>
<actor>Jonathan Richman</actor>
<actor>Brett Favre</actor>
<writer>Ed Decter</writer>
<writer>John J. Strauss</writer>
<writer>Peter Farrelly</writer>
<writer>Bobby Farrelly</writer>
<producer>Bradley Thomas</producer>
<producer>Charles B. Wessler</producer>
</credits>
<date>1998</date>
<category lang="en">Romance-comedy</category>
<length units="minutes">118</length>
<episode-num system="dd_progid">MV00061416.0000</episode-num>
<rating system="advisory">
<value>Adult Situations</value>
</rating>
<rating system="advisory">
<value>Language</value>
</rating>
<rating system="MPAA">
<value>R</value>
</rating>
<star-rating>
<value>2.5/4</value>
</star-rating>
</programme>
</tv>

In Knoppmyth the video source setup is set to the following:

Video Source Name: SD
Listings Grabber: North America (SchedulesDirect.org) (Internal)
user ID: (correct - all lower case)
password: (correct)
(To the right of password there is a button that says) "Retrieve Lineup"
Data Direct Lineup: Rogers Cable Inc.-CableDigital-Digital-l5n3c6-0005580:X
Perform EIT Scan (is not checked)
Channel frequency table: default

When I do the mysql command "select * from channel"
the result is "Empty set"

To say the least I am puzzled as to why the EPG is not working and what I have to do to make it all happen.
Regards,
Frank


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 21, 2008 3:56 pm 
Offline
Joined: Sun Feb 03, 2008 10:09 am
Posts: 7
I have finally slain the dragon with some major and persistent help from slowtolearn as well as tjc and tatuirovka.
Thanks again guys. Knoppmyth is great.

The last thing I tried was changing "Schedules Direct, Software you use:" section from

"Mythtv:KnoppMyth" to

"XMLTV:Mythtv/XMLTV

and magically it started working after a mythfilldatabase.
I hope that is the correct selection.
I should also mention that the remote now works perfectly (all functions).
I guess it is amazing what can happen after a good nights sleep.
Thanks to all,
Regards,
Frank


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 21, 2008 4:35 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
gr8escap wrote:
I have finally slain the dragon with some major and persistent help from slowtolearn as well as tjc and tatuirovka.
Thanks again guys. Knoppmyth is great.

The last thing I tried was changing "Schedules Direct, Software you use:" section from

"Mythtv:KnoppMyth" to

"XMLTV:Mythtv/XMLTV

and magically it started working after a mythfilldatabase.
Really?? Mine has always been set to MythTV:KnoppMyth. Perhaps a hiccup with SD's Rogers Cable data, a geographical anomaly (where are you located?), any number of other things I couldn't explain, etc.

Anyway, glad you got it working. Enjoy your new toy!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 22, 2008 8:30 am 
Offline
Joined: Sun Feb 03, 2008 10:09 am
Posts: 7
I am located in Toronto, Canada.
My guess is that you are correct in your assumption. I do not know why Canada always tries to make everything different from the US. It is a real pain at times. Enough of my rant. Thanks again. I appreciated your help very much.
Regards,
Frank


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: Google [Bot] and 2 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