NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 26 27 28 29 30 … 93 Next »
MceEpg2XmlTv

 
  • 0 Vote(s) - 0 Average
MceEpg2XmlTv
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#161
2007-08-01, 11:47 PM
Here's the UpdateEPG.bat I use. It's in the gbpvr folder. It's designed for MCE but a couple of changes would make it work with the Vista Utilities.

It includes logging to know when and whether certain functions worked...

NOTE! Be sure to use your own 'Headend'

EDIT: It also uses Jim_'s I-XMLTV listings enhancer. That's totally optional. Remove the entire I-XMLTV section from the batchfile...

Code:
@echo off

cls

echo.
echo Windows MCE Programme Listings Conversion
echo =========================================
echo.

cd c:\windows\ehome

echo.  >> UpdateEPG.Log
echo %date% %time% Starting MCE EPG Update and Conversion...  >> UpdateEPG.Log


echo **********Mce05EpgDownloader******************
echo.

echo %date% %time% Manualy downloading MCE Data with whurlston's utility...  >> UpdateEPG.Log
echo Manualy downloading MCE Data with whurlston's utility...
echo.

Mce05EpgDownloader.exe 0008100-

echo.
echo %date% %time% Refreshing the MCE database...  >> UpdateEPG.Log
echo Refreshing the MCE database...
echo.

net start "Media Center Scheduler Service"
net stop "Media Center Scheduler Service"


echo **********Mce05Epg2XmlTv**********************
echo.


echo %date% %time% Converting MCE data to XML with whurlston's utility...  >> UpdateEPG.Log
echo Converting MCE data to XML with whurlston's utility...
echo.

Mce05Epg2XmlTv.exe name=1

echo.


echo **********I-XMLTV******************************
echo.

echo %date% %time% Adding extra I-XMLTV data with Jim_'s utility...  >> UpdateEPG.Log
echo Adding extra I-XMLTV data with Jim_'s utility...

echo . >>I-xmltv.log
echo %Date% %Time% >>I-xmltv.log

