View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Nov 10, 2005 2:50 pm 
Offline
Joined: Wed Jul 14, 2004 5:04 pm
Posts: 5
I have 2 tuners on my mythbox. Tuner#1 is the default and Tuner#2 is connected via the cablebox.

I like having Tuner#1 as the default this way I can record and still watch cable. However I would like to record HBO etc. occasionaly but the only way I see to do this is to start a recording for Tuner#1 and then Tuner#2 can be used. I dont think input priorities will help because I normally do not want to record with Tuner#2 (only for stations needing the cable box or multiple recordings at the same time).

Does anyone know of a way to "force" a particular tuner to a recording? Is a script possible that would manually change the cardID in the database or something similiar?
Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 4:21 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
well if you setup your video sources properly is should "know" that tuner1 can't record from certian stations and tuner2 can. For instance I have comcast cable, and I setup two video sources one for cable and one for digital cable on zap2it and associated them with the proper tuners.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 5:05 pm 
Offline
Joined: Wed Jul 14, 2004 5:04 pm
Posts: 5
I tried to setup two video sources and associate the higher channels to the new source but it still recorded using the 1st default tuner. That is pretty much all I did but now I am guessing I should remove those higher or "cablebox only" channels from the default source completely. Is this correct?

Thanks Xsecrets for the info.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 8:07 pm 
Offline
Joined: Sun Nov 06, 2005 4:34 pm
Posts: 35
graphixx wrote:
I tried to setup two video sources and associate the higher channels to the new source but it still recorded using the 1st default tuner. That is pretty much all I did but now I am guessing I should remove those higher or "cablebox only" channels from the default source completely. Is this correct?


Removing the channels from tuner 1 should do it. You really only want to list channels on a tuner if you can actually recieve them on that tuner. Otherwise you'll run into situations just like yours.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 9:10 pm 
Offline
Joined: Wed Jul 14, 2004 5:04 pm
Posts: 5
Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 27, 2006 9:50 pm 
Offline
Joined: Sun May 23, 2004 1:50 pm
Posts: 78
Location: Palmdale, CA
OK, so I wanna expand on this a bit... I have the following setup:

PVR-250: S-Video to Cable Box with IRBlaster (tuner 0)
PVR-250: Analog Cable (tuner 1)
Firewire: from Mot 6200 (tuner 2).

Tuner 0 and 2 use a Zap2it lineup called Digital Cable. Tuner 1 uses a lineup called (amazingly) analog cable. There are about a dozen HD channels that are recordable ONLY over firewire from the HD box but the tuner 0 WILL tune the channel (just no picture). Zap2it won't allow me to create a "digital cable lineup 2" (so far as I can tell), so I can't remove the HD channels from Tuner 0. How do I force the myth box to use tuner 2 to record HD channels and keep tuner 0 from recording those same channels?

Whew, I hope someone can follow that mess...

thx


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 27, 2006 10:40 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I have to play games with the DB to merge two listing sources into one, however it strikes me that cloning one source into two is probably even easier. Then you can have seperate sources for each tuner based on the seperate channel sets...

The tables you'll have to touch are:
    channel - once
    cardinput - once

    program - ongoing
    credits - ongoing
    programgenres - ongoing
    programrating - ongoing

Basically each sourceid in the channel table has it's own range of 1000 chanid's. So to clone the channel lineup for say sourceid 2 to source 3, write a script to do something like:
Code:
insert into channel
(select 3000 + (chanid % 1000), channum, freqid, 3, callsign, name, icon,
  finetune, videofilters, xmltvid, recpriority, contrast, brightness, colour, hue,
  tvformat, commfree, visible, outputfilters, useonairguide, mplexid,
  serviceid, atscsrcid)
from channel where sourceid = 2 and channum not in (999, 999, 999);

The 999's are a place holder for the 10 channels you want to exclude. You'll need to do something similar for cardinput, although with just one record there it maybe easier to write it as a straight update

Finally you'll need a customized mythfilldatabase wrapper which A) runs mytfilldatabase as usual, B) clears the ongoing data for source 3 then clones the program data for each of the channels in source 2 which are also in source 3 (you can use the same "not in" syntax to avoid a join), C) run /usr/bin/mythbackend --resched to make sure the scheduler notices the new data.

BTW - Always make a good backup before testing something like this. ;-)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 28, 2006 12:56 am 
Offline
Joined: Sun May 23, 2004 1:50 pm
Posts: 78
Location: Palmdale, CA
I was thinking that something along these lines would be necessary. I guess I was just hoping that I was missing something...

I'll have to play with this. It's a good chance to brush up on my SQL I guess...



tjc wrote:
I have to play games with the DB to merge two listing sources into one, however it strikes me that cloning one source into two is probably even easier. Then you can have seperate sources for each tuner based on the seperate channel sets...

The tables you'll have to touch are:
    channel - once
    cardinput - once

    program - ongoing
    credits - ongoing
    programgenres - ongoing
    programrating - ongoing
Basically each sourceid in the channel table has it's own range of 1000 chanid's. So to clone the channel lineup for say sourceid 2 to source 3, write a script to do something like:
Code:
insert into channel
(select 3000 + (chanid % 1000), channum, freqid, 3, callsign, name, icon,
  finetune, videofilters, xmltvid, recpriority, contrast, brightness, colour, hue,
  tvformat, commfree, visible, outputfilters, useonairguide, mplexid,
  serviceid, atscsrcid)
from channel where sourceid = 2 and channum not in (999, 999, 999);

The 999's are a place holder for the 10 channels you want to exclude. You'll need to do something similar for cardinput, although with just one record there it maybe easier to write it as a straight update

Finally you'll need a customized mythfilldatabase wrapper which A) runs mytfilldatabase as usual, B) clears the ongoing data for source 3 then clones the program data for each of the channels in source 2 which are also in source 3 (you can use the same "not in" syntax to avoid a join), C) run /usr/bin/mythbackend --resched to make sure the scheduler notices the new data.

BTW - Always make a good backup before testing something like this. ;-)


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 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