NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 36 37 38 39 40 … 93 Next »
I-xmltv updated for YahooXMLTv (adds a new show marker and more)

 
  • 0 Vote(s) - 0 Average
I-xmltv updated for YahooXMLTv (adds a new show marker and more)
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#21
2007-07-18, 03:15 AM
Jim,
I have no idea what the problem is, but the UpdateEPG.bat file created by I-XMLTV is what is causing the YahooXMLTV.exe to continue running, even after the update has completed. It doesn't make much sense to me.

I am able to run YahooXMLTv.exe in the UpdateEPG.bat by itself. But once I follow your instructions and change the UpdateEPG.bat to work with the I-XMLTV, that is when the process hangs.

I put some echo statements before each line, and the last one I see is before this line of code:
Code:
IF %nodownload% == 0 YahooXMLTv.exe days=%days% name=1 offset=+0000 dir=%YahooXMLTv_DIR% >>YahooXMLTv.log
I added the name=1 because the YahooXMLTv seems to have changed the default channel naming scheme, and I wanted the "39 ESPN" channel name format.

Here is the YahooXMLTv.log file created. You can see the EPG download is being completed successfully:
Quote:---
07/17/2007 22:59:41 -- Starting Update.
07/17/2007 22:59:41 -- Processing Lineups.
07/17/2007 22:59:41 -- Lineup 1 of 1: MetroCast Communications of Connecticut (Hartford & New Haven)
07/17/2007 22:59:41 -- Downloading new listings. Attempt 1 of 3.
07/17/2007 23:00:41 -- Download successful. Processing new listings.
07/17/2007 23:00:41 -- Found 58 channels.
07/17/2007 23:00:41 -- Channels processed.
07/17/2007 23:00:41 -- Found 12196 programs for 7 days.
07/17/2007 23:02:40 -- Programs processed.
07/17/2007 23:02:40 -- Saving Xml.
07/17/2007 23:02:40 -- Completed.
07/17/2007 23:02:40 -- Update complete.

I already turned off the indexing like you mentioned in a previous post.

Any ideas?
Author of Weather (NPVR) & Weather2 (GBPVR)
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#22
2007-07-18, 05:37 AM (This post was last modified: 2007-07-18, 06:04 AM by Jim_.)
scb147,
You can never say never but I believe you're looking in the wrong place.
I ran across the not shutting down problem long before I modified I-xmltv to work with it. Disabling xml indexing did the trick for my system but it may not work with yours.
Keep in mind that a batch file can start a program, but it cant keep it from shutting down, and it (the same batch file) has been working fine for days now on my system.

Try this.
Create you own UpdateEPG.bat file that does nothing but call YahooXMLTv.
After a few automatic updates, when you are confident that it works properly, simply add the I-xmltv commands to the bottom of your batch. Be sure to use your folder locations and epg file name.

Code:
CD /d “the drive/path/folder you have I-xmltv and your downloaded listings.xml in”

Copy “Your downloaded listings.xml” Temp-EPG.xml

