More > JRiver Media Center 32 for Windows
Custom Tooltips/TheaterView Screens
FenceMan:
--- Quote from: lepa on July 14, 2023, 06:12:40 am ---Also do you get MAIN CAST header text or is that also missing in addition to actual photos?
--- End quote ---
I kind of gave up on actors but I did customize one of your scripts to look exactly how I want. I really appreciate your work on this and really wish it was easier to integrate.
lepa:
Too bad you didn't get it working as I tried real hard to make it as easy as possible to integrate for other systems than mine. Cool though that alternative route was success for you and you are satisfied. Your mods looks good although Carlito look a bit weird nowdays in the poster ;)
lello:
Thank you lepa for your work.
This time however, it will be the difficulty of the language, it will be that I can't understand many technical terms, but it will be mainly due to my age ;D, this time I have difficulty creating the new template.
First of all I would like to ask you one thing: how do I create new fields in the library using Zratings and the xml file you attached? On Zratings I can't find the possibility to upload an xml file :'(
lepa:
xml is for MCUtils. Zratings creates fields when you map them in the zratings field settings so most probably you already have those. So you are perhaps only missing those generic fields below. Also you don't need anything related to recommendations as recommendations is only supported by MCUtils. You could try to ask zybex to add it also to ZRatings.
Setup looks more intimidating than it really is because I tried to document it so thoroughly. If you know how to create a field in MC creating next fields is basically one by one copy-paste job for few minutes after you have created one. You could post images about your ZRatings field mappings so I can see if you have different names than me.
I tried also to make MCWS calls to create fields. So if you have MC web service (needed with remotes) online you could use web browser to create missing fields. web service returns failure i think if field already exist. You cannot just click below lines as there are spaces in the address but you need to copy paste whole row. also port needs to match with your port (i think 52199 is default in MC)
Generic user populated fields
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=Version&DataType=String&EditType=Standard
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=Audio Title (external)&DataType=String&EditType=Standard
Generic calculated fields to show icons
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=Definition&Expression=IfElse(Compare([Width],>,1920),4K,Or(Compare([Width],>,1360),Compare([Height],>,1040)),1080p, Or(Compare([Width],>,1024),Compare([Height],>,576)),720p,Compare(Left([FPS],2),=,25),576p,1,480p)&DataType=String&EditType=Not editable
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=Video Format (pretty)&Expression=If([HDR Format,0],ListMix([Definition]IfCase([L1],8, DolbyVision, -Dolby Vision, HDR10+, -HDR10+, HDR10,-HDR10),8,Replace([HDR Format],/,,;)),[Definition])&DataType=String&EditType=Not editable
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=Aspect Ratio (pretty)&Expression=IfCase(Replace([Aspect Ratio],/,,.), 3,0.30, unknown,0.9, portrait,1.17, 1.00,1.35, 1.33,1.5, 1.37,1.72, 1.66,1.82, 1.78,1.93, 1.85,2.1, 2.00,2.28, 2.20,2.37, 2.35,2.47, 2.39,2.6, 2.55,2.71, 2.65,2.99, 2.76,20, wide)&DataType=String&EditType=Not editable
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=Video Codec (pretty)&Expression=IfCase([Video Codec],8,HEVC, HEVC,H264, AVC,VC-1,VC-1,MPEG4 Simple Profile, MPEG4,MPEG4 Advanced Simple Profile, XVID,MSMPEG4V3, DIV3,MPEG-2,MPEG2,MPEG-1,MPEG1)&DataType=String&EditType=Not editable
Generic link fields
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=LINK_Extras_Movie&Expression=If([NoExtras],,If(Or(IsEqual([Media Sub Type],Extras),IsEqual([Media Sub Type],Movie)),EXTRAS for [Name] /(FormatDate([Date,0],year)/),))&DataType=String&EditType=Not editable
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=LINK_Year_Movie&Expression=If(IsEqual([Media Sub Type],Movie),Movies released in FormatDate([Date,0],year),)&DataType=String&EditType=Not editable
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=LINK_Director&Expression=If(IsEqual([Media Sub Type], Movie),Directed by ListItem([Director],0),)&DataType=String&EditType=Not editable
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=LINK_Genre_Movie&Expression=If(IsEqual([Media Sub Type], Movie),Movies at genre Replace(ListSort(ListLimit([Genre],2)),;,/ /// ),)&DataType=String&EditType=Not editable
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=LINK_Star&Expression=Movies starring ListLimit([Actors],1)&DataType=String&EditType=Not editable
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=LINK_IMDb_Rating&Expression=Movies rated Math(Int([IMDb Rating])) in IMDb&DataType=String&EditType=Not editable
ZRatings (zratings have already created these if you have these in the field mappings there)
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=IMDb Id&DataType=String&EditType=Standard
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=IMDb Rating&DataType=String&EditType=Standard
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=IMDb Votes&DataType=String&EditType=Standard
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=IMDb Description (short)&DataType=String&EditType=Standard
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=Rotten Tomatoes1&DataType=String&EditType=Standard
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=Awards&DataType=String&EditType=Standard
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=TMDb Id&DataType=String&EditType=Standard
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=TMDb Rating&DataType=String&EditType=Standard
MCUtils: needed for role names and recommendations module. If you dont't have MCUtils these are not needed
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=Actors (alt)&DataType=List&EditType=Standard
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=Recommendations (raw)&DataType=List&EditType=Standard
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=zsRecommendations&DataType=String&EditType=Standard
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=RecScrapedDate&DataType=Date&EditType=Standard
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=Recommendations (pretty)&Expression=ListMix(ListItem([L1],0,__) /(Left(ListItem([L1],1,__),4)/),,[Recommendations (raw)])&DataType=String&EditType=Not editable
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=Recommendations (id)&Expression=ListMix(ListItem([L1],2,__),,[Recommendations (raw)])&DataType=String&EditType=Not editable
* http://localhost:52199/MCWS/v1/Library/CreateField?Name=RecMatcher&Expression=Number([TMDb Id])__[image file]__Decimal([IMDb Rating])__Decimal(FormatNumber([TMDb Rating],1))&DataType=String&EditType=Not editable
JimH:
--- Quote from: lepa on July 16, 2023, 04:26:18 am ---If you know how to create a field in MC It is basically one by one copy-paste job for few minutes after you have created one. You could post images about your ZRatings field mappings so I can see if you have different names than me.
--- End quote ---
I'm not sure what you mean, but you can copy and paste a tag to many files. Select a file to copy from, do the usual ctrl-c. Then select the files you want to copy to and do ctrl-shift-v and then select which tags to copy to the files.
lepa,
You deserve a medal for your work and your very patient support. Thank you!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version