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
#191
2007-08-03, 04:02 AM
whurlston Wrote:That's the easiest and cleanest solution. Another alternative is actually run it from the ehome directory:

cd c:\windows\ehome
c:\epg\downloader.exe headend
c:\epg\converter.exe dir=c:\epg

Yeah, as I said , I want it so we don't have to copy ANY files into the ehome directory on install. (If I have to copy some out, that's OK)
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]
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,191
Threads: 958
Joined: May 2006
#192
2007-08-03, 04:05 AM
zehd Wrote:Yeah, as I said , I want it so we don't have to copy ANY files into the ehome directory on install. (If I have to copy some out, that's OK)

I think you're going to end up in dll hell if you start copying files out.

Maritn
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#193
2007-08-03, 07:09 AM
zehd Wrote:I think you're using Vista. If I understand it, the Vista exporter is portable. That is can be launched anywhere and it will still find whatever it needs like the data...

I think the MCE exporter still needs to be in the ehome directory, in spite of those few files that should be copied
The reason the Vista exporter is portable is because Vista has "%System%\eHome;" in the path. Add it to your environment variables in "My Computer" properties and it will work.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#194
2007-08-03, 03:13 PM
mvallevand Wrote:I think you're going to end up in dll hell if you start copying files out.

Maritn

From Post 1

Quote:Mce05Epg2XmlTv
Place the exe in the directory of your choice. If it is not placed in your \Windows\ehome directory, copy the following dlls from \Windows\ehome to the same directory as the application:

* custsat.dll
* ehepgdec.dll
* sql*.dll (there are three of them)

This does not work as advertised... Big Grin
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
#195
2007-08-03, 03:38 PM
whurlston Wrote:The reason the Vista exporter is portable is because Vista has "%System%\eHome;" in the path. Add it to your environment variables in "My Computer" properties and it will work.

I don't think so. I added that to the path, and confirmed it.

When the exporter is launched outside of the ehome directory I get this...

Code:
Unhandled Exception: System.IO.IOException: The handle is invalid.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.Console.SetCursorPosition(Int32 left, Int32 top)
   at MceEpg2XmlTv.Program.getChannels()
   at MceEpg2XmlTv.Program.Main(String[] args)

And this

Code:
Mce05Epg2XmlTv
-----------------------------
Current database:
  C:\Documents and Settings\All Users.WINDOWS\Application Data\Microsoft\eHome\E
PG\00a5a51016f64a7db4d25dc8dae0bc80.sdf
Current XML file:
  C:\Documents and Settings\All Users.WINDOWS\Application Data\Microsoft\eHome\E
PG\00a5a51016f64a7db4d25dc8dae0bc80.xml
Current Headend:
  0008100-

03/08/2007 9:26:02 AM - Initializing database.
03/08/2007 9:26:02 AM -- -- Initialization successful.
03/08/2007 9:26:02 AM -- -- Opening database.
03/08/2007 9:26:03 AM -- -- Opened successfully.
03/08/2007 9:26:03 AM -- -- Searching database for current headend.
03/08/2007 9:26:03 AM -- -- Headend found.
03/08/2007 9:26:03 AM -- -- Initialization complete.
03/08/2007 9:26:03 AM - Retrieving program list.
03/08/2007 9:26:03 AM -- -- Opening XML file.
03/08/2007 9:26:03 AM -- -- Openened successfully.
03/08/2007 9:26:03 AM -- -- Decrypting XML file.
03/08/2007 9:26:03 AM -- -- Decrypted successfully.
03/08/2007 9:26:03 AM -- -- Reading XML file.
03/08/2007 9:26:03 AM -- -- Read successfully.
03/08/2007 9:26:03 AM -- -- Closing XML File.
03/08/2007 9:26:03 AM -- -- Closed successfully.
03/08/2007 9:26:03 AM -- 11174 programs found
03/08/2007 9:26:03 AM -- -- Retrieval complete.
03/08/2007 9:26:03 AM - Retrieving attributes list
03/08/2007 9:26:03 AM - Retrieving channels list
03/08/2007 9:26:03 AM -- [B]0 channels found[/B]
03/08/2007 9:26:03 AM - Mapping program schedules to channels
03/08/2007 9:26:03 AM - Retrieving episode numbers
03/08/2007 9:26:03 AM - Retrieving ratings list
03/08/2007 9:26:03 AM - Retrieving program ratings
03/08/2007 9:26:04 AM - Retrieving program attributes
03/08/2007 9:26:05 AM - Retrieving genres list
03/08/2007 9:26:05 AM - Retrieving program genres
03/08/2007 9:26:05 AM - Creating XMLTv output file:
                        C:\EPG\0008100-.xml
03/08/2007 9:26:05 AM - Writing channels to XML
03/08/2007 9:26:05 AM - Writing programs to XML
03/08/2007 9:26:05 AM - Done

