Mailing List Archive

PVR150 channel changing woes
I'm having trouble getting mythtv to change the channel using these cards.
I'm getting EPG from hairy geek - all that's working fine. I couldn't
get mythtv to natively change the channels so I used the external
command and ivtv-tune to do this.

#!/usr/bin/perl -w

use Time::Local;

my $cmd="ivtv-tune -tnewzealand -d /dev/video0 -c".$ARGV[0]."\n";
printf("Sending %s",$cmd);
`$cmd`;


The script is reported in mythbackend.log as having successfully run but
the channel didn't get changed. BTW this script works quite happily
from the command line. >:o
Since mythtv doesn't for some strange reason make use of the external
command for live TV I really would like to get it going natively. I
have configured PVR-x150 capture and tied it to my hairy geek video
source from an empty mythconverg database using mythfilldatabase --manual.
Looking at the database tables with mysqlcc, the channel and card
entries all seem to be correct.

Can anyone who has a PVR150 give any clues on how to get native channel
changing going?

when mythtv tries to change the channel itself I get
QDateTime::String Parameter out of range messages from mythfrontend.


Thanks
Graeme

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: PVR150 channel changing woes [ In reply to ]
> I'm having trouble getting mythtv to change the channel using these cards.
> I'm getting EPG from hairy geek - all that's working fine. I couldn't
> get mythtv to natively change the channels so I used the external
> command and ivtv-tune to do this.
>
> #!/usr/bin/perl -w
>
> use Time::Local;
>
> my $cmd="ivtv-tune -tnewzealand -d /dev/video0 -c".$ARGV[0]."\n";
> printf("Sending %s",$cmd);
> `$cmd`;
>
>
> The script is reported in mythbackend.log as having successfully run but
> the channel didn't get changed. BTW this script works quite happily
> from the command line. >:o
> Since mythtv doesn't for some strange reason make use of the external
> command for live TV I really would like to get it going natively. I
> have configured PVR-x150 capture and tied it to my hairy geek video
> source from an empty mythconverg database using mythfilldatabase --manual.
> Looking at the database tables with mysqlcc, the channel and card
> entries all seem to be correct.
>
> Can anyone who has a PVR150 give any clues on how to get native channel
> changing going?
>
> when mythtv tries to change the channel itself I get
> QDateTime::String Parameter out of range messages from mythfrontend.
>
>
> Thanks
> Graeme
>

Sounds to me as though you don't have the channel number set up correctly
in mythsetup. Note that for each channel, the channel number is on the
second page of the setup (I think its the 1st field of the 2nd page) - if
this is blank then you'll never change channel, either internally or
externally (as both methods use the same field for the channel number
info).

--
Robin Gilks




_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: PVR150 channel changing woes [ In reply to ]
Graeme Woollett wrote:
> I'm having trouble getting mythtv to change the channel using these cards.
> I'm getting EPG from hairy geek - all that's working fine. I couldn't
> get mythtv to natively change the channels so I used the external
> command and ivtv-tune to do this.

Code

> The script is reported in mythbackend.log as having successfully run but
> the channel didn't get changed. BTW this script works quite happily
> from the command line. >:o
> Since mythtv doesn't for some strange reason make use of the external
> command for live TV I really would like to get it going natively. I
> have configured PVR-x150 capture and tied it to my hairy geek video
> source from an empty mythconverg database using mythfilldatabase --manual.
> Looking at the database tables with mysqlcc, the channel and card
> entries all seem to be correct.
>
> Can anyone who has a PVR150 give any clues on how to get native channel
> changing going?

You're gonna hate this, but "it just works for me"

> when mythtv tries to change the channel itself I get
> QDateTime::String Parameter out of range messages from mythfrontend.

That sounds to me like you've got a 0 somewhere there should be a number.

http://criggie.dyndns.org/crap/tvone.jpg Thats my mythtv-setup --> 5.
Channels --> then TV One. Compare and see whats wrong on yours.


