NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 34 35 36 37 38 … 93 Next »
New XMLTV Enhancer and more...

Thread Closed 
 
  • 0 Vote(s) - 0 Average
New XMLTV Enhancer and more...
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#41
2007-12-03, 11:45 AM
sub Wrote:GB-PVR does show ratings icons. It just throws this info away.

sub, how does it find the correct icon to display, if it's not i the database.

Also, did you see by other post about a possible bug, where if an xml file has both a Star Rating and a Rating entry, only the Star Rating displays?
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
#42
2007-12-03, 02:36 PM
According to the xmltv DTD, when denoting a new show, the absence of a Previously-shown date:

Quote:The absence of this element does not say for certain that the
programme is brand new and has never been screened anywhere before.

In the UK sample files I recently tried (thanks guys) The Premiere field displays "Not a repeat". That's not a convention on the other sources I've tried...

There is also a <new/> tag, which I have still not found a sample that may use that. I suspect it would be present only if the source feels it's a new show...

It's obvious I will have to have several different new show detection procedures...
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
#43
2007-12-03, 02:59 PM
-Oz- I checked your data file from yapi2xml and saw some characters that looked funny

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

...

  <programme start="20071201090000 +0000" stop="20071201110000 +0000" channel="0002">
    <title>Wrestling Women vs. the Aztec Mummy</title>
    <desc>Two wrestlers (Lorena Vel zquez, Elisabeth Campbell) face thieves seeking treasure in an Aztec tomb and a mummy with the ability to transmogrify.</desc>
    <credits>
      <director>Ren‚ Cardona</director>
      <actor>Lorena Vel zquez</actor>
      <actor>Elisabeth Campbell</actor>
      <actor>Armando Silvestre</actor>
      <actor>Maria Eugenia San Mart¡n</actor>
      <actor>Chucho Salinas</actor>
      <actor>Ramon Bugarini</actor>
      <actor>Victor Velaquez</actor>
      <actor>Ton-La Tapatia</actor>
      <actor>Irma Gonzalez</actor>
      <actor>Chabela Romero</actor>
      <writer>Guillermo Calder¢n</writer>
      <writer>Alfredo Salazar</writer>
      <producer>Guillermo Calder¢n</producer>
    </credits>
    <date>1964</date>
    <category>Movie</category>
    <category>Horror</category>
    <length units="minutes">128</length>
    <episode-num system="dd_progid">MV000788170000</episode-num>
    <rating system="VCHIP">
      <value>TVPG</value>
    </rating>
    <rating system="MPAA">
      <value>NR</value>
    </rating>
    <star-rating>
      <value>1.0</value>
    </star-rating>
  </programme>

I suspect that the yapi2xml program isn't saving to a codepage that supports the Spanish Character set
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]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,734
Threads: 767
Joined: Nov 2003
#44
2007-12-03, 03:47 PM
zehd Wrote:sub, how does it find the correct icon to display, if it's not i the database.
Sorry - typo. I'd meant to say 'doesnt'. It doesnt keep this info because it doesnt display this icon.

Quote:Also, did you see by other post about a possible bug, where if an xml file has both a Star Rating and a Rating entry, only the Star Rating displays?
I dont think I'd come across a star rating before. GB-PVR's SAX style of XML parsing had always assumed if it was in a <Value> tag then it is the Rating.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#45
2007-12-04, 01:06 AM
sub Wrote:Sorry - typo. I'd meant to say 'doesnt'. It doesnt keep this info because it doesnt display this icon.

I dont think I'd come across a star rating before. GB-PVR's SAX style of XML parsing had always assumed if it was in a <Value> tag then it is the Rating.

