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 08-08-2007, 03:32 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
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
Reply With Quote
  #2  
Old 08-08-2007, 04:07 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
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
Reply With Quote
  #3  
Old 08-08-2007, 04:12 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Quote:
Originally Posted by nielm View Post
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...

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
Reply With Quote
  #4  
Old 08-08-2007, 07:14 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
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.
Reply With Quote
  #5  
Old 08-08-2007, 08:36 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Quote:
Originally Posted by stanger89 View Post
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.
Yeah, that was part of the problem...

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
Reply With Quote
  #6  
Old 08-09-2007, 05:31 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Hm, interesting...
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

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


All times are GMT -6. The time now is 06:06 PM.


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