|
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 |
#1
|
|||
|
|||
Removing garbage widgets from STV
I know I can safely remove
- "circularities" widgets - yellow action chain widgets from an STV. What about orphaned blue action chains (for e.g. a blue IF action chain at the root level which leads to an UI widget ? I assume I can remove them as well (as long as they dont contain any widgets referenced elsewhere), since they never get executed ? Is this correct ? Thanks, Dirk |
#2
|
||||
|
||||
If they are in the root like that & have no references to them, they shouldn't ever be used as far as I know & would be safe to delete. They probably showed up there after having a parent removed.
- 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. |
#3
|
|||
|
|||
Quote:
Dirk |
#4
|
|||
|
|||
As a follow-up question, what about other widget types (e.g. panels, items, etc) in the root hierarchy ? Does anything else besides menus and hooks make sense as a root widget ? If not, can I assume that (as long as those orphaned widget trees are not referenced from somewhere else) these can be safely deleted as well ?
Thanks, Dirk |
#5
|
||||
|
||||
Root-level Hook widgets are potentially active (although it may depend on the specific hook type).
Apart from that, anything other than Menus that shows up at root level is by definition unreferenced and can be deleted. Even unreferenced (non-bold) Menus can be deleted, except for the three special menu names Main Menu, Screen Saver, and Server Connection Lost, which are referenced by name from the Sage core. (Might be nice if Studio would always show those three menu names in bold.) Just be careful when you delete a widget tree that there are no bold primary references within the tree. One trick I use is to select the bold widget and do Ctrl+U, Ctrl+D on it to send the primary reference somewhere else. Personally I think the Delete command would be a lot more intuitive (and a lot safer) if deleting a widget automatically deleted the whole subtree, excluding any primary references. That would minimize the danger of deleting something you want to keep, without littering the root level with a lot of orphan widgets.
__________________
-- Greg |
#6
|
|||
|
|||
Quote:
Quote:
Quote:
Btw, so what's up with this orphaned "IsPVR350OSDEnabled() && HasPVR350TVOutput()" that I first noticed in the standard 4.1 STV, and which is still in 5.0 ? Anyone knows ? Thanks for the clarifications, Dirk |
#7
|
||||
|
||||
Quote:
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#8
|
||||
|
||||
Quote:
When deleting large chunks of code, there's really no alternative to going through it manually, booting the primary refs somewhere else, before it's safe to block-select and delete what's left over. This is the part that would be easier and safer if automated.
__________________
-- Greg |
#9
|
|||
|
|||
Quote:
Dirk |
#10
|
||||
|
||||
Quote:
Generally, you can delete whatever you don't want to have in your STV. I would just be careful about deciding to add such deletions to an import, though. - 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. |
#11
|
||||
|
||||
Quote:
I have asked for a delete widget tree function in the past, which would automaticaly delete orphans, and only dereference widgets linked elsewhere, but it never came... It is also difficult to implement, as handling loops is pretty difficult...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki Last edited by nielm; 05-10-2006 at 04:17 AM. |
#12
|
|||
|
|||
Quote:
Dirk |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|