SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-12-2011, 07:15 PM
korben_dallas's Avatar
korben_dallas korben_dallas is offline
Sage Icon
 
Join Date: Oct 2004
Location: USA
Posts: 1,250
Rearrange menu based on usage

Would it be difficult to have a context menu rerrange itself based on most-clicked / most-selected commands?

I find myself really only ever using 2 or 3 of the options on the recording dialog.. usually "Set Watched" and then "Delete". It would be nice if these commands would be at the very top of the menu.
__________________
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
Reply With Quote
  #2  
Old 02-12-2011, 07:41 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Obviously it's not hard to make an STVI that reorders menu items statically to suit your preference. This is undoubtedly the most expedient solution to your immediate problem.

But if actually you want to keep stats on which items are clicked and reorder them dynamically, then you'd need to redesign the menu to be table-driven, taking items from an array or list that can be sorted based on click stats or whatever. That's doable, but it's not a minor change, since it basically requires replacing the existing statically-defined menu items with the new table-driven design.

I guess another klugey way to do it would be to keep the statically-defined items, but assign their Y positions dynamically by table lookup. So you wouldn't actually be reordering the items in the menu structure; you'd just be causing them to display at different locations on screen. The drawback to this approach is that you'd lose the advantages of automatic layout and would need to calculate the position of each item explicitly. You might get some odd navigation artifacts as well, where down arrow might not always take you where you think it ought to. Personally I think the table idea would be a lot simpler to maintain once you got it working (although more of a departure from the current design).
__________________
-- Greg
Reply With Quote
  #3  
Old 02-12-2011, 07:55 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Writing a Plugin like this would be a good way to learn Studio
__________________

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.
Reply With Quote
  #4  
Old 02-12-2011, 08:34 PM
korben_dallas's Avatar
korben_dallas korben_dallas is offline
Sage Icon
 
Join Date: Oct 2004
Location: USA
Posts: 1,250
Quote:
Originally Posted by tmiranda View Post
Writing a Plugin like this would be a good way to learn Studio
Yes my delving into Studio is inevitable - once I get a little further in my Java skills - but I want to make sure my goal is actually doable instead of wasting a bunch of time.
__________________
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
Reply With Quote
  #5  
Old 02-12-2011, 08:39 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
It's very do-able, and a good idea. Studio is a different animal from Java. I bet you could do most of the Plugin in Studio directly and not write any java code at all.
__________________

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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
missing selection icon in DVD menu, and how to select root menu brantmacga SageTV Software 6 01-18-2011 09:53 PM
Pressing info and menu button in 6.3.9 no longer shows the applicable menu LehighBri SageMC Custom Interface 3 04-02-2009 12:05 PM
Sage recording show based and not channel based? exclavieor SageTV Software 4 10-27-2007 09:13 PM
Where can I find the menu title theme (Main Menu, Program Guide, Setup Menu, etc) mkanet SageTV Studio 5 11-11-2005 04:55 AM


All times are GMT -6. The time now is 06:04 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.