View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Oct 30, 2008 4:31 am 
Offline
Joined: Sat Nov 05, 2005 4:37 am
Posts: 191
Location: Cornwall - uk
G'day all,

Since I have been using sat. for channels rather than over the air, I have come across the situation where channels move and then recording fails.
This has become more of an issue lately with freesat coming online.

So I have written a chunk of perl and added a table to mysql to try and fix the problem.

Basically...
Run a scan, save the output
Process the output, comparing the scan data with the mysql tables channel and dtv_multiplex.

At the moment, it outputs the sql commands that would be used to change the tables.

It works... mostly.

The problem I have is when we need to point to a new dtv_multiplex row.
I can do a search looking for frequency, polarity and symbol rate and if I find one that matches then I can change channel.mplexid fine.
The problem I have is when we can't match to an existing dvt_multiplex, I need to create a new one, which I think I can do by manually looking at lyngsat and getting the data from there, I can get some of the data from the scan output.

My question is, does anyone know hoe mythtv does it, it adds rows to dtv_multiplex so it must find the data.
I can look through the source code but thought someone might already have the information.
Or is there another script I can run
... any other ideas?

This should work for other countries as well and maybe even dvb t/c, but I can't test that.

Or maybe someone has already done this?

The extra table I added was to keep track of channels I am not interested in and I change the channel names from what is scanned to what is in the guide etc. I.E. ITV1 <region> becomes ITV
Also the new table allows me to report new channels that appear.

_________________
--
stinga

as of 17-May-2018
R8.2 - sort of working.
MB: gigabyte GA-P43-ES3G | RAM: 2GB
VGA: PNY Nvidia GT240 1GB
4 x Technisat skystar 2 dvb | 1 x TBS6981 dvb-s2
pata: 1x300Gb | sata: 2x1Tb 2x2Tb
Problems:
TBS6981 Does not work.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

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