Project

General

Profile

Sky Auto Channel Numbering

Added by Jonathan Kempson over 8 years ago

So I may have bitten off far more than I can chew here but...

I have been experimenting with the idea of region-aware automatic channel numbering for Sky UK that matches the official channel number layout. I know that you can get TVH to get 95% of the way there but I find that I'm having to more often than not deal with new/old channels being added/removed (and I also fancied the challenge!).

So far I have written a Perl scraper to pull all the data from this URL into a MySQL db:

http://en.kingofsat.net/pack-skydigital.php

I also have another script which pulls all the data from the Sky EPG json backend into a separate table in my db:

http://tv.sky.com/channel/index

This URL can be appended with a specific region code to return a bespoke list of channels, there might need to be some manual intervention here but it should be able to figure out the vast majority of channels:

4101-19"Atherstone HD" 
4097-19"Atherstone SD" 
4101-12"Border England HD" 
4097-12"Border England SD" 
4102-36"Border Scotland HD" 
4098-36"Border Scotland SD" 
4103-65"Brighton HD" 
4099-65"Brighton SD" 
4101-3"Central Midlands HD" 
4097-3"Central Midlands SD" 
4104-34"Channel Isles HD" 
4100-34"Channel Isles SD" 
4101-20"East Midlands HD" 
4097-20"East Midlands SD" 
4101-2"Essex HD" 
4097-2"Essex SD" 
4101-24"Gloucester HD" 
4097-24"Gloucester SD" 
4102-35"Grampian HD" 
4098-35"Grampian SD" 
4101-7"Granada HD" 
4097-7"Granada SD" 
4103-70"Henley On Thames HD" 
4099-70"Henley On Thames SD" 
4103-43"HTV Wales HD" 
4099-43"HTV Wales SD" 
4101-4"HTV West HD" 
4097-4"HTV West SD" 
4103-63"HTV West / Thames Valley HD" 
4099-63"HTV West / Thames Valley SD" 
4101-29"Humber HD" 
4097-29"Humber SD" 
4101-1"London HD" 
4097-1"London SD" 
4101-18"London / Essex HD" 
4097-18"London / Essex SD" 
4103-66"London / Thames Valley HD" 
4099-66"London / Thames Valley SD" 
4103-64"London Kent HD" 
4099-64"London Kent SD" 
4101-11"Meridian East HD" 
4097-11"Meridian East SD" 
4103-68"Meridian North HD" 
4099-68"Meridian North SD" 
4101-5"Meridian South HD" 
4097-5"Meridian South SD" 
4101-10"Meridian South East HD" 
4097-10"Meridian South East SD" 
4103-45"Merseyside HD" 
4099-45"Merseyside SD" 
4101-21"Norfolk HD" 
4097-21"Norfolk SD" 
4103-62"North East Midlands HD" 
4099-62"North East Midlands SD" 
4101-8"North West Yorkshire HD" 
4097-8"North West Yorkshire SD" 
4101-26"North Yorkshire HD" 
4097-26"North Yorkshire SD" 
4104-33"Northern Ireland HD" 
4100-33"Northern Ireland SD" 
4103-71"Oxford HD" 
4099-71"Oxford SD" 
4104-50"Republic of Ireland HD" 
4100-50"Republic of Ireland SD" 
4103-41"Ridge Hill HD" 
4099-41"Ridge Hill SD" 
4103-61"Scarborough HD" 
4099-61"Scarborough SD" 
4102-37"Scottish East HD" 
4098-37"Scottish East SD" 
4102-38"Scottish West HD" 
4098-38"Scottish West SD" 
4103-60"Sheffield HD" 
4099-60"Sheffield SD" 
4101-28"South Lakeland HD" 
4097-28"South Lakeland SD" 
4103-72"South Yorkshire HD" 
4099-72"South Yorkshire SD" 
4103-69"Tees HD" 
4099-69"Tees SD" 
4101-9"Thames Valley HD" 
4097-9"Thames Valley SD" 
4101-27"Tring HD" 
4097-27"Tring SD" 
4101-13"Tyne HD" 
4097-13"Tyne SD" 
4101-25"West Anglia HD" 
4097-25"West Anglia SD" 
4103-67"West Dorset HD" 
4099-67"West Dorset SD" 
4101-6"Westcountry HD" 
4097-6"Westcountry SD" 

