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 10-15-2010, 07:48 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
GetFavoritePriority????

The only thing I can find in Studio or the SageAPI's that references the priority of Favorites is the options to Sort by 'FavoritePriority' - is there anything I'm missing?

I'd like to get the priority, ideally via a GetFavoritePriority(Favorite) call - but that doesn't seem to exist.

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #2  
Old 10-15-2010, 11:09 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
As I understand it, favorite priority isn't a simple integer that you can get or set. It's a set of relationships between pairs of favorites such that favorite X has higher priority than favorite Y, as established by CreateFavoritePriority. Sage knows how to calculate a total ordering of favorites from these pairwise partial orderings as needed, but neither the total ordering nor the position of individual favorites within it is stored anywhere.
__________________
-- Greg
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


All times are GMT -6. The time now is 02:26 AM.


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