SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #181  
Old 08-12-2015, 09:46 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by PLUCKYHD View Post
The route further to me is making a universal windows 10 app that access sagetv (more of just a new front end that access's sagetv as backend). To me that would be all I need as it would give me great cheap intel (ie hp stream) extender access.
And that would, presumably, allow you to create an Xbox One client since it is supposed to become pretty easy to port universal Windows applications to the XB1.
__________________
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
  #182  
Old 08-13-2015, 08:10 AM
18Scoobz 18Scoobz is offline
Sage User
 
Join Date: Feb 2005
Posts: 71
Jar for windows

Can someone that has already compiled Sage in Linux make the core jar available to try to modify the previous windows installer with it. We just need to replace the jar correct?
Reply With Quote
  #183  
Old 08-13-2015, 09:26 AM
Hotliner's Avatar
Hotliner Hotliner is offline
Sage User
 
Join Date: Mar 2008
Posts: 30
Quote:
Originally Posted by mistergq View Post
Cannot help with coding. But I surely can help with testing. If need be, I'm willing to build another server to help with the testing.
DITTO!!!
I have a fairly robust set up at home. VM Servers and NAS arrays etc.. I'm not too fluent in working with linux.. but am eager to learn.

I can help with testing for all windows products and OS platforms, with existing SageTV V7 and HD 200's and 300's

I also have several Android devices to play with.. GBOXMidnight MX2 &MX3, Xios DS, XIOS XS, Amazon Fire, and other devices Roku 3, Apple TV2 etc.

Let me know
Reply With Quote
  #184  
Old 08-13-2015, 09:42 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by 18Scoobz View Post
Can someone that has already compiled Sage in Linux make the core jar available to try to modify the previous windows installer with it. We just need to replace the jar correct?
Check the YouTube Plugin thread here:
http://forums.sagetv.com/forums/show...5&postcount=90

This is the 1st plugin that makes use of the new features, so he posted the two jar files for Sage v9.
__________________
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
  #185  
Old 08-13-2015, 10:07 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by Tiki View Post
Check the YouTube Plugin thread here:
http://forums.sagetv.com/forums/show...5&postcount=90

This is the 1st plugin that makes use of the new features, so he posted the two jar files for Sage v9.
If you do that make sure you do it to all PC Clients also as they will not connect. There really isn't anything new ... I guess the only real change you might see is the change to the DB.?

Last edited by nyplayer; 08-13-2015 at 10:31 AM.
Reply With Quote
  #186  
Old 08-13-2015, 11:32 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by nyplayer View Post
If you do that make sure you do it to all PC Clients also as they will not connect. There really isn't anything new ... I guess the only real change you might see is the change to the DB.?
Correct. Although there are new things in the Sage.jar the functionality is not used. The only exception to that (and the reason I put the post in the YouTube thread) is that there is a change that allows the YouTube plugin to do progressive playback of YouTube videos.
__________________

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
  #187  
Old 08-13-2015, 11:37 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by nyplayer View Post
If you do that make sure you do it to all PC Clients also as they will not connect. There really isn't anything new ... I guess the only real change you might see is the change to the DB.?
They did not release an updated STV (this is what creates the UI or "skin") with Sage 9. So, visually it will look the same, but may run a little faster / smoother. Here's my summary of the change log:

  1. They made it "open source", so license restrictions are removed, anyone can look at the source code, and people are free to use the source code to make new versions of Sage (to add features or fix bugs or whatever).
  2. They made a bunch of "bug fixes" and "efficiency improvements". Not clear exactly what these are, but it's possible that for people upgrading from Sage 7 it will just work a little better/faster/smoother. Sage 7 was already pretty stable, but its possible this will help alleviate some strange quirks that people have seen.
  3. They added a bunch of new API calls. Most of these are related to metadata (such as getting and setting information about the actors in a show). Unfortunately, it sounds like most of these new functions will only work if Google Fiber TV is providing the EPG data. For those of us using the standard Sage EPG data (or other plugins like Schedules Direct), these probably won't do anything (unless someone makes additional changes to the Open Source Sage in the future). Even if they worked, they would require someone to update the STV file to make use of them.
  4. They added some new hooks. Again, STV file would need to be updated to take advantage of them.
  5. Going forward, developers creating custom STV files or other plugins may be able to take advantage of some of these changes to allow them to provide new features that they couldn't offer with Sage 7 (for example the new YouTube plugin needs Sage 9 to support progressive playback).
  6. Further in the future, developers will be able to modify Sage 9 (and make Sage 9.1 or Sage 10 or whatever) that could offer new features or bug fixes.
__________________
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
  #188  
Old 08-13-2015, 11:38 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
So, with the source opened up, i was able to alter the user-agent that Sage uses. By spoofing XBMC's user-agent, PlayOn now sends 720p, so that's a good level of success. Requires a sage.jar from v9, which seems to break some other things (looks like gemstone doesn't like v9 yet - haven't looked into that one yet). But yeah for being a few steps closer to a new feature as a result of open sourced sagetv!
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #189  
Old 08-13-2015, 11:55 AM
jm9843 jm9843 is offline
Sage Aficionado
 
Join Date: Oct 2003
Posts: 288
Quote:
Originally Posted by Fuzzy View Post
By spoofing XBMC's user-agent, PlayOn now sends 720p, so that's a good level of success.
Is this a custom build of the jar? I didn't see where your commit allowed for spoofing the UA - only using the default Java UA or a Sage UA via the new property.
Reply With Quote
  #190  
Old 08-13-2015, 12:06 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Yeah, I have't pulled it to the master - it's not how I want to be able to do the spoofing. Ideally, Sage should default to it's own UA "SageTV/9.0.3" for instance. I am trying to get PlayOn to add that UA to their white-list. In the mean-time, for testing, i made one that allows a custom UA and duplicated XBMC's UA for it (to make sure that once the whitelist is fixed, this will work). The next thing i want to do in the sage.jar is to allow the UA (and other request properties) to be set specifically for an individual call to download a file. That way, if a given service needs to spoof a UA to make it work right, it can for that service alone. Otherwise, it would use either the 'Java/x.x.x_xx' UA or the "SageTV/x.x.x", depending on a properties setting.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #191  
Old 08-13-2015, 12:40 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by Fuzzy View Post
Yeah, I have't pulled it to the master - it's not how I want to be able to do the spoofing. Ideally, Sage should default to it's own UA "SageTV/9.0.3" for instance. I am trying to get PlayOn to add that UA to their white-list. In the mean-time, for testing, i made one that allows a custom UA and duplicated XBMC's UA for it (to make sure that once the whitelist is fixed, this will work). The next thing i want to do in the sage.jar is to allow the UA (and other request properties) to be set specifically for an individual call to download a file. That way, if a given service needs to spoof a UA to make it work right, it can for that service alone. Otherwise, it would use either the 'Java/x.x.x_xx' UA or the "SageTV/x.x.x", depending on a properties setting.
I actually just got a response from PlayOn, and they are actually intending on opening up the HD streams to any generic client, and getting rid of the white-list - so we would have had HD at that point anyway...
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #192  
Old 08-13-2015, 12:58 PM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 474
Quote:
Originally Posted by Fuzzy View Post
Yeah, I have't pulled it to the master - it's not how I want to be able to do the spoofing. Ideally, Sage should default to it's own UA "SageTV/9.0.3" for instance. I am trying to get PlayOn to add that UA to their white-list. In the mean-time, for testing, i made one that allows a custom UA and duplicated XBMC's UA for it (to make sure that once the whitelist is fixed, this will work). The next thing i want to do in the sage.jar is to allow the UA (and other request properties) to be set specifically for an individual call to download a file. That way, if a given service needs to spoof a UA to make it work right, it can for that service alone. Otherwise, it would use either the 'Java/x.x.x_xx' UA or the "SageTV/x.x.x", depending on a properties setting.
Hey Fuzzy, Did you test the new Sage.jar on your server with Gemstone as well? I only tested the client and found that it wasn't working well. Planned to test the server tonight but if you've already tried and know it doesn't work I won't even bother.
Reply With Quote
  #193  
Old 08-13-2015, 04:32 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I put it on my server and client, and both choked on gemstone, kicking back to the SageTV7 stv. However, after restarting each instance, and disabling the gemstone plugin, restarting again, and reenabling it, it appears to be working fine. Really not sure what the deal was, but I'm happy so far.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #194  
Old 08-13-2015, 08:34 PM
gcomrie gcomrie is offline
Sage User
 
Join Date: Jul 2006
Location: Southeastern PA
Posts: 9
Free Visual Studio?

I'll preface this by saying I'm not a developer, but this might help with compiling a Windows version: https://www.visualstudio.com/product...o-community-vs
__________________
SageTV user since 2004.
Reply With Quote
  #195  
Old 08-13-2015, 08:36 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by gcomrie View Post
I'll preface this by saying I'm not a developer, but this might help with compiling a Windows version: https://www.visualstudio.com/product...o-community-vs
The projects would have to be upgraded to be compatible and any bugs worked out from the upgrade.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #196  
Old 08-13-2015, 09:28 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
vs 2005 express should be able to compile it, but the solution will need a lot of work to make up for the missing items. At least 4 projects were removed, and I couldn't get the include paths set up right for some reason. A project attempt for another day it would seem.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #197  
Old 08-14-2015, 05:22 AM
scoful's Avatar
scoful scoful is offline
Sage Aficionado
 
Join Date: Jun 2006
Location: Lawrence, Kansas
Posts: 373
Correct me if I'm wrong, but

It sounds to me like initially all we really need for the windows side is an upgrade installation as opposed to a full installer. Prerequisite of 7.19 or whatever was the last release. All it would need to do is verify Sage is closed, prompt for the now optional product key (and create the environmental variable if they have a key), determine the existing installation path and drop the files over the existing ones. There are several simple installer creation programs or this could be accomplished with 7zip and AutoIt or even just a batch file.
__________________
SageTV 9 / 3 SageTV Clients / Ceton InfiniTV 6 / ComSkip
Reply With Quote
  #198  
Old 08-14-2015, 06:13 AM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by scoful View Post
It sounds to me like initially all we really need for the windows side is an upgrade installation as opposed to a full installer. Prerequisite of 7.19 or whatever was the last release. All it would need to do is verify Sage is closed, prompt for the now optional product key (and create the environmental variable if they have a key), determine the existing installation path and drop the files over the existing ones. There are several simple installer creation programs or this could be accomplished with 7zip and AutoIt or even just a batch file.
I think Fuzzy meant the Windows Launchers SageTV.exe or SageTVService.exe. They run and then load the Sage.jar and other classes. The launchers are VS 2005 projects according to the source code.
__________________
"Keep your goals away from the trolls"
Reply With Quote
  #199  
Old 08-14-2015, 06:14 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I can't tell precisely as I haven't dug too deeply into it, but if we are coding an upgrade/installer, you likely don't need to use an environment variable for the key. It appears the key is hashed and stored in the properties file, and that is where it is used. Our upgrade/installation bit could likely just do the hashing and store it in the properties, and call it a day. I'm always against environment variables if I can avoid them.

There should be no reason the key couldn't also be entered in the sage UI in the future as well, as part of setting up the EPG. (choose the Sage EPG, and you'll be prompted to enter a key, or choose Schedules Direct, and you'll be prompted for your SD credentials).

EDIT: This is wrong.. :-)
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room