SET MVSwitches=/md/() /mr/[] /m#/[]
SET TVSwitches=/sx /oe /se/ - /dd/() /df/Y-M-D /gd/1 /ni/* /tn/-6

REM Hawaii /tn/-10, Alaska /tn/-9, Pacific /tn/-8, Mountain /tn/-7, Central /tn/-6, Eastern /tn/-5
REM subtracting 2-hours (Central /tn/-8) will mark shows as "new" until 2AM the following day.

REM NOTE! The examples for Timezones are off by an hour.  Possibily because of Daylight Savings Time

REM Copy {Outputfile from Mce05Epg2XmlTv}.xml to Temp-EPG.xml

Copy 0008100-.xml Temp-EPG.xml
I-xmltv Temp-EPG.xml %MVSwitches% %TVSwitches%
move I-xmltv.XML MCEXMLTv.xml

rem MCEXMLTV.xml is the final output file name that should be referenced in GB-PVR's Config...

I-xmltv /CC
MOVE I-xmltv.XML FIND.xml
del Temp-EPG.xml

echo %date% %time% Finished MCE EPG Update and Conversion  >> UpdateEPG.Log

Rem End of File.  GB-PVR will now update its EPG with the newly converted and enhanced EPG data

Download the attached file to your GB-PVR folder and rename it to have a .bat file extension.
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#162
2007-08-02, 12:37 AM
pBS Wrote:it's still deleting the .xml file, and the downloaded .sdf is only 1 meg instead of much larger...
oh and it never completes, just sits there with nothing happnin, no cpu no hd accesses..
still same syntax right? i use Mce05EpgDownloader.exe DISH618-

Syntax is the same. The xml file gets deleted by the Media Center dlls when the guide gets reset. The filesize on your SDF file suggests that it is not performig the download. Run "Mce05EpgDownloader.exe DISH618- > log.txt" and post the log.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#163
2007-08-02, 12:44 AM
Starting on the wiki page

http://gbpvr.com/pmwiki/pmwiki.php/Utili...taEpgXmlTv
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#164
2007-08-02, 02:27 AM (This post was last modified: 2007-08-02, 02:32 AM by pBS.)
Quote:Headend State: Connecting.
Connection State: Checking connection.
Connection State: Connected.
Connection State: Unknown.
Headend State: Downloading.
Headend State: Complete.
at this point it hangs and doesn't do anything..the old one would download and continue but had same results..the MCE d/l runs no problem..

this from event viewer:
Quote:Event Info: Must initialize guide before first use.
Process: Mce05EpgDownloader.exe
Object Name: Media Center Guide
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#165
2007-08-02, 03:14 AM
Try running through the Media Center setup again. Then run the downloader and see if it does the same thing.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,191
Threads: 958
Joined: May 2006
#166
2007-08-02, 04:20 AM
I'm working on my setting my system up and I want to create two source xml files one for analog and one for digital. There are 600 channels in my guide most I don't have access too.

1. For analog 1 would like to include 2-69. Does the include file logic use any kind of regular expression type pattern matching? [0-6]? would be nice.

2. For digital I only get three Clear QAM channels. If I enter these in the include file will they be the only files exported?

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#167
2007-08-02, 04:33 AM
mvallevand Wrote:1. For analog 1 would like to include 2-69. Does the include file logic use any kind of regular expression type pattern matching? [0-6]? would be nice.
Sorry, no regular expressions. It simply reads each line into an array then does a straight integer (channel number) and/or string (callsign) comparison.

mvallevand Wrote:2. For digital I only get three Clear QAM channels. If I enter these in the include file will they be the only files exported?
Yes. You can then whittle these with an exclude file if you need to. For example, if your include file lists "WHAS" and you get 11 WHAS and 903 WHAS, putting "906" in your exclude file will cause only channel 11 to be exported. Most people won't need this, but some people have problem channels where this comes in handy.

Since you are doing multiple lineups, you will have to specify the include/exclude file. You can use the default for one lineup but if you don't specify them for the rest they will use the same file.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,191
Threads: 958
Joined: May 2006
#168
2007-08-02, 05:31 AM
whurlston Wrote:Zehd, it looks like you have two channel 15s. One with the callsign VOICE and one with the callsign CBNEW. Create an exclude.txt file in the ehome directory and put one of those callsigns in it (which ever you don't want to use) and then run the program again. The data should import into GB-PVR then.

I have this same issue on a digital channel but I want to keep them since Voice Print is a second AC3 stream on the same channel. Is this possible? I'm going to assume many Canadian cable provider's are going to have these two mixed.

I also ran my first import with mixed success, I didn't add an offset so it starts at channel 1 which doesn't exist. The sort order in GBPVR was really odd too but these to have to wait until tomorrow.

Thanks for a saving our EPG.

Martin.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#169
2007-08-02, 06:44 AM (This post was last modified: 2007-08-02, 07:03 AM by whurlston.)
mvallevand Wrote:I have this same issue on a digital channel but I want to keep them since Voice Print is a second AC3 stream on the same channel. Is this possible? I'm going to assume many Canadian cable provider's are going to have these two mixed.
I'll add a function that will renumber a channel if the channel number already exists. I have some changes to make to the Y! app first though.

mvallevand Wrote:I also ran my first import with mixed success, I didn't add an offset so it starts at channel 1 which doesn't exist. The sort order in GBPVR was really odd too but these to have to wait until tomorrow.
offset will not affect channel numbers, only the timezone. GB-PVR should be adding the channels in the order they are output since I'm using channel numbers for the ID. I add the channel number according to the channel number. Unfortunately, I'm programming blind as far as Canadian lineups are concerned. MCE will not allow me to download a Canadian lineup. If someone could zip and upload their Application Data\Microsoft\ehome\EPG directory with a configured database and xml file in it, it would be very helpful. It will be big so you will need to have someplace to which to upload it.

mvallevand Wrote:Thanks for a saving our EPG.

Martin.
You're welcome. I'm soon going to have to place a donate button somewhere to appease the wife. Just warning you. Wink
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#170
2007-08-02, 07:28 AM
well it works fine on machine with card in it, but not on my other machine without one..Sad
[tho the MCE d/ler does fine with it]
will have to see if i can't find what's missing..as i didn't import all the reg entries, just the ones i thought relevant..[hey,they were fine for MCE]

it maybe the 'prefs' stuff...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (96): « Previous 1 … 15 16 17 18 19 … 96 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems retrieving providers using MceEpg2xmlTv kiekar 4 1,926 2007-10-13, 04:08 PM
Last Post: kiekar

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

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

Linear Mode
Threaded Mode