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
jjaomni
Offline

Member

Posts: 188
Threads: 34
Joined: Apr 2006
#651
2008-01-08, 07:20 PM
ummmm run as service Wink
run in the tray?
screen shot of the program is attached
moo: os: Microsoft® Windows Vistaâ„¢ Ultimate - Service Pack 1 (6.0.6001) up: 14hrs 40mins 5secs cpu: Intel® Core™2 Quad CPU Q6600 @ 2.40GHz (x64) at 2448MHz (8% Load) gfx: NVIDIA GeForce 8800 GT 512MB res: 1680x1050 32bit 59Hz ram: 3074/8189.6MB (37.54%) [||||------] net: Generic Marvell Yukon 88E8056 based Ethernet Controller - 1000MB/s 85.32MB In 18.25MB Out
-
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#652
2008-01-08, 09:05 PM (This post was last modified: 2008-01-08, 10:27 PM by whurlston.)
jjaomni Wrote:ummmm run as service Wink
run in the tray?
After considering this, I've decided against it. It would be counter-intuitive to the GB-PVR EPG update process. By running it in the tray or as a service, there is no way to guarantee that the process will finish before the GB-PVR EPG update process begins. Since the GB-PVR recording service runs it from the EpgUpdate.bat, it in effect accomlishes the same thing.

I will however compile the MCE import and the XmlTv export classes as separate DLLs and supply example source code on how to use them since this is used by users of other software. I'll leave it to other developers to implement it as a service or tray app should it suit their needs.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#653
2008-01-08, 10:28 PM
jjaomni Wrote:screen shot of the program is attached

Strange. That is the correct version. I'll get back to you on this. If you only need one lineup, the downloader is not actually necessary though. MCE will download the guide every 24 hours or so anyway.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#654
2008-01-11, 07:25 PM
whurlston Wrote:After considering this, I've decided against it. It would be counter-intuitive to the GB-PVR EPG update process. By running it in the tray or as a service, there is no way to guarantee that the process will finish before the GB-PVR EPG update process begins. Since the GB-PVR recording service runs it from the EpgUpdate.bat, it in effect accomlishes the same thing.

I will however compile the MCE import and the XmlTv export classes as separate DLLs and supply example source code on how to use them since this is used by users of other software. I'll leave it to other developers to implement it as a service or tray app should it suit their needs.

I like that a lot...
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
#655
2008-01-11, 10:33 PM
Here is a quick beta of the new converter (not the downloader). It is compiled for Vista. I've changed the way I write the channel IDs so it is not a "drop in" replacement for the old converter and should be used in a test or new setup. There should no longer be the issue of duplicate channels. You will need to remove the channels created by the old converter. I would not recommend attempting enhancers until Frank (zehd) has a chance to adjust his program to accommodate it.

It now outputs a 100% compliant xmltv file.
Speed has been been improved by about 60%.

Sample logs show the speed difference:

Old version (1 minute 24 seconds)
Code:
1/11/2008 4:47:04 PM - Starting MceEpg2XmlTv (Vista Edition) v1.0.1.0
<snip>
1/11/2008 4:48:17 PM - Writing programs to XML
1/11/2008 4:48:28 PM - Done

New version:
Code:
1/11/2008 4:43:28 PM - Retrieving listings.
1/11/2008 4:43:31 PM - Retrieving program genres.
1/11/2008 4:43:33 PM - Retrieving program sub-genres.
1/11/2008 4:43:33 PM - Retrieving schedule entry attributes.
1/11/2008 4:43:40 PM - Retrieving program ratings.
1/11/2008 4:43:41 PM - Converting to XmlTv format.
1/11/2008 4:43:44 PM - Writing XmlTv file.
1/11/2008 4:43:56 PM - Done.
1/11/2008 4:43:56 PM - 113078 programs processed

Time to complete: 0m 27s 626ms

New version with "/quick" option (skips ratings, advisories, genres and audio/video info):
Code:
1/11/2008 5:11:36 PM - Retrieving listings.
1/11/2008 5:11:39 PM - Converting to XmlTv format.
1/11/2008 5:11:40 PM - Writing XmlTv file.
1/11/2008 5:11:47 PM - Done.
1/11/2008 5:11:47 PM - 113078 programs processed

Time to complete: 0m 10s 970ms

The only options currently available are "quick" and "output=<filename>". Output is required. I still have to add include/exclude, display-name, icon and renumber options and the GUI.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#656
2008-01-11, 10:33 PM (This post was last modified: 2008-01-12, 12:41 AM by whurlston.)
Frank, the xmltv dll is included. You will also need the IsoCodes.dll that is included. I will be working on documenting the dll this weekend but to read/write an xmltv file, just do the following:
Code:
Dim tmptv As New XmlTv.tv()
tmptv.ReadFrom("C:\yapi2xmltv\old.xml") // loads the file.

// do stuff here

tmptv.WriteTo("C:\yapi2xmltv\new.xml") // writes the new file.
There are some changes I want to make to the classes but it is for the most part complete. It is fully compliant with the xmltv.dtd revision 1.38.

One thing to note, if a show has a <previously-shown>, it is also reflected in the <date>. There is no need to additionally set the <date>.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#657
2008-01-11, 10:55 PM
whurlston Wrote:Frank, the xmltv dll is included. You will also need the IsoCodes.dll that is included. I will be working on documenting the dll this weekend but to read/write an xmltv file, just do the following:
Code:
Dim tmptv As New XmlTv.tv()
tmptv.ReadFrom("C:\yapi2xmltv\old.xml") // loads the file.

// do stuff here

tmptv.ReadFrom("C:\yapi2xmltv\new.xml") // writes the new file.
There are some changes I want to make to the classes but it is for the most part complete. It is fully compliant with the xmltv.dtd revision 1.38.

One thing to note, if a show has a <previously-shown>, it is also reflected in the <date>. There is no need to additionally set the <date>.

I've noticed that the previously-shown and date are redundant. But I have found a use for it. I can have the date sent to the title (for movies, let's say), and the previously shown displayed Prepended to the description. My goal is to have this work for more places than just NA, so I would want both fields
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]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#658
2008-01-11, 10:59 PM
whurlston Wrote:Frank, the xmltv dll is included. You will also need the IsoCodes.dll that is included. I will be working on documenting the dll this weekend but to read/write an xmltv file, just do the following:
Code:
Dim tmptv As New XmlTv.tv()
tmptv.ReadFrom("C:\yapi2xmltv\old.xml") // loads the file.

// do stuff here

tmptv.ReadFrom("C:\yapi2xmltv\new.xml") // writes the new file.
There are some changes I want to make to the classes but it is for the most part complete. It is fully compliant with the xmltv.dtd revision 1.38.

One thing to note, if a show has a <previously-shown>, it is also reflected in the <date>. There is no need to additionally set the <date>.

Is there a typo? 'ReadFrom' for both input and output file...

whurlston, I might still want to wait until you have finished documenting the dlls and the classes...

Also, is your dll only for Vista too?
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
#659
2008-01-12, 12:46 AM
I can separate the previously-shown and date fields. I should now that you mention it.

The dll only uses .Net so it should work on any OS. The reason the converter is for Vista is due to the different MCE dlls it references. Only the exe references the MCE stuff.

And it was a typo. Should have been "WriteTo". I fixed it above.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#660
2008-01-12, 05:37 AM
I stand corrected. I tested the new converter on MCE 2005 and it works.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (96): « Previous 1 … 64 65 66 67 68 … 96 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems retrieving providers using MceEpg2xmlTv kiekar 4 1,941 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