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
#531
2007-09-20, 06:02 AM
pBS Wrote:i'm having a hard time trying to get includes and excludes and renumbering working on newest version...i don't use gui, but need all 3 options to get the lineups i want...
it doesn't seem to honor any of the cmd line options...has something changed?

what is the cmdline syntax for new util versions? or do i need to specify and use config.ini?
i tried with my old syntax that worked with separate ver. of utils,but no go..
tried everything else i could think of...even used default names,[used to work also] but nada...always gives me the full 970 channels...[i only need 20]

EDIT:
it only works if i don't specify files on cmdline and use c:\epg\configs\default\include.txt
which eliminates any possibilty of using multi-configs...Sad
what are examples of cmdlines used by gui with all 3 files? [include/ex/renum]
EDIT2:
got it working by using confg=dig and putting files with default names in that dir off of current dir...
[my exe's in gbpvr\epg\ so configs in gbpvr\epg\configs\dig\ ]
so finally will see if it all works out and adjust my other lineups..

so far so good...Big Grin
of note: i used '/file=..\mcedig.xml' and it actualy output to the current dir!
[c:\program files\devnz\gbpvr\epg\output\..\mcedig.xml was final out dir onscreen, and gbpvr\epg was where file landed properly..which gives me another idea..specify config same way:'..\dig' to skip having configs dir hardcoded]
so now i have cmdline:
MceEpg2XmlTv.exe name=1 file=..\mcedig.xml config=..\dig
and in/exclude files are in [current dir]\dig\include.txt
and output is [curent dir]\mcedig.xml
now to check the cryptic name/# combos are correct...lol
cool...!

The GUI, works with multiple configs. How Martin got the tools to work in one XML is amazing, but then he's an amazing guy Cool

The way the GUI works might help you sort how to do it manually...

First off, the config.ini in the main path is only used by the GUI. The command line tools look in the path: EPG\Configs\{USERDEFINEDNAME}

for example: I would call the exporter:
MceEpg2XmlTv config=MyConfig
means I would have a folder EPG\Configs\MyConfig, and inside there would be a config.ini, and optional Include.txt, exclude.txt, renumber.txt

Also, the config.ini sample had one line remmed out that whurlston originally had unremmed... file = myfile.xml is remmed in the root folder's config.xml. As the notes say, if it's remmed, then the default xml file will be generated in the Output folder, name after the headend... (The headend was in theory set previously with the downloader utility, right?)

So what someone could do was have the command:

MceEpg2XmlTv config=MyConfig

In the MyConfig folder the Config.ini would be something like:

Code:
dir = %AppPath%\Output

file = myfile.xml

Use the sample txt files copied from the sample folder, and edit to taste...
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
#532
2007-09-20, 06:11 AM
pBS Wrote:MceEpg2XmlTv.exe name=1 file=..\mcedig.xml config=..\dig
and in/exclude files are in [current dir]\dig\include.txt
and output is [curent dir]\mcedig.xml
now to check the cryptic name/# combos are correct...lol
cool...!

I responded, while you were editing good to see it's working for you. How 'bout this line...

MceEpg2XmlTv.exe config=..\dig

If you have include/ exclude/ renumber.txt in the dig folder, and you have edited the ..\dig\config.ini to specify the name parameter, output location and filename, you will not need anything more for the command line...
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
#533
2007-09-20, 08:23 AM (This post was last modified: 2007-09-20, 08:32 AM by whurlston.)
If installed to C:\Epg
config=..\dig would mean would mean it looking for C:\Epg\dig\config.ini
config=dig would mean it's looking for C:\Epg\Configs\dig\config.ini

Default output folder is %AppPath%\Output as Frank said.
If it were remmed/missing in the config.ini, that's where it would go.

Default output file is the headend id + .xml as Frank said. FYI Frank, the ID is read from the database during the converter run.
ElihuRozen
Online

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#534
2007-09-21, 04:00 AM
Back when zap2it was available, I had my EWA configured to show the original air date for every show. I know Win MCE can display that as well. Is it possible to do that with MceEpg2XmlTv? Is it something I can configure, do I need to write the code myself, is it something that needs to be changed in the EWA, do I need to reconfigure zaptools? I noticed that most people seem to like to mod the name of the show to indicate it's new. I don't like that since it makes it seem like I have different shows - ones recorded earlier without the new marker & a slightly different title for the ones with the new marker. I noticed that the lastest EWA has changes to accomodate the new marker for users of SchedulesDirect. Am I the only one that would prefer to make the decision myself by seeing the actual original air date?

If it matters, I have MCE download the data. I'm using only MceEpg2XmlTv.exe and not MceEpgDownloader.exe or MCE2XML_GUI.exe.

Thanks for listening. Smile
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#535
2007-09-21, 04:10 AM
The original air date is in the output. If the show is a repeat, it will be in the <previously-shown> tag. If the tag doesn't exist for a program then that is the original showing. I don't know how you would configure EWA to read that or if it can be without some code rewrite.

If you know how to code (which it sounds like you do), it would be pretty simple to parse the xml file to do what you want. You could probably even just modify the EWA code to do it.

Doesn't matter about not using the downloader or the GUI. The downloader was for people who needed multiple lineups or wanted full control over the update time. The GUI was for those who didn't want to use a command line.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#536
2007-09-21, 02:11 PM
ElihuRozen Wrote:Back when zap2it was available, I had my EWA configured to show the original air date for every show. I know Win MCE can display that as well. Is it possible to do that with MceEpg2XmlTv? Is it something I can configure, do I need to write the code myself, is it something that needs to be changed in the EWA, do I need to reconfigure zaptools? I noticed that most people seem to like to mod the name of the show to indicate it's new. I don't like that since it makes it seem like I have different shows - ones recorded earlier without the new marker & a slightly different title for the ones with the new marker. I noticed that the lastest EWA has changes to accomodate the new marker for users of SchedulesDirect. Am I the only one that would prefer to make the decision myself by seeing the actual original air date?

If it matters, I have MCE download the data. I'm using only MceEpg2XmlTv.exe and not MceEpgDownloader.exe or MCE2XML_GUI.exe.

Thanks for listening. Smile

The GUI HAS the original Airdate added to the show description. It parses the xml, just as whurlston suggested.

People like to use the * because it is naturally ignored by GB-PVR.

That means that, 'Test Show' and 'Test Show *' would both be stored in a 'Test Show' folder. You would select a recurring event for only Test Show *, and only new shows would be recorded. If you wanted all shows, you set the recurring event for the title without the *...

(You probably knew that)

The downloader tool has built in support for adding the new show markers. The GUI also provides the Original Airdate enhancement.

You could still use the GUI. Have it in your UpdateEPG.bat, but be sure that "Fresh EPG Download" is unchecked. That would effectively be a simple call to the exporter ONLY but also include the addition of the Original Airdate...
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]
misterhaan
Offline

