|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#161
|
||||
|
||||
GetImage certainly is a LOT faster than GetFanart would be with a remote central fanart folder. that said, i did just implement a dummy image (just a transparent image with the text shotitle always drawn behind the banner) and it seems to fly by. Yes, the cache is full of banner sized transparent images, and I suppose it should check the getfanart calls periodically to update. That said, I think it might be best to move the createimage(getfanart) calls to a forked background thread and have it just periodically ran/checked.
__________________
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 |
#162
|
||||
|
||||
If you need to scale the images, then using the CreateImage is the correct usage - using the {name: scale} transform. I was referring to when you DON't need to scale them.. like for PC clients which use the D3D surfaces for scaling in hardware.
__________________
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 |
#163
|
||||
|
||||
Quote:
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#164
|
||||
|
||||
The next version of the phoenix api will be able to accept null for the transform. Doing that will use a 'dummy' transform that simply does nothing with the image. This allows the image to then be cached. It was the easiest way to implement what you wanted. I still have to load the buffered image because the ImageAPIs work with files, string, and sage MetaImages. But, you won't need to use use a cryptic transform, just to place the image in the cache.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#165
|
||||
|
||||
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 |
#166
|
||||
|
||||
Quote:
The Image Transforms are pluggable as well, so you can, in theory write your own transforms and register them... you can even provide transforms in javascript, if you wanted . You could even replace the core transforms, such as scaling, with more efficient ones. BTW, the next release of Phoenix will have the fanart caching restored. Basically this is a short term cache that caches the initial lookup for the file in memory for a short time. I removed it when I added episode fanart because it complicated it, but it's back now. That will provide a performance gain if you are using HasFanart and then calling GetFanart.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#167
|
||||
|
||||
I was in no way saying that json was a poor method of handling this. Far from it actually. I was more saying that the transform argument should be fully optional, and a null in there should skip over the json parsing, as opposed to razrs mentioned. {name: copy} suggestion.
__________________
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 |
#168
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#169
|
||||
|
||||
No worries. Maybe if I get a chance I'll look at the code and see if there's an easy if-skip that would handle it.
__________________
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 |
#170
|
|||
|
|||
Quote:
when registering a transform... does it get registered forever? or only until sage restarts? Is there a way to see if a transform name already exists so you don't keep reregistering it? When registering a transform does that save the json parsing step that fuzzy is concerned about, so the json is only parsed once (when registering)?
__________________
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 |
#171
|
||||
|
||||
Quote:
As for json, it is passed when you do a create image as a string. Honestly, there is so little overhead in parsing a json string (esp of this size) it's not really worth much effort (on my part). I probably waste more cpu cycles creating the hashkey for the images than the json parser does parsing the transform I could probably store a parsed version of the json data and look it up by it's json string, but again, there's probably more cpu cycles doing that, than simply reparsing the string. I think if the strings were larger and more complex it would be a little more of an issue. If i recall, the last time I benchmarked the json parser, it takes something like 5ms to parse the string. (first time is a little longer because java has to load classes,etc). If I get time, I'll rebenchmark the json parsing to see if it's changed, but it is extremely fast.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#172
|
|||
|
|||
Just confirmed that updating to bmt 4.9.7 (phoenix 2.3.12) on the client and server DRASTICALLY improved the browsing speed of TVE when banners are enabled. WOWOOWOWO... thanks sean for reenabling the short term caching. The first display of the banners is still slowish (faster then it was before) but after that its blazing fast....
__________________
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 |
#173
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#174
|
||||
|
||||
I checked out the details for the latest release as soon as Sage popped up the INFO icon and immediately gave it a shot. Talk about a night and day difference! Banners are back on in my setup and I'm really happy with the scrolling speed. It's not quite instantaneous, like without them, but the very tiny delay is barely even noticeable.
Thanks for getting this implemented so quickly, stuckless!
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#175
|
|||
|
|||
Quote:
EDIT: for people that have fairly stagnant fanart setups... what might be nice is the option to never have the cache expire (except when sage restarts) and then provide an api where the user could manually reset the cache if something was changed (ie new movie added or fanart changed) either from the BMT web ui or implemented in the STV.
__________________
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 Last edited by razrsharpe; 01-09-2011 at 09:55 PM. |
#176
|
||||
|
||||
Quote:
I'll do more around this later, but as i mentioned, this was a quick addition in a very busy weekend I'll add an enhancement req to update the fanart caching, so that I don't for get it.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#177
|
|||
|
|||
Quote:
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 |
#178
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#179
|
||||
|
||||
In the process of setting up a new sagetv server and want to do it right (this time).... But I can't find the instructions for installing tvexplorer for the sagetv 7.x default ui... Can anybody point me in the right direction?
|
#180
|
|||
|
|||
Quote:
http://forums.sagetv.com/forums/show...7&postcount=88 there's a fairly annoying bug in TVE Options right now... where editing options that have text or numeric input... you basically cant navigate the ui when entering the values... I believe this doesn't happen if you install sagemc (but haven't confirmed it, and haven't yet sat down to fix it... )... all the options are still editable in the properties file... and boolean or list options still work just fine....
__________________
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STV Import: Comskip Playback for Default STV (v1.5.4 30/August/2008 for SageTV 5/6) | JREkiwi | SageTV Customizations | 600 | 11-23-2011 07:58 AM |
STV Import: TVExplorer for SageMC | razrsharpe | SageMC Custom Interface | 704 | 01-23-2011 01:36 PM |
STV Import: Auto Compress for version 6 Default STV (V1.4.5 1/October/2008) | JREkiwi | SageTV Customizations | 325 | 10-15-2010 03:06 PM |
STV Import: TVExplorer for the Default STV | tmiranda | Customization Announcements | 0 | 02-15-2010 06:14 AM |
STV Import: Fan Art for Default STV by TiKi (v2.2 Feb 22, 2009) | Tiki | SageTV Customizations | 102 | 01-05-2010 05:16 PM |