SageTV Community  

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

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-24-2020, 03:34 PM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
[Schedules Direct] SageTV developers: new API

[I work for Schedules Direct]

There is a new API that is currently in beta; please take a look at

https://forums.schedulesdirect.org/v...hp?f=17&t=3053

for additional information.
Reply With Quote
  #2  
Old 01-24-2020, 05:04 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Does this mean that the current API will soon be deprecated?
If nobody steps up and updates Sage for the new API, will SD stop functioning?
__________________
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
  #3  
Old 01-24-2020, 06:11 PM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,589
Quote:
Originally Posted by Tiki View Post
Does this mean that the current API will soon be deprecated?
If nobody steps up and updates Sage for the new API, will SD stop functioning?
What's New in API 20191022
Here are the changes between API 20141201 and API 20191022.
Standardized responses:

ATSC channels in the lineup map are no longer treated as a special case; everything has been collapsed to a "channel" field.
The stationID schedule MD5 query and schedule query responses are now the same, but the schedule response includes a "programs" array.
The lineups in a postal code query now returns all lineups as a list rather than an associative array.

MD5 values are 32 characters wide.

The request for a stationIDs MD5 values (in order to determine if a schedule has changed) now returns all days; the "date" doesn't need to be specified.

Users may now have 5 tokens; this is to alleviate the issue where multiple machines in a single location are updating at the same time and invalidating each other's tokens, resulting in a ping/pong situation.

Retrieving images now requires presenting a token; the response from the service will redirect with a HTTP 303. The redirect will be to a pre-signed URL hosted at AWS. The URL will be valid for 60 seconds.


I don't think the EPG will stop functioning base on above
Reply With Quote
  #4  
Old 01-24-2020, 07:16 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by SHS View Post
What's New in API 20191022
Here are the changes between API 20141201 and API 20191022.
Standardized responses:

ATSC channels in the lineup map are no longer treated as a special case; everything has been collapsed to a "channel" field.
The stationID schedule MD5 query and schedule query responses are now the same, but the schedule response includes a "programs" array.
The lineups in a postal code query now returns all lineups as a list rather than an associative array.

MD5 values are 32 characters wide.

The request for a stationIDs MD5 values (in order to determine if a schedule has changed) now returns all days; the "date" doesn't need to be specified.

Users may now have 5 tokens; this is to alleviate the issue where multiple machines in a single location are updating at the same time and invalidating each other's tokens, resulting in a ping/pong situation.

Retrieving images now requires presenting a token; the response from the service will redirect with a HTTP 303. The redirect will be to a pre-signed URL hosted at AWS. The URL will be valid for 60 seconds.


I don't think the EPG will stop functioning base on above
Some of those changes sound like they would break things - such as returning a list type instead of an array type. It sounds like they are also changing how image retrieval works, so that could have some impacts.

If they just add new functions to the api it’s no big deal, but if they remove or change existing functions, it could cause problems.
__________________
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

Last edited by Tiki; 01-25-2020 at 11:50 AM. Reason: Typo
Reply With Quote
  #5  
Old 01-24-2020, 10:51 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is online now
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by Tiki View Post
Does this mean that the current API will soon be deprecated?
If nobody steps up and updates Sage for the new API, will SD stop functioning?
I’d step up, but I have no idea what this means. It would be a shame if Sage died due to lack of listings data of all things...
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #6  
Old 01-25-2020, 05:38 AM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,589
Quote:
Originally Posted by Tiki View Post
Some of those changes sound like they would break things - such as returning a list type instead of an array type. It sounds like they are also changing how image retrieval works, so that could have some impacts.

If they just add new functions to the api it only big deal, but if they remove or change existing functions, it could cause problems.
we have wait and see what happing Tiki
Reply With Quote
  #7  
Old 01-25-2020, 09:05 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
I pm'd EnterNoEscape I remember he said if something needed to change he would look into it.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #8  
Old 01-25-2020, 02:15 PM
emveepee emveepee is offline
Sage Aficionado
 
