MY CONFIG:
=========
>Windows: v7
>WG++: v3.5.1beta
>EPG Source: Foxtel.com.au (so using foxtel.com.au.ini)
Notes:
"Package" is a term used by Foxtel.
Each "Package" contains certain channels.
The channels you can view depend on which "Packages" your paid for in your subscription.
MY PROBLEM/QUESTIONS:
====================
I would like to include my Foxtel subscription's "Package" number assigned to each channel in my channels.xml file OR any file that makes this possible.
That way I could easily locate and comment out channels NOT included in my subscription so I don't needlessly download updates for them every day.
After generating a new channels file I noticed in WG++'s "html.source.htm" file contains the variable "channelCategoryId" which is the channel's assigned package number.
1) Is there any way of writing this to the channels.xml file OR ANY file so that I have a list of channels AND their assigned package name?
2) I would also be nice to also include the "html.source.htm" file's "number" variable in this list so I have the channels assigned "Channel number" rather than just it's callsign as is currently the case with the channels.xml file?
MORE INFO
=========
The channels included in your subscription depend on what "Packages" you subscribe to/pay for.
One the Foxtel TV guide page (see URLs at end) there is a "Packages" drop-down box (only works for me in IE NOT Firefox) that allows you to filter to view ONLY the channels included in the "Package" you select in this drop-down box.
After viewing this page's HTML I have isolated the variables responsible for this filtering:
epg-category-name: Package NAME used in the drop-down box.
data-category-id: Package NUMBER assigned to each package name above.
data-epg-category-id: Package NUMBER assigned to EACH CHANNEL.
The package number to name mapping is:
Pack# Pack Name
===== =========
-1 ALL CHANNELS
12 Channels 9, 7, 10, ABC, SBS
5 Entertainment
1 Movies
3 Sport
2 News & Documentaries
4 Kids & Family
6 Music & Radio
8 Special Interest
13 HD Channels
After generating a new channels file I noticed the variable name "channelCategoryId" in WG++'s "html.source.htm" file is the channels package number variable data-epg-category-id.
URLs:
Foxtel TV guide page:
https://www.foxtel.com.au/tv-guide.html/grid/grid?has_changed_region=true
Thanks Blackbear I VERY much appreciate you creating this.
Haven't had a chance to look at it but I will within the next few days.
Regards Nigel