Home
Blogs
Forums
Files


Welcome to The Green Button          Sign in | Join | Help

New QuickGuide Beta

Last post 12-06-2007, 9:25 AM by vanilla_cooler. 397 replies.
Page 3 of 27 (398 items)   < Previous 1 2 3 4 5 Next > ... Last »
Sort Posts: Previous Next
  •  02-10-2005, 3:48 AM 31926 in reply to 30966

    RE: New QuickGuide Beta

    don't think that quite worked...
  •  02-10-2005, 4:38 AM 31933 in reply to 30966

    RE: New QuickGuide Beta

    Thanks for posting my PM, I'll like to add that rebooting does not seem to get the new part of the series recognised.

    Also I infer that the new episode will not be recorded as I do not see a "red dot" on the guide schedule AND it does not appear in the "scheduled recording" section. I never did wait around until the time for the new screening to see if it does record.

    The Series name does not change with each new occurance (episode titles changes though).

  •  02-10-2005, 11:09 AM 32001 in reply to 30966

    RE: New QuickGuide Beta

    I think I found a small error in the program:

    for(int iCategory = 0; iCategory < cats.Length & iCategory < 3; iCategory++)

    should be

    for(int iCategory = 0; iCategory < cats.Length && iCategory < 3; iCategory++)

    /Thomas

  •  02-10-2005, 12:37 PM 32013 in reply to 30966

    RE: New QuickGuide Beta

    Didnt take long for some great answers to my questions

    On the encoding of special chars, i'm sure that will do the trick. I'll try that tonight. Thanks for the tip.

    I allso sorted out the problem with MCE messing up my channel names / guide listening/binding information after running QuickGuide.exe. I had to change the ChannelInfo.xml and make sure the right chan was mapped correctly against the original channel order inside MCE. The problem with long channel names like "Discovery Channel" and "National Georgaphic" was solved by giving the <name> attribute a shorter name, and changing the setting in the o2grabber to use ID instead of Name as the ChannelID tag. So, for instance Discovery has ID 7. So now that part works perfectly.

    However a new problem araise: The o2grabber let's you grab norwegian AND sweedish guides. The difference is simply that the channel info, names and categories can be in both norwegian and sweedish. If i run o2grabber and grabs a norwegian file, with the same ID's, and try to update the guide with QuickGuide i get an unhandlet internal exception (no stack trace).

    I've attached my ChannelInfo.xml, TvDataSE.xml and TvDataNO.xml files. So, TvDataSE works but not TvDataNO.

    Finally a quick question: Is the "Search" functionallity supposed to work after running QuickGuide? I get a message saying that TV Guide is not set up on my MCE. And what about categories? How do i list all movies, all sport programs etc?

     

  •  02-10-2005, 12:56 PM 32016 in reply to 30966

    RE: New QuickGuide Beta

    Ahh, that's what happens when someone who doesn't know C# codes in C#.

    Now, as I understand it,

    for(int iCategory = 0; (iCategory < cats.Length) & (iCategory < 3); iCategory++)

    would be correct, but would always evaluate iCategory < 3

    and the best form would be to code it as

    for(int iCategory = 0; (iCategory < cats.Length) && (iCategory < 3); iCategory++).

    Cheers

    BJ

  •  02-10-2005, 1:08 PM 32020 in reply to 30966

    RE: New QuickGuide Beta

    @jonasfo,

    Re search - I'm not sure, but I'd suggest re-running the MCE2005_EPG_Enable.reg file.

    Other things to check - I know you were editing categories - can you copy your categories.txt file to categories.xml, and make sure it displays properly in internet explorer (to verify it is a valid XML fragment).  I'm guessing that if it isn't valid, that may be enough to break search and categories in MCE, without killing the guide loading process - I saw similar problems when I was implementing categories during my testing.

    BJ

    PS I'll look at your NO vs SV problems tonight.

  •  02-10-2005, 11:32 PM 32080 in reply to 30966

    RE: New QuickGuide Beta

    BJ,

    I have found that when I record series, where some of the episodes are run several times, even the reruns will be recorded. I think, but I am not sure, that the reason for this is that MCE does not recognize that the the reruns are actually the same thing run once more.

    I tried to detect this in the XMLTV file by matching the episode-num+title+channel. If I see the same episode-num+title+channel once more, I assume it is the same program and no new entry is added to the <programs> list.

    If you think it is a good idea you might want to include this in QuickGuide. Take a look at the attached source file.

    (I also made the loop that checks for categories a bit more C#-ish)

    /Thomas

  •  02-11-2005, 1:13 AM 32087 in reply to 30966

    RE: New QuickGuide Beta

    Ta, looks good. 

    I'll see if setting the MSEPGA_REPEAT attribute (assuming I can sus out how that works) fixes this issue.

    BJ

  •  02-11-2005, 1:46 AM 32089 in reply to 30966

    RE: New QuickGuide Beta

    Perhaps my solution works without setting the MSEPGA_REPEAT attribute. Maybe MCE will detect the entries as different runs of the same program when there is only one entry in the <program> section.

    I can not test that right now, since I am at the office, but I will do some more tests tonight.

    /Thomas

  •  02-11-2005, 2:16 AM 32091 in reply to 30966

    RE: New QuickGuide Beta

    Your approach seems to be what should be done.  I've been looking at a few "real" guide data sets, and that's what they do.

    I hadn't run into this problem in my testing because my only source is free to air - and other than series programs don't tend to appear more than once in a set of data.

    By the way, I've figured out the approach for ratings and other attributes - I just need to do some testing.  Once I've done that, I'll post the results to your thread where you asked the question.

    BJ

  •  02-11-2005, 4:35 AM 32107 in reply to 30966

    RE: New QuickGuide Beta

    Hi Thomas,

    I've had a look at your "rerun" detection, but I think it needs to be optional - it relies on the XMLTV file having reliable episode numbers - the data I've got available to me doesn't, and many of the samples that people have sent me don't, either.

    In my case, it means I only end up with the first episode of any series with the XMLTV data - not good.

    BJ

    P.S. I've got some ScheduleEntryAttributes working (e.g. subtitles), but I can't seem to get others to display anything within MCE.

     

  •  02-11-2005, 5:09 AM 32115 in reply to 30966

    RE: New QuickGuide Beta

    BJ,

    I can se the problem with unreliable eposide data. Perhaps there can be a setting in the channel definition XML file to turn this on or off per channel? Since the XMLTV data typically comes from different sources, it might work for some channels, but not for others.

    /Thomas

  •  02-11-2005, 9:50 AM 32164 in reply to 30966

    RE: New QuickGuide Beta

    Here is another thing I have been thinking about...

    With the xmltv file that I have, category mapping does not work that well. There are two major resons for this:

    1) The channels code the same category in different ways. For example, for some channels it is called Film and in another it is called Movie.

    2) The mapping to sub categories can not be done directly since they are not unique. In my xmltv file there is for instance a category called Action. But is this Movie/Action or Drama/Action? I happen to know that this is Movie/Action.

    To solve these issues I would like to replace the current mapping logic with a more explicit mapping in channels.xml. For each channel I specify my category mappings. Perhaps I could also have a default mapping in case most of my channels have the same mapping. It could be something like

    <categorymapping value="Movie" category="MOVIES" />
    <categorymapping value="Film" category="MOVIES"
    <categorymapping value="Action" category="C101" />

    Finally I would like it to include only those categories that are actually used. I would then not have to see a lot of categories and sub categories in the Guide that never result in any hits anyway.

    (This probably requires QuickGuide to scan and map the categories first)

    I am quite well versed in C# and might be able to give you a hand if you would like to.

    /Thomas

  •  02-13-2005, 9:41 AM 32441 in reply to 30966

    RE: New QuickGuide Beta

    As far as I can tell, the od attribute (original date) is not needed in the EPG XML file. Since QuickGuide does not read this from the XMLTV file, perhaps it can omit it? Currently it is always set to 2004-04-10.

    /Thomas

  •  02-13-2005, 3:38 PM 32501 in reply to 30966

    RE: New QuickGuide Beta

    Already done in development!

    Also done is movie detection, subtitles, repeat, aspect ratio, HD and ratings detection from the XMLTV file - just have to add them to the output XML.

    Configurable, optional duplicate program detection is added (episode number or programme subtitle).

    MCE looks good when star ratings appear - I'll post some screen shots tonight.

    New release today or tomorrow if all goes well.

    BJ.

Page 3 of 27 (398 items)   < Previous 1 2 3 4 5 Next > ... Last »
View as RSS news feed in XML
About TGB | Advertise | Link To Us | Donate | Terms Of Use | Privacy Policy
© 2003-2007 The Green Button, Inc. - All Rights Reserved