NFPS xmltv EPG Grabber development

Status
Not open for further replies.
just to elaborate on the dummy files.in the go.bat you see

copy dummy.txt dummy1.txt
copy dummy.txt dummy2.txt
copy dummy.txt dummy3.txt

this creates a file for each day.psycon does 3 day epg

sed.exe -e "s/20150513213/%Yr%%Mth%%Day%070/g" dummy1.txt > dummy1_1.txt
sed.exe -e "s/2016051322/%Day1%07/g" dummy1_1.txt > dummy1_conv.txt

sed.exe -e "s/20150513213/%Day1%070/g" dummy2.txt > dummy2_1.txt
sed.exe -e "s/2016051322/%Day2%07/g" dummy2_1.txt > dummy2_conv.txt

sed.exe -e "s/20150513213/%Day2%070/g" dummy3.txt > dummy3_1.txt
sed.exe -e "s/2016051322/%Day3%07/g" dummy3_1.txt > dummy3_conv.txt

this modify's the date/time for each day

copy /b dummy1_conv.txt + dummy2_conv.txt + dummy3_conv.txt dummy_conv.txt

this puts them all together to create 1 big file
it then gets stripped(I havnt look at exactly what this does)

copy /b dummy.hdr + wg_tc_strip.txt + dummy_conv.txt + dummy.ftr dummyparsed.xml

this puts it all together with the proper header to make it a proper xml file that kodi can read.

lastly if you look at your first epg pull with mc2xml you will see the above file dummyparsed.xml like this

mc2xml -I dummyparsed.xml

that adds our dummy channel epg into the epg data that we are going to pull from schedule direct and Microsoft.

I run a 7 day epg so what I have done is doubled the amount of dummy files to 6 or of all the dummy channels would run out of data in 3 days.
 
Last edited:
Thanks, that makes a little sense to me, lol, I will try and look at those files closer, perhaps it will become more clear, anyway, I added directv lineup and dishnet lineup to schedules direct and left all the channels unedited, the epg grabber appears to have only grabbed the data it needed, as the files size of my NFPSE was 16mb, which seemed about right to me. Also, if you don't mind me asking, how to change the number of days of data that is pulled, is that in the go.bat file also?
 
the is.gd epg link data is old.i uploaded a nfpse.xml here until someone fixes it.
Code:
http://iptvtalk.net/showthread.php?6243-Kodi-NFPSE-xml
unzip it,in pvr stalker config for xmltv change it to local path and point to where you unzipped the file.
 
ok so i got confirmation of my donation towards mc2xml and with the email is the new donation version 1.3 with the microsoft active and running via rovio since theres no username or password if its gonna be used with the same setup as before its in that case ready for dar or psycon. if you guys want this use of it just leave me a private message and ill pass it along with the email i recieved too
 
I think we'll have a nearly complete epg in the next few days in the is.gd, thanks to crawlers1977. Still need psycon's help to set things up, but I did a local update of the us-dish, miami, dtv and latin-tp grabs, converting them to the Rovio source. The dummies are updated as well. Hang tight.
 
if you need anything dara just ask.i have also converted everything to rovi,all English and all Spanish from 825 on up.

Thanks, did that already, still waiting for psycon to appear. Hopefully going forward we can have a "synched" set of chl and ren because that change was pretty massive. Are you able to get all the latins into one set, vs. Total Play + Skymex? The new microsoft also allowed me to drop some of the feeds from the webgrab.
 
for the Spanish I get most from sky mex.except for the following I get from dtv usa
Code:
I402.309249961.microsoft.com:Univision
UNIMAS:UniMas
UNVRSO:NBC Universo
CRCTV:Caracol Internacional
I406.28456675.microsoft.com:Telemundo
RMTV:Regional Music
PASN:Pasiones
and the rest I pull from webgrab
Code:
<channel update="i" site="entutele.com" site_id="/canal/discovery-channel" xmltv_id="Discovery Channel">Discovery en Español</channel>
    <channel update="i" site="entutele.com" site_id="/canal/cnn-en-espanol" xmltv_id="CNN en español">CNN en Español</channel>
    <channel update="i" site="entutele.com" site_id="/canal/history-channel" xmltv_id="History Channel">History en Español</channel>
    <channel update="i" site="gatotv.com" site_id="azmundo" xmltv_id="Canal AZMundo">Az Mundo</channel>
    <channel update="i" site="gatotv.com" site_id="rcn_novelas" xmltv_id="Canal RCN Novelas">RCN Novelas</channel>
    <channel update="i" site="gatotv.com" site_id="cinema_dinamita" xmltv_id="Canal Cinema Dinamita">Cine Dinamita</channel>
    <channel update="i" site="gatotv.com" site_id="k_music" xmltv_id="Canal K - Music">K Music</channel>
    <channel update="i" site="gatotv.com" site_id="multimedios_plus" xmltv_id="Canal Multimedios Plus">Multimedios Plus</channel>
    <channel update="i" site="gatotv.com" site_id="13_de_republica_dominicana_telecentro" xmltv_id="Canal Telecentro (13 de República Dominicana)">TeleCentro</channel>
    <channel update="i" site="gatotv.com" site_id="bein_sport_en_espanol" xmltv_id="Canal beIN Sport en Español">BeinSports en Español</channel>
    <channel update="i" site="gatotv.com" site_id="teletica" xmltv_id="Canal 7 de Teletica (Costa Rica)">Teletica</channel>
    <channel update="i" site="gatotv.com" site_id="tooncast" xmltv_id="Canal Tooncast">Tooncast</channel>
    <channel update="i" site="gatotv.com" site_id="concert_channel_hd" xmltv_id="Canal Concert Channel HD">Concert Channel</channel>
    <channel update="i" site="gatotv.com" site_id="euronews" xmltv_id="Canal Euronews">Euronews en Español</channel>

