|
SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
Quote:
Actors = ["Shatner, William":"Captain James Kirk";"Captain James Kirk's brother", "Nemoy, Leonard":"Spock";"Evil Spock"...] That way you don't have to maintain 2 1:1 arrays. |
#22
|
||||
|
||||
How about this....
We reuse the existing Sage property Actors, but we Store the values as Code:
Actors=William Shatner -- Captain James Kirk;Leonard Nemoy -- Spock I don't know if storing the actor and role in sage's single field will also allow you to use the people searching for roles as well. ie, if you search for "kirk", will it find "William Shatner -- Captain James Kirk", or does the search have to be an exact match?
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#23
|
||||
|
||||
Doesn't that make it hard(er) for an STV to search for the same actor in other mediafiles? Your second point is what I'm thinking. At the very least the STV (or something) would have to parse out the actor's name and search just on that. Where as if the name and role are stored separately the STV can just search on the name.
Of course all that said, you do bring up a good point, we really don't need two new properties, just one for the role, so you'd have: PeopleList - Stock property containing actor names RolesForPeopleList - Stock property containing the type of role (never understood this). CharactersForPeopleList - Custom property containing the character the actor played And no the custom property wouldn't be displayed in the stock STV, but it's not now, and isn't of great utility in that STV anyway. |
#24
|
||||
|
||||
Quote:
How does the list of labels get updated for a new key? What does GetMetadataDescription(key) return? Will your list of Sage Properties and Extended Properties get updated if I and an Extended Properties key via an STV? I support stanger89's CharactersForPeopleList suggestion. On a more generic level, I must say, I'm going crazy switching between this thread and the FanArt thread as there's quite a bit of overlap. And I still don't understand why they're in the SageMC forum (I only stumbled across them on a slow day), so just another gentle reminder that SageMC does not have exclusive use of metadata or FanArt. John |
#25
|
||||
|
||||
Quote:
Code:
Actor[0] -> ActorRoles[0] Last edited by evilpenguin; 03-20-2009 at 02:25 PM. |
#26
|
||||
|
||||
Does Sage use Rated= for its parental controls? If so we probably shouldn't change it to ContentRating= even though I think its a better name.
|
#27
|
||||
|
||||
Quote:
John |
#28
|
||||
|
||||
We're kind of stuck there anyway with PeopleList and RolesForPeopleList today anyway. you could always do creative things like add the actor twice if they're in two roles, or put the two characters in one slot eg "Bob and Jim".
|
#29
|
||||
|
||||
OK, then lets leave that alone.
|
#30
|
||||
|
||||
FYI, I updated the 2nd post with example property files.
|
#31
|
||||
|
||||
It occured to me last night that an "IsTrailer" flag might be handy, not sure how we'd set it though.
|
#32
|
||||
|
||||
So, having the "Episode Title" field, what should we store in the basic Sage Title field? The show title + the episode title? If it actually makes sense to put the full episode title in the basic title, I'm not sure if we ought to bother with having a separate epsisode title....
__________________
SageTV 6.6.2, SageMC+CenterSage Theme Server: Intel Core2 Q6600, 8gb memory, 3x 1tb WD EACS drives, software RAID5 2tb capacity, 4gb Flash boot drive, Ubuntu 8.0.4 Server edition Capture: 1x HD-PVR -> Motorola DTC6200 Clients: 1x STX-HD100 1x STX-HD200, Windows & OSX Clients |
#33
|
||||
|
||||
Sage already has an Episode field in the database by default, that's where it stores the episode title.
|
#34
|
||||
|
||||
yeah, but I think it's impossible to change it from outside of the api.
|
#35
|
||||
|
||||
Quote:
Quote:
The database Title and Episode fields have different contents depending on whether it relates to a recording or a video. John |
#36
|
||||
|
||||
Some problems with our metadata approach...
1. Sage is only setting the new metadata fields when a new media file is imported/re-imported. Once the file has been imported, we can change it, but sage won't pick up the new values, at least not right away. (you may be able to touch the media file and then tell sage to rescan, but he effect won't be immediate) 2. Mike provided me a problem that he's having with multi-set dvds. It makes me think that we'll need a DiscNumber metadata field as well. For example if you have the "Planet Earth" series on dvd, then you'll have multiple disc, but you may not have fanart for the complete set. So, much like i've done with the Seasons, we probably need to do with Discs as well... ie, first look in Planet Earth/Disc1/Backgrounds and then Planet Earth/Backgrounds/ The biggiest problem so far that I see with the fanart stuff, is that it relies on the movie title, which can't really be changed once the movie is imported. Which means that until everyone re-imports thier tv shows to populate the new MediaTitle and SeasonNumber fields, then season specific fanart will be broken. We really need a way to be able to update the metadata elements AFTER a media item has been imported.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#37
|
||||
|
||||
Sage is still working on this
Code:
SetMediaFileMetadata(MediaFile mf, String name, String value) Last edited by evilpenguin; 03-25-2009 at 06:01 PM. |
#38
|
|||
|
|||
Thought I'd add my 10 pence worth and say that it only works once, and thats when it gets imported. If you try and re-import it with updated metadata it doesn't get used unless you restart the whole service/system.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#39
|
||||
|
||||
If sage provides the new SetMediaFileMetadata() api call, then it should fix up all these little issues... but until that happens, i think that we should either work around it... or not release until the sage api call exists.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#40
|
|||
|
|||
It could also just be me not doing something right and it does acutally work ok. It maybe a good idea if someone else could verify that it doesn't update correctly on a re-import.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DST discussion | mikejaner | SageTV Software | 53 | 03-18-2010 07:08 PM |
Clean out old metadata created by My Movies before creating new metadata for SageTV? | Texas-Hansen | SageTV Customizations | 0 | 02-12-2009 10:31 AM |
EPG discussion | korben_dallas | General Discussion | 1 | 12-14-2004 05:30 PM |