echo %Date% %Time% >>I-xmltv.log
I-xmltv Temp-EPG.xml /md/() /mr/{} /dd/() /df/Y-M-D /gd/1 /ni/* /tn/-10
move I-xmltv.XML YahooXMLTv.xml
I-xmltv /CC
MOVE I-xmltv.XML FIND.xml
del Temp-EPG.xml
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#23
2007-07-18, 05:45 AM
whurlston Wrote:Done. But note that the display-name options are now different. The default is the callsign only. Also set the default offset to +0000 instead of UTC.

Thanks!
I'll update I-xmltv to reflect the change as soon as I have a chance.

Jim
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#24
2007-07-18, 02:31 PM (This post was last modified: 2007-07-18, 02:38 PM by scb147.)
Jim_ Wrote:scb147,
You can never say never but I believe you're looking in the wrong place.
I ran across the not shutting down problem long before I modified I-xmltv to work with it. Disabling xml indexing did the trick for my system but it may not work with yours.
Keep in mind that a batch file can start a program, but it cant keep it from shutting down, and it (the same batch file) has been working fine for days now on my system.

Try this.
Create you own UpdateEPG.bat file that does nothing but call YahooXMLTv.
After a few automatic updates, when you are confident that it works properly, simply add the I-xmltv commands to the bottom of your batch. Be sure to use your folder locations and epg file name.

Code:
CD /d “the drive/path/folder you have I-xmltv and your downloaded listings.xml in”

Copy “Your downloaded listings.xml” Temp-EPG.xml

echo %Date% %Time% >>I-xmltv.log
I-xmltv Temp-EPG.xml /md/() /mr/{} /dd/() /df/Y-M-D /gd/1 /ni/* /tn/-10
move I-xmltv.XML YahooXMLTv.xml
I-xmltv /CC
MOVE I-xmltv.XML FIND.xml
del Temp-EPG.xml
Jim,
Thanks for your response. I was baffled on why the batch file would cause the YahooXMLTv to hang, it doesn't make sense. But that seemed to be the hang, even if it didn't make sense Smile

I did what you mentioned last night before your response. I wanted to make sure the YahooXMLTv.exe worked in the UpdateEPG.bat before I added the I-XMLTV stuff. It's only been one night, but it worked properly last night. I'll give it a couple more days to make sure it doesn't hang.

I only have the following line in my UpdateEPG.bat:
Code:
YahooXMLTv.exe days=7 name=1 nosort

I'm also going to completely disable the indexing service on my HTPC. I have no use for it on that machine. So we'll see what happens.
Author of Weather (NPVR) & Weather2 (GBPVR)
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#25
2007-07-18, 05:04 PM
scb147 Wrote:I only have the following line in my UpdateEPG.bat:
Code:
YahooXMLTv.exe days=7 name=1 nosort

If that’s the only line in your UpdateEPG.bat?

Your either running YahooXMLTv.exe in the GBPVR folder, or its not being called at all in "GBPVR\YahooXMLTv" and GBPVR is re-using the old data.
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#26
2007-07-18, 05:11 PM
Jim_ Wrote:If that’s the only line in your UpdateEPG.bat?

Your either running YahooXMLTv.exe in the GBPVR folder, or its not being called at all in "GBPVR\YahooXMLTv" and GBPVR is re-using the old data.

Oops, my bad... I also change folders to the YahooXMLTv folder :o

I'm not at home, but from memory it's something like:
Code:
set %YAHOOXMLTVDIR%="C:\Program Files\devnz\GBPVR\YahooXMLTv"
cd %YAHOOXMLTVDIR%

YahooXMLTv.exe days=7 name=1 nosort
Author of Weather (NPVR) & Weather2 (GBPVR)
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#27
2007-07-18, 05:58 PM
That sounds better. Big Grin
Just checking
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#28
2007-07-19, 02:23 PM
2 days without problem Big Grin

And I checked, the Indexing Service hasn't even been running anyways. But I disabled it so it wouldn't start up either.
Author of Weather (NPVR) & Weather2 (GBPVR)
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#29
2007-07-21, 04:39 PM
Jim,
After a couple days of the YahooXMLTv.exe app not running continuously, I redid the I-XMLTV and it works! I'll monitor it for the next couple days, but it worked this morning! I have no idea what the problem was.

I'm actually using the UpdateEPG.bat that your batch file creates... go figure!
Author of Weather (NPVR) & Weather2 (GBPVR)
mulletback
Offline

Member

USA
Posts: 237
Threads: 10
Joined: Feb 2006
#30
2007-07-24, 03:03 PM
Jim_ Wrote:I-xmltv
...
Changes "Title, The" to "The Title"
Changes "Title, A" to "A Title"
Changes "Title, An" to "An Title" Added in build (build 7/13/07)
...

How about a switch to turn off this behavior? Some of us like "Title, The", and there's too many imbedded instances of "Title, The" to change...yeah, I know, you can't please everyone...Big Grin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): « Previous 1 2 3 4 5 … 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 3,427 2018-10-23, 07:24 AM
Last Post: almightyj
  XMLTV Channel Number Option gdogg371 12 6,734 2018-07-18, 04:32 PM
Last Post: sub
  Artwork by show name psycik 4 4,545 2017-07-12, 03:47 AM
Last Post: psycik
  Show artwork method psycik 31 11,736 2015-07-14, 07:06 AM
Last Post: aloxinh
  Media\Show Directory mvallevand 12 6,033 2014-07-02, 10:58 AM
Last Post: sub
  Merge xmltv data with xslt Graham 4 3,451 2014-01-02, 12:45 PM
Last Post: Graham
  sabnzbd plugin to show processed files Wakalaka 1 1,950 2013-03-12, 06:48 AM
Last Post: psycik
  XMLTV data mvallevand 6 2,619 2011-04-16, 03:08 AM
Last Post: sub
  Free XMLTV EPG scraper dneprrider 214 99,739 2010-03-29, 04:54 AM
Last Post: dljones8053
  XmlTv Structure psycik 2 2,210 2008-12-29, 10:53 PM
Last Post: psycik

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

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

Linear Mode
Threaded Mode