NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 53 54 55 56 57 … 100 Next »
Update EPG Not working properly with XLMTV

 
  • 0 Vote(s) - 0 Average
Update EPG Not working properly with XLMTV
Bobbybear
Offline

Member

UK
Posts: 162
Threads: 43
Joined: Nov 2011
#1
2021-10-19, 07:35 AM
Having just made the switch from v4 to v5 I find I am having a problem with Update EPG.
I have been using XMLTV GUI Grabber from birtles.org.uk to obtain the guide data as an .xml file from DigiGuide for years.
All has been well up to this point with v4 which when it called update.bat it downloaded all the Channel data.
But with v5 when Update EPG runs it calls the update batch file in scripts which in turns starts XmltvConsole.exe.
When this runs it finishes after grabbing about a third of the channel data and then writes an .xml file of about 14,000 Kb.
If I run the XmltvConsole.exe manually or run the update.bat manually it grabs all the channel data and returns an .xml file of about 58,000 Kb.
I cannot find out why this happens unless there is some kind of timeout in v5.
I have found a fudge to fix this by removing the update.bat from scripts and creating a Windows Schedule task to run XmltvConsole.exe at 07:00 and then set NPVR v5 to Update the EPG at 07:10.
This then reads the fully downloaded .xml and updates the EPG.
Does anyone have any ideas how to fix this so NPVR v5 runs the Update without the extra step of running a schedule task as well as Update.


Log file attached;


Attached Files
.zip   logs-20211019-0819.zip (Size: 285.08 KB / Downloads: 4)
Windows 11 Professional (x64), AMD Ryzen 9 9000X, ASUS TUF Gaming 850-Plus WIFI, 64GB DDR5 RAM, Samsung SSD 990 EVO Plus 1TB (OS), TBS 6281 Dual DVB-T2/T BDA Tuner, TBS 6981 DVB-S/S2 DUAL BDA Tuner.

Retired Engineer "When was there any time for work?"

mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#2
2021-10-19, 01:03 PM (This post was last modified: 2021-10-19, 01:04 PM by mvallevand.)
Your logs show an incredible amount of output from your screen which you will eventually want to redirect to > NUL

I would consider running UpdateEPG.bat > filename.txt and zipping the file and sending it here if you can't figure it out.

I do see it stopping so it is not a timeout on the batch file, but internal timeouts are under your control

Code:
08:18:54 -    Finished Combining Grabber Programs                          
08:18:54 - Writing XML                                                    
08:18:55 -    XML Written                                                  Download Speed: 0 B/s   17,871 KB Downloaded  
00:00:00 Remaining


There is also this error in you scripts from v4 days.

Code:
2021-10-19 08:19:13.584    [DEBUG][44]    Starting: C:\Users\Public\NPVR-Data\scripts\PostUpdateEPG.bat
2021-10-19 08:19:13.624    [DEBUG][150]    >
2021-10-19 08:19:13.624    [DEBUG][150]    > C:\Users\Public\NPVR-Data\scripts>XmltvExtras.exe
2021-10-19 08:19:13.656    [DEBUG][150]    > Cannot find NPVR directory, assuming 'C:\Users\Public\NPVR'
2021-10-19 08:19:13.656    [DEBUG][150]    >
2021-10-19 08:19:13.656    [DEBUG][150]    > Error connecting to database: NPVR data dir not found
2021-10-19 08:19:13.656    [DEBUG][150]    > Exiting.

There is an error that sub needs to look at and explain.

Code:
2021-10-19 08:19:00.250    [ERROR][44]    Error sticking show names


Martin
Bobbybear
Offline

Member

UK
Posts: 162
Threads: 43
Joined: Nov 2011
#3
2021-10-19, 02:14 PM
Martin thanks for looking at this.

1. Could you explain in laymans what you mean by "I would consider running UpdateEPG.bat > filename.txt and zipping the file and sending it here if you can't figure it out."
If it's the output I can zip the .xml file or if explained I can try to achieve what you need to see.
2. How are internal timeouts under my control? I don't understand really why when the batch file runs the Console it can run fully, but when v5 runs the Console from the .bat file it finishes partly complete.
3. The Error from v4 is that XmltvExtras.exe must be programmed to look for v4 Data folder, it is an old v4 plugin that appears not to work with v5 I have removed the script and plugin.

Regards
Bob
Windows 11 Professional (x64), AMD Ryzen 9 9000X, ASUS TUF Gaming 850-Plus WIFI, 64GB DDR5 RAM, Samsung SSD 990 EVO Plus 1TB (OS), TBS 6281 Dual DVB-T2/T BDA Tuner, TBS 6981 DVB-S/S2 DUAL BDA Tuner.

Retired Engineer "When was there any time for work?"

mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#4
2021-10-19, 02:20 PM
1. Instead of running the programs I want you to turn the batch file that NextPVR runs