Join Date: Nov 2006
Posts: 417
It's going to be a blocking change to the SD JSON API but that doesn't mean the end since there is not reason to think their other independent XMLTV interface will go away.

The fact remains that SageTV is dying a slow death with the declining developer support and just as WMC users who were clinging on to Win7 are finding out there are viable active alternatives.

Martin
Reply With Quote
  #9  
Old 01-25-2020, 03:34 PM
RonBoyd's Avatar
RonBoyd RonBoyd is offline
Sage Aficionado
 
Join Date: Aug 2009
Location: Denver, Colorado
Posts: 404
Quote:
Originally Posted by emveepee View Post
are finding out there are viable active alternatives.
And what alternatives to SageTV do you have in mind?

I have Tablo, EMBY, PLEX, Air TV, Fire TV and HDHomeRun, etc. installed. I try to use them in tandem at this point and find that none fit me personally as well as SageTV. (Granted I am an OTA kinda guy having never subscribed to cable.) Tablo comes close but, TBH, not that far ahead of the others.

Obviously, I, too, have thrown in the towel and agree that SageTV is on life support but I am going to hang on until the bitter end. "Who knows, maybe the horse might sing." That is too bad but "it is what it is". (Yeah, I, too, hate that expression.)
Reply With Quote
  #10  
Old 01-25-2020, 03:38 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by emveepee View Post
It's going to be a blocking change to the SD JSON API but that doesn't mean the end since there is not reason to think their other independent XMLTV interface will go away.

The fact remains that SageTV is dying a slow death with the declining developer support and just as WMC users who were clinging on to Win7 are finding out there are viable active alternatives.

Martin
The setting of Passes (Favorites) on all other alternatives do not come close to the options SageTV has for setting up favorites. Still the best for setting shows to be recorded. Channels DVR is catching up finally to SageTV which was developed many moons ago.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #11  
Old 01-25-2020, 07:26 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is online now
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by nyplayer View Post
The setting of Passes (Favorites) on all other alternatives do not come close to the options SageTV has for setting up favorites. Still the best for setting shows to be recorded. Channels DVR is catching up finally to SageTV which was developed many moons ago.
Strangely, I still use cable. It’s simpler, cheaper in larger chunks, and way less hassle. TiVo & Sage, in my opinion, are still the cleanest, most well rounded, complete and customer-oriented services.
I don’t need too many plugins, frills or add-ons, but listings are of course, a must. If listings keep working, Sage can go on for years.
The only people who might dislike it are...the streaming services and content producers.
75mb down Internet costs $80 month. The next lowest package available is 40mb down for $60.
If it wasn’t for streaming, you wouldn’t need more than 20mb down. Internet suppliers must love streaming
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson

Last edited by tvmaster2; 01-25-2020 at 07:28 PM.
Reply With Quote
  #12  
Old 01-26-2020, 06:34 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by nyplayer View Post
The setting of Passes (Favorites) on all other alternatives do not come close to the options SageTV has for setting up favorites. Still the best for setting shows to be recorded. Channels DVR is catching up finally to SageTV which was developed many moons ago.
I haven't used Channels DVR, but I did take a look at it. You are probably right when compare 1 single item like setting favorites, and that SageTV is way more capable. I personally have never created a favorite more complicated than, "Record all new episodes of NCIS", which is the bare minimum for any DVR . But when you look at Channels DVR features and compare to sagetv... They are already out pacing sagetv and they are way newer. If I were a betting person, Channels DVR might be the next SageTV. It'll interesting to see how they grow in the next few years.

Quote:
Originally Posted by tvmaster2 View Post
Strangely, I still use cable. It’s simpler, cheaper in larger chunks, and way less hassle. TiVo & Sage, in my opinion, are still the cleanest, most well rounded, complete and customer-oriented services.
I don’t need too many plugins, frills or add-ons, but listings are of course, a must. If listings keep working, Sage can go on for years.
The only people who might dislike it are...the streaming services and content producers.
75mb down Internet costs $80 month. The next lowest package available is 40mb down for $60.
If it wasn’t for streaming, you wouldn’t need more than 20mb down. Internet suppliers must love streaming
If you are a sagetv user that doesn't use any plugins... you can use sagetv likely for the next 20 years. The problem for most sagetv users will be if they use any plugins and will those plugins get updated when things break. I guess EPG is like a plugin in this sense.

