NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 130 131 132 133 134 … 433 Next »
new indicator where it shouldn't be

new indicator where it shouldn't be
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#21
2016-06-10, 06:27 PM
and zap2xml data from zap2it website...
http://pbshouston.mooo.com/downloads/zap2xml.zip

btw, mc2xml can also use json service as well as older method..Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#22
2016-06-10, 06:36 PM
pBS Wrote:sure...
http://pbshouston.mooo.com/downloads/mc2xmldata.zip
I wonder if they're just putting <new> on any entries that don't have a previously shown date?

ie, NextPVR is already deciding an xmltv listing is new if it's not explicitly listed as having been previously shown.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#23
2016-06-10, 07:04 PM
maybe so... i can't find any that don't, but it's hard to search on that..Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#24
2016-06-10, 07:08 PM
Yeah I tried looking too, but it's bit hard to check.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#25
2016-06-10, 11:31 PM
aha, i made an .xslt transform to weed it out and yes, that is correct except for movies with episode num starting with MV like i heard you mention before..
Code:
<xsl:if test="( not(contains(title,'*')) and (not(previously-shown)) ) ">
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#26
2016-06-11, 02:35 AM (This post was last modified: 2016-06-12, 03:01 AM by pBS.)
oh, and he says he gets the 'new' tags from sd....but i also get the new tags in regular[non-json] method too..so asked him for clarification on that..
i believe he's just using the new tag that comes from sd..not adding it himself..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#27
2016-06-13, 07:33 PM
yes, he confirmed that he new tags are coming from sd, he's not adding any himself...

so all that's needed is a setting to use the new tags from sd and nothing else for sd .xml imports..would then match native sd usage..Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#28
2016-06-13, 07:50 PM
It's already using the 'new' tag from SD.

This is the logic that it currently uses:
Code:
// first airing                                    
                        epgEvent.FirstRun = true;
                        if (epgEvent.UniqueID.StartsWith("EP") || epgEvent.UniqueID.StartsWith("SH") || epgEvent.UniqueID.StartsWith("MV"))
                        {
                            if (programObject["new"] != null)
                            {
                                epgEvent.FirstRun = (bool)programObject["new"];
                            }
                            else
                            {
                                epgEvent.FirstRun = false;
                            }
                        }
                        else if (epgEvent.UniqueID.StartsWith("SP"))
                        {
                            epgEvent.FirstRun = false;
                            if (programObject["liveTapeDelay"] != null && (string)programObject["liveTapeDelay"] == "Live")
                            {
                                epgEvent.FirstRun = true;
                            }
                        }
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#29
2016-06-13, 08:04 PM
hmmm, but my '*' tags don't line up with the 'new' flag in guide.. wayyy to many new tags compared with *'s...
i'll see if i can figure out what the diff is...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#30
2016-06-13, 08:09 PM
That is the logic for built-in SD support.

XMLTV is a little different. With this it's assumed all shows are new, unless it has <previously-shown> set, or has "®" at the end of the title.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording Resume Indicator on Client JP23 2 1,448 2018-05-27, 08:06 AM
Last Post: martint123
  NextPVR not reusing tuners enough and ending live TV leases when it shouldn't ChaosMageX 3 1,937 2016-02-18, 08:53 PM
Last Post: Handy.Man
  onscreen indicator - recording and buttons madmax2 0 1,162 2013-12-27, 10:59 PM
Last Post: madmax2
  Recording screen not displaying watched indicator BrettB 18 5,883 2011-07-12, 06:44 PM
Last Post: sub
  Already Viewed Indicator steveum 2 1,559 2011-01-14, 01:55 AM
Last Post: steveum

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

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

Linear Mode
Threaded Mode