Tuning drives me nuts! (Hauppauge PVR 150) (1 Viewer)

hansdegit

Portal Pro
May 18, 2005
200
0
52
Schagen, The Netherlands
Home Country
Netherlands Netherlands
MP RC 4, SVN 06-jun-06 11.28

I got this weird problem while tuning in to a few TV stations. This is how it is set up:
Channel "Nederland 1", channel 10--, frequency 208 MHz
Channel "Nederland 2", channel 11- , frequency 216 MHz
Channel "Nederland 3", channel 12- , frequency 224 MHz

When I select "Nederland 3", MP should tune into freq 224 Mhz (because it's not exactly channel 12). No check the log where it is clear that MP tunes into freq 240,525 Mhz in stead. ?????

================
6-6-2006 16:32:39 TVCapture: change channel to :Nederland 3
6-6-2006 16:32:39 SinkGraph:TuneChannel() tune to channel:12 country:31 standard:None name:Nederland 3
6-6-2006 16:32:39 Twinhan: check for twinhan driver
6-6-2006 16:32:39 SinkGraph:TuneChannel() tuningspace:0 country:31 tv standard:None cable:False
6-6-2006 16:32:40 SinkGraph:TuneChannel() tuned to channel:12 county:31 freq: 240,0625 MHz :evil: :cry: . tvformat:pAL_B signal:confused:ignalPresent
6-6-2006 16:32:40 TVCapture.StartTimeShifting() Card:2 :Nederland 3
=================

I Hope someone can explain how to tune into 224 Mhz. This is absolutely driving me nuts; can't MP just ignore channelsettings and focus on frequency in stead?

Thx for your input.

Hans
 

FlipGer

Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    49
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    hansdegit said:
    6-6-2006 16:32:39 SinkGraph:TuneChannel() tuningspace:0 country:31 tv standard:None cable:False
    I Hope someone can explain how to tune into 224 Mhz. This is absolutely driving me nuts;

    Do you have cable or antenna? Must be the right setting...

    hansdegit said:
    can't MP just ignore channelsettings and focus on frequency in stead?

    Sure it can. Just set manually cable=0 and the frequency to your own needs.

    HTH, Flip.
     

    hansdegit

    Portal Pro
    May 18, 2005
    200
    0
    52
    Schagen, The Netherlands
    Home Country
    Netherlands Netherlands
    SOLVED!

    This is probably a bug in MP. What is the case? When I switched to "Nederland 3" , which has a frequency of 224,000 (channel 12) it actually switched to another channel which has a frequency of 240,000, which happens to sit at channel S12. I'm sure I told MP that that channel ("Kabelkrant") was on channel S12, but MP seems to forget the "S".

    So, what did I do? I told MP that "Kabelkrant" was on channel 9, and that the frequency was 240,000.

    Flip, I'll try to see how MP reacts when all channels are set to zero.
     

    hansdegit

    Portal Pro
    May 18, 2005
    200
    0
    52
    Schagen, The Netherlands
    Home Country
    Netherlands Netherlands
    FlipGer said:
    hansdegit said:
    can't MP just ignore channelsettings and focus on frequency in stead?

    Sure it can. Just set manually cable=0 and the frequency to your own needs.

    HTH, Flip.

    Cable=0?? Perhaps you mean:
    SQL> update channel set ichannelnr = 0 where frequency > 0;

    If I do that, all channels become unreachable. So therefore, te value for channel must be near the actual frequency. Am I right?
     

    FlipGer

    Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    49
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    hmmm. iChannelNr=0 should work. As far as I know, MP uses the frequency instead of the channel if frequency!=0. So the frequency has just to be set to the right value. Independend what is set as iChannelNr. So just set the right frequency and let iChannelNr somewhere != 0....

    You can also use Configure->Television->TV Channels->Edit instead of the SQLight Browser. (But its faster ;))

    HTH, Flip.
     

    hansdegit

    Portal Pro
    May 18, 2005
    200
    0
    52
    Schagen, The Netherlands
    Home Country
    Netherlands Netherlands
    FlipGer said:
    Hi,
    hmmm. iChannelNr=0 should work. As far as I know, MP uses the frequency instead of the channel if frequency!=0. So the frequency has just to be set to the right value. Independend what is set as iChannelNr.
    I agree this is the way it should be. But it doesn't seem that way.

    FlipGer said:
    So just set the right frequency and let iChannelNr somewhere != 0....
    Well, don't take my word for it, try it yourself (first make a copy of your tvdatabase!). I've tried 0 and a few above zero to no avail.

    FlipGer said:
    You can also use Configure->Television->TV Channels->Edit instead of the SQLight Browser. (But its faster ;))

    Well, I'm paid to act as a database specialist (Oracle), so I prefer SQL.

    Regards,
    Hans
     

    FlipGer

    Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    49
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    ok. Did some tests, and there is really something strange going on. Could be a bug.

    First I tried Configure->Television->Channels->Edit and changed one channel to 0. Said ok blablabla (without looking). Started MP and the channel did work! As expected I thought by myself.
    But I did take a look into the logs and discovered something strange. Configure did not save channel=0, it did save channel=38? (wrong channel, had to be 22 for my channel)

    Second I did also run SQLight Browser and set all channels = 0. Ran MP and voila nothing did work. ;) MP did tune the wrong frequency.

    Third I got back to Configure->Television->Channels->Edit and changed some channels manually to 0. Interresting! After hitting OK MP saved not 0 it saved 38 counting up. So the second channel got 39, the third 40, etc.

    I did stop after 5 channels. Started MP again, and those 5 channels with different (but wrong) channel number did work. And those with the same channel number 0 (I did also test setting all to 1) did not work.

    To conclude: You can set a wrong channel number with the right frequency, but it has to be a unique channel number! :)

    HTH, Flip.
     

    hansdegit

    Portal Pro
    May 18, 2005
    200
    0
    52
    Schagen, The Netherlands
    Home Country
    Netherlands Netherlands
    Hi Flip, thanks for investigating.

    Try this in SQLite:
    update channel set ichannelnr = rowid where frequency > 0;

    now all channels have a unique channelnr.

    In my config: the first 5 channels: no picture or sound. Then I stopped testing.

    HTH,
    Hans
     

    FlipGer

    Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    49
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi Hans,

    ok, tested your SQL and got the same result. MP tunes wrong.

    Then I again opened Configure->Television->Channels->Edit and changed every channel to 0. On OK Configure automatically sets a different (wrong) channel. But MP tunes to the right frequency (which is set on all channels).

    I then changed one channel again with SQL to 0. This channel did not work.

    So again a conclusion: MP uses the frequency, if the channel is
    a) legal (Configure did not choose every number instead of 0)
    b) unique (Configure did only set a channel number once)

    So you should check if this also works for you. Set all channels 0 manually in Configure->Television->Channels->Edit.

    Anyway, this seems to be a strange type of bug. In earlier version it did work to set channel = 0. Otherwise I would not have given this advice. ;)

    Flip.
     

    Users who are viewing this thread

    Top Bottom