e.g. http://tv.sky.com/channel/index/4101-24

This is where I currently am.

So I'm thinking my next step should be to do some fuzzy string matching on the channel names and marry up the channels to each data source.

Once this was done I could lookup any channel from from the Sky EPG json feed and know the associated Service ID (from the kingofsat scrape). For example, I would know channel 101 (in my region) would be BBC One Scotland HD and also know the Service ID to go with it.

The final stag (and this is the one I'm totally stumped on) would be how I then create a custom channel list for TVH. I've been delving around in the channel, channels, dvbmuxes, dvbtransport etc folders but I'm getting a bit overwhelmed with the easiest way to achieve what I want.


Replies (142)

RE: Sky Auto Channel Numbering - Added by Jonathan Kempson about 8 years ago

Just done a minor update to script as I found it was making a mess of my channel list by adding duplicates using latest pull of TVH. All fixed now, would advise all to download to avoid similar issues.

RE: Sky Auto Channel Numbering - Added by Meeko Kittika about 8 years ago

Hi.
I'm using your script with much success thank you.
I do have a small issue of duplicate channels but biggest silly item I have is absence of BBC 1 replaced with RTE 1 for some reason? I've set region values to 4097 and 7 for Granada.

RE: Sky Auto Channel Numbering - Added by Jonathan Kempson about 8 years ago

Hi Meeko,

Tried with your settings of 4097 and 7 and can't seem to reproduce the problem.

Just to confirm the relevant section of your script looks like this?

# Required regional data/region here (use SD version if HD channel verification required)
my $data_sd   = "4097";
my $region_sd = "7";

# HD data/region here to be verified. Set to "" to skip HD channel verification
my $data_hd   = "";
my $region_hd = "";

RE: Sky Auto Channel Numbering - Added by Meeko Kittika about 8 years ago

Thanks for the reply. I've edited the channels/epg manually and kinda have it right now so reluctant to edit again! XD
Thats basically correct but I have "4097" and "07" (read somewhere in the thread to prefix single digits with 0) is that still correct?

RE: Sky Auto Channel Numbering - Added by Jason Bell about 8 years ago

Hi

Im getting this error when running the script

Started
Get Channel Tags...
Adding channel tag AutoChan
Adding channel tag Adult
Adding channel tag Documentaries
Adding channel tag Entertainment
Adding channel tag Gaming and Dating
Adding channel tag International
Adding channel tag Kids
Adding channel tag Lifestyle and Culture
Adding channel tag Movies
Adding channel tag Music
Adding channel tag News
Adding channel tag Other
Adding channel tag Radio
Adding channel tag Religious
Adding channel tag Shopping
Adding channel tag Sky Box Office
Adding channel tag Specialist
Adding channel tag Sports
Done
Get SDT...
Done
Get services
Process regional services first...
Use of uninitialized value $sections_ref0 in addition () at autobouquets.pl line 506.
Use of uninitialized value $sections_ref0 in addition (
) at autobouquets.pl line 507.
Use of uninitialized value $sec_first in numeric eq (==) at autobouquets.pl line 511.
Use of uninitialized value in substr at autobouquets.pl line 475.
substr outside of string at autobouquets.pl line 475.
Use of uninitialized value in string ne at autobouquets.pl line 475.
Use of uninitialized value in substr at autobouquets.pl line 475.
substr outside of string at autobouquets.pl line 475.
Use of uninitialized value in string ne at autobouquets.pl line 475.
Done
Everything else...
Use of uninitialized value $sections_ref0 in addition () at autobouquets.pl line 506.
Use of uninitialized value $sections_ref0 in addition (
) at autobouquets.pl line 507.
Use of uninitialized value $sec_first in numeric eq (==) at autobouquets.pl line 511.
Use of uninitialized value in substr at autobouquets.pl line 475.
substr outside of string at autobouquets.pl line 475.
Use of uninitialized value in string ne at autobouquets.pl line 475.
Use of uninitialized value in substr at autobouquets.pl line 475.
substr outside of string at autobouquets.pl line 475.
Use of uninitialized value in string ne at autobouquets.pl line 475.
Done
Done
Populate channels in TVH...
Adding channel 131 27ab
Done

any ideas what could be wrong

Thanks Jase

RE: Sky Auto Channel Numbering - Added by stu CONNERS almost 8 years ago

I`ve got the exact same problem as Jason Bell. Running the script on arch linux with the latest tvheadend from git. Is this script still being updated?

RE: Sky Auto Channel Numbering - Added by Prof Yaffle almost 8 years ago

I haven't used the feature myself, but hasn't this been effectively replaced by the bouquet functionality in later tvh builds?

RE: Sky Auto Channel Numbering - Added by stu CONNERS almost 8 years ago

can you explain how to use this function properly. I`ve messed with it but couldnt seem to get it to work.

RE: Sky Auto Channel Numbering - Added by Prof Yaffle almost 8 years ago

I'm afraid I have to refer you to my I haven't used the feature comment, above! :)

