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
  #1  
Old 09-08-2015, 07:11 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
How to handle STV updates

I have a pull request almost ready that adds 2 new methods to the Favorites API (just waiting to be able to sign the CLA). I also have corresponding changes to the STV to use those new calls. That got me wondering... how are we handling STV updates in the open source version? Are we just submitting pull requests with updates to the SageTV7.xml STV file? (as opposed to the update mechanism built into the default STV? which I'm not even sure is being used for the open source version.)

Also, (mostly for Jeff) should there be one pull request with the API updates and another for the STV updates, or should they be packaged together in one pull request.

Since no one has submitted STV updates yet, I thought I'd start by asking.
Reply With Quote
  #2  
Old 09-09-2015, 12:02 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by skiingwiz View Post
I have a pull request almost ready that adds 2 new methods to the Favorites API (just waiting to be able to sign the CLA). I also have corresponding changes to the STV to use those new calls. That got me wondering... how are we handling STV updates in the open source version? Are we just submitting pull requests with updates to the SageTV7.xml STV file? (as opposed to the update mechanism built into the default STV? which I'm not even sure is being used for the open source version.)

Also, (mostly for Jeff) should there be one pull request with the API updates and another for the STV updates, or should they be packaged together in one pull request.

Since no one has submitted STV updates yet, I thought I'd start by asking.
Ideally I would like them to be 2 separate pull requests since I have to approve pull requests as a whole. I'm still curious what happens if someone just tries to commit directly to the project and push the change that way....that's what I do (but of course I have rights to do that). Then we can just work with commits (which is what I'm used to normally doing in my workflow).

As for STV changes...those of course can be accepted; but be sure they're not better off as a plugin.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #3  
Old 09-09-2015, 12:58 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Narflex View Post
Ideally I would like them to be 2 separate pull requests since I have to approve pull requests as a whole. I'm still curious what happens if someone just tries to commit directly to the project and push the change that way....that's what I do (but of course I have rights to do that). Then we can just work with commits (which is what I'm used to normally doing in my workflow).

As for STV changes...those of course can be accepted; but be sure they're not better off as a plugin.
If a person doesn't have access to push to YOUR repo, then they'll get a permission denied. I can clone directly from google/sagetv, but I can't push to it... ie, it doesn't create a pull request, or stage it somewhere... it just fails. (I haven't tried this with your repo specifically).

Typically for "features" you can put them in separate branches, and then push them as a single feature with multiple commits. (ie, related commits should go together)

I'm not sure you want to open up your repo to allow public commits... But something you can do, if you want to allow such a thing, is create ANOTHER repo that is public, and then you can cherry pick which commits you want from that repo, instead of people submitting pull requests. You'll be doing a lot more manual merging that way though.
Reply With Quote
  #4  
Old 09-09-2015, 07:58 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by Narflex View Post
As for STV changes...those of course can be accepted; but be sure they're not better off as a plugin.
I've gone back and forth about that. This is the Enable/Disable Favorites plugin. Because the way that enable/disable worked was a hack (messing with the category of the favorite), I've added proper support and API calls to SageTV Core. So once the functionality is in the core, should the STV be updated to take advantage of it? Should a plugin be required to expose that functionality that exists in the core?
Reply With Quote
  #5  
Old 09-10-2015, 11:04 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by skiingwiz View Post
I've gone back and forth about that. This is the Enable/Disable Favorites plugin. Because the way that enable/disable worked was a hack (messing with the category of the favorite), I've added proper support and API calls to SageTV Core. So once the functionality is in the core, should the STV be updated to take advantage of it? Should a plugin be required to expose that functionality that exists in the core?
This one I'd agree is a change that's fine for the core. And yeah, making a change to the STV to enable this feature would be fine. Let me check with Andy first to make sure we have the latest one in GitHub...
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #6  
Old 09-10-2015, 11:22 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Before any changes are made to the STV in GitHub, I would like to take a look at the STV I've been using that has a few more features from the past few years that might be useful and get a new one submitted.

I also agree that any new core features can be added to the STV w/o having to make a plugin for it.

I'll also be unhiding the hidden features.

Edit: and if I have access to an updated STV for new features, I can see about including those changes while I'm at it.

Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #7  
Old 09-10-2015, 08:14 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by Opus4 View Post
Before any changes are made to the STV in GitHub, I would like to take a look at the STV I've been using that has a few more features from the past few years that might be useful and get a new one submitted.

Edit: and if I have access to an updated STV for new features, I can see about including those changes while I'm at it.
I was planning on updating the STV after my core changes are accepted. I have an STV Import I can send you when that happens that adds the new feature. (Or you can get the STV change from the pull request that I'd eventually create.)
Reply With Quote
  #8  
Old 09-17-2015, 09:58 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
I finally had time to get the latest STV files in GitHub.

And, the hidden features are now no longer hidden. Instead, those features default to off, and there are options at the bottom of Detailed Setup -> Customize to enable/disable the features all at once or individually. I couldn't bring myself to completely get rid of 5309 on System Info... but it is no longer used to toggle the hidden extras setting. (Well, you can still kind of do it that way...)

Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #9  
Old 09-18-2015, 04:54 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Opus4 View Post
I finally had time to get the latest STV files in GitHub.

And, the hidden features are now no longer hidden. Instead, those features default to off, and there are options at the bottom of Detailed Setup -> Customize to enable/disable the features all at once or individually. I couldn't bring myself to completely get rid of 5309 on System Info... but it is no longer used to toggle the hidden extras setting. (Well, you can still kind of do it that way...)

Andy
Any chance you'll give a list of what those features are
Reply With Quote
  #10  
Old 09-18-2015, 05:35 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
Any chance you'll give a list of what those features are
Pretty sure all they are the disk space bar, malore menus, numeric quick search, and marking of HD and 1st run on the EPG.
__________________
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
  #11  
Old 09-18-2015, 07:23 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by stuckless View Post
Any chance you'll give a list of what those features are
They are all listed here: hidden features.

In addition to what Fuzzy listed, it also has default settings for new Favorite and Manual recordings, access to partial recordings, and a few other tweaks here & there.

Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
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 handle img DVD images (as opposed to ISO) mkanet SageTV Software 2 01-04-2013 05:46 PM
how does Sage handle resolution changes w/ HD-PVR dvd_maniac Hardware Support 5 09-21-2010 08:15 PM
HD-100 using resolution that tv can't handle MartyJ SageTV Media Extender 0 02-07-2009 09:39 AM
Via c3 800 can't handle 2 tuners as a server?! Dekard Hardware Support 15 01-30-2006 08:45 AM
How Does MVP handle TS files ldavis SageTV Media Extender 1 12-16-2005 09:42 AM


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


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