I always used sagetv like a streaming service. I'm not really a TV hoarder, I purge complete shows from time time time... and I only watch tv in an on-demand type of way. So when things like Netflix showed up I watched netflix in the same way that I've been watching TV for years. I can't remember the last time I ever watched live TV or even decided to browse the guide (except in a hotel room, and even then, I'd normally have offline netfix/plex shows to watch).

I wish that things like Plex could "manage" my viewing history for netflix, prime, etc. And services like Trakt and JustWatch might help with that some day.
Reply With Quote
  #13  
Old 01-26-2020, 08:34 AM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Quote:
Originally Posted by stuckless View Post
If I were a betting person, Channels DVR might be the next SageTV. It'll interesting to see how they grow in the next few years.
Unless they develop a system where their userbase can help with development (like plugins), it could be a long time before Channels catches up the features SageTV has. There is some important stuff missing and it's been missing for a long time. I do, however, appreciate that they are in the forums constantly to help keep the basic operations of a DVR running.
Reply With Quote
  #14  
Old 01-26-2020, 09:58 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
I am too lazy to look for new shows on primetime ... so I use ChannelsDVR to record all new OTA shows on during 8,9,10 PM minus the news .... Some people in my household love hallmark Christmas movies so I have SageTV record all Christmas movies on Hallmark Channels.

I will eventually move erveryone in my household over to Channels DVR slowly but surely ... I do not think that SageTV will be a viable DVR going forward.... SageTV is the poorest in handling keeping Padding without using additional tuners.

Changes like this to Schedules direct out of the Blue and hoping that someone is kind enough to give up their time to fix things makes it more of a reason to move from SageTV completely.
__________________
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; 01-26-2020 at 10:26 AM.
Reply With Quote
  #15  
Old 01-26-2020, 08:34 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is online now
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by nyplayer View Post
I am too lazy to look for new shows on primetime ... so I use ChannelsDVR to record all new OTA shows on during 8,9,10 PM minus the news .... Some people in my household love hallmark Christmas movies so I have SageTV record all Christmas movies on Hallmark Channels.

I will eventually move erveryone in my household over to Channels DVR slowly but surely ... I do not think that SageTV will be a viable DVR going forward.... SageTV is the poorest in handling keeping Padding without using additional tuners.

Changes like this to Schedules direct out of the Blue and hoping that someone is kind enough to give up their time to fix things makes it more of a reason to move from SageTV completely.
unless you don’t live 40 miles from OTA towers, in which case satellite or cable are the best bet. We live 60 miles from each of two, big OTA cities, so reception is unreliable
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #16  
Old 01-27-2020, 07:24 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by KryptoNyte View Post
Unless they develop a system where their userbase can help with development (like plugins), it could be a long time before Channels catches up the features SageTV has. There is some important stuff missing and it's been missing for a long time. I do, however, appreciate that they are in the forums constantly to help keep the basic operations of a DVR running.
Yeah, I agree, enabling some openness would likely go a long way in allowing the community to add support for various things. From a quick read, they don't appear to support any tuners except for HDHomerun (so nothing like HDPVR, etc). They do appear to have REST api, so, it would seem that they are at least partially open to some type of integration, etc.

Given that SageTV is pretty much done... it would nice if there was a comparison sheet between SageTV features and other solutions and it also including things like cost, device support, etc.

Sometimes the features we feel are the most important, we find out they are not as important as we thought I felt this way for the longest time when trying to "organize" plex. I resisted plex for a long time because I couldn't create "custom views" like I could in sagetv. But then after using plex for some time, I realized that I can get still the same information as i could in sagetv, but, it was just a little different. I couldn't "save" a view as a "name", but, still, over time, I realized that that isn't something that I tended to use, but yet, for the longest time it was what prevented me from really using Plex.
Reply With Quote
  #17  