I believe that it's designed to automatically set channel number grouping based on bouquet, much as the OP's script did. You may need to ask on #hts unless someone who uses it stumbles onto this thread.

RE: Sky Auto Channel Numbering - Added by John Brines over 7 years ago

I am running fedora 21 and when I run the script it says it cannot find dvbsnoop, any one know where I can get a fedora version of dvbsnoop?

John.

RE: Sky Auto Channel Numbering - Added by Dale Taylor over 7 years ago

John Brines wrote:

I am running fedora 21 and when I run the script it says it cannot find dvbsnoop, any one know where I can get a fedora version of dvbsnoop?

John.

This script is no longer needed if you update Tvheadend to latest git. There is an option bouquets under Configuration - Channel / EPG with all the areas to pick from. The info is grabbed from the satellite now.

RE: Sky Auto Channel Numbering - Added by John Brines over 7 years ago

Dale Taylor wrote:

John Brines wrote:

I am running fedora 21 and when I run the script it says it cannot find dvbsnoop, any one know where I can get a fedora version of dvbsnoop?

John.

This script is no longer needed if you update Tvheadend to latest git. There is an option bouquets under Configuration - Channel / EPG with all the areas to pick from. The info is grabbed from the satellite now.

Hi Dale,

Thanks. for that. Do I need to remove the current channels or will it do everything?

What about Channel Icons will it do that as well?

John.

RE: Sky Auto Channel Numbering - Added by Mark Clarkstone over 7 years ago

John Brines wrote:

Dale Taylor wrote:

John Brines wrote:

I am running fedora 21 and when I run the script it says it cannot find dvbsnoop, any one know where I can get a fedora version of dvbsnoop?

John.

This script is no longer needed if you update Tvheadend to latest git. There is an option bouquets under Configuration - Channel / EPG with all the areas to pick from. The info is grabbed from the satellite now.

Hi Dale,

Thanks. for that. Do I need to remove the current channels or will it do everything?

What about Channel Icons will it do that as well?

John.

The bouquet feature wont do that unfortunately.

RE: Sky Auto Channel Numbering - Added by Rob Rob over 7 years ago

Dale Taylor wrote:

John Brines wrote:

I am running fedora 21 and when I run the script it says it cannot find dvbsnoop, any one know where I can get a fedora version of dvbsnoop?

John.

This script is no longer needed if you update Tvheadend to latest git. There is an option bouquets under Configuration - Channel / EPG with all the areas to pick from. The info is grabbed from the satellite now.

Not true.

Bouquets function is in now way a replacement for this fantastic perl script.

No icons, no easy selection of regions as a lot of bouquets are red herrings, no selection of genres, no tags.

RE: Sky Auto Channel Numbering - Added by John Brines over 7 years ago

Rob Rob wrote:

Dale Taylor wrote:

John Brines wrote:

I am running fedora 21 and when I run the script it says it cannot find dvbsnoop, any one know where I can get a fedora version of dvbsnoop?

John.

This script is no longer needed if you update Tvheadend to latest git. There is an option bouquets under Configuration - Channel / EPG with all the areas to pick from. The info is grabbed from the satellite now.

Not true.

Bouquets function is in now way a replacement for this fantastic perl script.

No icons, no easy selection of regions as a lot of bouquets are red herrings, no selection of genres, no tags.

I am now confused!

If the script is the way then how do I get dvbsnoop to work?

If it isn't then How do I get the bouquets to work as I have ticked my region but it shows all channels?

John.

