|
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 |
#201
|
|||
|
|||
I agree this looks great and I can't wait to try it out.
A question on UserRecord - is this used to hold "custom" metadata about a MediaFile? Why haven't people used this to hold cut lists from Comskip/ShowAnalyzer. That seems to make more sense than having a separate .edl (or whatever) file, unless I am misunderstanding what UserRecord is used for. Slugger - any chance of adding an SJQ Add Task button when viewing a Recording? I really like the SJQ UI in Sage but when playing around testing new SJQ Tasks this could be a quick way to kick them off.
__________________
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 |
#202
|
|||
|
|||
Quote:
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#203
|
|||
|
|||
But if that external app is called by SJQ it wouldn't be too hard to write results back to a UserRecord with a SageGroovy script, would it?
__________________
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 |
#204
|
|||
|
|||
Quote:
If you wanted to store the edl contents as a metadata property of its corresponding MediaFile object in wiz.bin as a backup to the edl file on disk then that might be an interesting idea. Then you'd just have to write a script that could extract the edl data and write it back to disk in case of disaster/restore/etc.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#205
|
|||
|
|||
I just think of the commercial "cuts" as another form of metadata. Why not hold everything in one place? Having a separate edl file remains me of BeyondTV which stored metadata in XML files.
__________________
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 |
#206
|
|||
|
|||
Quote:
Another reason one may want to refrain from this kind of approach: Sure you can mod Sage to pull edl data from metadata, but XBMC, Boxee, etc. all expect to find edl files on disk, along side the video file to which it corresponds and wouldn't even know to (or how to, for that matter) pull the data from the media file. EDIT: Well, I felt like I made a bold claim saying I could shove all edl files into their media file's metadata in 10 lines or less of code. Turns out it's 12. And it's only that many because I forgot about having to handle multiple segment recordings (otherwise I could have done it in 9 lines! ). This is a complete groovy script and does not require the SJQ env to run. All it requires is sagex-api.jar and commons-io.jar be in your classpath and this will run directly from a Groovy command line. Run it periodically to shove edl file into a recording's metadata. WARNING: Lightly (very lightly) tested; USE AT OWN RISK. Code:
import sagex.api.* import org.apache.commons.io.FilenameUtils MediaFileAPI.GetMediaFiles('T').each { mf -> def i = 0 MediaFileAPI.GetSegmentFiles(mf).each { f -> def edl = new File(f.getAbsolutePath()[0 .. (-1 * (FilenameUtils.getExtension(f.getName()).length() + 1))] + 'edl') if(Utility.IsFilePath(edl.getAbsolutePath())) MediaFileAPI.SetMediaFileMetadata(mf, "edl_$i", edl.getText()) ++i } }
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... Last edited by Slugger; 01-04-2012 at 11:32 PM. |
#207
|
||||
|
||||
Quote:
I think you are secretly the president of the "Groovy can do anything and I want the world to know it" club, and you're doing a good job of proving it Tom
__________________
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. |
#208
|
|||
|
|||
I'll admit, I've taken a keen interest in scripting languages in the VM, especially Groovy, over the last few months and exploring what I can do with them.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#209
|
|||
|
|||
v2.33 released
v2.33 is now in the repository. As mentioned in the release notes, be sure to thoroughly clear your browser cache after upgrading. Holding CTRL+clicking refresh (IE) or holding Shift+clicking refresh (FF, Chrome) will do it, but it seems you may have to do it a bunch of times before everything is cleared. You'll know you've done it when you see the new options under the SageTV menu (Plugin Manger and UserRecord Editor are the new options).
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#210
|
|||
|
|||
Quote:
I would like to add Fanart images to the recording detail page. Is that possible with Groovlets and GSP scripts?
__________________
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 |
#211
|
|||
|
|||
One suggested change - in the System Messages screen can the buttones for Reset, Delete, etc be moved from the bottom to the top of the page? It is easy to miss these buttons if you have more than one screen full of messages, which I do.
__________________
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 |
#212
|
|||
|
|||
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#213
|
|||
|
|||
I'm still working on the docs. Is this possible? Yes. In it's current state? Probably not. I figure you'll need to set the background via CSS and the current header template doesn't support dynamic CSS inclusions. It can be added, but I'd probably figure out how to set the background first then let me know what's missing in the template via an issue ticket.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#214
|
|||
|
|||
Quote:
__________________
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 |
#215
|
|||
|
|||
Maybe I don't know what I am doing but UserRecord Editor looks strange on my system. Under Store I see multiple listings for stuff like SageDiamondTeam, sre4, SageDiamondTeamSAGETV_PROCESS_LOCAL_UI , etc. And there is nothing under the Key dropbox no matter what I select.
__________________
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 |
#216
|
|||
|
|||
Quote:
If possible I would also like to change my Sage Recordings page to display the TV show banners rather than the ShowTitle so that it is more consistent with what I see on the TV Recordings page on the Sage Diamond UI.
__________________
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 |
#217
|
|||
|
|||
Quote:
It might be as simple as it's not finding the jQuery library. Open the page source and at the top you'll see a link to the jQuery lib, can you download that file? If so, then I need to see the JS errors. If the jQuery lib isn't present then the bug could be a packaging error.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#218
|
|||
|
|||
Quote:
After rereading your plans, you're not going to be able to make the kind of changes you want. If you want to change the background of existing pages (like DetailedInfo or Recordings) then that's not possible via Groovy because these web pages aren't generated via Groovy. Now, with some CSS changes you might be able to still change the background on these pages (I'm not a CSS wizard or even all that knowledgeable with it), but to dynamically figure out which image to actually use as the background, well that will require you to make changes to the Java code - again because the existing web pages are written in Java. You also won't be able to replace the channel logo with fanart, for example - or at least not without modifying the Java code that exists for the web page today. Adding a new web page to the UI via Groovy and setting the background image dynamically via CSS - that's doable. I probably will need to make some changes to the templates to support it, but it's probably doable.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#219
|
||||
|
||||
I am trying to update my webui plugin and cannot. It tells me the plugin is not compatible. I briefly searched his thread... Briefly .
I wan unable to find someone with this issue. Any idea why this plugin would all of the sudden be incompatible with my system? |
#220
|
|||
|
|||
Quote:
__________________
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 |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: SageTV Web Interface V2 for Jetty | jreichen | SageTV Customizations | 256 | 02-09-2014 08:05 AM |
Plugin: Mobile Web Interface 1.2 | jreichen | SageTV Customizations | 281 | 06-17-2011 02:20 PM |
Plugin: Sage Web Lite (SWL) | Slugger | SageTV Customizations | 28 | 04-23-2009 01:32 PM |
Web Plugin RSS feed question | matt91 | SageTV Customizations | 1 | 07-28-2006 11:24 AM |
error message with web server plugin | edgley | SageTV Customizations | 3 | 01-15-2006 11:32 AM |