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
#311
2007-08-07, 08:46 PM
zehd Wrote:Here's the output of that debug you PMd me about...
Thanks. Interesting, there are no Canadian TV ratings in the MCE data.
zehd Wrote:Also the prg will still not run from outside the ehome directory
That will be solved by the installer. I'll be talking to you later on how to insert the GUI into the installer.
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#312
2007-08-07, 08:58 PM (This post was last modified: 2007-08-08, 03:15 AM by Jim_.)
whurlston Wrote:Hmm.. What fields are different between the Y! and the MCE grabbers? Or do you mean the order of them?

I don’t believe any order difference is going to cause a problem, but I-xmltv was written using a language that doesn’t have any built-in way of reading xml files. So I have to tell it what to look for, including the field names and field name lengths.

As an example, this section of the code reads the UniqueID into a variable when it finds a field name containing "dd_progid" 26 characters into the line.
Code:
'Get the UniqueID
  IF MID$(XMLin(x), 26, 9) = "dd_progid" THEN
     UniqueID$ = MID$(XMLin(x), 37, 13)
     Episode$ = RIGHT$(UniqueID$, 4)
     ZapType$ = LEFT$(UniqueID$, 2)  'MV=movie EP=Episode SH=Show SP=Sports
     IF ZapType$ = "MV" THEN NumMV& = (NumMV& + 1)
  END IF

If the field name doesn’t exactly match what is expected " <episode-num system="dd_progid">", or a movie rating is 3.0/4 instead of 3/4, it just skips the entire line.
That's why I was so surprised to hear the wiki version was working with MCE.

I-xmltv looks for field names as provided by na_dd, if there are differences I need to change the code to read the new field name and the position of the data in it. Not a problem, it just takes time to do and to test for bugs.

If there are quite a few grabbers in the end with quite a few different field names I may modify I-xmltv to use an "xmltv.def" file. It would allow it to understand different field names and formats.


The Y! version I posted reads:
Code:
<title>

MCE provides what the wiki version expects.
Code:
<title lang="en">

Hope this helps, sorry about the confusion I'm usually pretty tired when we talk late in the evening and I can miss read things.
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
madcat
Offline

Senior Member

Posts: 634
Threads: 104
Joined: Apr 2006
#313
2007-08-07, 09:32 PM
whurlston Wrote:I'm tired and don't know what I read in that log but I didn't notice the loader hash error. That error means that your currently configured headend could not be found in the database. Have you got the guide to work in the MCE UI?

MCE Query automatically loads the current EPG database. Go to "Extras" -> "Tables" -> "source" and see if your headend is listed. If it's not, that would return the loader hash error. It usually means the guide is not fully configured and downloaded.
I'm sorry if I misled you, but no - it doesn't really work from the MCE GUI. but I was hoping it's an issue with the tuner spoof thing. I thought I may have the downloader work somehow. I guess what you're saying is that if it's not working in MCE, it's not going to work outside.
In MCE, it starts to download a file, but later complains about some Error 23. Whatever that means.

However, now at least I can see that the mce query tool shows something (not EPG, but the sources. with a different headend...)
* Rogers Analog Cable [Canada]
* Hauppauge WintTV PVR USB2
* IBM Thinkpad T42 / 1GB Mem / Centrino 1.6Ghz / 60GB HD / ATI Mobility Radeon 7500 + VGA/DVI out
* MCE Remote + Keyboard
* Win XP SP2 / GBPVR [Latest version. always]
* Pioneer HDTV via VGA (1360x768)
* MS Remote Keyboard
* Logitech Harmony 880 [via MS Remote Control Reciever]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#314
2007-08-07, 09:36 PM
Not a problem Jim. I don't think that the Language is included in the Y! data but I will double check it. I guess I could always add the lang="en" if they don't and just let everyone know that it was for compatibility and not necessarily accurate.

The code you posted does inform me of another issue though. With the MCE data, Canadian programs may not have the last 4 digits of the ID. I had to modify my code to compensate for that. I'll adjust it to append the episode number, or if that's not available, append 4 zeros.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#315
2007-08-07, 09:47 PM
madcat Wrote:Error 23.
That's the issue I ran into using VM and never could solve. The downloader won't work if you are getting that error.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#316
2007-08-07, 09:54 PM
whurlston Wrote:Thanks. Interesting, there are no Canadian TV ratings in the MCE data.
That will be solved by the installer. I'll be talking to you later on how to insert the GUI into the installer.

Just let me know where the different files will be after install, and I will update the GUI to work correctly for your release.
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
#317
2007-08-07, 09:58 PM (This post was last modified: 2007-08-07, 10:02 PM by zehd.)
whurlston Wrote:Thanks. Interesting, there are no Canadian TV ratings in the MCE data.
That will be solved by the installer. I'll be talking to you later on how to insert the GUI into the installer.

I think the only difference is how the broadcasters broadcast. In Canada, most rebroadcast American shows with the same logo, but with a half maple leaf supered over...

http://www.media-awareness.ca/english/pa...des_tv.cfm

http://en.wikipedia.org/wiki/Television_...ng_systems
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
#318
2007-08-07, 10:05 PM
zehd Wrote:I think the only difference is how the broadcasters broadcast. In Canada, most rebroadcast American shows with the same logo, but with a half maple leaf supered over...

http://www.media-awareness.ca/english/pa...des_tv.cfm

http://en.wikipedia.org/wiki/Television_...ng_systems
It's a slightly different rating scale but I needed to know how MCE was reporting it. But the debug you posted only showed US ratings.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#319
2007-08-07, 10:33 PM
soccerdad Wrote:No problem, DO NOT WORK ON IT JUST FOR ME. I just am adding a "nice to have" feature for others that want closer to a plug and play type of an option. It is just one of those things that could make it a little cleaner. I can always go the batch file route, but your GUI makes everything else soooo easy.

I lied. I changed my mind, hopefully quick enough...

I'm using a period as a separator.

008100-.include.xml 123456x.exclude.txt etc

Newest version is 0.25

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]
soccerdad
Offline

Posting Freak

Posts: 1,198
Threads: 137
Joined: Feb 2005
#320
2007-08-07, 10:33 PM
zehd Wrote:The GUI is set that if there is no [headend]include.txt or [headend]exclude.txt it will fall back to include.txt or exclude.txt which would effect all lineups
What took you so long??? I think sub has cloned himself and is working on this projectBig Grin

Now I feel bad for not already testing it and posting my feedback!

Coming up.....
[SIZE="1"] Server= Asus M3A78-EM, 4 gigs ram, AMD A64 5200+, Windows 7 home premium 32, 1 HVR-1800, 1 PCH A-100, Test Rig, Biostar 880g+, AMD X2 260, 4 gb ram, Windows, 7 Home Premium 32, 1 DCR-2650 cablecard tuner [/SIZE]
[SIZE="1"][/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (96): « Previous 1 … 30 31 32 33 34 … 96 Next »
Jump to page 


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