RE: Sky Auto Channel Numbering - Added by John Brines over 7 years ago

John Brines wrote:

I am now confused!

If the script is the way then how do I get dvbsnoop to work?

If it isn't then How do I get the bouquets to work as I have ticked my region but it shows all channels?

John.

I got dvbsnoop installed so I am now running the script, fingers crossed :)

RE: Sky Auto Channel Numbering - Added by John Brines over 7 years ago

OK the script ran over night and I got loads og the following errors, are they something to worry about? Also How do I know it has worked?

"*Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.*__"

RE: Sky Auto Channel Numbering - Added by Rob Rob over 7 years ago

John Brines wrote:

OK the script ran over night and I got loads og the following errors, are they something to worry about? Also How do I know it has worked?

"*Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.*__"

Script takes less than 30 seconds to run, not overnight so you don't need to leave it - if you do somethings wrong and you should reboot etc.

Make sure you using the latest one, not the one in the OP.

1. wget to your box.
-edit autobouquets with all the correct info for your region, ip, username, password etc.
2. stop tvheadend service so dvbtune can grab a tuner then run dvbtune as below
3. start tvheadend service again using a new terminal window

It's critical that BOTH tvheadend and dvbtune are running when you execute the autobouquets script and it's critical that you STOP tvheadend before running dvbsnoop and then start tvheadend again (at this point tvheadend should have 1 less tuner showing up in the dvb config)

Make sure before running script you have already added your dvb network and scanned in services and all tags/channels sections are empty.

Not having tvheadend running at the same time as dvbtune before running the script churns out json errors and also weird stuff like what you have/

RE: Sky Auto Channel Numbering - Added by Rob Rob over 7 years ago

Oh and tune to this

sudo dvbtune -f 11778000 -s 27500 -p V -m

It's the sky epg frequency (before starting tvheadend service and running the script)

RE: Sky Auto Channel Numbering - Added by John Brines over 7 years ago

Rob Rob wrote:

Oh and tune to this

sudo dvbtune -f 11778000 -s 27500 -p V -m

It's the sky epg frequency (before starting tvheadend service and running the script)

It says the dvbtune command cannot be found!!

RE: Sky Auto Channel Numbering - Added by John Brines over 7 years ago

I am already tuned in to the Sky Sat as I can see channels. So do I need to run the dvbtune command?

RE: Sky Auto Channel Numbering - Added by John Brines over 7 years ago

Rob Rob wrote:

John Brines wrote:

OK the script ran over night and I got loads og the following errors, are they something to worry about? Also How do I know it has worked?

"*Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.*__"

Script takes less than 30 seconds to run, not overnight so you don't need to leave it - if you do somethings wrong and you should reboot etc.

Make sure you using the latest one, not the one in the OP.

1. wget to your box.
-edit autobouquets with all the correct info for your region, ip, username, password etc.
2. stop tvheadend service so dvbtune can grab a tuner then run dvbtune as below
3. start tvheadend service again using a new terminal window

It's critical that BOTH tvheadend and dvbtune are running when you execute the autobouquets script and it's critical that you STOP tvheadend before running dvbsnoop and then start tvheadend again (at this point tvheadend should have 1 less tuner showing up in the dvb config)

Make sure before running script you have already added your dvb network and scanned in services and all tags/channels sections are empty.

Not having tvheadend running at the same time as dvbtune before running the script churns out json errors and also weird stuff like what you have/

OK got dvbtune.

Do I disable all bouquets before running the script? As I didn't.

Also I am still getting the error although the script to less than a minute to run

Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Use of uninitialized value $tag_id in string eq at autobouquets.pl line 251.
Done

RE: Sky Auto Channel Numbering - Added by Kelvin Middleton over 7 years ago

Am I having a problem here?

So I grabed the perl script from page 2/3, can't remember exactly which but I trawled this thread purposefully to find the latest version.

Script runs, it successfully creates 640+ channels however I'm not sure whether this is enough.

Services count is 975, I know not to expect channels out of all of these but when the script runs there are lots of error messages such as ...