Old 01-27-2020, 09:40 AM
tvmaster2's Avatar
tvmaster2 tvmaster2 is online now
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Do ANY of these newer systems, PLEX, ChannelDVR, etc., have anything like the SageTV Media Extenders, their simplicity, portability, functions, remote control?
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #18  
Old 01-27-2020, 11:24 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by tvmaster2 View Post
Do ANY of these newer systems, PLEX, ChannelDVR, etc., have anything like the SageTV Media Extenders, their simplicity, portability, functions, remote control?
I think in many ways, this is where these systems are light years ahead of sagetv. ie, sagetv has extenders... Plex, ChannelsDVR has apps for android iOS (including Android TV) and Roku and many smart TVs, etc. Plex also have a great web interface that allows you to browse/manage/play your video library. You can remotely watch plex (I do all the time from a hotel, etc), or you can download content to your phone/tablet, etc. I mean in terms of those features... Plex is light years ahead of sagetv. But plex is not really a great DVR system, so, that's where it lacks. So for something like plex, you might need an extender, you might just use your TV's smart OS, but, if you needed an "extender" you can use an android TV box, or Apple TV, etc.
Reply With Quote
  #19  
Old 01-27-2020, 12:42 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by stuckless View Post
I think in many ways, this is where these systems are light years ahead of sagetv. ie, sagetv has extenders...
I totally agree, Plex is available on almost every platform like Roku, Samsung, Fire TV, etc. And it is becoming hard to buy a TV that is not a smart TV.

In the last year I have bought Sharp TVs with built in Roku and Toshiba TVs with built in Fire TV. They work really well and are very inexpensive at the low end for sizes around 32".

And Roku has a very good, open API.

The other advantage with these systems is that you can use them for pretty much any streaming service, like Netflix, Amazon Prime Video, Disney+, Apple TV+, etc. And also install Plex, Spotify for music. And since these are connected to your LAN you can generally control them via IP commands to integrate them into a Home Automation system.

The only caveat being that Roku does not have a Crave channel for those of us in Canada.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #20  
Old 01-27-2020, 12:55 PM
btrcp2000 btrcp2000 is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 888
I wasn't planning on putting any energy into Sage's successor anytime soon, but I have been paying attention to ChannelsDVR. SOunds like it's time to start playing with it. I hope it can be used on my 2 year old not-expensive-but-not-cheap-either UNRAID server preferably in a docker.

@tvmaster2, per your question about the extender features, I now have all Shield TVs, each one with a harmony remote. I have done almost everything that can be done playing with premium channels (colosuss 1,2, hdpvr 1 and 2, even r5000) and the only thing I sacrificed was 5.1 sound for reasons above my paygrade. OTA has always been plug n play for me, so I don't even think about them, but success can be measured in whether premiums work. Shields worked as well as the extenders, and the harmony remotes have been great too. We use them to navigate every app, not just sage. Really no different at all once you get used to it. All the androidTV devices and I assume AppleTV remotes are just up-down-left-right-select and maybe one or two more, which the harmony database is already aware of. Just a short learnign curve on harmony setup.

When Sage dies, I don't think I'll need any new hardware for whatever comes next.
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend
4 Nvidia Shield TVs with Miniclient

Last edited by btrcp2000; 01-27-2020 at 12:57 PM.
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
SageTV Docker Schedules direct cerickso88 SageTV for unRAID/Docker 6 02-24-2020 11:18 AM
SageTV V9, HDHomeRun, & Schedules Direct ttatraveler Hardware Support 9 06-01-2017 05:01 PM
Using Schedules Direct in UK jamesdisco SageTV United Kingdom 28 02-06-2017 11:54 AM
Plugin: Schedules Direct EPG Source for SageTV OSS Slugger SageTV v9 Customizations 89 10-11-2016 07:31 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:16 PM.


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