--
Criggie


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: PVR150 channel changing woes [ In reply to ]
> Code
>
In original post
> You're gonna hate this, but "it just works for me"
>
>
Your're right, I've wasted hours on this. The software v4l based cards
always just worked.
I had it working with an old mythconverg database (with the RVR150's),
except it wouldn't upgrade to the lastest schema in 0.19 so I started again.

I'm really starting to feel the heat from the wife, it's part of her
life support system :-P
>> when mythtv tries to change the channel itself I get
>> QDateTime::String Parameter out of range messages from mythfrontend.
>>
>
> That sounds to me like you've got a 0 somewhere there should be a number.
>
> http://criggie.dyndns.org/crap/tvone.jpg Thats my mythtv-setup --> 5.
> Channels --> then TV One. Compare and see whats wrong on yours.
>
Looks just like yours, I've even set the frequency ID on the next page.
I'm running ivtv-.043 what r u running?


Graeme

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: PVR150 channel changing woes [ In reply to ]
Graeme Woollett wrote:
> Your're right, I've wasted hours on this. The software v4l based cards
> always just worked.

Funny - I've always had the opposite... I own two simple cards that have
just not worked with myth... a SAA7134 (which is now running as a camera)
and a hauppauge wintv GO card (bt878) which simply will not give sound.

> I had it working with an old mythconverg database (with the PVR150's),
> except it wouldn't upgrade to the lastest schema in 0.19 so I started
> again.
>
> I'm really starting to feel the heat from the wife, it's part of her
> life support system :-P

Aye - some myth users suggest you have a separate slave backend for
testing purposes. Not got this myself either.

>>> when mythtv tries to change the channel itself I get
>>> QDateTime::String Parameter out of range messages from mythfrontend.

>> That sounds to me like you've got a 0 somewhere there should be a
>> number.
>> http://criggie.dyndns.org/crap/tvone.jpg Thats my mythtv-setup --> 5.
>> Channels --> then TV One. Compare and see whats wrong on yours.

> Looks just like yours, I've even set the frequency ID on the next page.
> I'm running ivtv-.043 what r u running?

Kernel 2.6.16.11 and ivtv 0.6.1 I had to do this to get the tuner part
of one of the PVR150s recognised. Its all working now.

There's also a ivtv 0.8 series in svn... but thats getting a little too
risky for my taste.

You did stop and restart the backend processes etc?

It is possible there are some silly records somewhere in the SQL
database... How comfortable are you with sql? Try this:

backend> mysql mythconverg
This runs mysql and conencts to the myth database

mysql> select * from channel;
Shows you all the records in the table named channel. Its quite wide. I
have 12 rows in the table - but only actively use four channels.

These next two lines are the field names, and the TV One record. Compare
with yours and see whats up.

| chanid | channum | freqid | sourceid | callsign | name | icon |
finetune | videofilters | xmltvid | recpriority | contrast |
brightness | colour | hue | tvformat | commfree | visible |
outputfilters | useonairguide | mplexid | serviceid | atscsrcid |

| 1004 | 3 | 62250 | 1 | TV One | TV One | none |
NULL | | 1035.dvb.guide | 0 | 32768 | 32768
| 32768 | 32768 | Default | 0 | 1 | | 0
| NULL | NULL | NULL |




--
Criggie


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: PVR150 channel changing woes [ In reply to ]
Criggie wrote:
> Funny - I've always had the opposite... I own two simple cards that have
> just not worked with myth... a SAA7134 (which is now running as a camera)
> and a hauppauge wintv GO card (bt878) which simply will not give sound.
>
Thanks, I've fixed it now. I ended up trying to reload a backed up old
database that had previously failed to restore into mythtv-0.19 (using
msqldump). With mythtv-svn it loaded fine.
Definitely some issues with upgrading from older database schemas
between the two versions.
So I'm off the hook. :-)


This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/