![]() |
|
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
|
||||
|
||||
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 |
#2
|
||||
|
||||
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 |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|