Last edited by Fuzzy; 08-14-2015 at 12:02 PM.
Reply With Quote
  #200  
Old 08-14-2015, 11:58 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by Fuzzy View Post
I can't tell precisely as I haven't dug too deeply into it, but if we are coding an upgrade/installer, you likely don't need to use an environment variable for the key. It appears the key is hashed and stored in the properties file, and that is where it is used. Our upgrade/installation bit could likely just do the hashing and store it in the properties, and call it a day. I'm always against environment variables if I can avoid them.

There should be no reason the key couldn't also be entered in the sage UI in the future as well, as part of setting up the EPG. (choose the Sage EPG, and you'll be prompted to enter a key, or choose Schedules Direct, and you'll be prompted for your SD credentials).
The key is NOT hashed and stored in the properties file. The way it works on both platforms is that its passed into the JVM as 'system property'. This works on Windows by taking it from an environment variable (the license protection system worked that way by putting things into environment variables..which is why its done that way). I don't have opposition to changing how it's done...but I would be against having it stored in the properties file since quite often people post their properties files in the forum.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
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 Open Source Narflex Announcements 0 03-09-2015 02:39 PM
Why ISN'T Sagetv open source? matterofrecord General Discussion 9 11-30-2014 10:49 AM
BBC Iplayer goes open source Oddity SageTV United Kingdom 0 03-30-2013 02:30 AM
Open Source Movie mikejaner The SageTV Community 1 10-14-2008 08:13 AM
VLC - VideoLan Open Source Project taltman SageTV Customizations 4 03-08-2005 03:49 PM


All times are GMT -6. The time now is 02:14 AM.


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