sudo perl autochannel.perl
Started
Get Channel Tags...
Adding channel tag AutoChan
Done
Get SDT...
Use of uninitialized value $sn in numeric eq (==) at autochannel.perl line 608.
Use of uninitialized value $sid in concatenation (.) or string at autochannel.perl line 614.
Use of uninitialized value $tsid in concatenation (.) or string at autochannel.perl line 614.
Done
Get services
Process regional services first...
Use of uninitialized value $pcode in numeric le (<=) at autochannel.perl line 432.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
Done
Everything else...
Use of uninitialized value $pcode in numeric le (<=) at autochannel.perl line 432.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
Done
Done
Process regional services first...
Use of uninitialized value $pcode in numeric le (<=) at autochannel.perl line 432.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
Done
Everything else...
Use of uninitialized value $pcode in numeric le (<=) at autochannel.perl line 432.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
substr outside of string at autochannel.perl line 475.
Use of uninitialized value in string ne at autochannel.perl line 475.
Done
Testing channel 102 BBC Two HD...fail
Testing channel 106 Sky1 HD...fail
Testing channel 107 Sky Living HD...fail
Testing channel 108 Sky Atlantic HD...fail
Testing channel 109 Watch HD...fail
Testing channel 111 Dave HD...fail
Testing channel 112 ComedyCentHD...fail
Testing channel 113 Universal HD...fail
Testing channel 114 Syfy HD...fail
Testing channel 118 ITV2 HD...fail
Testing channel 119 ITV3 HD...fail
Testing channel 120 ITV4 HD...fail
Testing channel 123 ITV Encore HD...fail
Testing channel 124 FOX HD...fail
Testing channel 125 TLC HD...fail
Testing channel 126 MTV HD...fail
Testing channel 129 Sky Arts 1 HD...fail
Testing channel 130 Sky Arts 2 HD...fail
Testing channel 132 alibi HD...fail
Testing channel 133 Good Food HD...fail
Testing channel 136 E4 HD...fail
Testing channel 138 More4 HD...fail
Testing channel 151 E! HD...fail
Testing channel 156 Lifetime HD...fail
Testing channel 301 SkyPremiereHD...fail
Testing channel 303 Sky ShowcseHD...fail
Testing channel 304 Sky Greats HD...fail
Testing channel 305 Sky Disney HD...fail
Testing channel 306 Sky Family HD...fail
Testing channel 307 Sky Action HD...fail
Testing channel 308 Sky Comedy HD...fail
Testing channel 309 Sky Thriller HD...fail
Testing channel 310 Sky DraRomHD...fail
Testing channel 311 Sky ScFi/HorHD...fail
Testing channel 312 Sky Select HD...fail
Testing channel 315 Film4 HD...fail
Testing channel 317 TCM HD...fail
Testing channel 358 MTV Live HD...fail
Testing channel 401 Sky SpN HQ HD...fail
Testing channel 402 Sky Sports 1 HD...fail
Testing channel 403 SkyWrldCupHD...fail
Testing channel 404 Sky Sports 3 HD...fail
Testing channel 405 Sky Sports 4 HD...fail
Testing channel 406 Sky Sports 5 HD...fail
Testing channel 407 Sky Spts F1 HD...fail
Testing channel 410 Eurosport HD...fail
Testing channel 411 Eurosport 2 HD...fail
Testing channel 418 MUTV HD...fail
Testing channel 429 LFCTV HD...fail
Testing channel 501 Sky News HD...fail
Testing channel 520 Discovery HD...fail
Testing channel 523 AnimalPlnt HD...fail
Testing channel 526 Nat Geo HD...fail
Testing channel 528 NatGeoWild HD...fail
Testing channel 529 History HD...fail
Testing channel 532 Eden HD...fail
Testing channel 553 CI HD...fail
Testing channel 601 Cartoon Net HD...fail
Testing channel 604 NickelodeonHD...fail
Testing channel 607 Disney XD HD...fail
Testing channel 609 Disney Chnl HD...fail
Testing channel 611 Disney Jnr HD...fail
Testing channel 784 Star Plus HD...fail
Populate channels in TVH...
Adding channel 101 BBC One N West
...
...then lots of channels added include HD channels
...

Just looking at the last posts in this thread Rob Rob's offering a process in which to run the script using dvbtune...I've tried this and my results do not differ however the dvbtune output looks odd also i.e. lots of "FE READ UNCORRECTED BLOCKS: : Operation not supported Signal=50409, Verror=0, SNR=132dB, BlockErrors=0, (S|L|C|V|SY|)"

