Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - BJReplay

Pages: 1 2 3 [4]
46
Windows XP Media Center Edition / Re: what weve been waiting for
« on: February 13, 2005, 05:42:14 PM »
Quote
BJ,

What do you mean by pulling the CGI directly?

Regards,
Shane.
I've got a build of QuickGuide that retrieves the guide directly (through code), rather than using webget.

However, I've seen the symptoms you mention - so I think it is a bug in the cgi or ice data - though it might also be a bug in QuickGuide.  Looking into it.

I'll let you know when I'm in a position to release a build of QuickGuide that retrieves the data direct from the icetv feed - but it won't be until there are user specific userids and password for the feed - and the ice people say it's ok to do - because otherwise it can be abused.

BJ.

47
XMLTV (General) / Re: RFC: Ice XML Guide 2.0
« on: February 09, 2005, 10:17:30 PM »
Quote
Hmm, well, I don't think we have either of those dates at the moment, so I'm afraid it'll have to stay empty for the time being -- sorry about that.  But that entity is the same as in the XMLTV spec.  Is the problem because there's not an explicit closing tag, or because there's no data between the opening and closing tags?

Russell
Hi Russell, I've confirmed that I can handle the empty element previously-shown for repeats.

ciao

BJ

48
XMLTV (General) / Re: RFC: Ice XML Guide 2.0
« on: February 09, 2005, 08:19:36 PM »
+0000 is fine by me (QuickGuide).

Re the previously-shown element - I'm using a MS .NET DataSet method called LoadXML which loads the xml into several tables according to either a derived or explicit schema. I'm using an explict schema modelled on the XMLTV.DTD, but customised to manage the way the data is loaded into the dataset.

That's pretty neat - my code to load and parse the XML into the data structures I need is literally just:

Code: [Select]
XMLTV.ReadXmlSchema(System.Configuration.ConfigurationSettings.AppSettings["XMLTVSchema"]);
XMLTV.ReadXml(XMLTVFile,XmlReadMode.IgnoreSchema);

