SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV EPG Service
Forum Rules FAQs Community Downloads Today's Posts Search

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
  #1  
Old 04-23-2017, 12:59 AM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Schedules Direct: No run time info for movies?

In preparation for the SageTV EPG shutdown, I transitioned my EPG to Schedules Direct today.

I like it so far. I'm getting about 20 days worth of EPG info now for most channels. Actor images are also a nice touch.

I did notice that none of the movies I've looked at seem to include "running time" information like the old EPG did. Is this a limitation of Schedules Direct, or just something that the current SageTV implementation of SD doesn't yet parse/support?

I do get run time information for some TV shows, but I can't find a single movie with run time information. With the old EPG, most movies had this information listed.
Reply With Quote
  #2  
Old 04-29-2017, 05:07 PM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
It's in the metadata that we send as "duration"

{
"programID": "MV000000020000",
"titles": [
{
"title120": "Eyewitness"
}
],
"descriptions": {
"description100": [
{
"descriptionLanguage": "en",
"description": "Janitor (William Hurt) seduces TV newswoman (Sigourney Weaver) with a lie that backfires."
}
],
"description1000": [
{
"descriptionLanguage": "en",
"description": "New York City custodian Daryll Deever (William Hurt) is a big fan of local news reporter Tony Sokolow (Sigourney Weaver), so he is intrigued when she shows up to cover a story at his workplace. There's been a murder in the office building, and Tony suspects that Daryll may have insight into the crime, a notion that he furthers to stay close to her. However, when those behind the killing begin to think that Daryll really knows something, they target both him and Tony to keep their secrets hidden."
}
]
<snip>

"contentAdvisory": [
"Adult Situations",
"Violence"
],
"movie": {
"year": "1981",
"duration": 6180,
"qualityRating": [
{
"ratingsBody": "Gracenote",
"rating": "2.5",
"minRating": "1",
"maxRating": "4",
"increment": ".5"
}
]
},

<snip>
Reply With Quote
  #3  
Old 04-29-2017, 06:23 PM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Hmm. I have yet to see this anywhere on movies in SageTV since switching to Schedules Direct. It definitely shows up from time to time on TV shows though.

So either none of the movies I've looked at in the guide have this data (which is unlikely, I've looked at a lot of movies in the guide looking for this data), or SageTV isn't dealing with that field properly.

I don't know how to check the raw meta data for the SageTV guide. Is there anyway you could check if there is duration information for the following movies? I checked the SageTV guide, and none of them are showing runtime (what Schedules Direct calls duration):

Bridget Jones's Baby - MV8147540000
Milton's Secret - MV9207180000
Unfriended - MV6653290000
Predator - MV0225700000
Reply With Quote
  #4  
Old 04-29-2017, 07:11 PM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
The programIDs you provided aren't Schedules Direct programID's - they're too short.

But, Bridget Jones:

{
"programID": "MV008147540000",
"titles": [
{
"title120": "Bridget Jones's Baby"
}
],

"movie": {
"year": "2016",
"duration": 7320,
"qualityRating": [
{
"ratingsBody": "Gracenote",
"rating": "2.5",
"minRating": "1",
"maxRating": "4",
"increment": ".5"
}
]
},
Reply With Quote
  #5  
Old 04-29-2017, 07:29 PM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Thanks for that!

I grabbed program/show ID's from the SageTV web server. It looks like it just chopped off the first two digits of the number.

So it doesn't look like a Schedules Direct problem then. More likely how it's implemented in SageTV.

Any SageTV devs hanging out in this thread? Should I post an issue on Github?
Reply With Quote
  #6  
Old 04-30-2017, 11:10 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
That field was deliberately excluded because the API said that field was going away in favor of the duration being placed somewhere else. We can start using it. You can see that I did code for it, but commented it out because it felt like it was an implicitly deprecated way to do this.


Code:
  /**
   * Duration (in integer seconds). Optional. NOTE: in a future API this will be removed from the
   * movie array and will be an element of the program itself.
   */
  /*public int getDuration()
  {
    return duration;
  }*/
Edit: Create an issue on GitHub and I'll add it. It's not hard, but I'm working on something else at the moment, so the change will not be immediate.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG

Last edited by EnterNoEscape; 04-30-2017 at 11:12 AM.
Reply With Quote
  #7  
Old 04-30-2017, 11:30 AM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
There will be a notification once 20141201 is deprecated; the new API is being developed, but there will be a minimum 6 month overlap to give developers time to transition their software.

I would code any features that you're interested in against the existing API because the new API is going to be similar to the existing one.
Reply With Quote
  #8  
Old 04-30-2017, 12:25 PM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Thanks rkulagow and EnterNoEscape! I've added this as an issue on GitHub.
Reply With Quote
Reply


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

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
How to Migrate to Schedules Direct? reggie14 SageTV EPG Service 51 10-15-2017 07:34 PM
Plugin: Schedules Direct EPG (not for v9) Slugger SageTV v7 Customizations 851 07-19-2017 07:48 AM
schedules direct garbled epg pschweig SageTV EPG Service 16 04-17-2017 05:28 PM
Using Schedules Direct in UK jamesdisco SageTV United Kingdom 28 02-06-2017 11:54 AM
Schedules Direct or what? Ryel SageTV EPG Service 6 01-25-2008 03:03 PM


All times are GMT -6. The time now is 03:55 PM.


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