Well icons, aside, both StarRating and Ratings will appear in the top part of the TV Guide details. But when they are both present in the programme record, only StarRating appears...
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]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,734
Threads: 767
Joined: Nov 2003
#46
2007-12-04, 01:10 AM
GB-PVR doesnt try to do anything with star-rating. It only intended to show the Rating. The reason you could be ending up with the star-rating stored in the GB-PVR's rating field is because GB-PVR's SAX parsing had always assumed if it was in a <Value> tag then it is the Rating. I'll try to fix it for the next release.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#47
2007-12-04, 04:58 AM (This post was last modified: 2007-12-09, 10:51 AM by zehd.)
Contents of this post moved into
http://forums.gbpvr.com/showpost.php?p=2...stcount=78
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]
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#48
2007-12-04, 05:05 AM
zehd Wrote:-Oz- I checked your data file from yapi2xml and saw some characters that looked funny

I suspect that the yapi2xml program isn't saving to a codepage that supports the Spanish Character set

What is a codepage? Definitely something to look into though.

And I'll have to test what you've done tomorrow, and really get my butt in gear.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#49
2007-12-04, 05:49 AM
-Oz- Wrote:What is a codepage? Definitely something to look into though.

And I'll have to test what you've done tomorrow, and really get my butt in gear.

I think the CodePage tag in the header of an xml file, tells the parser how to translate certain characters. Most of my data file from NA use utf-8, and that also displays french characters. I don't know if it will do Spanish.

I know I had to check for and repair if necessary, xml files that had Swedish characters, but used the incorrect utf-8 codepage. I change it to ISO-8859-1

Maybe you could change the code in your yapi prg to use utf-8 and then see... If that doesn't work, try a codepage that supports Spanish. I don't know them off hand, but saw a list available when I searched for ISO-8859-1...

Let me know which one you use, and I can build a checking function into the Enhancer
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
#50
2007-12-04, 08:23 AM
Ordering of fields and brackets...

I'd like some input here.

Currently if I have all extra info move to the Description it looks like:

Quote:(1990-10-11)(Actors: Mandy Patinkin, Thomas Gibson. Guests: Shelly Cole, Shawn Michael Patrick. Directed by Gloria Muzio.)(****)(TV-14)(HD Simulcast, 16:9, stereo)(60 min)(First showing on national terrestrial TV)(ES)(teletext)

(The Previously-shown date is 'Prepended' to the description field, like it was with I-xmltv, and how ZRename currently likes to see.) I'm planning on adding the option to include the Previously-shown data to the Description tag too.

My question is formatting.

I suppose I could make a sortable array that allows for users to choose in what order to display the extra data.

I could give options for bracket styles, or having the whole line included in just one set of brackets...

Currently I'm not doing anything with the episode numbers as there doesn't seem to be a consistent system the different countries are using. It may have to wait till -oz- and I build the online database scraper program.

Any Ideas?
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: 3 Guest(s)

Pages (39): « Previous 1 … 3 4 5 6 7 … 39 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 3,475 2018-10-23, 07:24 AM
Last Post: almightyj
  XMLTV Channel Number Option gdogg371 12 6,893 2018-07-18, 04:32 PM
Last Post: sub
  Merge xmltv data with xslt Graham 4 3,502 2014-01-02, 12:45 PM
Last Post: Graham
  XMLTV data mvallevand 6 2,646 2011-04-16, 03:08 AM
Last Post: sub
  Free XMLTV EPG scraper dneprrider 214 100,202 2010-03-29, 04:54 AM
Last Post: dljones8053
  XmlTv Structure psycik 2 2,225 2008-12-29, 10:53 PM
Last Post: psycik
  Content Provider: How to publish XMLTV data? skoka123 6 3,473 2008-09-03, 05:48 AM
Last Post: skoka123
  XMLTV Questions -Oz- 34 10,490 2008-03-24, 01:19 AM
Last Post: zehd
  I-xmltv updated for YahooXMLTv (adds a new show marker and more) Jim_ 78 25,087 2008-01-02, 10:33 AM
Last Post: tvshowman
  xmltv zap2it & msn scraper merge tvshowman 2 1,886 2007-12-12, 03:48 AM
Last Post: tvshowman

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode