![]() |
|
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
|
||||
|
||||
![]()
I was wondering if there is a complete list of valid values for SortTechnique and filter Method as used in the Sort() and FilterByMethod() API calls. I have found a few poking around, but I'm sure there are more that I am not aware of. Does such a list exist, or do I just have to search through the default STV to look for examples? Thanks!
Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#2
|
||||
|
||||
From the API docs:
Quote:
Similarly, the Method for filtering is just the string name of a SageTV API function or Java method that takes an object of the type being filtered and returns an appropriate value (Boolean, String, or Comparable depending on which filter function you're calling). In either case you're free to write a custom Java function to do the comparison or filtering and pass its name as the SortTechnique or Method.
__________________
-- Greg |
#3
|
||||
|
||||
Thanks Greg,
You know, I started to write a reply clarifying my request and then I realized what I was missing (thanks to your comments). It looks like there are a number of instances where a Get*() API call is used as a sort technique. I didn't make this connection before as they are just enclosed in quotes (such as "GetPathLastModifiedTime"). Thanks again for your help! Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|