Junior Member

Posts: 3
Threads: 0
Joined: Sep 2007
#537
2007-09-21, 03:19 PM
i'm trying to get mceepg2xmltv set up and working on vista ultimate since zap2it and now yahoo have both stopped working. i'm having troubles at pretty much the first step though. when i run the gui and choose US as my country and enter my zip code, it quickly comes back saying 0 providers available. the show log button doesn't seem to think anything went wrong.

if i run MceEpgDownloader.exe list-headends from the command prompt, i get this:

9/21/2007 10:14:11 AM - Starting MceEpgDownloader (Vista Edition) v1.0.0.6
9/21/2007 10:14:11 AM - Preparing to retrieve headendlist
9/21/2007 10:14:11 AM - - Error.

ERROR STATUS: ERSTATUS_XNGENERIC
ERROR STRING:

i assume this is why i get 0 providers in the gui, but i have no idea what to do about it. i haven't actually used mce on here because i'd been using gb-pvr, so not sure if that has anything to do with it. it's also somewhat likely that i've disabled services for mce -- does this program require any of those? i tried setting the one mce service that was set to disabled to manual and then starting all of them (there are 5 or so), but i still can't get any providers to show up. i've also tried zip code 90210 just to see if maybe there somehow weren't listings for my zip code, but that didn't work either.

i know c# .net pretty well so if the source code is available i might be able to figure out my problem based on that.

thanks for any help anybody can provide me!
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#538
2007-09-21, 03:28 PM
misterhaan Wrote:i'm trying to get mceepg2xmltv set up and working on vista ultimate since zap2it and now yahoo have both stopped working. i'm having troubles at pretty much the first step though. when i run the gui and choose US as my country and enter my zip code, it quickly comes back saying 0 providers available. the show log button doesn't seem to think anything went wrong.

if i run MceEpgDownloader.exe list-headends from the command prompt, i get this:

9/21/2007 10:14:11 AM - Starting MceEpgDownloader (Vista Edition) v1.0.0.6
9/21/2007 10:14:11 AM - Preparing to retrieve headendlist
9/21/2007 10:14:11 AM - - Error.

ERROR STATUS: ERSTATUS_XNGENERIC
ERROR STRING:

i assume this is why i get 0 providers in the gui, but i have no idea what to do about it. i haven't actually used mce on here because i'd been using gb-pvr, so not sure if that has anything to do with it. it's also somewhat likely that i've disabled services for mce -- does this program require any of those? i tried setting the one mce service that was set to disabled to manual and then starting all of them (there are 5 or so), but i still can't get any providers to show up. i've also tried zip code 90210 just to see if maybe there somehow weren't listings for my zip code, but that didn't work either.

i know c# .net pretty well so if the source code is available i might be able to figure out my problem based on that.

thanks for any help anybody can provide me!

The GUI won't actually do everything for you. Apparently it has trouble in Vista setting up the Country and Zip Code. Works in MCE...

Anyway, what you need to do is setup up the Media Center in vista. That means wizards, dialogs and general Microsoft Mayhem. But when you're done you should have MCE set to download and display guide data. Once you have that working, you can then use the GUI. And you won't need to use the MC ever again...
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]
misterhaan
Offline

Junior Member

Posts: 3
Threads: 0
Joined: Sep 2007
#539
2007-09-21, 06:16 PM
zehd Wrote:The GUI won't actually do everything for you. Apparently it has trouble in Vista setting up the Country and Zip Code. Works in MCE...

Anyway, what you need to do is setup up the Media Center in vista. That means wizards, dialogs and general Microsoft Mayhem. But when you're done you should have MCE set to download and display guide data. Once you have that working, you can then use the GUI. And you won't need to use the MC ever again...

i've done all of that, and i'm now able to see my tv listings in gb-pvr! now what i'm having trouble with is cutting down the channel list (i only have basic cable, so like 9 channels i care about out of nearly 100). i did the open include.txt button in the gui and then listed the call signs one per line of the channels i want, but that hasn't seemed to make a difference. running the gui in auto mode gave me a basically empty tv guide, so i'm using MceEpg2XmlTv.exe -- i've also tried it while specifying include=, but both ways get me all channels. am i misunderstanding the include.txt file?
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#540
2007-09-21, 07:37 PM
misterhaan Wrote:i've done all of that, and i'm now able to see my tv listings in gb-pvr! now what i'm having trouble with is cutting down the channel list (i only have basic cable, so like 9 channels i care about out of nearly 100). i did the open include.txt button in the gui and then listed the call signs one per line of the channels i want, but that hasn't seemed to make a difference. running the gui in auto mode gave me a basically empty tv guide, so i'm using MceEpg2XmlTv.exe -- i've also tried it while specifying include=, but both ways get me all channels. am i misunderstanding the include.txt file?

If you're having troubles with the GUI, let's find out why... BUT you can't setup an include.txt file with the GUI and then use the exporter. The GUI calls the exporter with it's own set of paths...

You have to choose one way or the other.

If you want to use the exporter, in the epg folder, create a profile folder like: Lineup1

copy a copy of include.txt and config.ini into that folder...

Edit the config.ini to suit you. Remember that the sample from the main EPG folder was remmed for GUI use...

Now call the exporter like this...

Code:
"C:\EPG\MceEpg2XmlTv.exe" config=Lineup1

Now the exporter will get all its info from the files in the special folder.

Oh one thing that you can do with the GUI even if you're only using the command line tools, is use the fix channels and update EPG buttons. They work really well for straightening out guides
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 … 52 53 54 55 56 … 96 Next »
Jump to page 


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