![]() |
|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Plugin: OneTimeFavorite
This plugin allows you to define a Favorite that will be removed after one recording has been made. This is particularly useful for recording movies because you can simply select the movie as a One Time Favorite and let the Sage scheduler figure out when is the best time to make the recording.
To install go to the UI Mod section of the plugin manager and install "OneTimeFavorite". If you install the UI Mod on a SageClient, you must also install it on the Sage server. (If you typically do not use a UI on the server you can install the "OneTimeFavorite General" plugin from the General section of the plugin manager instead.) After installation you will notice a new entry on the Favorite detail screen that allows you to specify that the Favorite is a One Time Favorite.
__________________
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. |
#2
|
|||
|
|||
Just so I understand - is this to be used to have Sage record a movie that is not currently in the guide but that you would like to have recorded if it ever shows up on TV some time in the future? You just set it up as a Fave and if and when the movie is shown it will record the movie and then be gone?
__________________
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 |
#3
|
||||
|
||||
Quote:
__________________
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. |
#4
|
||||
|
||||
Quote:
__________________
SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming |
#5
|
||||
|
||||
Quote:
Long answer.... The plugin has two parts: One part for adding the One Time Favorite option into the UI. This is the "OneTimeFavorite" plugin that you find in the "UI Mod" section of the plugin manager. One part that resides on the server and listens for One Time Favorites to finish recording. This is the "OneTimeFavorite General" plugin that you find in the "General" section of the plugin manager. If you install the UI Mod plugin it automatically installs the General plugin. You must make sure the "General" plugin is installed on the server and there are several ways to achieve that: 1. Install the UI Mod on any UI instance that runs on the server (extender, placeshifter, server UI). 2. Install the "General" plugin from any UI instance that runs on the server. 3. Install the "General" plugin from as SageClient as a server plugin. So if you install the UI Mod on any extender or placeshifter it automatically installs the General plugin on the server, meaning you are done. If you ONLY install the UI Mod on a SageClient it will NOT install the General plugin on the server so you must do it manually using method 2 or 3 from above. I recommended installing it on the server UI only because it is simple to explain and understand. It seems more convoluted to tell people that if they only install it on a SageClient that they must install the UI Mod plugin and then install the General plugin as a server plugin. I should ask Sage for a feature request so we can specify "if this plugin is installed on a SageClient make sure that plugin XYZ is installed on the server." Right now that does not exist so developers must tell users to do it manually.
__________________
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. |
#6
|
|||
|
|||
Quote:
![]()
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#7
|
|||
|
|||
Tom,
I have a few questions about your plugin. It appears that it treats the recording as livetv and will delete first. 1. I noticed once it is recorded it is no longer a favorite. (of course) 2. It is not manual. 3. It is not archived This causes sage to treat it as live TV... Is there any way that after recording you can mark it as manual?
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#8
|
||||
|
||||
Quote:
Can you open a ticket on my Google code site so I don't forget about you? http://code.google.com/p/tmiranda/issues/list
__________________
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. |
#9
|
|||
|
|||
Quote:
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#10
|
||||
|
||||
I have a test version available that will set the one time favorite to a manual, let me know if you are interested in trying it out.
__________________
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. |
#11
|
||||
|
||||
I just uploaded an update that will make one time favorites become manual recordings. If you do not want them to be marked as manuals make sure the following property is set to False:
Code:
otf/make_manual=True
__________________
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. |
#12
|
||||
|
||||
Interesting turn of events here. I've noticed that in Opus's latest STV update for the weather changes, it automatically popped up a window saying it needed in install the google weather plugin. This was apparently done in the STV, so it is something that could be implemented in the UI Mod, having it check and ask to install the Library plugin on the server... just a thought...
__________________
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 |
#13
|
||||
|
||||
I saw that too and looked into how Andy did it. (Going from memory.) He tries to access a Java class in the weather jar and if it fails he assumes the plugin is not installed and goes on from there.
__________________
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. |
#14
|
||||
|
||||
Sounds as good a hack as any. Shouldn't be too hard to implement, though I'd think you could use the plugin API to actually find out if the plugin is installed. The STV obviously has a method available to do this, as it is done in the plugin manager screens.
__________________
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 |
#15
|
||||
|
||||
Yes, there are methods to check. Andy had to do something funky in the STV but I only looked at the code once and I don't remember the details.
__________________
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. |
#16
|
||||
|
||||
It looks like the plugin UI simply calls GetInstalledPlugins() for standalone or server plugins, or GetInstalledClientPlugins() for client in client server mode. Iterate through that for your server plugin, and launch the install via a jump to the 'Install Plugin' widget in the stock plugin UI. (That way it handles reboots and such if necessary).
__________________
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 |
#17
|
||||
|
||||
I looked at this last night and realized what's going on. The STV update is not handled through the plugin manager, it's done in a completely different way that does not include downloading any jars. So the first time the STV code is executed after the update it sees that jar is not present (because the java method call fails) and prompts the user to do the install.
__________________
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. |
#18
|
|||
|
|||
Quote:
Thank You
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#19
|
||||
|
||||
Quote:
__________________
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 |
#20
|
||||
|
||||
Quote:
![]()
__________________
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. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) | cslatt | SageTV Customizations | 48 | 06-11-2012 10:44 AM |
SageTV Plugin Developers: Any way to see stats for your plugin? | mkanet | SageTV Software | 4 | 12-12-2010 10:33 PM |
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin | deria | SageTV Customizations | 447 | 12-11-2010 07:38 PM |
Plugin Manager: Configure plugin | medwynd | SageTV Beta Test Software | 0 | 05-29-2010 08:43 AM |
Hulu: Possible to Use XBMC Hulu Plugin to create SageTV Plugin? | Brent | SageTV Customizations | 8 | 02-24-2009 04:16 PM |