|
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
|
|||
|
|||
Stumped with RolesListForPeopleList in AddShow()
Not sure if I'm doing something wrong, or if this is a bug:
I'm not able to change the list of roles for a show object. When I update the metadata for a show with AddShow() and pass in the existing list of role values for the "RolesListForPeopleList" parameter, a following "GetPopleListInShowInRoles" correctly returns the same role values. But if I change just a single entry in that input parameter list in order to change a particular role entry, the field in the show object seems to get set to an empty string, all following access calls return an empty string at that position. Any ideas ? Dirk |
#2
|
||||
|
||||
I am not sure I understand exactly what you are doing, but I got this working in the webserver's edit show info... and it works in 6.1.9 (not tried it in 6.2 yet)
Only a certain set of Role names are supported (corresponding to what GetRoleTypes() returns), and both people and Role lists must be java String arrays, not lists...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#3
|
|||
|
|||
Quote:
Ahhh ok, I didn't know that there was a restriction on the set of role names. I'm trying to update the role list from DVD profiler metadata, and it probably uses different role names which are not supported. Maybe I can do some mapping first... Thanks a lot Niel, Dirk |
#4
|
||||
|
||||
Yeah, I'm guessing you're trying to do what I want to do, that is put the actual "role" (ie character) in that field. Unfortunately, it only supports things like "Lead Actor", etc.
|
#5
|
|||
|
|||
Quote:
I think I found a solution for now - for actors, I append the character role from DVDProfiler in parenthesis to the actual PeopleList entry and set "Actor" as the role. I might make this into an option, for those who want to keep "clean" actor fields in the wiz.bin (though I tested the 'people' search in the default STV with this, and it still works). For the 'functional' roles, I parse the <CreditSubtype> entries from the collection.xml, and add Name and Role to the parameter lists if the entry is "compatible" with the supported SageTV roles (there are a few, like e.g. 'Director', 'Producer', etc)... Dirk |
#6
|
||||
|
||||
Hm, interesting...
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Motorola DTC2000 Plugin | Beelzebub | Hardware Support | 221 | 05-05-2010 12:26 AM |
AddShow in 6.1.4 | JREkiwi | SageTV Studio | 2 | 03-22-2007 09:53 PM |
Long ramble on AddShow, AddAiring, AddMediaFile | nielm | SageTV Studio | 13 | 09-01-2006 04:06 PM |
Stumped at java exception | beelzerob | SageTV Studio | 12 | 07-25-2006 11:46 PM |
I'm stumped | gplasky | SageTV Software | 4 | 01-05-2006 07:15 AM |