|
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
|
|||
|
|||
Getting list of property/metadata names attached to objects?
Can an API method be added to get the list of property/metadata keys attached to an object (such as FavoriteProperty, MediaFileMetadata, PlaylistProperty, etc.). Basically any object that can have a property/metadata attached to it. Why? I'm looking write a simple app (web or native, not sure yet) that is basically a prop/metadata editor. I'm really starting to use the properties, especially on favs, to store bits of data that I then use in various scripts, etc. The problem is there's no easy way to set/edit/delete these properties other than to write a script to set the values. I'd like to make this simple prop/metadata editor, but would really only be useful if I can get a list of the property names attached to objects and present the user with the ability to edit those values.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#2
|
||||
|
||||
OK, these are in there for the next build, 7.1.3. But it was done slightly differently. Instead of returning a list of the property names, it returns a java.util.Properties object that contains a complete map of all the name->values. For MediaFile objects, this also includes all of the standard database fields in addition to the external property settings (and it was done so anything in there can be turned around into a SetMediaFileMetadata API call to set that value). This should make building that editor a piece of cake.
__________________
Jeffrey Kardatzke Founder of SageTV |
#3
|
|||
|
|||
Lost track of this thread... just noticed the reply now. This is excellent. The editor will be rather easy once 7.1.3 is released.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Metadata Names/Values | evilpenguin | Batch Metadata Tools | 8 | 08-13-2010 09:56 PM |
MetaData not showing names in SageV7 | JeffDerek | Batch Metadata Tools | 1 | 08-09-2010 02:11 AM |
Getting ripped DVDs with similar names to list correctly | jefff | SageMC Custom Interface | 4 | 01-16-2010 06:52 PM |
List of property settings | kenP | SageTV Software | 7 | 12-29-2008 09:08 PM |
Widget type and property names | GKusnick | SageTV Studio | 3 | 05-22-2008 01:35 PM |