Is any of the above to be expected or do I have other problems? :-)

Cheers guys, appreciate any help/pointers.

RE: Sky Auto Channel Numbering - Added by Mark Clarkstone over 7 years ago

I think FE READ UNCORRECTED BLOCKS usually only occurs with a bad signal.

Try playing the EPG Background Audio via tvheadend then run the script, that worked for me!

RE: Sky Auto Channel Numbering - Added by Jamie Mayers over 7 years ago

Hi all, i'm hopeing someone can help.

I get the following dump when i run the script.. any ideas?

Thanks in advance.

"my" variable $data_sd masks earlier declaration in same scope at autobouquets.pl line 661.
"my" variable $region_sd masks earlier declaration in same scope at autobouquets.pl line 662.
"my" variable $data_hd masks earlier declaration in same scope at autobouquets.pl line 665.
"my" variable $region_hd masks earlier declaration in same scope at autobouquets.pl line 666.
"my" variable $tag_channels masks earlier declaration in same scope at autobouquets.pl line 669.
"my" variable $tvh_user masks earlier declaration in same scope at autobouquets.pl line 670.
"my" variable $tvh_pass masks earlier declaration in same scope at autobouquets.pl line 671.
"my" variable $tvh_ip masks earlier declaration in same scope at autobouquets.pl line 672.
"my" variable $tvh_proto masks earlier declaration in same scope at autobouquets.pl line 673.
"my" variable $tvh_port masks earlier declaration in same scope at autobouquets.pl line 674.
"my" variable $tvh_tag masks earlier declaration in same scope at autobouquets.pl line 675.
"my" variable $icons_enabled masks earlier declaration in same scope at autobouquets.pl line 676.
"my" variable %chan_tags masks earlier declaration in same scope at autobouquets.pl line 679.
"my" variable @sid_adds masks earlier declaration in same scope at autobouquets.pl line 700.
"my" variable $tvh_url masks earlier declaration in same scope at autobouquets.pl line 703.
"my" variable %chan_ids masks earlier declaration in same scope at autobouquets.pl line 706.
"my" variable @dvb masks earlier declaration in same scope at autobouquets.pl line 713.
"my" variable @sdt masks earlier declaration in same scope at autobouquets.pl line 718.
"my" variable @services_sd masks earlier declaration in same scope at autobouquets.pl line 724.
"my" variable @merged_services masks earlier declaration in same scope at autobouquets.pl line 728.
Subroutine populateServices redefined at autobouquets.pl line 795.
Subroutine updateTVH redefined at autobouquets.pl line 820.
Subroutine tvhTagHash redefined at autobouquets.pl line 910.
Subroutine chanToTag redefined at autobouquets.pl line 931.
Subroutine tvhTagID redefined at autobouquets.pl line 943.
Subroutine tvhCreateTag redefined at autobouquets.pl line 955.
Subroutine tvhUpdateChannel redefined at autobouquets.pl line 963.
Subroutine tvhQuery redefined at autobouquets.pl line 1007.
Subroutine tvhServiceID redefined at autobouquets.pl line 1014.
Subroutine tvhServiceType redefined at autobouquets.pl line 1024.
Subroutine uniqArray redefined at autobouquets.pl line 1034.
Subroutine processServices redefined at autobouquets.pl line 1038.
Subroutine streamData redefined at autobouquets.pl line 1044.
Subroutine filterServices redefined at autobouquets.pl line 1114.
Subroutine lookupService redefined at autobouquets.pl line 1129.
Subroutine findSections redefined at autobouquets.pl line 1141.
Subroutine sectionsRef redefined at autobouquets.pl line 1177.
Subroutine serviceDescriptionTable redefined at autobouquets.pl line 1192.
Subroutine processSDT redefined at autobouquets.pl line 1219.
Subroutine get_txt redefined at autobouquets.pl line 1266.
Subroutine get_hex redefined at autobouquets.pl line 1270.
Subroutine trim redefined at autobouquets.pl line 1277.
Subroutine readFile redefined at autobouquets.pl line 1282.
Started
Get Channel Tags...
Use of uninitialized value $tvh_url in concatenation (.) or string at autobouquets.pl line 1009.
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/share/perl5/JSON.pm line 171.

(101-125/142)