View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Aug 31, 2007 3:50 pm 
Offline
Joined: Sat Sep 09, 2006 6:25 pm
Posts: 21
I have only one cable box, but two tuners. My first tuner has the cable connected through the cable box, and the second tuner is connected directly to cable without a set top box. To get MythTV to recognize that the lineups on the cable boxed tuner and the straight in tuner shared the same channels, I'd created two accounts on zap2it with the same source, but removed the non-digital channels on the second account to use with the second tuner. Does anyone know how I might set up my MythTV computer with Schedules Direct so that it recognizes that both tuners share the same channels, with the exception of the digital channels? I'd prefer not to have two accounts on Schedules Direct.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 31, 2007 3:58 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Why not define a digital cable and analog cable on SD? Bind digital to one tuner, analog to the other? Or an I missing what it is you are trying to do?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 31, 2007 4:08 pm 
Offline
Joined: Sat Sep 09, 2006 6:25 pm
Posts: 21
cecil wrote:
Why not define a digital cable and analog cable on SD? Bind digital to one tuner, analog to the other? Or an I missing what it is you are trying to do?


When I tried that with zap2it, MythTV didn't appear to understand that both listings were similar, so if I wanted to record a couple things at a time, it wouldn't recognize that it could record the first program on the first tuner, and the second program on the second tuner. The only solution I found to that was creating two accounts on zap2it. I'm assuming I'll run in to a similar problem if I try that with Schedules Direct.

Thanks for the upgrade instructions for Schedules Direct, by the way. They worked flawlessly.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 31, 2007 5:27 pm 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
You need to be careful with the Callsign and channel name to ensure the same channel on different sources is recorded only once. These need to be exactly the same, or otherwise you can end up with the same programme being recorded twice, I had this problem before figuring it out.

Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 06, 2007 11:12 pm 
Offline
Joined: Sat Sep 09, 2006 6:25 pm
Posts: 21
I did wind up finding a solution to my problem and thought I'd post it for anyone else in the same situation. I got this from

http://mythtv.org/docs/mythtv-HOWTO-24.html#ss24.4

Quote:
MythTV 0.20.2 or later supports caching of downloaded information from Schedules Direct, so devices that share a common source do not require multiple downloads.

Before beginning, perform a backup of your existing database. See Saving or restoring the database for instructions.

In the following scenario, assume that you have the following:

1. A PVR-150 MPEG-2 encoder card connected directly to a CATV source.
2. A PVR-250 MPEG-2 encoder card connected via S-Video to a CATV Set Top Box.

What we are going to do is to create a single lineup at Schedules Direct and then create two Video Sources which use the same login information but have different channels associated with them.

On your Schedules Direct account, create a lineup that has all of the channels that you can receive. Because we have a Set Top Box (STB), choose a Digital lineup. Yes, this means that you may have 900 channels in this lineup, but that's OK.

Use the Schedules Direct channel editor and unselect any channels that you can't tune without the STB. This will usually be channels higher than 125, but check your CATV provider lineup if you're not sure. Once you've deselected them (using a click on the first channel you can't receive and then a shift-click on the last channel you can't receive will deselect all the channels in between those two.) click the Save Changes button at the bottom of the screen.

In mythtv-setup, create a Video Source with an appropriate name. "SD-Analog Only" will be used in this example. Click "Retrieve Lineups" and select the digital lineup you just created at Schedules Direct.

Click "Finish" to return to the Video sources selector and then press the ESC key to go back to the main screen.

Now choose Input Connections. Select the PVR-150 which is connected directly to the CATV. Set the Video Source to "SD-Analog Only" and click "Fetch channels from listings source".

Set the start channel to an appropriate value.

NOTE: There is a bug where the "Fetch" command may not work; you can tell that the Fetch did not retrieve any channels in one of two ways: in the text-mode console, you will see a connection to Schedules Direct, but it doesn't appear to retrieve any channel information:

