INTERACT FORUM
More => Old Versions => Media Center 14 (Development Ended) => Topic started by: Hirez24 on September 12, 2009, 03:02:24 pm
-
All my videos have multiple genres (for example Action;thriller;drama.) Media center creates a separete genre field for each variation of the multiple genre listing which is fine, but I would all like those videos to show up in each seprate genre so the film tagged (Action;thriller;drama) would show up in all genres that apply to that particular movie. I searched the forum but did not get any relevant information. If any one knows how to do this could you please share it with me.
-
The standard Genre field is for recording a single genre for each item—which is the convention for music. For video, you need to create a custom list field to properly handle multiple fields. I use a number of custom fields to handle video data that does not "fit" in the standard fields provided. I distinguish them from standard fields by appending a "." to the name. In other words, I use the standard field Genre for music, and my custom list field Genre. for video.
-
Rick, Thank you for your input. Would you be able to go into greater detail as to how one would make a custom list field? Every time I go into that section of the settings I get confused. If you could point me in the right direction I would greatley apriciate it.
-
Go to Options - Library and Folders - Manage Library Fields. Click Add New Field and enter Genre. (with the period). Deselect all Flags other than "Video." Set Data Type to "List." That's all you have to do. If your data is imported, you may want to set Edit Type to "Cannot be edited." Set Default Search Field if you like. Click OK and you're done.
Where is your metadata coming from? You'll need to configure whatever that is to use this field.
-
Would this be how we get IMDB genre to show up in theater view?
Cheers
-
Yes. Did you not set up custom fields when implementing PvdImport? Genre is just one of several required (if you want the information). In the default configuration, these fields begin with a period (e.g., .Genre). The description indicates it's a user field (i.e., you have to add it to MC) and the type it should be (e.g., list).
As I indicated above, my preference is to put the period at the end of the name. This way, Genre. will appear in lists where I expect it, but be distinguished from Genre (the standard field).
-
Genre is listed in PVDImport.
I have added the field Genre.
I sent file to PVDimport but the field did not fill in??
Cheers
-
Are the field names (Genre.) exactly the same?
Does anything appear in PvdImport's SqlResult column for Genre.?
Are you refreshing the record? (A mouse-over will do the trick.)
-
Genre in Pvdimport start with a period .Genre
I have added this in MC
Yes there is type in the sql column
Cheers
-
Did you also include .Genre in your view?
-
Got it going then when I tried send to with 10 files MC crashed
cheers
-
All my videos have multiple genres (for example Action;thriller;drama.) Media center creates a separete genre field for each variation of the multiple genre listing which is fine, but I would all like those videos to show up in each seprate genre so the film tagged (Action;thriller;drama) would show up in all genres that apply to that particular movie. I searched the forum but did not get any relevant information. If any one knows how to do this could you please share it with me.
although i use genres a list field, instead of genre, you can get genre with severl tags seperated by ; to show the movie under each category. instead of putting genre at the place you want it to show up, choose expression and put this there:
[genre]&datatype=[list]
this changes the standard field behaviour in that of a list.
:)
gab
-
In general, this is a handy workaround. But for a field of this importance (assuming a significant number of videos are in the database) a dedicated list field should be provided. Too many expressions in a view slow things down.
-
Code:
[genre]&datatype=this changes the standard field behaviour in that of a list.
this is great! Thanks gappie. Is it also possible though to limit the number of items in the list so that say just the first 2 items appear in the info panel?[/list]
-
this is great! Thanks gappie. Is it also possible though to limit the number of items in the list so that say just the first 2 items appear in the info panel?[/list]
ha ralf. yes, it is possible to get the first two items by getting them one after an other.
ListItem([genre],0,;);ListItem([genre],1,;)&datatype=[list]
gives the first two items as a list. seperated with a ;. when there is no genre or only one, the ; will still be there. but that could be ommited by adding an if , isequal and an listcount statement. if you need help with that let me know.
guess there are other ways also.
:)
gab
-
Thanks! Yeah I'd prefer not seeing the semi-colons. I'll have a play around with this.
Cheers.