But when the exporter in in the ehome directory I get this
Mce05Epg2XmlTv
-----------------------------
Current database:
C:\Documents and Settings\All Users.WINDOWS\Application Data\Microsoft\eHome\E
PG\00a5a51016f64a7db4d25dc8dae0bc80.sdf
Current XML file:
C:\Documents and Settings\All Users.WINDOWS\Application Data\Microsoft\eHome\E
PG\00a5a51016f64a7db4d25dc8dae0bc80.xml
Current Headend:
0008100-

Code:
03/08/2007 9:30:33 AM - Initializing database.
03/08/2007 9:30:33 AM -- -- Initialization successful.
03/08/2007 9:30:33 AM -- -- Opening database.
03/08/2007 9:30:33 AM -- -- Opened successfully.
03/08/2007 9:30:33 AM -- -- Searching database for current headend.
03/08/2007 9:30:33 AM -- -- Headend found.
03/08/2007 9:30:33 AM -- -- Initialization complete.
03/08/2007 9:30:33 AM - Retrieving program list.
03/08/2007 9:30:33 AM -- -- Opening XML file.
03/08/2007 9:30:33 AM -- -- Openened successfully.
03/08/2007 9:30:33 AM -- -- Decrypting XML file.
03/08/2007 9:30:33 AM -- -- Decrypted successfully.
03/08/2007 9:30:33 AM -- -- Reading XML file.
03/08/2007 9:30:33 AM -- -- Read successfully.
03/08/2007 9:30:33 AM -- -- Closing XML File.
03/08/2007 9:30:33 AM -- -- Closed successfully.
03/08/2007 9:30:33 AM -- 11174 programs found
03/08/2007 9:30:33 AM -- -- Retrieval complete.
03/08/2007 9:30:33 AM - Retrieving attributes list
03/08/2007 9:30:33 AM - Retrieving channels list
03/08/2007 9:30:33 AM -- [B]62 channels found[/B]
03/08/2007 9:30:33 AM - Mapping program schedules to channels
03/08/2007 9:31:29 AM - Retrieving episode numbers
03/08/2007 9:31:29 AM - Retrieving ratings list
03/08/2007 9:31:29 AM - Retrieving program ratings
03/08/2007 9:31:30 AM - Retrieving program attributes
03/08/2007 9:31:30 AM - Retrieving genres list
03/08/2007 9:31:30 AM - Retrieving program genres
03/08/2007 9:31:31 AM - Creating XMLTv output file:
                        C:\EPG\0008100-.xml
03/08/2007 9:31:31 AM - Writing channels to XML
03/08/2007 9:31:31 AM - Writing programs to XML
03/08/2007 9:31:33 AM - Done

As I start the GUI and install wizard, I guess it will have to check for the existence of the exporter in the ehome directory and then reference it with full paths

I just wonder if I'm going to have the same trap with the Vista counterpart.
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
#196
2007-08-03, 04:16 PM
zehd Wrote:I don't think so. I added that to the path, and confirmed it.

When the exporter is launched outside of the ehome directory I get this...

Code:
Unhandled Exception: System.IO.IOException: The handle is invalid.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.Console.SetCursorPosition(Int32 left, Int32 top)
   at MceEpg2XmlTv.Program.getChannels()
   at MceEpg2XmlTv.Program.Main(String[] args)
Does this happen if you send the output to the console instead of a log file?
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#197
2007-08-03, 06:44 PM
whurlston Wrote:Does this happen if you send the output to the console instead of a log file?

If I Download without > log, I get a good download and the exporter doesn't error. But no log file

With Download > log there doesn't seem to be the final "Guide Updated!" log entry...
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
#198
2007-08-03, 06:52 PM
the Exporter also misbehaves when send output to logfile...

same error as post 195
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]
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,191
Threads: 958
Joined: May 2006
#199
2007-08-03, 10:12 PM
zehd, did you try this using ChDir("c:\windows\ehome") as whurlston suggested. ChDisk() might also be necessary.

Martin
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#200
2007-08-03, 10:28 PM
mvallevand Wrote:zehd, did you try this using ChDir("c:\windows\ehome") as whurlston suggested. ChDisk() might also be necessary.

Martin

I'm sorry I haven't kept you folks in the loop. I have tried the paths as suggested and nothing worked. I wanted all downloadables to stay OUT of the ehome directory, but it seems that rather than spend a bunch more posts on it, I wrote round about code . The GUI will copy the exporter into the ehome directory, and reference it from outside.

But my last couple of issues is that when the output of either console is directed to a log file, the utils won't complete.

With the downloader, it doesn't get to "Guide Updated!" but looks like it finishes. But the Exporter then won't grab all the listings and thinks there are 0 channels to export.

And if I send the exporter to a log file. then it errors with the dialogs boxes shown earlier
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 … 18 19 20 21 22 … 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