> filename.txt

redirects the screen output to a file

Then zip filename.txt and upload that file to see if there are errors earlier then capture. There might be a config file that is read that could be the problem.

2. The batch file itself doesn't timeout so that is not a problem. We might see it.

Martin
Bobbybear
Offline

Member

UK
Posts: 162
Threads: 43
Joined: Nov 2011
#5
2021-10-19, 02:42 PM
Martin
Still not sure I quite understand what you would like to see, but I will attach the batch file and a snapshot of what the .bat calls which not on the c:/ drive with the OS and programs.

Bob


Attached Files Thumbnail(s)
   
Windows 11 Professional (x64), AMD Ryzen 9 9000X, ASUS TUF Gaming 850-Plus WIFI, 64GB DDR5 RAM, Samsung SSD 990 EVO Plus 1TB (OS), TBS 6281 Dual DVB-T2/T BDA Tuner, TBS 6981 DVB-S/S2 DUAL BDA Tuner.

Retired Engineer "When was there any time for work?"

Bobbybear
Offline

Member

UK
Posts: 162
Threads: 43
Joined: Nov 2011
#6
2021-10-19, 02:44 PM
Not sure the .bat got uploaded
Try again
Windows 11 Professional (x64), AMD Ryzen 9 9000X, ASUS TUF Gaming 850-Plus WIFI, 64GB DDR5 RAM, Samsung SSD 990 EVO Plus 1TB (OS), TBS 6281 Dual DVB-T2/T BDA Tuner, TBS 6981 DVB-S/S2 DUAL BDA Tuner.

Retired Engineer "When was there any time for work?"

mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#7
2021-10-19, 02:58 PM
You have to zip up the attachments.

I want you to run this from the command line

Code:
c:\users\public\npvr-data\scripts\updateepg.bat > filename.txt

then zip up filename.txt and post it.

Martin
Bobbybear
Offline

Member

UK
Posts: 162
Threads: 43
Joined: Nov 2011
#8
2021-10-19, 03:39 PM
OK I got that.
The .xml file is only 12904 Kb
filename.zip attached.
Bob


Attached Files
.zip   filename.zip (Size: 134.84 KB / Downloads: 6)
Windows 11 Professional (x64), AMD Ryzen 9 9000X, ASUS TUF Gaming 850-Plus WIFI, 64GB DDR5 RAM, Samsung SSD 990 EVO Plus 1TB (OS), TBS 6281 Dual DVB-T2/T BDA Tuner, TBS 6981 DVB-S/S2 DUAL BDA Tuner.

Retired Engineer "When was there any time for work?"

sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#9
2021-10-19, 03:41 PM
(2021-10-19, 01:03 PM)mvallevand Wrote: There is an error that sub needs to look at and explain.

Code:
2021-10-19 08:19:00.250 [ERROR][44] Error sticking show names


Martin
Some xmltv files only have half of the show name in the title node, then continue it in the description field, then have the real description following that. This error is from logic that attempts to clean this up.

Bobbybear, if you want to supply your xmltv file, I'll check why this is happening with your file.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#10
2021-10-19, 03:55 PM (This post was last modified: 2021-10-19, 04:04 PM by mvallevand.)
(2021-10-19, 03:39 PM)Bobbybear Wrote: OK I got that.
The .xml file is only 12904 Kb
filename.zip attached.
Bob

No errors, could you do the same with the v4 updateepg.bat

Also that small XML file confirms the batch file is the issue not NextPVR or a timeout.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Schedulesdirect will not update.. shortputt 8 408 2025-04-11, 07:39 PM
Last Post: BrettB
  EPG No Longer Working - zap2xml SamM 11 1,351 2025-02-13, 11:00 PM
Last Post: SamM
Photo NextTVPI and Titan Record Not Working N88yanks 18 650 2025-02-03, 09:21 PM
Last Post: N88yanks
  No standby after update to Version 7 Escape7 163 8,736 2025-01-04, 05:27 PM
Last Post: sub
  Automate Update Channels on Specific IPTV Device or Group of Devices taylormia 33 2,632 2024-11-15, 02:48 AM
Last Post: taylormia
  UNC Path for EPG URL not Working in Import Channels taylormia 10 970 2024-11-10, 11:42 PM
Last Post: taylormia
  TV Guide Showing Duplicate Channels After IPTV Update Channels taylormia 27 1,773 2024-11-10, 12:24 AM
Last Post: sub
  Help regarding channel name update info mellman 5 519 2024-11-03, 05:46 PM
Last Post: mvallevand
  NEW Update Brucek2839 2 447 2024-11-01, 06:28 PM
Last Post: Brucek2839
  update npvr database UNC paths artmetz 4 476 2024-10-25, 10:56 PM
Last Post: artmetz

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode