SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV EPG Service

Notices

SageTV EPG Service Discussion related to the SageTV EPG Service used within SageTV. Questions about service area coverage, channel lineups, EPG listings, XMLTV, or anything else related to the service or programming guide data for SageTV should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #101  
Old 11-12-2022, 09:57 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,923
Quote:
Originally Posted by hvymetal View Post
Code:
##2.11 11/13/2022	
1.  For Strings use isEmpty not isBlank
Let try this again.....You must be using Java older the 11. This should work with older java versions
Looking good thanks for all your help ...

Code:
NFL Football
Episode: Washington Commanders at Philadelphia Eagles

First Run

Airing: Nov 14, 2022 5:15 PM - 8:15 PM

Duration: 3h 0m

Channel: 6140-ESPN1

Description: Philadelphia tries to stay perfect in 2022 with its fourth straight victory over Washington.

Category: Sports event / Sports / Football - First Run - 2022

Run Time: 3 hours

Original Air Date: Monday, November 14, 2022

HDTV, Premiere, Live

HDTV

Show ID: EP000031283471

Internal details: AiringID=5131193
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #102  
Old 11-12-2022, 10:10 PM
hvymetal hvymetal is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 157
I noticed in your XMLTV file Nova Channel 10.1@ Sunday Nov 13 1:00pm will show first run but the previous air date is from a prior date. Not sure what is going on there? Still have not figured out the logic that SageTV marks the program as First Run.

Code:
  <programme start="20221113190000 +0000" stop="20221113200000 +0000" channel="710">
    <title>NOVA</title>
    <sub-title>Crypto Decoded</sub-title>
    <desc>Unraveling the social and technological underpinnings of cryptocurrency, from bitcoin to NFTs.</desc>
    <category>Episode</category>
    <category>Series</category>
    <category>Science</category>
    <category>Nature</category>
    <category>Anthology</category>
    <icon src="https://tmsimg.fancybits.co/assets/p21033225_b_h9_aa.jpg?w=720&amp;h=540"></icon>
    <series-id system="tms">184159</series-id>
    <date>20221109</date>
    <previously-shown></previously-shown>
    <episode-num system="tms">EP000031631016</episode-num>
    <episode-num system="onscreen">S49E17</episode-num>
    <episode-num system="xmltv_ns">48.16.</episode-num>
    <credits>
      <actor>Craig Sechler</actor>
    </credits>
    <video>
      <quality>HDTV</quality>
    </video>
  </programme>

Last edited by hvymetal; 11-12-2022 at 10:15 PM.
Reply With Quote
  #103  
Old 11-12-2022, 10:21 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,923
Quote:
Originally Posted by hvymetal View Post
I noticed in your XMLTV file Nova Channel 10.1@ Sunday Nov 13 1:00pm will show first run but the previous air date is from a prior date. Not sure what is going on there? Still have not figured out the logic that SageTV marks the program as First Run.

Code:
  <programme start="20221113190000 +0000" stop="20221113200000 +0000" channel="710">
    <title>NOVA</title>
    <sub-title>Crypto Decoded</sub-title>
    <desc>Unraveling the social and technological underpinnings of cryptocurrency, from bitcoin to NFTs.</desc>
    <category>Episode</category>
    <category>Series</category>
    <category>Science</category>
    <category>Nature</category>
    <category>Anthology</category>
    <icon src="https://tmsimg.fancybits.co/assets/p21033225_b_h9_aa.jpg?w=720&amp;h=540"></icon>
    <series-id system="tms">184159</series-id>
    <date>20221109</date>
    <previously-shown></previously-shown>
    <episode-num system="tms">EP000031631016</episode-num>
    <episode-num system="onscreen">S49E17</episode-num>
    <episode-num system="xmltv_ns">48.16.</episode-num>
    <credits>
      <actor>Craig Sechler</actor>
    </credits>
    <video>
      <quality>HDTV</quality>
    </video>
  </programme>
I noticed that the Guide data from Gracenote marks a lot of shows as new if they re-air in a new channel. For example Chicago PD most of the reruns showed up as new in USA channel.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 11-12-2022 at 10:25 PM.
Reply With Quote
  #104  
Old 11-12-2022, 10:29 PM
hvymetal hvymetal is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 157
Quote:
Originally Posted by nyplayer View Post
I noticed that the Guide data from Gracenote marks a lot of shows as new if they re-air in a new channel. For example Chicago PD most of the reruns showed up as new in USA channel.
but everything that I see SageTV knows it not new but marks it first run.
Reply With Quote
  #105  
Old 11-13-2022, 05:57 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,923
Quote:
Originally Posted by hvymetal View Post
but everything that I see SageTV knows it not new but marks it first run.
I do not see what you see see screenshot ...
Attached Images
File Type: png Screenshot 2022-11-13 035658.png (211.2 KB, 13 views)
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #106  
Old 11-13-2022, 06:25 AM
hvymetal hvymetal is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 157
Quote:
Originally Posted by nyplayer View Post
I do not see what you see see screenshot ...
Not all show to it....see attached image example

Attached Images
File Type: png image_2022-11-13_062426075.png (438.0 KB, 109 views)
Reply With Quote
  #107  
Old 11-13-2022, 07:01 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,923
I see it now forgot about the time difference ... I would like to see someone that has Scheddirect check that show.


Channels DVR does not show it as NEW....


__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 11-13-2022 at 07:05 AM.
Reply With Quote
  #108  
Old 11-13-2022, 07:50 AM
hvymetal hvymetal is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 157
As far as I can see SageTV and SD acts the same. Since we are in two different markets I tried to find as close as possible as an example. I would need your zipcode and tv provider if I really wanted to see both side by side. I could use my SD account and test server to get the guide data for your market to compare. This glitch seems to happen more on PBS channels. I still do not understand the logic SageTV is using. Never the less the data being presented to SageTV is corrent....SageTV is not using it correctly

Attached Images
File Type: png First Run_SD_VS_XMLTV.png (728.8 KB, 142 views)
Reply With Quote
  #109  
Old 11-13-2022, 07:57 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,923
Zipcode 97070 Comcast(XFINITY)
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #110  
Old 11-13-2022, 08:36 AM
hvymetal hvymetal is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 157
Quote:
Originally Posted by nyplayer View Post
Zipcode 97070 Comcast(XFINITY)
Here is a side-by-side comparison......This has to be a bug in SageTV that was never found

Attached Images
File Type: jpg image_2022-11-13_083602798.jpg (218.9 KB, 170 views)
Reply With Quote
  #111  
Old 11-13-2022, 08:38 AM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,737
53149 OTA(SD), Hulu & Spectrum from Channels DVR TVE. I see a similar issue with PBS frequently, in fact the show in question is a 'First Run' for up to one week, when the program is no longer shown on PBS.

Code:
<sageShowInfo version="1.3">
<systemInfo>
<alertLevel description="Status" level="0"/>
</systemInfo>
<channelList>
<channel channelId="61230">
<channelName>WMVTDT2</channelName>
<channelDescription>WMVTDT2 (WMVT-DT2)</channelDescription>
<channelNetwork>WORLD</channelNetwork>
<channelNumber>36-2</channelNumber>
</channel>
</channelList>
<favoriteList>
<favorite favoriteId="10319882">
<title>NOVA</title>
<firstRun/>
<quality>Default</quality>
<startPadding>60</startPadding>
<stopPadding>60</stopPadding>
</favorite>
</favoriteList>
<showList>
<show epgId="EP0031631016">
<title>NOVA</title>
<episode>Crypto Decoded</episode>
<duration>3600</duration>
<category>Science</category>
<subCategory>Nature</subCategory>
<description>
Unraveling the social and technological underpinnings of cryptocurrency, from bitcoin to NFTs.
</description>
<peopleList>
<person role="Actor">Jay O. Sanders -- Narrator</person>
<person role="Actor">Zachary Quinto -- Narrator</person>
<person role="Actor">David Attenborough -- Narrator</person>
<person role="Actor">Brian Greene -- Host</person>
<person role="Actor">John Lithgow -- Narrator</person>
<person role="Actor">Neil deGrasse Tyson -- Host</person>
<person role="Actor">David Pogue -- Host</person>
<person role="Actor">Lance Lewman -- Narrator</person>
<person role="Actor">Craig Sechler -- Narrator</person>
<person role="Narrator">Craig Sechler</person>
<person role="Creator">Michael Ambrosino</person>
</peopleList>
<originalAirDate>2022-11-09T06:00:00.00Z</originalAirDate>
<airing channelId="61230" duration="3600" favoriteId="10319882" sageDbId="27940514" startTime="2022-11-16T13:00:00.00Z">
<recordSchedule duration="3600" startTime="2022-11-16T13:00:00.00Z"/>
<stereo/>
<closedCaptioned/>
</airing>
</show>
</showList>
<systemMessageList/>
</sageShowInfo>
Attached Images
File Type: jpg NOVA.jpg (91.0 KB, 13 views)
Reply With Quote
  #112  
Old 11-13-2022, 11:16 AM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,737
Thank you for fixing the football first run issue! It's working great!

It appears that when the same sports program runs more than once, it either considers the first 2 instances of it as 'first runs' or maybe it is considering it a first run based on the instances appearing on day 1 (maybe on the GMT clock?). It would be interesting to know why Sage's decision making on first runs seems to very by show or probably by category.
Attached Images
File Type: jpg NFL FOOTBALL.jpg (216.1 KB, 13 views)
Reply With Quote
  #113  
Old 11-13-2022, 12:00 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,737
Strange how the NOVA program on PBS came up as first run for an entire week. I just checked "Annika on Masterpiece" and it appears to be a first run today at 9pm, but not a first run tomorrow morning at 2:30am.

Code:
NOVA

Episode: Crypto Decoded

(First Run)

Airing: Nov 13, 2022 9:00 PM - 10:00 PM

Duration: 60 m

Channel: 36-1-WMVTDT

Description: Unraveling the social and technological underpinnings of cryptocurrency, from bitcoin to NFTs.

Category: Science / Nature / Anthology - First Run

Run Time: 1 hour

Original Air Date: Wednesday, November 9, 2022

Season 49 Episode 17

Closed Captioned, Stereo, HDTV

Show ID: EP0031631016

Internal details: AiringID=27911684
Code:
Annika on Masterpiece

(First Run)

Airing: Nov 13, 2022 9:00 PM - 10:00 PM

Duration: 60 m

Channel: 10-1-WMVSDT

Description: Arriving at a murder scene on a party boat, Annika thinks of the Greek god of unrestrained celebration, and from there, things only get more chaotic.

Category: Crime / Entertainment - First Run

Original Air Date: Tuesday, September 14, 2021

Season 1 Episode 5

Closed Captioned, Stereo, HDTV

Show ID: EP044044710005

Internal details: AiringID=27912044
Reply With Quote
  #114  
Old 11-13-2022, 03:24 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,000
Itís not a bug, itís by design. An episode is considered to be first run not just the very first time it airs, but for its initial airing window (which is usually about a week). Itís not considered a re-run until it goes away and comes back again.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #115  
Old 11-13-2022, 03:31 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,923
Quote:
Originally Posted by Tiki View Post
Itís not a bug, itís by design. An episode is considered to be first run not just the very first time it airs, but for its initial airing window (which is usually about a week). Itís not considered a re-run until it goes away and comes back again.
Good to know that explains a lot ..... Thanks.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #116  
Old 11-13-2022, 04:35 PM
hvymetal hvymetal is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 157
Quote:
Originally Posted by Tiki View Post
It’s not a bug, it’s by design. An episode is considered to be first run not just the very first time it airs, but for its initial airing window (which is usually about a week). It’s not considered a re-run until it goes away and comes back again.
All these years using SageTv and still learning things. Thanks for the post. You saved me many hours of jumping down a rabbit hole.

With that solved I can safe to say the latest update should be good to go.
Reply With Quote
  #117  
Old 11-13-2022, 04:42 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,923
Quote:
Originally Posted by hvymetal View Post
All these years using SageTv and still learning things. Thanks for the post. You saved me many hours of jumping down a rabbit hole.

With that solved I can safe to say the latest update should be good to go.
Never a doubt I put it into production.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #118  
Old 11-13-2022, 05:52 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,737
Quote:
Originally Posted by Tiki View Post
Itís not considered a re-run until it goes away and comes back again.
What exactly is the definition of "goes away and comes back again?"
Reply With Quote
  #119  
Old 11-14-2022, 01:44 AM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,495
For what itís worth I found this comment/code in Airing.java:

Code:
   /**
   * @return First Run state - defined as Live or New or within 28 days of the Original Air Date.
   */
  public boolean isFirstRun() {
    Show s = getShow();
    return ((miscB & (LIVE_MASK | NEW_MASK)) != 0)
        || (s != null && ((time - s.originalAirDate) < 28 * Sage.MILLIS_PER_DAY));
  }
__________________
Windows Installer
Reply With Quote
  #120  
Old 11-14-2022, 10:42 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,923
This XMLTV update is a vital update to keeping SageTV alive is there any chance this can be made into a plugin?
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated XMLTV How To rsagetv99 SageTV EPG Service 37 07-25-2012 12:00 PM
Plugin Verifier Has Been Updated Narflex SageTV v7 Customizations 5 06-14-2010 03:32 PM
XMLTV data not being updated... dooferlad SageTV United Kingdom 22 01-03-2008 04:52 AM
Updated XMLTV import plugin (mostly for dutch users) koelie SageTV EPG Service 14 05-01-2005 11:46 PM
How do I compile xmltv plugin? owilsky SageTV EPG Service 3 01-20-2005 12:12 PM


All times are GMT -6. The time now is 08:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.