were u able to get the Spanish with the accents to map with mc2xml? ex Discovery en Español
only way that worked for me was to use webgrab.

channels2correct
Code:
<channel time_error="-1">Az Mundo</channel>
  <channel time_error="5">RCN Novelas</channel>
  <channel time_error="6">TeleCentro</channel>
  <channel time_error="-1">Multimedios Plus</channel>
  <channel time_error="6">Cine Dinamita</channel>
  <channel time_error="-1">K Music</channel>
  <channel time_error="-1">BeinSports en Español</channel>
  <channel time_error="6">Tooncast</channel>
  <channel time_error="-1">Concert Channel</channel>

any not listed there needed no time correction.
 
here's one I had a hard time finding.the pac-12 regionals
I used a seattle,wa zip and century link for the provider.here the contents of my .dat file
Code:
CenturyLink Seattle Digital
8fs+hiAzm7DC/2cw79goWBPieFcqSuhtNfKwzDMt0osv+fXO9gcz7eyO/USy6pAlDQj7DUZe8/cT7Emafw/5tCacILmoF7w+z6eKrBCD8/N5f5k4C0JAbTJEWZECEuM+g9UWoGogoAqxLdWJGTm0xw==

437 - Sport 3 = Pac-12 TV Networks (Mountain) (USA)
438 - Sport 4 = Pac-12 TV Networks (Bay Area) (USA)
439 - Sport 5 = Pac-12 TV Networks (Oregon) (USA)

.ren file
Code:
PACMT:Sport 3
PACBA:Sport 4
PACOR:Sport 5
 
another thing I found with using rovi,did you notice that almost every channel that has a east/west feed uses the same name.i used the Ixx.xxxxxxx.Microsoft.com name to make sure it got the proper epg.
example of one.
Code:
        <channel id="I318.28457244.microsoft.com">
		<display-name>SHO</display-name>
		<display-name>318 SHO</display-name>
		<display-name>318</display-name>
		<display-name>Showtime (East)</display-name>
	</channel>
	<channel id="I319.28457713.microsoft.com">
		<display-name>SHO</display-name>
		<display-name>319 SHO</display-name>
		<display-name>319</display-name>
		<display-name>Showtime (West)</display-name>
	</channel>
 
another thing I found with using rovi,did you notice that almost every channel that has a east/west feed uses the same name.i used the Ixx.xxxxxxx.Microsoft.com name to make sure it got the proper epg.
example of one.

Yeah, that's the trick I have to use to get both feeds. I don't do a direct rename using the channel id in the rem, but have been just pulling the west feed in a separate grab, either with dish ("us") and dtv or just doing it with a second pull on the same source using a different set of chl/ren. I saw that you are able to get it to work though.

On the pac12 feeds, just me, I don't bother creating my own pulls for the numbered channels, only because they seemed to change so often in the past, and if you don't keep up with the change, the program data gets crossed over to some other channel. I know that psycon has done that and some of those still work, but I tried to do the canada pull, and got nothing. The other thing bad about that is you'll see the program data, but unless you know... you won't know what the channel is other than its number.

Hopefully those pac12 feeds will get a permanent name, vs. a Sports #.
 
here's the Canada ones.,i get BBC World News with my Canada pull also.
Sport 2 is Sportsnet 360.
.ren
Code:
WN:The Weather Network
I510.45505287.microsoft.com:BBC World News
I845.47494403.microsoft.com:Sport 2
LCN:Canada 1
CICC:Canada 2
CTVED:Canada 3
CTVLH:Canada 4
CKCK:Canada 5
TVA:Canada 6
VHD:Canada 7
CPAC:Canada 8
.dat
Code:
Bell TV Atlantic Time Zone Digital
fx2TC1716X/46WfWSNoGR0e2anwAvIqg4znsUxqc/lsCKHZXeIOPQmfusTikRVNJl3uzjqlzbjALqQdyCDdX1U5dTzRPpTY9jXKK8HyAgOeLl2wFaDTHfC3cZUYYU9DtQi3amVZPfizdTx5lQD66mw==
Canada 9 and 10 show as off air in the lastest list posted on zeta so I didn't add them.
 
Last edited:
I was using Telus Alberta for the Canada, (because that's what psycon was using), but I'll give it a try with your info.

I'll also move off of the Total Play for the latins to Skymex as well, so we can compare notes on it, but that will be a later project.
 
Last edited:
Status
Not open for further replies.