Anyway, as a result of the way XML loading works, the end result of an empty element (whether or not it is in the form of <previously-shown></previously-shown> or <previously-shown/> is that the previously-shown column that results is NULL.  However, my problem is that I can't distinguish between a null column where the tag exists, and a null column where the tag does not exist.

Anyway, as I think about it, I can probably change the definition of the previously-shown column to have a non-null default, and then detect explicit nulls (which is how the empty element will be interpreted).  That seems like a workable simple solution.

Cheers

BJ

49
XMLTV (General) / Re: RFC: Ice XML Guide 2.0
« on: February 08, 2005, 10:05:11 PM »
Hi Russel, that all looks good - especially the move back towards the XMLTV DTD.  That means that I don't need attempt to handle your feed any differently to XMLTV.

It would make my life easier if previously-shown included the date originally show (or the original release date if not known) (e.g. wasn't just an empty element), simply because of the lazy method that I'm using to convert XMLTV to MCE data in QuickGuide.  On the other hand, I can understand if I just have to parse the XML  ;).

BJ

50
XMLTV (General) / Dodgy Descriptions
« on: February 05, 2005, 10:43:36 PM »
It looks like there's a little too much URL Encoding happening on some descriptions - at a guess only those with accented characters, such as:

  <programme start="20050205213000 +1100" stop="20050205225500 +1100" channel="1">
    <title lang="en">MOVIE: Unknown Friend</title>
    <sub-title lang="en"></sub-title>
    <desc lang="en">This tale set in Berlin tells the story of Ellen who has just been released from prison where she has spent five years for murder. Her victim was the husband of her girlfriend, Katrin, a bisexual flirt. Ellen sets out to find Katrin and to win her back.
Karoline Eichhorn, Inga Busch, Birol &amp;#195;&amp;#156;nel</desc>
    <category lang="en">Drama</category>
    <category lang="en">Movie</category>
    <episode-num system="dd_progid">11414</episode-num>
    <rating system="">
      <value>MA</value>
    </rating>
 <broadcast-type>R</broadcast-type>
 <broadcast-type>WS</broadcast-type>
  </programme>

51
Windows XP Media Center Edition / Re: what weve been waiting for
« on: February 05, 2005, 02:38:04 PM »
At the moment I'm just calling the cgi direct to get the guide, rather than using a grabber, so I haven't seen this.

52
Windows XP Media Center Edition / Re: Categories
« on: February 02, 2005, 10:31:35 PM »
Quote
<programme start="20050202150000 +1100" stop="20050202153000 +1100" channel="5">
 Â  <title lang="en">Huey's Cooking Adventures</title>
 Â  <category lang="en">Cooking</category>
 Â  <category lang="en">Lifestyle</category>
 Â  [...]
</programme>

We don't currently support (multiple levels), but we can look into it and see what the possibilities are.

Are you able to convert our category list as it is today to something that can work with MCE?

Thanks,
Russell
Hi Russell, I can use your list - I think I will convert it into a hierarchy which is what MCE expects.  For example, I'll put Children and Cartoon as subcategories of Childrens Programs, Buisness & Finance and News, Current Affairs, etc, as subcategories of News.  Science & Tech looks like a subcategory of Education, perhaps.

The problem with this approach is that each category can only belong to a single major category - for example, Animation can only belong to Childrens or Movie, for example, even though there's kids animation and there's animation that definitely not for kids.

Anyway, I'll see how I go.

53
Windows XP Media Center Edition / Re: what weve been waiting for
« on: February 02, 2005, 10:05:40 AM »
Yeah, the documentation of ChannelInfo is rudimentary at best.

54
Windows XP Media Center Edition / Re: what weve been waiting for
« on: February 01, 2005, 09:59:51 PM »
Quote

I've just installed the latest version, and I get no errors at all and the excrypted XML is created, but MCE is not seeing it - I get "No Data Available" coming up next to all of my channels. If I go in to assign guide data to channels, the only option I get is to not display guide data for this channel.

Any ideas?

Regards,
Shane.
Three thoughts - Firstly, did you run the Enable .reg file to enable the Guide in MCE (it sounds like you have, from what you say, but worth asking anyway).

Secondly, have you customised the ChannelInfo.XML file - I've attached mine (customised for Melbourne channels).  If you haven't you've probably ended up with a tiny output file - because QuickGuide skips data in the XMLTV file if there isn't an entry in ChannelInfo (because it doesn't know how to map the data in XMLTV to the internal IDs MCE is expecting).

Finally, sometimes you just need to kill all eh* processes, and go into MCE again - that can be enough to get it working, if not, kill again, run QuickGuide, and try once more, and finally, reboot and try again - but I doubt this will really help.

55
Windows XP Media Center Edition / Categories
« on: February 01, 2005, 09:52:40 PM »
Firstly, the category information in the guide seems quite good.

However, MCE guide information has a category map that is part of the guide data, that is loaded by MCE, and used to assign each programme to a category within the MCE guide.

I've attempted to allocate the categories found in the iceTV XML to the sample set of categories I've snaffled from a real MCE guide, but it is difficult, and results in anomalies.  For example, The Movie Show DVD Edition has a iceTV category of Entertainment - which happens to be one of the sub-categories of Childrens - which it obviously isn't.

While the mapping problem is one of my own making, I'm trying to second guess the iceTV's category structure - and failing.

The other problem is I'm attempting to provide for other sources of category information - which are a little different.

So, to the request - is there a definitive (even if evolving) set of categories or category hierachy behind the categories in the iceTV XMLTV guide?  If so, can this be published?

Secondly, is it possible to utilise the fact that the schema supports multiple categories to have a major and minor category included in the XMLTV data - say Movie, Adventure, for example?  This would also allow MOVIE: to be removed from the programme title.

Thanks

BJ

56
General Discussions / Re: Where is everybody?
« on: February 01, 2005, 08:59:51 PM »
Check the post in the MCE forum...

BJ

57
Windows XP Media Center Edition / Re: what weve been waiting for
« on: February 01, 2005, 08:49:11 PM »
Quote
Found this tool which may do what we want with this data without having to install webguide/smartguide.

The postings start here:
http://www.thegreenbutton.com/community/shwmessage.aspx?ForumID=27&MessageID=89419&TopicPage=1

The latest version I have found so far (QuickGuide2005Beta1WithSource20050131.zip) is here:
http://www.thegreenbutton.com/community/shwmessage.aspx?ForumID=27&MessageID=89419&TopicPage=4

I'm going to give it a go tonight.

Regards,
Shane.
Shane, QuickGuide will work with the iceTV data, but doesn't map all the categories.  It will probably be a couple of days until I come up with a really robust solution to this, but in the meantime, you can always edit up your own categories.txt so that they all appear in MCE.

BJ

Pages: 1 2 3 [4]