|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
||||
|
||||
Quote:
However, I think the LayoutStarted hook might be a way to 'do stuff' each time on the panel with the animate property, since it is really a "layoutabouttostart" and gives you a change to load stuff / tinker with variables etc before refresh kicks off. btl.
__________________
PHOENIX 3 is here! Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient |
#22
|
|||
|
|||
I'd be carefull with a LayoutStarted hook.... I found more often than not that it would run away with itself especially if your relying on default Sage stuff to refresh various items within your screen.
Quote:
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#23
|
|||
|
|||
Quote:
I would use the animate like you are unless andy says it is going away. I doubt it will they probably put that because the newer way is more efficient especially on extenders and such. |
#24
|
||||
|
||||
Quote:
In terms of using the animation property, a forked thread, or an effect widget to do a loop... I suppose the answer would be "yes". I use various methods in the default STV, depending on what the loop does - how complex it is & so on. A very simple loop can be done via the animation property. If I want to control a lot more stuff outside that UI chain, then I will consider a forked thread. Don't forget to see the "Animation property vs. Refresh() API call" tip starting on p. 158 of the v7 Studio manual. And, there are ways to make sure the thread dies when it should & no additional threads are created while a single one is active. In addition to recognizing that a menu has been exited (or focus lost, etc), I will also use a variable to say that the thread is already active so that a second one can't be started. - 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. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Panel Properties | broconne | SageTV Studio | 2 | 10-28-2010 08:24 AM |
color control panel | mkloharry | SageTV Software | 1 | 05-10-2008 09:12 AM |
Right-to-left panel layout | GKusnick | SageTV Studio | 0 | 02-12-2007 02:30 AM |
Panel bug ? | dflachbart | SageTV Studio | 2 | 02-11-2007 04:53 AM |