NFPS xmltv EPG Grabber development

Status
Not open for further replies.
Ignore gotest .bat i didnt mean to commit it.. its for a test version of pvr.stalker that is not released.

1 yes. remove from .ren and .chl

2 u have to run it every 48 hours. i woulld just set a task to run it once a day in the middle of the night.

3. you can delete whatever you are not using. if your modifying the script you can do whatever you want, but u need to fix it yourself if you break it. I wont offer support here.

4 you cant jsut add the name as it appears on stalker, you have to find out what name it has in the original xml data (run mc2xml -d 1) - again this is something you need to be able to figure out on your own.
 
Ignore gotest .bat i didnt mean to commit it.. its for a test version of pvr.stalker that is not released.

1 yes. remove from .ren and .chl

2 u have to run it every 48 hours. i woulld just set a task to run it once a day in the middle of the night.

3. you can delete whatever you are not using. if your modifying the script you can do whatever you want, but u need to fix it yourself if you break it. I wont offer support here.

4 you cant jsut add the name as it appears on stalker, you have to find out what name it has in the original xml data (run mc2xml -d 1) - again this is something you need to be able to figure out on your own.

Awesome, thanks a million Psycon! Regarding your answer to number 4, would these missing channels be in the generated xml or do I need to search for them on the net?
 
OK.. I'm stumped..... The go.bat isn't creating the NFPS.xml file...

I changed the move line to;

move NFPS.xml D:\Kodi Stuff\Working Folder\NFPS-EPG-Grabber-master

to have it go to my working folder... Maybe I have the wrong syntax here....???

The line above the move line is;

Echo Marking New Episodes
sed.exe -e "/<title lang=/ s/"*"/[New!]/g" < "complete.xml" > "NFPS.xml"

I'm wondering if there might be a problem with this line that's creating an error that's preventing the creation of the NFPS.xml file...??
 
you forgot quotes.


Seriously though. if your choosing to modify the script.. your on your own.. please dont fill the thread with questions asking how to fix it when you break it.. aint nobody got time for that.
 
Last edited:
you forgot quotes.


Seriously though. if your choosing to modify the script.. your on your own.. please dont fill the thread with questions asking how to fix it when you break it.. aint nobody got time for that.

Ahh ok... Actually I didn't forget them, whoever wrote the bat file did because all I did was add the directory to move it to.

Sorry, just trying to brush up and get back into learning the coding so I can start helping.....
 
i didnt forget anything.. i had no spaces and didnt need quotes.

its all good. im all for people learning and trying new things, but just dont want the thread full of posts that are irrelevant to most.. :)

again. ignore that gotest.bat.. its something only I use for testing pvr.stalker
 
Well. I like the Idea of having an english only version.. I dont need all those internationals in my EPG.. ill make a modifed script and add another URL later perhaps..

That's exactly my thinking as well. And there are a lot of people who would prefer this as well. I'm setting one up for my own use and my sister and mother as they find having to scroll through all the channels to find what they are looking for rather tiresome, and my mom is 73 so... LOL Maybe that could be something I could work on Psycon, the one without the internationals....

Anyhow... I remembered some of my old coding days of satellite and bat creation stuff and such and changed those previous lines on a hunch... I took the names of the individual mxl files and I changed those last lines to this:

copy /b ca.xml + dtv.xml + mia.xml + US.xml + US-UK.xml NFPS.xml
move NFPS.xml ..

It worked and created the NFPS.xml in the directory I was working from. The file works but now the problem the EPG only shows the output from the first ca.xml file... I think I know what the problem is though and am still playing with it.

Thanks again Psycon and all for your help.
 
Added English only xml file
Code:
http://ipkill.org/NFPSEnglish


Dara. I reinstalled a fresh copy of kodi 14.2 on my fire tv, and am seeing the long ass load times now too with the dummy data.. wasnt really a problem in kodi 15.
 
Last edited:
that doesnt work. It copys the xml header and footer from every file into the resulting merged file, so when kodi read ds it it stops after the first </TV> it sees

HA!! LOL that was exactly the problem I figured it was. I removed all the other </tv> entries and the parts that start with </tv>


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">

and got it to work. I was gonna upload it here but I see you already did that and put it on your git.

I see your comment to Dara about long load times.... I'm getting that with 14.2 as well... It's the loading of all the channels into the PVR Manager that's slowing mine down. Is there a way to limit which channels load? That would be within the coding of the PVR addon I guess though...
 
With the exception of the news12, and the pac12's and BTN on sports, the dummies are international. I think if you are creating the 'english only ' guide data, just leave the dummy load out. I see a little bit of a lag in loading up on android on Kodi 14.2, but I have lots going in Kodi also. Just as an experiment, we can try to adjust the time duration of the programs, as they all have the same start and end time, but I think that has to be a manual process on the final .xml. I wonder if the PVR cares if it has programs that start far in the past?
 
I modified the script to change the dates in the dummy file so it only shows the next 2 days of data..

Can anyone see if that helps with the loading times.. i would check but the kids are watching tv :/


update. nope. that didnt help at all.. i think its just a kodi 14 thing..
 
Last edited:
Just as an experiment, we can try to adjust the time duration of the programs, as they all have the same start and end time, but I think that has to be a manual process on the final .xml. I wonder if the PVR cares if it has programs that start far in the past?

Not sure what you mean here... The EPG already does that doesn't it? I might be misunderstanding what you mean here...
 
Status
Not open for further replies.