2018-12-21, 05:02 PM
Good Day and Merry Christmas to allâ¦
Vaders has had its ups and downs over the years but it has always rebounded and I personally have been happy with their services until now. The most recent issue that has plagued this service provider has been their URLâs for both the m3u and EPG data and has been driving me bonkers. In the past one could use for the m3u http://api.vaders.tv/vget?username=xxxx&...s/m3u/m3u8 or just leave off the â&format=â and for the EPG you would use http://vaders.tv/p2.xml. Now due to some maintenance going on over at the Vaders shop these URLâs are no longer valid. Using a browser to validate the âcurrently workingâ URL for the m3u pull as noted above, I get the following response
[ATTACHMENT NOT FOUND]
However, using the following URL in a browser with either &format=m3u, m3u8, ts, or blank yields me a valid m3u file; http://vaders.tv/vget?username=xxx&passw...ormat=m3u8. The difference is that the âapiâ at the beginning must be omitted. I donât know why but this is what works for me in NPVR now. As of this morning it looks like either http://vaders.tv/p2.xml.gz or http://vaders.tv/p2.xml are working now in the browser when only yesterday the http://vaders.tv/p2.xml.gz was the working model. In NPVR http://vaders.tv/p2.xml is also working but it doesnât auto map the channels. This is most likely due to âtvg-nameâ from m3u file not finding a match with âchannel idâ in xml file. However, I did notice that the format of the xml file has gone through a massive restructure. Here is an example of what channels 17398 and 14863 looked like on 2018/12/17
<channel id="I197.17398.schedulesdirect.org">
<display-name>CBC</display-name><display-name>CBCT</display-name>
<display-name>197 CBCT</display-name>
<display-name>197</display-name>
<icon height="270"
</channel>
<channel id="I201.14863.schedulesdirect.org">
<display-name>CTV Halifax HD</display-name><display-name>CJCH</display-name>
<display-name>201 CJCH</display-name>
<display-name>201</display-name>
<display-name>CTV Halifax</display-name>
<icon height="270"
</channel>
versus what they look like today
<channel id="I197.17398.schedulesdirect.org">
<display-name>CBCT</display-name>
</channel>
<channel id="I201.14863.schedulesdirect.org">
<display-name>CTV Halifax</display-name>
</channel>
So, I have decided to cut the EPG chord from Vaders and construct my own so I donât have to go through this experience again. As of now Vaders currently does not have a working EPG that plays nice with NPVR. I will be using NPVR (of course), mc2xml, Notepad++, Excel, Schedules Direct (SD) and MS notepad.
The first step was to pull the m3u and xml files and load them into NPVR so that I would know what channels I had access to. Next, without doing anything else I exported the channels from NPVR to its default xml file. Next, I opened the exported file with Excel (yes thatâs right Excel). Excel has a very kool way of parsing the file into its logical components as shown below.
[ATTACHMENT NOT FOUND]
Column B indicates the tvg-name from the m3u file while column H indicates the channel id from the xml file. You can readily see in this depiction the mismatch between the two columns therefore, necessitating a manual/auto channel mapping. This is also the way I can see what channels I donât want or need in order to eliminate them in the next step.
If you are able to pull in your EPG using NPVR and you can auto map all of your channels you can skip this step which uses mc2xml. For me I performed all the steps indicated thus far but could not auto map because of the mismatch. I used mc2xml to pull specific channels and edited the xml channel id to match the tvg-name in the m3u file. For those of you interested in a statistic, I pulled 850 channels and renamed the channel id in 13 seconds. Crazy huh!
Using mc2xml and SD, http://mc2xml.awardspace.info/ I executed mc2xml which gave me this
[ATTACHMENT NOT FOUND]
If you have an SD account (free trial also) you can enter your creds and continue. I used their JSON service with the following selections for my UK channels. Their âschedules directâ service does not give you the opportunity to enter a postal or country code selection. USA channels and other country channels were queried in the same manner. When it completes its query, you will get your xml file.
For the best control (IMO), I chose to use a batch file to call mc2xml.exe with parameters that told the query what channels I wanted specifically and how to rename them so that they would match my m3u file in NPVR. Using MS notepad or Notepad++ I entered this within my UpdateEPG.bat⦠âmc2xml -J user:password -c gb -g cf31 -D uk.dat -C uk.chl -R uk.ren -a -U -u -d 10 -o uk.xmlâ. I wonât take the space here to explain the switches because you can read all about this proggy at http://mc2xml.awardspace.info/. However, here is a sample of my channel request which is my uk.chl fileâ¦
[ATTACHMENT NOT FOUND]
The rename file uk.ren looks like thisâ¦
# rename the following
I0.17153.schedulesdirect.org:bbc one hd
I0.17154 schedulesdirect.org:bbc two hd
I0.83282 schedulesdirect.org:bbc four hd
I0.17468.schedulesdirect.org:itv 1
I0.20630.schedulesdirect.org:itv 2 hd
I0.44643.schedulesdirect.org:itv 3 hd
I0.48020.schedulesdirect.org:itv 4 hd
I0.17155.schedulesdirect.org:channel 4
I chose to use the channel id in lieu of display-name or some other field to match on because not every xml file has those fields for every channel. However, every channel has a specific channel id that is unique to it. So, âHow do I know what the channel id is for every channel I want to pull you askâ? Remember that Excel file pic I showed you earlier? Well if you look at the âguide idâ column they are listed there, not all but most. We have 85 channels in the UK which is why I chose to work on those first. I have started the USA pull but only 1/3 of the way done.
For those channels that do not have a number listed and instead have some alpha characters indicating the station call name, you will use this name to search within your xml file you pulled from Schedules Direct. The search will yield you a channel id that you can use. You may encounter more than one possible choice.
I hope this information helps you out. For me I now no longer am tied to Vaders EPG or any other EPG for that matter. My gratitude goes out to all of you that helped me on this especially sub, Graham and Martin. Cheers and Merry Christmas to all.
Vaders has had its ups and downs over the years but it has always rebounded and I personally have been happy with their services until now. The most recent issue that has plagued this service provider has been their URLâs for both the m3u and EPG data and has been driving me bonkers. In the past one could use for the m3u http://api.vaders.tv/vget?username=xxxx&...s/m3u/m3u8 or just leave off the â&format=â and for the EPG you would use http://vaders.tv/p2.xml. Now due to some maintenance going on over at the Vaders shop these URLâs are no longer valid. Using a browser to validate the âcurrently workingâ URL for the m3u pull as noted above, I get the following response
[ATTACHMENT NOT FOUND]
However, using the following URL in a browser with either &format=m3u, m3u8, ts, or blank yields me a valid m3u file; http://vaders.tv/vget?username=xxx&passw...ormat=m3u8. The difference is that the âapiâ at the beginning must be omitted. I donât know why but this is what works for me in NPVR now. As of this morning it looks like either http://vaders.tv/p2.xml.gz or http://vaders.tv/p2.xml are working now in the browser when only yesterday the http://vaders.tv/p2.xml.gz was the working model. In NPVR http://vaders.tv/p2.xml is also working but it doesnât auto map the channels. This is most likely due to âtvg-nameâ from m3u file not finding a match with âchannel idâ in xml file. However, I did notice that the format of the xml file has gone through a massive restructure. Here is an example of what channels 17398 and 14863 looked like on 2018/12/17
<channel id="I197.17398.schedulesdirect.org">
<display-name>CBC</display-name><display-name>CBCT</display-name>
<display-name>197 CBCT</display-name>
<display-name>197</display-name>
<icon height="270"
</channel>
<channel id="I201.14863.schedulesdirect.org">
<display-name>CTV Halifax HD</display-name><display-name>CJCH</display-name>
<display-name>201 CJCH</display-name>
<display-name>201</display-name>
<display-name>CTV Halifax</display-name>
<icon height="270"
</channel>
versus what they look like today
<channel id="I197.17398.schedulesdirect.org">
<display-name>CBCT</display-name>
</channel>
<channel id="I201.14863.schedulesdirect.org">
<display-name>CTV Halifax</display-name>
</channel>
So, I have decided to cut the EPG chord from Vaders and construct my own so I donât have to go through this experience again. As of now Vaders currently does not have a working EPG that plays nice with NPVR. I will be using NPVR (of course), mc2xml, Notepad++, Excel, Schedules Direct (SD) and MS notepad.
The first step was to pull the m3u and xml files and load them into NPVR so that I would know what channels I had access to. Next, without doing anything else I exported the channels from NPVR to its default xml file. Next, I opened the exported file with Excel (yes thatâs right Excel). Excel has a very kool way of parsing the file into its logical components as shown below.
[ATTACHMENT NOT FOUND]
Column B indicates the tvg-name from the m3u file while column H indicates the channel id from the xml file. You can readily see in this depiction the mismatch between the two columns therefore, necessitating a manual/auto channel mapping. This is also the way I can see what channels I donât want or need in order to eliminate them in the next step.
If you are able to pull in your EPG using NPVR and you can auto map all of your channels you can skip this step which uses mc2xml. For me I performed all the steps indicated thus far but could not auto map because of the mismatch. I used mc2xml to pull specific channels and edited the xml channel id to match the tvg-name in the m3u file. For those of you interested in a statistic, I pulled 850 channels and renamed the channel id in 13 seconds. Crazy huh!
Using mc2xml and SD, http://mc2xml.awardspace.info/ I executed mc2xml which gave me this
[ATTACHMENT NOT FOUND]
If you have an SD account (free trial also) you can enter your creds and continue. I used their JSON service with the following selections for my UK channels. Their âschedules directâ service does not give you the opportunity to enter a postal or country code selection. USA channels and other country channels were queried in the same manner. When it completes its query, you will get your xml file.
For the best control (IMO), I chose to use a batch file to call mc2xml.exe with parameters that told the query what channels I wanted specifically and how to rename them so that they would match my m3u file in NPVR. Using MS notepad or Notepad++ I entered this within my UpdateEPG.bat⦠âmc2xml -J user:password -c gb -g cf31 -D uk.dat -C uk.chl -R uk.ren -a -U -u -d 10 -o uk.xmlâ. I wonât take the space here to explain the switches because you can read all about this proggy at http://mc2xml.awardspace.info/. However, here is a sample of my channel request which is my uk.chl fileâ¦
[ATTACHMENT NOT FOUND]
The rename file uk.ren looks like thisâ¦
# rename the following
I0.17153.schedulesdirect.org:bbc one hd
I0.17154 schedulesdirect.org:bbc two hd
I0.83282 schedulesdirect.org:bbc four hd
I0.17468.schedulesdirect.org:itv 1
I0.20630.schedulesdirect.org:itv 2 hd
I0.44643.schedulesdirect.org:itv 3 hd
I0.48020.schedulesdirect.org:itv 4 hd
I0.17155.schedulesdirect.org:channel 4
I chose to use the channel id in lieu of display-name or some other field to match on because not every xml file has those fields for every channel. However, every channel has a specific channel id that is unique to it. So, âHow do I know what the channel id is for every channel I want to pull you askâ? Remember that Excel file pic I showed you earlier? Well if you look at the âguide idâ column they are listed there, not all but most. We have 85 channels in the UK which is why I chose to work on those first. I have started the USA pull but only 1/3 of the way done.
For those channels that do not have a number listed and instead have some alpha characters indicating the station call name, you will use this name to search within your xml file you pulled from Schedules Direct. The search will yield you a channel id that you can use. You may encounter more than one possible choice.
I hope this information helps you out. For me I now no longer am tied to Vaders EPG or any other EPG for that matter. My gratitude goes out to all of you that helped me on this especially sub, Graham and Martin. Cheers and Merry Christmas to all.
(Client) Windows 10 Pro 1803 Custom Box, I7-4790 Quad Core, 8GB Ram 64-bit
(Server) Windows Server 2016, I7-4790 Quad Core, 16GB Ram 64-bit
WinTV Hauppauge Quad Tuners
(Server) Windows Server 2016, I7-4790 Quad Core, 16GB Ram 64-bit
WinTV Hauppauge Quad Tuners