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 11-03-2015, 11:17 AM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Can SageTV stream live TV over http?

I've always had my eye on integrating SageTV live tv watching with XBMC/Kodi. It appears, though admittedly I haven't looked too closely, that Kodi is accessing live tv streams through the pvr's webserver. I dug around a bit in the nPVR pvr addon and see lines like this:

Code:
sprintf(line, "GET /live?channel=%d%s&client=XBMC-%s HTTP/1.0\r\n", channelinfo.iChannelNumber, mode, m_sid);
I'm guessing they have mechanism in place to start/stop the streams via url variables.

Can Sage stream video over an http connection? Is it possible to send start/stop commands in a similar way?
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs
Reply With Quote
  #2  
Old 11-03-2015, 11:19 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Sage has all the APIs built in to allow someone to build a Kodi backend for Sage, but no one's done it yet.
Reply With Quote
  #3  
Old 11-03-2015, 11:22 AM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Thanks for the information. I know that a couple of guys worked on a SageTV addon that allows for viewing Sage recordings on Kodi and tried adding Live TV to it but couldn't get it to work. I believe it was written before PVR functionality was added to Kodi.
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs
Reply With Quote
  #4  
Old 11-03-2015, 11:53 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
LiveTV is problematic, especially for file based players, since unless they "know" the file is growing, then when they reach the end, they stop.

SageTV has 2 protocols for streaming... both of which I've had to implement for the Android MiniClient. These protocols are socket based and not http protocols, but certainly, other players could implement them, and gain access to live tv streaming, etc.

LiveTV is not something that I care about personally, but it should work on the AndroidTV, if I've implemented the protocols correctly
Reply With Quote
  #5  
Old 11-23-2015, 09:31 AM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
I'm back again, I took a look at the kodi pvr.demo code (https://github.com/kodi-pvr/pvr.demo) and am seeing that the channel information is set up like this:

Code:
    <channel>
      <name>Demo TV Channel 1</name>
      <radio>0</radio>
      <number>1</number>
      <encryption>0</encryption>
      <icon>special://xbmc/addons/pvr.demo/data/01.png</icon>
      <stream>http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4</stream>
    </channel>
The stream is definitely pointing at an http streaming url. So without this type of streaming url I'm guessing that a kodi pvr add on for Sage would be difficult to implement.

Can someone tell me if any Sage plugins can provide these sorts of streaming urls? I know that the webserver appears to allow for streaming of recordings but I don't see anything for selecting a channel from the epg and start the stream.
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs
Reply With Quote
  #6  
Old 11-23-2015, 04:42 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by dinki View Post
I'm back again, I took a look at the kodi pvr.demo code (https://github.com/kodi-pvr/pvr.demo) and am seeing that the channel information is set up like this:

Code:
    <channel>
      <name>Demo TV Channel 1</name>
      <radio>0</radio>
      <number>1</number>
      <encryption>0</encryption>
      <icon>special://xbmc/addons/pvr.demo/data/01.png</icon>
      <stream>http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4</stream>
    </channel>
The stream is definitely pointing at an http streaming url. So without this type of streaming url I'm guessing that a kodi pvr add on for Sage would be difficult to implement.

Can someone tell me if any Sage plugins can provide these sorts of streaming urls? I know that the webserver appears to allow for streaming of recordings but I don't see anything for selecting a channel from the epg and start the stream.
Yes, a plugin could do this. It would take some time and effort.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
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
Live stream with hauppage hd pvr amiljacobs SageTV Software 8 08-03-2009 11:43 AM
HD-PVR Live Stream? CiXel Hardware Support 8 07-19-2008 01:24 AM
HD ?: Will Sage Transcode Live HDTV to stream to MVP? SageMeToo SageTV Software 1 11-04-2006 12:19 AM
SageTV Client - Stream Live TV needbb SageTV Software 17 01-17-2006 11:12 AM
Can SageTV stream live TV? bahamian SageTV Software 1 03-25-2005 04:42 PM


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


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