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

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#681
2008-01-12, 07:55 PM
zehd Wrote:also could you put something identifying in this tag:

<tv date="2008-01-11">
I will be adding the source info. I just didn't bother for this test build. Final version will have it though.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#682
2008-01-12, 07:58 PM (This post was last modified: 2008-01-12, 08:16 PM by zehd.)
whurlston Wrote:I will be adding the source info. I just didn't bother for this test build. Final version will have it though.

When I ran the --quick feature, Parser moaned about the order for the credits.

I guess I didn't see it when I was checking the other file...

<!ELEMENT director (#PCDATA)>
<!ELEMENT actor (#PCDATA)>
<!ELEMENT writer (#PCDATA)>
<!ELEMENT adapter (#PCDATA)>
<!ELEMENT producer (#PCDATA)>
<!ELEMENT presenter (#PCDATA)>
<!ELEMENT commentator (#PCDATA)>
<!ELEMENT guest (#PCDATA)>

<programme start="20080114040000 +0000" stop="20080114050000 +0000" channel="28457212.KXLY.5">
<title lang="en">Extreme Makeover: Home Edition</title>
<sub-title lang="en">Brown Family</sub-title>
<desc lang="en">A Connecticut family's luck takes a turn for the better when, after a flood, a fire and a robbery, the makeover team rebuilds their home; Cheryl Burke from ``Dancing With the Stars'' gives the family a dancing lesson.</desc>
<credits>
<presenter>Ty Pennington</presenter>
<actor>Paul DiMeo</actor>
<actor>Paige Hemmis</actor>
<actor>Michael Moloney</actor>
<actor>Ed Sanders</actor>
<actor>Preston Sharp</actor>
<actor>Eduardo Xol</actor>
<actor>Tanya McQueen</actor>
<actor>John Littlefield</actor>
<actor>Tracy Hutson</actor>
</credits>
<date>20071014</date>
<episode-num system="mce_progid">EP006334870139</episode-num>
<episode-num system="xmltv_ns">.139.0/1</episode-num>
<previously-shown start="20071014000000" />
</programme>

Presenter is ahead of actor...
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
#683
2008-01-12, 09:49 PM
Thanks. Video and Credits are fixed in my code for the next build.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#684
2008-01-25, 10:20 PM (This post was last modified: 2008-01-31, 02:40 AM by whurlston.)
This is the release candidate for version 2. It is pretty much complete except I want to add more logging for the GUI. I'll have some more in-depth instructions up for the final but for now here is a quick usage overview:

It will automatically run the GUI by default. When started, it will ask for a config file to load. Select a file or press "Cancel" to load a default config. On first run, just hit "Cancel". If a file is not selected, it will attempt to load "[headend].config.xml" where [headend] is the currently configured headend in MCE. If that fails, it will create a default configuration with all channels enabled.

When exiting, you MUST click the "OK" button to save your configuration.

You can enable/disable channels and assign channel icons in the "Channels" tab. I've also included the ability to import ChannelIcons.txt from the old version. You can select a local file or enter a url directly.

In the "Display Names" tab, you can customize your <display-name> tags. The buttons will preload the "{{CallSign}}" etc values. GB-PVR uses the first <display-name> tag as the channel name shown and the second as the RF number for the channel (if it's a number).

"Convert Now" will run the conversion with the current configuration. Your configuration is NOT saved at this point. You will still need to exit using the "OK" button if you want to save it.

Command line options (you can use "/", "-", "--" or nothing before them):

config=[filename] will load the specified config. Failure to load will result in the same behaviour as pressing "Cancel" when asked for a config file to load.
auto will enable console mode where the app will convert the epg then exit.

When in "auto" mode, additional command line options are available:

quick is the equivalent of unchecking "Get extra info" in the GUI. This will override the setting in the config file that is loaded but will not overwrite the config file.
output will override the output file setting in the config file that is loaded but will not overwrite the config file.
log=[filename] will write the log to the specified file. By default, the logfile is console.txt. The GUI log is always gui.log.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#685
2008-01-26, 02:56 AM
Very slick....

But

Code:
************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'ehepg, Version=6.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'ehepg, Version=6.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   at MceEpg2XmlTv.Conversion.GetAttributes(String sqlQry)
   at MceEpg2XmlTv.Conversion.Convert(BackgroundWorker bw, DoWorkEventArgs e)
   at MceEpg2XmlTv.Form1.Conversion_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

I know why. That's because it's MCE2005 and running outside of the ehome directory, eh?

Sooooo Homey do do dropdowns... Very cool
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
#686
2008-01-26, 03:01 AM
I think if I have selected a config file, then the next time I open the GUI I shouldn't be asked. Once in, I can select a new one...

Just a thought
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
#687
2008-01-26, 03:45 AM
zehd Wrote:Very slick....

But
I know why. That's because it's MCE2005 and running outside of the ehome directory, eh?
No this is becase it's looking for the vista version of the dll. You can apply the config file from this post: http://forums.gbpvr.com/showpost.php?p=2...tcount=666

The file will have to be named "MceEpg2XmlTv.exe.config"

zehd Wrote:Sooooo Homey do do dropdowns... Very cool
Um, yeah. I guess you never used my HDHomeRun QAM Mapper. :p

zehd Wrote:I think if I have selected a config file, then the next time I open the GUI I shouldn't be asked. Once in, I can select a new one...
I considered that but I decided it was more coding than I wanted to do at this point. Since I'll be releasing the source on this, I'll probably leave it up to someone else to implement.

BTW: The output file should be completely compatible with your enhancer now.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#688
2008-01-26, 04:34 AM
whurlston Wrote:No this is becase it's looking for the vista version of the dll. You can apply the config file from this post: http://forums.gbpvr.com/showpost.php?p=2...tcount=666

The file will have to be named "MceEpg2XmlTv.exe.config"


Um, yeah. I guess you never used my HDHomeRun QAM Mapper. :p

I considered that but I decided it was more coding than I wanted to do at this point. Since I'll be releasing the source on this, I'll probably leave it up to someone else to implement.

BTW: The output file should be completely compatible with your enhancer now.

Still can't get it to output... Had to copy an sql file for one error, then it stops here...

Code:
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80004005): Unspecified error
   at Microsoft.Ehome.Epg.Database.IDBInitialize.Initialize()
   at Microsoft.Ehome.Epg.Database.SqlLiteConnection.Open()
   at MceEpg2XmlTv.Conversion.GetAttributes(String sqlQry)
   at MceEpg2XmlTv.Conversion.Convert(BackgroundWorker bw, DoWorkEventArgs e)
   at MceEpg2XmlTv.Form1.Conversion_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MceEpg2XmlTv
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/EPG/Grabbers/MceEpg2XmlTv%202.0%20RC1/MceEpg2XmlTv.exe
----------------------------------------
Mce
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/EPG/Grabbers/MceEpg2XmlTv%202.0%20RC1/Mce.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
IsoCodes
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/EPG/Grabbers/MceEpg2XmlTv%202.0%20RC1/IsoCodes.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
ahuqg3xr
    Assembly Version: 1.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
olvsgwqv
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
XmlTv
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/EPG/Grabbers/MceEpg2XmlTv%202.0%20RC1/XmlTv.DLL
----------------------------------------
ehepg
    Assembly Version: 6.0.3000.0
    Win32 Version: 5.1.2715.2773 (xpsp(wmbla).051011-0745)
    CodeBase: file:///C:/WINDOWS/assembly/GAC/ehepg/6.0.3000.0__31bf3856ad364e35/ehepg.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
ehiProxy
    Assembly Version: 6.0.3000.0
    Win32 Version: 5.1.2710.2732 (xpsp(wmbla).050805-1239)
    CodeBase: file:///C:/WINDOWS/assembly/GAC/ehiProxy/6.0.3000.0__31bf3856ad364e35/ehiProxy.dll
----------------------------------------
EhCM
    Assembly Version: 6.0.3000.0
    Win32 Version: 5.1.2715.2783 (xpsp(wmbla).051026-1342)
    CodeBase: file:///C:/WINDOWS/assembly/GAC/EhCM/6.0.3000.0__31bf3856ad364e35/EhCM.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
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
#689
2008-01-26, 04:37 AM
OK. It runs from inside the ehome directory. But I really hate adding files to system directories. Could you at least add refs to the ehome path and then we won't have to locate the grabber there?
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
#690
2008-01-26, 05:05 AM
A couple of things about the output file.

Schedules Direct and Yapi have info on writers, producers presenters,(I don't process Producers or Presenters yet as I haven't been asked to add it). Are there any other cast tags that are in the MCE data?

The DTD indicates a very rigid use for the New Tag. How are you using it? To indicate new shows? (Answered my own question... You are!) Well that's great. I will add that logic into the Enhancer...

Can you change the opening tag to be slightly different than what you had for your other incarnation of mce2xml ?

<tv source-info-name="MS Media Center EPG" generator-info-name="MceEpg2XmlTv (2005 Edition) v1.0.1.1">

Currently I'm keying on just the word MceEpg2XmlTv

I could key on the whole phrase, including version numbers, but the phrase is slightly different between mce and vista... isn't it?


PS. Wow is the converter fast or what?
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]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (96): « Previous 1 … 67 68 69 70 71 … 96 Next »
Jump to page 


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