2007-08-25 15:03:05.526 New DB DataDirect connection
2007-08-25 15:03:05.526 Connected to database 'mythconverg' at host: localhost
2007-08-25 15:03:05.536 DataDirect: Your subscription expires on 11/23/2007 01:12:10 PM
2007-08-25 15:03:05.707 New DB connection, total: 3
2007-08-25 15:03:05.707 Connected to database 'mythconverg' at host: localhost
2007-08-25 15:03:05.708 sourceid 2 has lineup type: CableDigital
2007-08-25 15:03:06.623 Data fetching complete.
2007-08-25 15:03:06.624 DataDirect: Deleting temporary files

or, the "Please add channels to this source" message in the "Starting channel" field stays on the screen.

If either of these happens, save the information on this screen by clicking the "Finish" button. Exit back to the Input connections screen by pressing ESC, then select this Input Connection again. This time the Fetch will work and the "Please add channels to this source" message will disappear.

If you look at the text-mode console, you'll see this if the channel retrieval is working:

2007-08-25 15:04:32.437 New DB DataDirect connection
2007-08-25 15:04:32.437 Connected to database 'mythconverg' at host: localhost
2007-08-25 15:04:32.447 DataDirect: Your subscription expires on 11/23/2007 01:12:10 PM
2007-08-25 15:04:32.622 New DB connection, total: 3
2007-08-25 15:04:32.622 Connected to database 'mythconverg' at host: localhost
2007-08-25 15:04:32.623 sourceid 2 has lineup type: CableDigital
2007-08-25 15:04:33.418 DataDirect: Adding channel 41 'AMC' (AMC).
2007-08-25 15:04:33.422 DataDirect: Adding channel 32 'A & E Network' (AETV).
2007-08-25 15:04:33.425 DataDirect: Adding channel 66 'Black Entertainment Television' (BET).
2007-08-25 15:04:33.427 DataDirect: Adding channel 180 'Bravo' (BRAVO).
2007-08-25 15:04:33.430 DataDirect: Adding channel 51 'ABC Family' (FAM).
2007-08-25 15:04:33.432 DataDirect: Adding channel 146 'Country Music Television' (CMTV).
2007-08-25 15:04:33.435 DataDirect: Adding channel 39 'CNBC' (CNBC).
2007-08-25 15:04:33.437 DataDirect: Adding channel 36 'Cable News Network' (CNN).
2007-08-25 15:04:33.440 DataDirect: Adding channel 35 'CNN Headline News' (CNNH).

Repeat the Input Connection configuration for any other capture devices that are connected directly to the CATV system. You do not need to click Fetch once you've done one successful download of the channel information - the Starting channel should be automatically populated.

Go back to Schedules Direct and re-enable the channels that you had previously deselected, then click Save Changes.

Create a new Video Source, here called "SD-All Digital Channels". Perform the same "Retrieve Listings" you did before.

Go back to the Input Connections screen, select the PVR-250 which is connected to the STB, assign the "SD-All Digital Channels" video source and perform a retrieve channels. This will pull down the complete channel listing, but only for this device.

When mythfilldatabase runs, it will cache the "big" download which is appropriate for the STB, and then copy the information to the channels that can only be accessed without the STB. But by default mythfilldatabase is going to notice that the "Analog only" video source is missing the channels that are in the Digital lineup you created at Schedules Direct, so we need to override the addition of new channels.

When you run mythfilldatabase to populate your database, you'll need to run it like this:

$ mythfilldatabase --remove-new-channels

You will also need to modify how the mythbackend calls mythfilldatabase when it performs its automatic listings update.

In mythfrontend, select "Setup" -> "General".

Continue press ENTER until you reach the Mythfilldatabase configuration screen. In the "mythfilldatabase Arguments" field, type --remove-new-channels

then press the TAB key until you reach Finish, then press ENTER to save. You can then press ESC until you return to the main screen.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 07, 2007 8:25 pm 
Offline
Joined: Sun Nov 13, 2005 5:56 pm
Posts: 104
I got stung by a 'gotcha' when following the Mythtv howto. I added the --remove-new-channels parameter to the regular setup as cited in the howto. However I found out that the script /usr/local/bin/knoppmyth-preshutdown.sh used for auto shutdown of an inactive knoppmyth boxen needs to have the parameter added. There are two invocations to mythfilldatabase in the script. If you use the script, amend it so you don't have to go through the process twice.

-s-


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 53 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu