Ability to change font using html tags. It would enable us using fonts which have icons for bluray, dts etc.
There are fonts with icons for Blu-ray, DTS, etc.? Please share.
Already there. See the image in this post (http://) for an example.Oh, I thought you could only change properties of the font set in the options. There is no URL in your link though..
There are fonts with icons for Blu-ray, DTS, etc.? Please share.
If(IsEqual([Media Sub Type],Movie,1), <font size="200"><b>[Name]Delimit([Year],/),/# (#/)Delimit([Access Rating],/),/# (#/)<//b><//font> /[ <font color="#f69838">RatingStars() <//font>/]
<font face="ToolTip01" size="100" color="#9496a3">If(IsEqual([MPAA Rating],G),A,If(IsEqual([MPAA Rating],PG),B,If(IsEqual([MPAA Rating],PG-13),C,If(IsEqual([MPAA Rating],R),D,If(IsEqual([MPAA Rating],NC-17),E,If(IsEqual([MPAA Rating],NR),<//font><font face="ToolTip01" size="80" color="#9496a3">F,)))))) <//font><font color="#9496a3" size="100"><b>|<//b><//font> <font color="#9496a3" size="100">Size() <b>|<//b><//font> <font color="#9496a3" size="100"><i>Replace([Genre],;, / // )<//i> <b>|<//b> [Date] /([Country]/)<//font>
If(IsEqual([Awards], Oscar, 8),If(IsEqual([Awards], Won, 8),<font face="ToolTip01" size="150" color="#b59031">4<//font> <font face="ToolTip01" size="300" color="#FFFF00">@ <//font>, <font face="ToolTip01" size="150" color="#b59031">4<//font> <font face="ToolTip01" size="300" color="#a6a6a6">@ <//font>),)<font size="150">If(!IsEmpty([Critic Rating]),<font face="ToolTip01" size="150"><font color="#01CB73">;<//font><//font> [Critic Rating] ,) If(!IsEmpty([Rating IMDb]),<font face="ToolTip01" size="150"><font color="##E8B708">7<//font><//font> [Rating IMDb] ,) If(!IsEmpty([Rotten Tomatoes]),<font face="ToolTip01" size="150"><font color="#ED1C08">8<//font><//font> [Rotten Tomatoes]% If(isequal([Rotten Tomatoes], , 0), , If(isequal([Rotten Tomatoes], 60, 6), <font face="ToolTip01" size="150"><font color="#F13008">:<//font><//font>,<font face="ToolTip01" size="150"><font color="#0FC152">9<//font><//font>)),)<//font>
____________________________________________________________________________________________________________________
If(!IsEmpty([Description]),<font size="115">[Description]<//font>,)
If(!IsEmpty([Keywords]),/(<i>[Keywords]<//i>/),)
____________________________________________________________________________________________________________________
If(!IsEmpty([Director]),<font size="120" color="#898989"><b>DIRECTOR: <//b><//font><font color="#ffffff"><i>Replace([Director],;, / // )<//i><//font>
,)If(!IsEmpty([Actors]),<font size="120" color="#898989"><b>STARS: <//b><//font><font color="#ffffff"><i>Replace(ListLimit([Actors],5),;, / // )<//i><//font>
,)If(!IsEmpty([Screenwriter]),<font size="120" color="#898989"><b>WRITER: <//b><//font><font color="#ffffff"><i>Replace([Screenwriter],;, / // )<//i><//font>
,)If(!IsEmpty([Screenwriter]),<font size="120" color="#898989"><b>PRODUCER: <//b><//font><font color="#ffffff"><i>Replace([Producer],;, / // )<//i><//font>
,)If(!IsEmpty([Budget]),<b>BUDGET:<//b> $Math(Trunc([Budget]/1000000,1)) Million ,)If(!IsEmpty([Gross Revenue]),// <b>GROSS REVENUE:<//b> $Math(Trunc([Gross Revenue]/1000000,1)) Million
,)If(!IsEmpty([Awards]), <b>AWARDS:<//b> <i>[Awards]<//i>
,)
____________________________________________________________________________________________________________________
<font face="ToolTip01" size="310" color="#9496a3">If(IsEqual([Width],1920,5),¥,If(IsEqual([Width],1360,5),¤,If(IsEqual([Width],888,5),£,If(IsEqual([FPS],25,2),¢,¡))))<//font> <font face="ToolTip01" size="300" color="#9496a3">If(Math(Below(Trunc(Replace([Aspect Ratio],:,//) + .005, 2),1.38)),M, If(Math(Below(Trunc(Replace([Aspect Ratio],:,//) + .005, 2),1.68)),N,If(Math(Below(Trunc(Replace([Aspect Ratio],:,//) + .005, 2),1.80)),O,If(Math(Below(Trunc(Replace([Aspect Ratio],:,//) + .005, 2),1.87)),P,Q))))<//font> <font face="ToolTip01" size="300" color="#9496a3">If(IsEqual([Channels],1,2),=,If(IsEqual([Channels],2,2),>,If(IsEqual([Channels],3,2),],If(IsEqual([Channels],4,2),?,If(IsEqual([Channels],5,2),^,If(IsEqual([Channels],6,2),‐,If(IsEqual([Channels],7,2),_,‑)))))))<//font> <font face="ToolTip01" size="300" color="#9496a3">If(IsEqual([Compression],DTS,8),# ,If(IsEqual([Compression],AC3,8),z ,If(IsEqual([Compression],PCM,8),/) ,If(IsEqual([Compression],mp3,8),+ ,If(IsEqual([Compression],flac,8),/( ,If(IsEqual([Compression],aac,8),0 ,If(IsEqual([Compression],MPEG,8),à ,If(IsEqual([Compression],Vorbis,8),/ ,,))))))))<//font><font face="FilmStudios" size="200" color="#9496a3">If(IsEqual([Notes],Criterion Collection,8),w ,)If(IsEqual([Notes],Arrow,8),q ,)<//font><font face="FilmStudios" size="250" color="#9496a3">If(IsEqual([Production Companies],Century Fox,8),e ,)If(IsEqual([Production Companies],Buena Vista,8),y ,)If(IsEqual([Production Companies],Cannon,8),u ,)If(IsEqual([Production Companies],Castle Rock,8),i ,)If(IsEqual([Production Companies],Columbia,8),o ,)If(IsEqual([Production Companies],DC,8),p ,)If(IsEqual([Production Companies],DreamWorks,8),s ,)If(IsEqual([Production Companies],Gaumont,8),d ,)If(IsEqual([Production Companies],Golden Harvest,8),g ,)If(IsEqual([Production Companies],Imagine Entertainment,8),h ,)If(IsEqual([Production Companies],Jim Henson,8),j ,)If(IsEqual([Production Companies],Lionsgate,8),k ,)If(IsEqual([Production Companies],Lorimar,8),l ,)If(IsEqual([Production Companies],Lucasfilm,8),z ,)If(IsEqual([Production Companies],Marvel,8),c ,)If(IsEqual([Production Companies],Metro,8),b ,)If(IsEqual([Production Companies],Miramax,8),n ,)If(IsEqual([Production Companies],Morgan Creek,8),1 ,)If(IsEqual([Production Companies],New Line Cinema,8),3 ,)If(IsEqual([Production Companies],New World Pictures,8),4 ,)If(IsEqual([Production Companies],Orion,8),5 ,)If(IsEqual([Production Companies],Paramount,8),6 ,)If(IsEqual([Production Companies],Pathe,8),7 ,)If(IsEqual([Production Companies],Pixar,8),8 ,)If(IsEqual([Production Companies],Regency,8),0 ,)If(IsEqual([Production Companies],RKO,8),Q ,)If(IsEqual([Production Companies],RKO,8),E ,)If(IsEqual([Production Companies],Ghibli,8),R ,)If(IsEqual([Production Companies],StudioCanal,8),T ,)If(IsEqual([Production Companies],Touchstone,8),Y ,)If(IsEqual([Production Companies],Tristar,8),U ,)If(IsEqual([Production Companies],United Artists,8),I ,)If(IsEqual([Production Companies],Universal,8),O ,)If(IsEqual([Production Companies],Walt Disney,8),A ,)If(IsEqual([Production Companies],Warner Bros.,8),S ,)If(IsEqual([Production Companies],Virgin,8),D ,)<//font>
____________________________________________________________________________________________________________________
[Filename]
If(!IsEmpty(FilePlaylists()),Playlists:
<b>FilePlaylists()<//b>,),)
Played a little with this
FirstNotEmpty([Tooltip - Movie], [Tooltip - TV Show], [Tooltip - Audio])
- You would only need [Tooltip - Movie] if you only want to customize moviesIf(IsEqual([Media Sub Type],Movie,1), <font size="150"><b>[Name]Delimit([Year],/),/# (#/)Delimit([Access Rating],/),/# (#/)<//b><//font> /[ <font color="#f69838">RatingStars() <//font>/]
<font size="130">TVInfo(SizeDisplay) <b>|| <//b>If(!IsEmpty([Critic Rating]),<b>TMDb:<//b> <font color="#f69838">★[Critic Rating]<//font>,) If(!IsEmpty([Rating IMDb]),<b> | IMDb:<//b> <font color="#f69838">★[Rating IMDb]<//font>,)<b> ||<//b>
If(!IsEmpty([Genre]),/(<i>[Genre]<//i>/)<//font>,)
<font face="DigitalSymbols" size="200">≤ If(IsEqual([MPAA Rating],G),ä,If(IsEqual([MPAA Rating],PG),ë,If(IsEqual([MPAA Rating],PG-13),ï,If(IsEqual([MPAA Rating],R),ö,If(IsEqual([MPAA Rating],NC-17),T,))))) If(IsEqual([Width],1920,5),<font face="Segoe UI" size="80"><b>⋐4K⋑<//b><//font>,If(IsEqual([Width],720,5),I,z)) ~<//font>
____________________________________________________________________________________________________________________
If(!IsEmpty([Description]),<font size="115">[Description]<//font>,)
If(!IsEmpty([Keywords]),/(<i>[Keywords]<//i>/),)
____________________________________________________________________________________________________________________
If(!IsEmpty([Director]),<b>Director:<//b> [Director]
,)If(!IsEmpty([Screenwriter]),<b>Screenwriter:<//b> [Screenwriter]
,)If(!IsEmpty([Actors]),<b>Actors:<//b> [MainActors]
,)If(!IsEmpty([Budget]),<b>Budget:<//b> $Math(trunc([Budget]/1000000,1)) Million ,)If(!IsEmpty([Gross Revenue]),// <b>Gross Revenue:<//b> $Math(trunc([Gross Revenue]/1000000,1)) Million
,)
____________________________________________________________________________________________________________________
[Filename]
Playlists: FilePlaylists(),)
- Separator horizontal line length works for me with font size 9.if(isequal([Compression],flac,8),ć ,
What is the easiest way to preview fonts to see all the icons in it?
Also it would be great if you could change position of some of the logos. At least that bluray disc and also matroska icons are upper on y scale than some others at least in the original digitalsymbols/eu-symbols
What's the Mono logo?There were icons for stereo and 5.1 surround so tried to do the mono icon in the same style.
I'd love to see these icons integrated into MC by default, they look great!There might be some copyright issues when companies are involved
FirstNotEmpty([Tooltip - Movie], [Tooltip - TV Show], [Tooltip - Audio])
If(IsEqual([Media Sub Type],Movie,1),<font size="200"><b>[Name]<//b><//font>
If(!IsEmpty([Tag Line]),<font size="150"><i>[Tag Line]<//i><//font>,)
If(!IsEmpty([Oscar Winner]),[Oscar Winner],) <font size="150">If(!IsEmpty([TMdbRating]),<font face="ToolTip01" size="150"><font color="#01CB73">;<//font><//font> [TMdbRating] ,) If(!IsEmpty([IMDb Rating]),<font face="ToolTip01" size="150"><font color="##E8B708">7<//font><//font> [IMDb Rating] ,) If(!IsEmpty([Rotten Tomatoes]),<font face="ToolTip01" size="150"><font color="#ED1C08">8<//font><//font> [Rotten Tomatoes]% [RT],)<//font>
If(!IsEmpty([MPAA]),[MPAA],) [Audio_Stream] [Speakers] [Resolution] [Aspect_Ratio]
<font size="150" color="#80C0C0"><b>[Duration] - [Genre] - [Year]<//b><//font>,)
<font size="150"><b><i><u>Synopsis <//b><//i><//u><//font>
If(!IsEmpty([Synopsis]),<font size="115">[Synopsis]<//font>,)
<font size="150"><b><i><u>Credits <//b><//i><//u><//font>
<font size="115">If(!IsEmpty([Director]),<b>Director:<//b> [Director]
,)If(!IsEmpty([Screenwriter]),<b>Screenwriter:<//b> [Screenwriter]
,)If(!IsEmpty([Producer]),<b>Producer:<//b> [Producer]
,)If(!IsEmpty([TMDB Actors]),<b>Cast:<//b> [TMDB Actors Short],)<//font>
If(!IsEmpty([Bonus_Section]),
<font size="150"><b><i><u>Bonus//Other <//b><//i><//u><//font>
<font size="115">If(!IsEmpty([Commentary]),<b>Commentary:<//b> [Commentary],)
If(!IsEmpty([Collections]),<b>Collections:<//b> [Collections],)
If(!IsEmpty([Movie Series]),<b>Movie Series:<//b> [Movie Series],)<//font>,)
If(!IsEmpty([Rifftrax]),
<font size="150"><b><i><u>Rifftrax <//b><//i><//u><//font>
<font size="115"><b>Rifftrax:<//b> [Rifftrax],)<//font>
,)
<font size="200"><b>[Name]<//b><//font>
If(!IsEmpty([Tag Line]),<font size="150"><i>[Tag Line]<//i><//font>,)
If(!IsEmpty([Oscar Winner]),[Oscar Winner],) <font size="150">If(!IsEmpty([Critic Rating]),<font face="ToolTip01" size="150"><font color="#01CB73">;<//font><//font> [TMdbRating] ,) If(!IsEmpty([IMDb Rating]),<font face="ToolTip01" size="150"><font color="##E8B708">7<//font><//font> [IMDb Rating] ,) If(!IsEmpty([Rotten Tomatoes]),<font face="ToolTip01" size="150"><font color="#ED1C08">8<//font><//font> [Rotten Tomatoes]% [RT],)<//font>
if(isequal([Awards], Oscar, 8), if(isequal([Awards], Won, 8), <font face="ToolTip01" size="150" color="#b59031">4<//font> <font face="ToolTip01" size="350" color="#FFFF00">@<//font>, <font face="ToolTip01" size="150" color="#b59031">4<//font> <font face="ToolTip01" size="350" color="#a6a6a6">@<//font>),)
if(isequal([Awards], Oscar, 8),
<font face="ToolTip01" size="150" color="#b59031">4<//font> <font face="ToolTip01" size="350" color="#FFFF00">@<//font>
<font face="ToolTip01" size="150" color="#b59031">4<//font> <font face="ToolTip01" size="350" color="#a6a6a6">@<//font>)
<font size="150">If(!IsEmpty([TMdbRating]),<font face="ToolTip01" size="150"><font color="#01CB73">;<//font><//font> [TMdbRating] ,) If(!IsEmpty([IMDb Rating]),<font face="ToolTip01" size="150"><font color="##E8B708">7<//font><//font> [IMDb Rating] ,)
If(!IsEmpty([Rotten Tomatoes]),<font face="ToolTip01" size="150"><font color="#ED1C08">8<//font><//font> [Rotten Tomatoes]% [RT],)<//font>
if(isequal([Rotten Tomatoes], , 0), , if(isequal([Rotten Tomatoes], 60, 6), <font face="ToolTip01" size="150"><font color="#F13008">:<//font><//font>,<font face="ToolTip01" size="150"><font color="#0FC152">9<//font><//font>))
If(!IsEmpty([MPAA]),[MPAA],) [Audio_Stream] [Speakers] [Resolution] [Aspect_Ratio]
<font face="ToolTip01" size="300">If(IsEqual([MPAA Rating],G),G,If(IsEqual([MPAA Rating],PG),H,If(IsEqual([MPAA Rating],PG-13),I,If(IsEqual([MPAA Rating],R),J,If(IsEqual([MPAA Rating],Unrated),L,If(IsEqual([MPAA Rating],NC-17),K,))))))<//font>
<font face="ToolTip01" size="300">if(isequal([Compression],DTS,8),#,if(isequal([Compression],AC3,8),z,if(isequal([Compression],PCM,8),/),if(isequal([Compression],mp3,8),+,if(isequal([Compression],flac,8),/(,if(isequal([Compression],aac,8),0,if(isequal([Compression],MPEG,8),à,if(isequal([Compression],Vorbis,8),/,,))))))))<//font>
<font face="ToolTip01" size="300">if(isequal([Channels],1,2),=,if(isequal([Channels],2,2),>,if(isequal([Channels],3,2),],if(isequal([Channels],4,2),?,if(isequal([Channels],5,2),^,if(isequal([Channels],6,2),‐,if(isequal([Channels],7,2),_,‑)))))))<//font>
<font face="ToolTip01" size="300">If(IsEqual([Width],1920,5),¥,If(IsEqual([Width],1360,5),¤,If(IsEqual([Width],888,5),£,¡)))<//font>
<font face="ToolTip01" size="300">ifelse(isrange([AR2,0],1.00-1.50),M,isrange([AR2,0],1.51-1.69),N,isrange([AR2,0],1.70-1.95),P,1,Q)<//font>
<font size="150" color="#80C0C0"><b>[Duration] - [Genre] - [Year]<//b><//font>,)
<font size="150"><b><i><u>Synopsis <//b><//i><//u><//font>
If(!IsEmpty([Synopsis]),<font size="115">[Synopsis]<//font>,)
<font size="150"><b><i><u>Credits <//b><//i><//u><//font>
<font size="115">If(!IsEmpty([Director]),<b>Director:<//b> [Director]
,)If(!IsEmpty([Screenwriter]),<b>Screenwriter:<//b> [Screenwriter]
,)If(!IsEmpty([Producer]),<b>Producer:<//b> [Producer]
,)If(!IsEmpty([TMDB Actors]),<b>Cast:<//b> [TMDB Actors Short],)<//font>
If(!IsEmpty([Bonus_Section]),
<font size="150"><b><i><u>Bonus//Other <//b><//i><//u><//font>
<font size="115">If(!IsEmpty([Commentary]),<b>Commentary:<//b> [Commentary],)
If(!IsEmpty([Collections]),<b>Collections:<//b> [Collections],)
If(!IsEmpty([Movie Series]),<b>Movie Series:<//b> [Movie Series],)<//font>,)
If(!IsEmpty([Rifftrax]),
<font size="150"><b><i><u>Rifftrax <//b><//i><//u><//font>
<font size="115"><b>Rifftrax:<//b> [Rifftrax],)<//font>
If(IsEqual([Media Sub Type],Movie,1),
,)
If neither the word Oscar or Won appears in the [Awards] field then I have the expression return the field [Altitude]. There may be a better way to do this, but I know that the Altitude field will be empty so it will return nothing. I am happy to get an education here for a better way to do this.You can just leave it empty:
If(IsEqual([Awards], Oscar, 8), If(IsEqual([Awards], Won, 8), <font face="ToolTip01" size="150" color="#b59031">4<//font> <font face="ToolTip01" size="350" color="#FFFF00">@<//font>, <font face="ToolTip01" size="150" color="#b59031">4<//font> <font face="ToolTip01" size="350" color="#a6a6a6">@<//font>),)
You can just leave it empty:
I could have sworn I tried this, repeatedly, but I couldn't get it to work. I just tried again and it works. Thanks :) Edited the above as well.Maybe you had deleted also the comma. Happened to me...
Whole thingLepa, can you provide a little more clarity for this? I have two custom fields, [Tooltip - Audio] and [Tooltip - Movie], but what do I put in your expression to make it work on each custom field? And that expression you provided goes into the [Tooltip] custom field, correct?
If(IsEqual([Media Sub Type],Movie,1),YOUR EXPRESSION HERE,)
Lepa, can you provide a little more clarity for this? I have two custom fields, [Tooltip - Audio] and [Tooltip - Movie], but what do I put in your expression to make it work on each custom field? And that expression you provided goes into the [Tooltip] custom field, correct?
If(IsEqual([Media Sub Type],Movie,1),YOUR EXPRESSION HERE,)
If(IsEqual([Media Sub Type],Audio,1),YOUR EXPRESSION HERE,)
Lepa, can you provide a little more clarity for this? I have two custom fields, [Tooltip - Audio] and [Tooltip - Movie], but what do I put in your expression to make it work on each custom field? And that expression you provided goes into the [Tooltip] custom field, correct?So if you want to have custom tooltip for movie, tv show and audio then you would make calculated field [Tooltip]
FirstNotEmpty([Tooltip - Movie], [Tooltip - TV Show], [Tooltip - Audio])
EDIT: Okay I answered to wrong question but luckily Moe already explained the right thing....
right([Duration], 1)
<font face="Horror" size="150">if(isequal([Genre],Horror,1),
if(isequal([Random],1,1),A,
if(isequal([Random],2,1),C,
if(isequal([Random],3,1),D,
if(isequal([Random],4,1),H,
if(isequal([Random],5,1),I,
if(isequal([Random],6,1),J,
if(isequal([Random],7,1),K,
if(isequal([Random],8,1),L,
if(isequal([Random],9,1),M,N))))))))),)<//font>
I have a bunch of other icons that I can use for other genres as well. You can see what I've got so far here https://moesrealm.com/MC/genre-icons/ just a word of warning. There are some comically simply adult ones there, so if you are incredibly easy offended, then don't click that link.I only guessed those genres from the icons ;D
I think what you have so far looks awesome, nice work.Thanks I kind of like too. Basically it's your rating row ;)
1 - the custom logos aren't shown. Where do I have to copy the MCTooltip fond file? I copied it to programs\MC25\ but it seems it must be another folder...You need to install font in Windows. Right click on explorer and then select install
Thanks Moe! Have you already utilized the new genre icons?
<font size="150" color="#80C0C0"><b>[Duration] [Genre Icon] [Year]<//b><//font>
<font size="150">if(isequal([Genre],Action//Adventure,8),[Action Icon],if(isequal([Genre],Adult,8),[Adult Icon],if(isequal([Genre],Anime,8),[Anime Icon],if(isequal([Genre],Comedy,8),[Comedy Icon],if(isequal([Genre],Documentary,8),[Documentary Icon],if(isequal([Genre],Drama,8),[Drama Icon],if(isequal([Genre],Fantasy,8),[Fantasy Icon],if(isequal([Genre],Horror,8),[Horror Icon],if(isequal([Genre],Music,8),[Music Icon],if(isequal([Genre],Musical,8),[Musical Icon],if(isequal([Genre],Science Fiction,8),[SciFi Icon],if(isequal([Genre],Short,8),[Short Icon],if(isequal([Genre],Thriller,8), [Thriller Icon],[Western Icon])))))))))))))<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Action//Adventure,1),if(isequal([Random],1,1),//,if(isequal([Random],2,1),0,if(isequal([Random],3,1),1,if(isequal([Random],4,1),2,
if(isequal([Random],5,1),3,if(isequal([Random],6,1),4,if(isequal([Random],7,1),5,if(isequal([Random],8,1),6,if(isequal([Random],9,1),7,8))))))))),)<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Adult,1),if(isequal([Random],1,1),/[,if(isequal([Random],2,1),/\,if(isequal([Random],3,1),/],if(isequal([Random],4,1),^,if(isequal([Random],5,1),_,if(isequal([Random],6,1),`,if(isequal([Random],7,1),/],if(isequal([Random],8,1),/[,if(isequal([Random],9,1),/\,_))))))))),)<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Anime,1),if(isequal([Random],1,1),y,if(isequal([Random],2,1),z,if(isequal([Random],3,1),’,if(isequal([Random],4,1),“,if(isequal([Random],5,1),”,if(isequal([Random],6,1),y,if(isequal([Random],7,1),z,if(isequal([Random],8,1),’,if(isequal([Random],9,1),“,”))))))))),)<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Comedy,1),if(isequal([Random],1,1),9,if(isequal([Random],2,1),:,if(isequal([Random],3,1),;,if(isequal([Random],4,1),<,if(isequal([Random],5,1),=,if(isequal([Random],6,1),>,if(isequal([Random],7,1),?,if(isequal([Random],8,1),‐,if(isequal([Random],9,1),9,:))))))))),)<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Documentary,1),if(isequal([Random],1,1),!,if(isequal([Random],2,1),",if(isequal([Random],3,1),#,if(isequal([Random],4,1),$,if(isequal([Random],5,1),!,if(isequal([Random],6,1),",if(isequal([Random],7,1),#,if(isequal([Random],8,1),!,if(isequal([Random],9,1),!,#))))))))),)<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Drama,1),if(isequal([Random],1,1),%,if(isequal([Random],2,1),&,if(isequal([Random],3,1),',if(isequal([Random],4,1),/(,if(isequal([Random],5,1),/),if(isequal([Random],6,1),*,if(isequal([Random],7,1),+,if(isequal([Random],8,1),/,,if(isequal([Random],9,1),-,.))))))))),)<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Fantasy,1),if(isequal([Random],1,1),U,if(isequal([Random],2,1),V,if(isequal([Random],3,1),W,if(isequal([Random],4,1),X,if(isequal([Random],5,1),Y,if(isequal([Random],6,1),Z,if(isequal([Random],7,1),a,if(isequal([Random],8,1),b,if(isequal([Random],9,1),c,d))))))))),)<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Horror,1),if(isequal([Random],1,1),A,if(isequal([Random],2,1),B,if(isequal([Random],3,1),C,if(isequal([Random],4,1),D,if(isequal([Random],5,1),E,if(isequal([Random],6,1),F,if(isequal([Random],7,1),G,if(isequal([Random],8,1),H,if(isequal([Random],9,1),I,J))))))))),)<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Music,1),if(isequal([Random],1,1),‑,if(isequal([Random],2,1),‒,if(isequal([Random],3,1),–,if(isequal([Random],4,1),–,if(isequal([Random],5,1),‑,if(isequal([Random],6,1),‒,if(isequal([Random],7,1),–,if(isequal([Random],8,1),‑,if(isequal([Random],9,1),‑,‒))))))))),)<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Musical,1),if(isequal([Random],1,1),‑,if(isequal([Random],2,1),‒,if(isequal([Random],3,1),–,if(isequal([Random],4,1),–,if(isequal([Random],5,1),‑,if(isequal([Random],6,1),‒,if(isequal([Random],7,1),–,if(isequal([Random],8,1),‑,if(isequal([Random],9,1),‑,‒))))))))),)<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Science Fiction,1),if(isequal([Random],1,1),o,if(isequal([Random],2,1),p,if(isequal([Random],3,1),q,if(isequal([Random],4,1),r,if(isequal([Random],5,1),s,if(isequal([Random],6,1),t,if(isequal([Random],7,1),u,if(isequal([Random],8,1),v,if(isequal([Random],9,1),w,x))))))))),)<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Short,1),if(isequal([Random],1,1),—,if(isequal([Random],2,1),—,if(isequal([Random],3,1),—,if(isequal([Random],4,1),—,if(isequal([Random],5,1),—,if(isequal([Random],6,1),—,if(isequal([Random],7,1),—,if(isequal([Random],8,1),—,if(isequal([Random],9,1),—,—))))))))),)<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Thriller,1),if(isequal([Random],1,1),K,if(isequal([Random],2,1),L,if(isequal([Random],3,1),M,if(isequal([Random],4,1),N,if(isequal([Random],5,1),O,if(isequal([Random],6,1),P,if(isequal([Random],7,1),Q,if(isequal([Random],8,1),R,if(isequal([Random],9,1),L,P))))))))),)<//font>
<font face="GenreIcons01" size="150">if(isequal([Genre],Western,1),if(isequal([Random],1,1),e,if(isequal([Random],2,1),f,if(isequal([Random],3,1),g,if(isequal([Random],4,1),h,if(isequal([Random],5,1),i,if(isequal([Random],6,1),j,if(isequal([Random],7,1),k,if(isequal([Random],8,1),l,if(isequal([Random],9,1),m,n))))))))),)<//font>
I'm not totally convinced with your Genre icons either, particularly at the size you are using in that image.
<font face="ToolTip01" size="180" color="#9496a3">If(Math(below(trunc(Replace([Aspect Ratio],:,//) + .005, 2),1.38)),M, If(Math(below(trunc(Replace([Aspect Ratio],:,//) + .005, 2),1.68)),N,If(Math(below(trunc(Replace([Aspect Ratio],:,//) + .005, 2),1.80)),O,If(Math(below(trunc(Replace([Aspect Ratio],:,//) + .005, 2),1.87)),P,Q))))<//font>
<font face="ToolTip01" size="200" color="#9496a3">If(IsEqual([Width],1920,5),¥,If(IsEqual([Width],1360,5),¤,If(IsEqual([Width],888,5),£,If(IsEqual([FPS],25,2),¢,¡))))<//font>
<font face="ToolTip01" size="170" color="#9496a3">If(IsEqual([File Type],mkv),î,If(IsEqual([File Type],ifo),W,If(IsEqual([File Type],bdmv),U,)))<//font>
<font face="ToolTip01" size="150" color="#9496a3">If(IsEqual([Compression],div,8),ú,If(IsEqual([Compression],hevc,8),ü,If(IsEqual([Compression],h264,8),û,If(IsEqual([Compression],xvid,8),ă,If(IsEqual([Compression], vc-1,8),Ā,If(IsEqual([Compression],mpeg2,8),þ,If(IsEqual([Compression],mpeg1,8),ý,If(IsEqual([Compression],mpeg4),ÿ,))))))))<//font>
<font face="ToolTip01" size="150" color="#9496a3">If(IsEqual([Compression],dts-hd ma,8),&,If(IsEqual([Compression],dts,8),#,If(IsEqual([Compression],ac3,8),z,If(IsEqual([Compression],pcm,8),/),If(IsEqual([Compression],mp3,8),*,If(IsEqual([Compression],flac,8),',If(IsEqual([Compression],aac,8),0,If(IsEqual([Compression],mpeg,8),z,If(IsEqual([Compression],vorbis,8),/,,If(IsEqual([Compression],truehd,8),x,If(IsEqual([Compression],opus,8),1,)))))))))))<//font>
<font face="ToolTip01" size="165" color="#9496a3">If(IsEqual([Channels],1,2),=,If(IsEqual([Channels],2,2),>,If(IsEqual([Channels],3,2),],If(IsEqual([Channels],4,2),?,If(IsEqual([Channels],5,2),^,If(IsEqual([Channels],6,2),‐,If(IsEqual([Channels],7,2),_,‑)))))))<//font>
<font face="ToolTip01" size="90" color="#9496a3">If(IsEqual([MPAA Rating],G),A,If(IsEqual([MPAA Rating],PG),B,If(IsEqual([MPAA Rating],PG-13),C,If(IsEqual([MPAA Rating],R),D,If(IsEqual([MPAA Rating],NC-17),E,If(IsEqual([MPAA Rating],NR),<//font><font face="ToolTip01" size="70" color="#9496a3">F,If(IsEmpty([MPAA Rating],),F,If(IsEqual([MPAA Rating],Approved),A,)))))))) <//font><font color="#9496a3" size="90"><b>|<//b><//font> <font color="#9496a3" size="90">Size() <b>|<//b><//font> <font color="#9496a3 size="90""><i>Replace([Genre],;, / // )<//i> <b>|<//b> [Date] /([Country]/)<//font>
If(IsEqual([Awards],Oscar,8),If(IsEqual([Awards],Won,8),<font face="ToolTip01" size="110" color="#b59031">4 <//font><font face="ToolTip01" size="200" color="#FFFF00">@ <//font>,<font face="ToolTip01" size="110" color="#b59031">4 <//font><font face="ToolTip01" size="200" color="#a6a6a6">@ <//font>),)If(!IsEmpty([Critic Rating]),<font face="ToolTip01" size="110" color="#01CB73">; <//font>[Critic Rating] ,)If(!IsEmpty([Rating IMDb]),<font face="ToolTip01" size="110" color="#E8B708">7 <//font>[Rating IMDb] ,)If(!IsEmpty([Rotten Tomatoes]),<font face="ToolTip01" size="110" color="#ED1C08">8 <//font>[Rotten Tomatoes]% If(IsEqual([Rotten Tomatoes],,0),,If(IsEqual([Rotten Tomatoes],60,6),<font face="ToolTip01" size="150" color="#F13008">: <//font>,<font face="ToolTip01" size="150" color="#0FC152">9<//font>)),)
Looking really good.Will try more spaces, it's just that they will easily look too separated (been aching with this :D )
Have you tried putting a line break before the technical icons, just to separate them out a little more? May help to make things look a little less crowded.
If(IsEqual([Media Sub Type],Movie,1),<font size="180"><b>[Name]<//b><//font>
If(!IsEmpty([Tag Line]),<font size="150"><i>[Tag Line]<//i><//font>,)
If(!IsEmpty([Oscar Winner]),[Oscar Winner],) <font size="130">If(!IsEmpty([Critic Rating]),<font face="ToolTip01" size="130"><font color="#01CB73">;<//font><//font> [Critic Rating] ,) If(!IsEmpty([IMDb Rating]),<font face="ToolTip01" size="130"><font color="##E8B708">7<//font><//font> [IMDb Rating] ,) If(!IsEmpty([Rotten Tomatoes]),<font face="ToolTip01" size="130"><font color="#ED1C08">8<//font><//font> [Rotten Tomatoes]% [RT],)<//font>
If(!IsEmpty([MPAA]),[MPAA],) [Audio_Stream] [Speakers] [Aspect_Ratio] [Resolution]
If(!IsEmpty([Budget]),<b>Produktionskosten:<//b> [Budget],) If(!IsEmpty([Gross Revenue]),<b>Einspielergebnis:<//b> [Gross Revenue],) If(!IsEmpty([Gross Revenue]),<b>Ursprungsland:<//b> [Country],)
<font size="120" color="#80C0C0"><b>[Duration] - [Genre] - [Year]<//b><//font>,)
<font size="140"><b><i><u>Inhalt <//b><//i><//u><//font>
If(!IsEmpty([Description]),<font size="115">[Description]<//font>,)
<font size="140"><b><i><u>Credits <//b><//i><//u><//font>
<font size="115">If(!IsEmpty([Director]),<b>Direktor:<//b> [Director]
,)If(!IsEmpty([Screenwriter]),<b>Drehbuchautor:<//b> [Screenwriter]
,)If(!IsEmpty([Producer]),<b>Produzent:<//b> [Producer]
,)If(!IsEmpty([Actors]),<b>Darsteller:<//b> [Actors],)<//font>
<font size="75">[Filename (path)][Filename (name)]
listitem([Critic Rating], 0, // )
regex([Critic Rating], /#TMDB\s(\d\,\d)#/, 1)
mid([critic rating], 5, 3)
This is JRiver's expression language (https://wiki.jriver.com/index.php/Expression_Language), I don't know if it's based off of a different language though, I am not a programmer.I believe it evolved when MrC asked for support of regular expressions. I went looking just now for the old threads. This was as far as I got:
We've just been given new 'ListLimit' and 'Rand(...)' functions. ListLimit is added to the list, but still needs a description and some examples, and Rand() still needs to be added. I may get to that in the near future if no-one beats me to it.
This thread, btw, is fascinating. Much excellent work going on. No-one's stepped up to the Theater View plate yet, which is what I was waiting/watching for, as I'm getting lazy in my old age ;)
Something has to be possible in there surely? I wish I had some time to explore what, if any, possibilities there are in that particular playground. Maybe I can make some 'Me' time for that next month.... we'll see...
-marko.
No-one's stepped up to the Theater View plate yet, which is what I was waiting/watching for, as I'm getting lazy in my old age ;)Come on marko, I have posted many theaterview images here... :) I know they are not much but anyway ;)
Something has to be possible in there surely? I wish I had some time to explore what, if any, possibilities there are in that particular playground.
Thanks for working on audio.My tooltip will already show different icons for different media types. Just happened to be ogg in the picture. My classical collection metadata is in such a bad shape that I haven't concentrated to that. Though it wouldn't be too hard to make totally different template for classical once all the logos are catched from the metadata.
You probably need a different display for classical and non-classical. For classical Composer is typically primary and Artist secondary.
Media type (mp3, flac, DSD) is also relevant, as is number of bits and sample rate.
Impressive. Do you notice any slowdown at all when it comes to processing the expressions for these?I haven't noticed any at all. It's quite impressive how fast it is actually.
First take on TV shows. For better or worse trying to keep similar style for all the screens...
Lepa, I'm curious as to which Theater View theme you're using, and how you get the spacing between sections. I really like that layout, I just haven't figured out how you're doing it. LOLSkin seems to be Blue Puzzle and I'm using it at 80% size (1080p UI). Still making changes to screens but attached current series template anyway in case someone has better ideas how to do things. There are some custom fields I believe I'm using and a custom font also. For spacing I guess I'm just using line feeds ;D
Is it a matter of data length?Corectomundo. Maximum length of one TheaterView item is hardcoded so if the description (or whatever data) you want to show is over that size then rest of the text will only be shown by entering the field
Thanks lepa ! ;)Yes you CAN. But it isn't practical and hence I said that "In practice you can't just copy paste whole Tooltip code to Theater View." ;D ;)
Btw, you CAN copy the whole tooltip, but it won't be shown automatically due to the data length.
And it would be great if you are willing to share your screens when you are happy with it so we all can perhaps get improvement ideas to our own screens :)
If this tooltip stuff is officially well documented, this will reduce a lot of complaints about the HMI of mc.
This thread is for me by far the most fruitful the last months :) :) :)
<font size="100" color="#9496a3">If(!IsEmpty([Budget]),<b>Budget:<//b> $Math(trunc([Budget]/1000000,1)) Million ,)If(!IsEmpty([Gross Revenue]),// <b>Gross Revenue:<//b> $Math(trunc([Gross Revenue]/1000000,1)) Million,)<//font>
removecharacters([Gross Revenue],/,.$,0)
if(!isempty([Gross Revenue]),
if(compare([GrossRevenueNum],<,1000000),<$1 Million,
if(compare([GrossRevenueNum],<,1000000000),$Math(trunc([GrossRevenueNum]/1000000,1)) Million,
$Math(trunc([GrossRevenueNum]/1000000000,2)) Billion
)),)
Is there anything we could do at JRiver to make this process easier? Thanks so much for the contribution!
Is there anything we could do at JRiver to make this process easier? Thanks so much for the contribution!
Allow (and preserve) line breaks and indenting in expressions so complex expressions are easier to read and edit.
Hi,
But I must say, that even me as a total noob to expression language and installing fonts found it at the end really easy! Ok, you need 1-3 hours for getting your unique design, but the tooltip setup is now rather straightforward as decribed in the post that is linked in the very first post here:
- start a good, relaxing music album (no trash metal ;D )
- get your tags with MCRating complete
- install the font (4 mouse clicks)
- create the sub-tag expressions resolution, audio, oscar winner, mpaa etc.
- use the in the thread provided tooltip (movie) as a starting point
- enjoy!
And when you get the system in your head, with a little bit of testing you got it even up and running in the theatre view. This is more difficult, but isn‘t everything concerning the theatre view complex? ::)
Is there anything we could do at JRiver to make this process easier? Thanks so much for the contribution!
SetMode(whitespace, 1)
or#whitespace 1
Is there anything we could do at JRiver to make this process easier? Thanks so much for the contribution!
We've been down that route before, and as stated then - formating in expressions results in formating in the output. There is no really good way to differentiate that. And being able to format the output properly is more important.
wordPretty much what RoderickGI said (and others too)
What are Tooltips for then... ? To show computed data when hovering ? Like when my Mouse is over a Movie in Standard View ?thanks and yes tooltips are mouse overs in standard view
Enjoy your holidays !!
I'm also using notepad++ with MC language file. I've also added new functions there so I get the bracket starts and ends correct most of the times at least
But for short: for tooltips you're gonna need to create custom calculated fields (see first post) and if you want to tune theater view you can copy paste template or create rows manually. Of course if you copy paste a template you can then adjust all the rows yourself to anything you like
font files are just windows ttf fonts so double clicking it will let you install it to windows. Might need to restart MC afterwards to refresh the changes
Sorry to bother again...Could you post pictures of your progress? what does it look like? what have you done?
I spent a couple of hours to get the TheaterView Template running... without success :-(
I loaded using the zip file or pasted the entire text, I could see your S and L differentiation... but I never got the layout with the icons from ToolTip01 font...
Would someone be so kind and give me a step by step guidance how I can get lepas's or thorsten's TheaterView layout ...
I'd be so grateful...
Many thanks
BR
Could you share your updated Notepad++ language file? I've been lazy and not gone back to it to update and correct mine. When you are off holidays would be fine. Enjoy the break.Sure, it's not complete though, I've just added things what have broken my brackets at the time. Don't know though where it is saved...
Last you should check (4th picture) that this imported movie template (which you just added from the clipboard) is highest movie template (remember pic3 search criteria)
This would be fantastic, Moe!
Is there anything we could do at JRiver to make this process easier? Thanks so much for the contribution!
Sure, it's not complete though, I've just added things what have broken my brackets at the time. Don't know though where it is saved...
2. Full HTML/CSS/Javascript support.
Cool. Probably just easiest to export it from Notepad++ under "Language > Define your language > {select JRiver language} > Export" to create a new UDL language file.Don't know how I missed those import/export buttons ::) I'm sure I didn't handle escape characters properly but seemed to work properly with /( and /) so I didn't dig further. Probably also lacks functions which I didn't use at the time when I updated language file...
But no rush.
If inlined images are the main concern, maybe we can define a rendering tag that can do that, pull from some default MC folder somewhere (for performance reasons, web requests would also be problematic here, unless we can find a nice way to make the images load asynchroniously)
Last you should check that this imported movie template (which you just added from the clipboard) is highest movie template
And in this thread there is a ton of html/xml/whatever code that the vast majority of MC users would take one look at and think, "Yeah, MC is just too hard to use." I'm really happy that you asked for this feedback.
This works to append the correct millions/billions suffix:THANK YOU SO MUCH!!! This works perfectly!!
If enough people like this but want some more Genre Icons made, I may be able to be persuaded if there is enough demand :)
And another fault: the IMDB-rating in tooltip is of smaller font than the others. No clue why as there are no fond size changes, but I will add one......If you were using tooltip Moe shared as base I think that there were couple places where font was opened but not closed so that caused unpexpected font sizes.
Looking good Lepa! How are you finding it using images instead of fonts? I am assuming it's easier?not so messy yeah. I think that I will use both. Most of the time went for drawing these simple images with gimp as it has been so long time since I have last used it...
Out of curiosity, what do the gold stars next to the song titles symbolize in the second image? I know the blue icons indicate Allmusic track picks.
Just a little experimentation using images as tech icons row in my movie template. Everything is looks bit chaotic as icons are different width, color etc.... Probably will end up drawing/modifying my own icons so the style will be similar between the logos. At minimum will use similar width for all the icons. Just testing for now
I'd be happy to share, I was only worried that you all might have an issue with copyrights and what not.That is my concern also. Happy to share otherwise
<font face="ToolTip01" size="400">If(IsEqual([FSK],0,2),<font color="#FFFFFF"> Ē,If(IsEqual([FSK],6,2),<font color="#fff200"> ē,If(IsEqual([FSK],12,2),<font color="#33ff00"> Ĕ,If(IsEqual([FSK],16,2),<font color="#33d9ff"> ĕ,If(IsEqual([FSK],18,2),<font color="#ff0000"> Ė,)))))<//font><//font>
It's funny: the german translation of "MPAA" ist "FSK Bewertung" :o Therefore, I needed a new tag "fsk" for the value and "fsk_logo" for the sign. Works great, but now there are too many icons in theatre view, I have to play with their size. So, no picture of my setup for now..Lepa,
you're the best.... thank you so much for taking the time while you're on holidays....
The problem was that I didn't move the template up the list... so it would always pick the original Movie Template.
I didn't know that the templates are evaluated top to bottom and the first that meets the criteria is taken... if I would have paid more attention, I could have sorted out the logic by seeing the options 'Move Template Up' or 'Move Template Down'...
I owe you big time.... Many many thanks !!
BR
If(!IsEmpty([Actors]),<img width="70" src="tooltip:ListItem([Actors],0)"> <img width="70" src="tooltip:ListItem([Actors],1)"> <img width="70" src="tooltip:ListItem([Actors],2)"> <img width="70" src="tooltip:ListItem([Actors],3)"> <img width="70" src="tooltip:ListItem([Actors],4)">,) If(!IsEmpty([Director]),<img width="70" src="tooltip:ListItem([Director],0)">,) If(!IsEmpty([Creator]),<img src="tooltip:[Creator]" width="70">,)
If(!IsEmpty([Actors]),<img width="70" src="tooltip:ListItem([Actors],0)-txt">,) If(!IsEmpty([Actors]),<img width="70" src="tooltip:ListItem([Actors],1)-txt">,) If(!IsEmpty([Actors]),<img width="70" src="tooltip:ListItem([Actors],2)-txt">,) If(!IsEmpty([Actors]),<img width="70" src="tooltip:ListItem([Actors],3)-txt">,) If(!IsEmpty([Actors]),<img width="70" src="tooltip:ListItem([Actors],4)-txt">,) If(!IsEmpty([Director]),<img width="70" src="tooltip:ListItem([Director],0)-txt">,) If(!IsEmpty([Creator]),<img src="tooltip:[Creator]-txt" width="70">,)
Lepa, have you considered just adding the persons name to the image? Something like this?I did it also but but thought that it could lead to more manual work. I think that name image creation could be automated trigger being when "actor name.png" is created into folder => create new image and write that actor name to the image template. Am not so familiar how to do any image automation though and not even sure if I have time or interest going further with this. Just throwing some ideas in the air.
(http://www.moesrealm.com/img/MC/DD.png)
Seems like it would be more efficient than using two images per person.
<img src="tooltip:channels-[channels]">
and right image would be chosen to you given you have image named like that in folder. If there is no image then nothing is drawn in the screen.If(IsEqual([channels],5.1),<img src="tooltip:channels-5.1">,If(IsEqual([channels],6.1),<img src="tooltip:channels-6.1">,If(IsEqual(blah, blah),blah,blah))) etc etc etc.........
If(IsEqual([Media Sub Type],Movie,1), <font size="200"><b>[Name]Delimit([Year],/),/# (#/)Delimit([Access Rating],/),/# (#/)<//b><//font> /[ <font color="#f69838">RatingStars() <//font>/]
<font size="120">If(!IsEmpty([MPAA Rating]),<img src="tooltip:rating-mpaa-[MPAA Rating]-grey">,<img src="tooltip:rating-mpaa-nr-grey">)<//font><font color="#9496a3" size="100"><b> | <//b><//font><font color="#9496a3" size="100">Size() <b>|<//b><//font> <font color="#9496a3" size="100"><i>Replace([Genre],;, / // )<//i> <b>|<//b> [Date] /([Country]/)<//font>
<font size="150">If(IsEqual([Awards], Oscar, 8),If(IsEqual([Awards], Won, 8),<img src="tooltip:award-oscar-won">,<img src="tooltip:award-oscar-nomination">),) If(!IsEmpty([Critic Rating]),<img src="tooltip:web-tmdb-wide"> [Critic Rating] ,) If(!IsEmpty([Rating IMDb]),<img src="tooltip:web-imdb"> [Rating IMDb] ,) If(!IsEmpty([Rotten Tomatoes]),<img src="tooltip:web-rt"> [Rotten Tomatoes]% If(IsEqual([Rotten Tomatoes], 60, 6),<img src="tooltip:web-rt-fresh">,<img src="tooltip:web-rt-splat">),)<//font>
____________________________________________________________________________________________________________________
If(!IsEmpty([Description]),<font size="115">[Description]<//font>,)
If(!IsEmpty([Keywords]), /
/(<i>[Keywords]<//i>/),)
____________________________________________________________________________________________________________________
If(!IsEmpty([Director]),<font size="120" color="#898989"><b>DIRECTOR: <//b><//font><font color="#ffffff"><i>Replace([Director],;, / // )<//i><//font>
,)If(!IsEmpty([Actors]),<font size="120" color="#898989"><b>STARS: <//b><//font><font color="#ffffff"><i>Replace(ListLimit([Actors],5),;, / // )<//i><//font>
,)If(!IsEmpty([Screenwriter]),<font size="120" color="#898989"><b>WRITER: <//b><//font><font color="#ffffff"><i>Replace([Screenwriter],;, / // )<//i><//font>
,)If(!IsEmpty([Screenwriter]),<font size="120" color="#898989"><b>PRODUCER: <//b><//font><font color="#ffffff"><i>Replace([Producer],;, / // )<//i><//font>
,)If(!IsEmpty([Budget]),<b>BUDGET:<//b> $Math(Trunc([Budget]/1000000,1)) Million ,)If(!IsEmpty([Gross Revenue]),// <b>GROSS REVENUE:<//b> $Math(Trunc([Gross Revenue]/1000000,1)) Million
,)If(!IsEmpty([Awards]), <b>AWARDS:<//b> <i>[Awards]<//i>
,)
____________________________________________________________________________________________________________________
<font size="310">If(IsEqual([Notes],HDR,8),<img src="tooltip:resolution-[Resolution]-hdr">,<img src="tooltip:resolution-[Resolution]">)<//font>If(!IsEmpty([Aspect Ratio]),/ <font size="310"><img src="tooltip:aspect-[AR-calculated]"><//font>,) <font size=310><img src="tooltip:speakers-[Channels]"><//font> <font size="310"><img src="tooltip:audio-[Audio Codec]"><//font> <font size="310"><img src="tooltip:studio-ListItem([Production Companies],0)"><//font>
____________________________________________________________________________________________________________________
[Filename]
If(!IsEmpty(FilePlaylists()),Playlists:
<b>FilePlaylists()<//b>,),)
Question. I notice many of your screenshots have the studio/production company logo (like the Warner Brothers icon in your Bird screenshot). I’m curious where you’re pulling that data from? Is it the Studio field from MCRatings? I like the way it looks, but I have over 1,000 studios represented in my library and being the anal retentive completionist that I am it would drive me nuts if I didn’t have a logo for each one ;DI have just done few biggest ones manually. Most of the movies contains one of big companies anyway. Not taking any pressure and creating one when feels like it. It's more convenient now, when you don't have to modify script but just create image and script will use it if it is found.
<font size="310"><img src="tooltip:studio-ListItem([Production Companies],0)"><//font><font size="310"><img src="tooltip:studio-ListItem([Production Companies],1)"><//font><font size="310"><img src="tooltip:studio-ListItem([Production Companies],2)"><//font><font size="310"><img src="tooltip:studio-ListItem([Production Companies],3)"><//font><font size="310"><img src="tooltip:studio-ListItem([Production Companies],4)"><//font>
Actually found Python library (Pillow) (https://hhsprings.bitbucket.io/docs/programming/examples/python/PIL/ImageDraw.html) which could be used to add actor name into actor picture so that would be doable as a mass update. Already tested with one image and preliminarily worked. Would require just a little fine tuning.
Question, is Theaterview-Audio screen included anywhere?Just noticed this. I have not shared it because it included some special fonts I created. I will publish screen once the image support hopefully gets vertical alignation feature implemented.
I like the one shown in first post and could use that for starters as a template.
Still have not got my head around how to start one on my own.
Thanks!
would it be possible to make this in a skin.zip....for us non skilled users?
I am sure many are hanging around in this forum drooling
FirstNotEmpty([Tooltip - Movie], [Tooltip - Audio])
I have two custom fields, Tooltip - Movie and Tooltip - Audio. Worked great up until recently. Now all that is displayed is which ever is first after the FirstNotEmpty in my expression. I can swap them around and the tooltip only displays which ever is first regardless of file type.FirstNotEmpty([Tooltip - Movie], [Tooltip - TV Show], [Tooltip - Audio])
If(IsEqual([Media Sub Type],Movie,1),Movie,)
If(IsEqual([Media Sub Type],Audio,1),Audio,)
MGD, I would try this. First off, I would back up your [Tooltip - Movie] and [Tool Tip Audio] to a txt file. I would then fill them in like so
For [Tooltip - Movie] put inCode: [Select]If(IsEqual([Media Sub Type],Movie,1),Movie,)
And for [Tooltip - Audio] put inCode: [Select]If(IsEqual([Media Sub Type],Audio,1),Audio,)
Then test a movie tooltip to see if it says the word "Movie" and an audio one to see if you see the word "Audio". I am wondering if you've got a missing bit of code in one of your tooltips that is messing things up.
I am wondering if you've got a missing bit of code in one of your tooltips that is messing things up.
FirstNotEmpty([Tooltip - Audio], [Tooltip - Movie])
Moe, I tried what you suggested and the audio tooltip still didn't show up. However, I got it to work again by making the Tooltip field this:Code: [Select]FirstNotEmpty([Tooltip - Audio], [Tooltip - Movie])
I'm not sure why it works that way and not with Tooltip - Movie first, but it does. Thanks for the help!!
OK, Ill quickly admit I'm a complete idiot when it comes to the coding aspects of MediaCenter but I had the exact problem and after much hair pulling and scratching I found that when I called my audio tooltip Tooltip - Music, everything worked as I expected. I think my issue is because my music files are tagged with media type audio and media subtype music. Since I don't have podcasts or other audio files in my library, this is as much resolution as I need but it might bear some scrutiny??Good catch.
<img src="[Filename (path)]logo.png" width="800">
<img src="[Filename (path)]banner.jpg" width="1000">
Here are some.
http://www.tedhowe.com/uploads/1/2/0/8/120832526/b0f350-35a90036ecb94745880473df6a153178_orig.png
https://scontent-sjc3-1.xx.fbcdn.net/v/t31.0-8/10403872_820682787965526_6528951184189024639_o.png?_nc_cat=107&_nc_oc=AQm2wxI289Xc9i4e-UUzRRvI3iUsdIQCa60Z8-tUgz7v3vgQiSZbIWFomf9vo_vcZTU&_nc_ht=scontent-sjc3-1.xx&oh=84149090502f733bbe5b372b04ce34a0&oe=5DD56612
https://upload.wikimedia.org/wikipedia/commons/thumb/5/5a/Allmusic.svg/1024px-Allmusic.svg.png
I agree Lepa, I've definitely gotten some inspiration from other peoples views.
it would be better to do it with new custom db field [LogoExist]
I like the Album review, but not a fan of lyrics.
Like the general layout except for the left lower side is a little unbalanced. I have this same issue when presenting data that doesn't fit in the nice little cubbyholes the skin allows
I was contemplating using the AllMusic Album Pick tag but already using the Track Pick and thought it might be a little much. Your layout doesn't seem to overuse it so I may try it on mine ;D
I like the use of the Total Tracks field both at the top and in the track number field
Did you pull the Band Members data from the Discogs Artist ID tag?
Kinda thinking I like the color cyan for the track, duration, genre, date and media type line
Love your allmmusic logo. Where did you find it?
Care to share how you did the Allmusic star rating instead of numbers?
<font face="Stars" color="226399" size="175">listitem(;D;B;BD;BB;BBD;BBB;BBBD;BBBB;BBBBD;BBBBB, math([AMG Rating] * 2))<//font>/
<font face="Stars" color="747474" size="175">listitem(BBBBB;BBBB;BBBB;BBB;BBB;BB;BB;B;B;, math([AMG Rating] * 2))<//font>
I couldn't agree with you more. I think one of the biggest things the MC team could do for us now would be someway to position elements. Whether it be something like DIVs or Tables, or something else. Being able to position elements wherever we want would really open a lot of new possibilities. There's just so much wasted space under the image and it would be really nice to use that space.
You can get this from MCUTILS as well. You need to configure the AMG script to pull the credits tag then use the Varlist option to organize the credits into Keywords. The generic instructions are in the amg+discogs.txt configuration file. Its in the MCUtils\data\config subdirectory:
I pull the band member data from MCUtils/AMG. I wish it told you the members role in the band, something like:
Brendan Canty – Drums
Guy Picciotto – Vocals, Guitar
Ian MacKaye – Vocals, Guitar
Joe Lally – Bass Guitar, Vocals
I found it via Google, but I modified it. In the original image the Music part of it was black text, I inverted it in Photoshop. Here it is
Sure, it uses a font that I made that contains stars and half stars. It can be found here http://moesrealm.com/img/MC/Fonts/ The stars are mapped to A,B,C,D (capitol letters)
Then the expression isCode: [Select]<font face="Stars" color="226399" size="175">listitem(;D;B;BD;BB;BBD;BBB;BBBD;BBBB;BBBBD;BBBBB, math([AMG Rating] * 2))<//font>/
<font face="Stars" color="747474" size="175">listitem(BBBBB;BBBB;BBBB;BBB;BBB;BB;BB;B;B;, math([AMG Rating] * 2))<//font>
<font face="Verdana" size="150" color="#0e76bc"><b>ALL<//b><//font><font face="Lato Light"size="150">MUSIC <//font>
Try including artistid, artistmembers and artistmemberof in your config line. When I tested this config, I got a lot of good info back (see below) You will have to create fields for Bass, Guitar, Keyboards, Drums, Artist Members and maybe a few others. Does this help?
listitem(;<img src="tooltip:Star-half" height="12">;<img src="tooltip:Star" height="12">;<img src="tooltip:Star" height="12"><img src="tooltip:Star-half" height="12">;<img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12">;<img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12"><img src="tooltip:Star-half" height="12">;<img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12">;<img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12"><img src="tooltip:Star-half" height="12">;<img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12">;<img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12"><img src="tooltip:Star-half" height="12">;<img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12"><img src="tooltip:Star" height="12">, math([AMG Rating] * 2))/
listitem(<img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12">;<img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12">;<img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12">;<img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12">;<img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12">;<img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12">;<img src="tooltip:Star-null" height="12"><img src="tooltip:Star-null" height="12">;<img src="tooltip:Star-null" height="12">;<img src="tooltip:Star-null" height="12">;, math([AMG Rating] * 2))
I don't know what theme you're using and I don't have it. But for my theme that selector is located at C:\Program Files (x86)\J River\Media Center 25\Skins\Theater View\Obsidian - Clock\List and the file is called ListSelection.pngThanks. Hmm.. I have already tried that one. Maybe restart is needed.. You might be right that track numbers could give a little better structure there. I'll try it!
If I were using your theme, I think I would want the track numbers next to the song titles. But that's a personal thing.
I'm running out of screen real estate! I'd love to be able to make the poster smaller (it takes up ~35-40% of the screen width) and then utilize the space underneath it (at minimum).;D
regex(listitem([TMDB Actors Name],0), /#(.+)#/,-1)<img src="C:\Users\Moe\Desktop\MCArt\Actors\[R1].jpg" height="200"><br><font size="50">listitem([Cast 2],0,<//i>)<//font>
regex(listitem([TMDB Actors Name],0), /#(.+)#/,-1)<img src="C:\Users\Moe\Desktop\MCArt\Actors\[R1].jpg" height="100"> <font face="Anka//Coder Narrow">if(compare(length(ListItem([Cast 3],0,<br>)), >=, 45), Left(ListItem([Cast 3],0,<br>), 44), ListItem([Cast 3],0,<br>)<//font><font face="Anka//Coder Narrow" alpha="0">listitem(;_;__;___;____;_____;______;_______;________;_________;__________;___________;____________;_____________;______________;_______________;________________;_________________;__________________;___________________;____________________;_____________________;______________________;_______________________;________________________;_________________________;__________________________;___________________________;____________________________;_____________________________;______________________________;_______________________________;________________________________;_________________________________;__________________________________;___________________________________;____________________________________;_____________________________________;______________________________________;_______________________________________;________________________________________;_________________________________________;__________________________________________;___________________________________________;____________________________________________;_____________________________________________;______________________________________________;_______________________________________________;, Math(44-Length(ListItem([Cast 3],0,<br>))),;))<//font>
regex(listitem([TMDB Actors Name],0), /#(.+)#/,-1)<img src="C:\Users\Moe\Desktop\MCArt\Actors\[R1].jpg" height="100">
<img src="C:\Users\Moe\Desktop\MCArt\Actors\listitem([TMDB Actors Name],0).jpg" height="100">
Aside from a massive migraine, I have but one question.....what is [Cast 3]?That would probably be useful information, huh?
Replace(Replace(Replace([TMDB Actors],- {,- / ),; ,<br>),},)&DataType=[list]
Code: [Select]<img src="C:\Users\Moe\Desktop\MCArt\Actors\listitem([TMDB Actors Name],0).jpg" height="100">
<img src="C:\Users\Moe\Desktop\MCArt\Actors\listitem\([TMDB Actors Name],0).jpg" height="100">
listitem([TMDB Actors Name],0).jpg
listitem([TMDB Actors Name],1).jpg
[Cast 3] isCode: [Select]Replace(Replace(Replace([TMDB Actors],- {,- / ),; ,<br>),},)&DataType=[list]
I have MCUtils pull down actor information from TMDB in the following format Actor Name - {Character Name} and I've also remapped it to my own custom field called [TMDB Actors] (instead of using the default [Actors] field). So, [Cast 3] converts "Bob Smith - {Henry Ford}" to "Bob Smith - Henry Ford"
TMDB::Var: Actors_format = name [character] # how each actor should be formatted
regex( listitem( [TMDB Actors], 0), /#(.+) [[]#/, 0)
<img src="C:\Program Files\J River\Media Center 25\Data\Tooltip\Actors\[TMDB ID]\[R1].jpg" height="100">
Thus far though, only puts up the first actor image so clearly there is more investigation to be done :)
regex( listitem( [TMDB Actors], 0), /#(.+) [[]#/, 0)
regex( listitem( [TMDB Actors], 1), /#(.+) [[]#/, 0)
regex( listitem( [TMDB Actors], 2), /#(.+) [[]#/, 0)
JRiver's implementation of regex is... lacking as it can not do global searches/captures. It can only store 9 variables at a time. This post (https://yabb.jriver.com/interact/index.php/topic,120778.msg835056.html#msg835056) explains the problem way better than I could.
It seems to me that a regex based replace would fix a good number of these kinds of cases. Ala, "s/find/replace/g" from perl, sed, and friends. Maybe something like:Code: [Select]RegexReplace(String, Search Regex, Replace Regex, mode)
example:Code: [Select]RegexReplace([Name], /#\(.+\)/#,,0)
This would replace everything between parenthesis in the [Name] field with nothing. Deleting those substrings.
Modes might include:
0: operate globally on the entire string (like the g modifier in perl and sed)
1.: operate only on the first match (like not using a modifier in perl and sed)
2: delete the regex substring (like using d in sed)
Brian.
Well, this monstrosity fits my needs:
listcombine(if(isequal(regex(if(isequal(regex(if(isequal(regex(if(isequal(regex(if(isequal(regex(if(isequal(regex(if(isequal(regex(if(isequal(regex(if(isequal(regex(if(isequal(regex(if(isequal(regex(if(isequal(regex(if(isequal(regex([performer (no guests)],/#^(([^\(]+)\([^\)]+\)+(.*)|(.*))#/,-1)[R1][R2][R3],(,8),[R2][R3],[R1]),/#^(([^\(]+)\([^\)]+\)+(.*)|(.*))#/,-1)[R1][R2][R3],(,8),[R2][R3],[R1]),/#^(([^\(]+)\([^\)]+\)+(.*)|(.*))#/,-1)[R1][R2][R3],(,8),[R2][R3],[R1]),/#^(([^\(]+)\([^\)]+\)+(.*)|(.*))#/,-1)[R1][R2][R3],(,8),[R2][R3],[R1]),/#^(([^\(]+)\([^\)]+\)+(.*)|(.*))#/,-1)[R1][R2][R3],(,8),[R2][R3],[R1]),/#^(([^\(]+)\([^\)]+\)+(.*)|(.*))#/,-1)[R1][R2][R3],(,8),[R2][R3],[R1]),/#^(([^\(]+)\([^\)]+\)+(.*)|(.*))#/,-1)[R1][R2][R3],(,8),[R2][R3],[R1]),/#^(([^\(]+)\([^\)]+\)+(.*)|(.*))#/,-1)[R1][R2][R3],(,8),[R2][R3],[R1]),/#^(([^\(]+)\([^\)]+\)+(.*)|(.*))#/,-1)[R1][R2][R3],(,8),[R2][R3],[R1]),/#^(([^\(]+)\([^\)]+\)+(.*)|(.*))#/,-1)[R1][R2][R3],(,8),[R2][R3],[R1]),/#^(([^\(]+)\([^\)]+\)+(.*)|(.*))#/,-1)[R1][R2][R3],(,8),[R2][R3],[R1]),/#^(([^\(]+)\([^\)]+\)+(.*)|(.*))#/,-1)[R1][R2][R3],(,8),[R2][R3],[R1]),/#^(([^\(]+)\([^\)]+\)+(.*)|(.*))#/,-1)[R1][R2][R3],(,8),[R2][R3],[R1]),)
regex( listitem( [TMDB Actors], 0), /#(.+) [[]#/, 0)
listitem( [TMDB Actors], 0)
listitem( [TMDB Actors], 0,[)
Absinth, this part of your code is redundantCode: [Select]listitem( [TMDB Actors], 0,[)
Then there is no need for the regex step :)
Listitem[TMDB Actors], 0,[)
but not for Listitem[TMDB Actors], 1,[)
I thought I was on to something here. In the first picture the picture of the person and their name is all one field called [Actor 1] It looks likeI think that's why I did two rows when first experimenting this, so all the images are in the first row and then second row consist of all the names and because we don't have tables it is really hard to align name with above picture.
.....
It appears that MC is honoring the break tag that's encoded into field. I was hoping it wouldn't do that then we could put all the actors in a row without tables. I don't know why the fonts are getting all tiny either (but I didn't spend much time looking either).
Back to the drawing board...
(http://moesrealm.com/img/MC/pulp-fiction.jpg)
Thanks to an update to MCUtils, actor image/name/role is completely automated. I created different templates as well. If you want circular images, à la Plex, you can do that.
Man, oh, man.THIS
This is awesome.
I know that perhaps every clue on how to make this is in this thread but boy would I love to have, when you guys are satisfied, a step by step tutorial on how to get this end result.
Cheers!
I don't think the official MCUtils release has it yet, I've been helping with testing it do I got an early release. I am sure it will be released soon. The above is pretty much one of the defaults in the script (I just changed the font color) so it should be easy to grab actor images with their name/role attached.
mid([critic rating], 5, 3)
If(IsEqual([Awards],Oscar,8),If(IsEqual([Awards],Won,8),<font face="ToolTip01" size="110" color="#b59031">4 <//font><font face="ToolTip01" size="200" color="#FFFF00">@ <//font>,<font face="ToolTip01" size="110" color="#b59031">4 <//font><font face="ToolTip01" size="200" color="#a6a6a6">@ <//font>),)If(!IsEmpty([Critic Rating]),<font face="ToolTip01" size="110" color="#01CB73">; <//font>[Critic Rating] ,)If(!IsEmpty([IMDb Rating]),<font face="ToolTip01" size="110" color="#E8B708">7 <//font>[IMDb Rating] ,)If(!IsEmpty([Rotten Tomatoes]),<font face="ToolTip01" size="110" color="#ED1C08">8 <//font>[Rotten Tomatoes]% If(IsEqual([Rotten Tomatoes],,0),,If(IsEqual([Rotten Tomatoes],60,6),<font face="ToolTip01" size="150" color="#F13008">: <//font>,<font face="ToolTip01" size="150" color="#0FC152">9<//font>)),)
If(IsEqual([Awards],Oscar,8),If(IsEqual([Awards],Won,8),<font face="ToolTip01" size="110" color="#b59031">4 <//font><font face="ToolTip01" size="200" color="#FFFF00">@ <//font>,<font face="ToolTip01" size="110" color="#b59031">4 <//font><font face="ToolTip01" size="200" color="#a6a6a6">@ <//font>),)If(!IsEmpty([Critic Rating]),<font face="ToolTip01" size="110" color="#01CB73">; <//font>Mid([Critic Rating],4,10) ,)If(!IsEmpty([IMDb Rating]),<font face="ToolTip01" size="110" color="#E8B708">7 <//font>[IMDb Rating] ,)If(!IsEmpty([Rotten Tomatoes]),<font face="ToolTip01" size="110" color="#ED1C08">8 <//font>[Rotten Tomatoes]% If(IsEqual([Rotten Tomatoes],,0),,If(IsEqual([Rotten Tomatoes],60,6),<font face="ToolTip01" size="150" color="#F13008">: <//font>,<font face="ToolTip01" size="150" color="#0FC152">9<//font>)),)
If(IsEqual([Awards],Oscar,8),If(IsEqual([Awards],Won,8),<font face="ToolTip01" size="110" color="#b59031">4 <//font><font face="ToolTip01" size="200" color="#FFFF00">@ <//font>,<font face="ToolTip01" size="110" color="#b59031">4 <//font><font face="ToolTip01" size="200" color="#a6a6a6">@ <//font>),)If(!IsEmpty([Critic Rating]),<font face="ToolTip01" size="110" color="#01CB73">; <//font>Mid([Critic Rating],4,10) ,)If(!IsEmpty([IMDb Rating]),<font face="ToolTip01" size="110" color="#E8B708">7 <//font>[IMDb Rating] ,)If(!IsEmpty([Rotten Tomatoes]),<font face="ToolTip01" size="110" color="#ED1C08">8 <//font>[Rotten Tomatoes]% If(IsEqual([Rotten Tomatoes],,0),,If(IsEqual([Rotten Tomatoes],60,6),<font face="ToolTip01" size="150" color="#F13008">: <//font>,<font face="ToolTip01" size="150" color="#0FC152">9<//font>)),) <font size="110">If(!IsEmpty([MetaScore]),IfElse(IsEqual([MetaScore],39,4),<img src="tooltip:rating-MetaScoreRed">,IsEqual([MetaScore],60,4),<img src="tooltip:rating-MetaScoreYellow">,IsEqual([MetaScore],100,4),<img src="tooltip:rating-MetaScoreGreen">) [MetaScore],) <//font>
UPDATE:That's because MC's image support is still a little rough on edges. You can remove <font size="110"> <//font> tags which are surrounding that metacritic part. I'm using font size to make row of images to be displayed as same height. So I will surround whole ratings row with some font size value.
Upon more inspection I see that the Metascore icon is bigger if there is a Oscar statue/logo as opposed to if there is no Oscar logo.
Se attached screen shot Large MC.
Great and thank you for the explanation of the different code segments that really helps to understand the whole picture.I'm using MCUtils to get TMDb rating which can be configured to save only the actual rating. If yo are using MC for [Critic Rating] and always have your tag value something like "TMDb 6,7 / 10" you can for example trim 5 characters from right (" / 10"). So RemoveRight([Critic Rating],5) and combined with RemoveCharacters it would look like this: RemoveCharacters(RemoveRight([Critic Rating],5),TMDb/ ,1)
I have incorporated your .png and code and the result is much better!
I see in your screen shot that you don't have the "/10" after the value in TMDb.
I still have that even though I have pasted your code.
How can I get rid of the "/10" as it is not needed.
What lepa gave you works but you can simplify things using the mid command.Yes, that works fine if data is always in same format. RemoveCharacters() example was kind of fail safe method as it removes only text which for sure is wanted to be trimmed out. Also I don't know what is value from TMDb if rating value is integer 8, does TMDb always return also decimal part so like 8,0?
Use this if you want the score only. Like 8.9
Mid([Critic Rating],4,4)
Use this if you want the score out of 10. Like 8.9 / 10
Mid([Critic Rating],4,9)
If(!IsEmpty([Metascore]),<img src="R:\Tooltip\meta.png"> <img src="R:\Tooltip\meta-[Metascore].png">,)
if(isequal([metascore], 81, 6), <img src="R:\Tooltip\meta-must.png">,)
<img src="[Filename (path)]logo.png" width="645">
if(isequal([Compression],DTS,8),<img src="tooltip:Audio DTS" height="80">,if(isequal([Compression],AC3,8),<img src="tooltip:Audio Dolby Digital" height="80">,if(isequal([Compression],PCM,8),<img src="tooltip:Audio PCM" height="80">,if(isequal([Compression],mp3,8),<img src="tooltip:Audio MP3" height="80">,if(isequal([Compression],flac,8),<img src="tooltip:Audio FLAC" height="80">,if(isequal([Compression],aac,8),<img src="tooltip:Audio AAC" height="80">,if(isequal([Compression],MPEG,8),<img src="tooltip:Audio MPEG" height="80">,if(isequal([Compression],Vorbis,8),<img src="tooltip:Audio Vorbis" height="80">,))))))))
if(isequal([Channels],1,2),<img src="tooltip:speakers mono" height="80">,if(isequal([Channels],2,2),<img src="tooltip:speakers stereo" height="80">,if(isequal([Channels],3,2),<img src="tooltip:speakers 2.1" height="80">,if(isequal([Channels],4,2),<img src="tooltip:speakers quad" height="80">,if(isequal([Channels],5,2),<img src="tooltip:speakers 4.1" height="80">,if(isequal([Channels],6,2),<img src="tooltip:speakers 5.1" height="80">,if(isequal([Channels],7,2),<img src="tooltip:speakers 6.1" height="80">,<img src="tooltip:speakers 7.1" height="80">)))))))
If(IsEqual([Width],1920,5),<img src="tooltip:Resolution 4K" height="80">,If(IsEqual([Width],1360,5),<img src="tooltip:Resolution 1080" height="80">,If(IsEqual([Width],888,5),<img src="tooltip:Resolution 720" height="80">,<img src="tooltip:Resolution 480" height="80">)))
<img src="tooltip:Studios-[Studios]" height="80">
<img src="[Filename (path)]logo.png" width="645">
.if(isequal([Compression],DTS,8),<img src="tooltip:Audio DTS" height="80">,if(isequal([Compression],AC3,8),<img src="tooltip:Audio Dolby Digital" height="80">,if(isequal([Compression],PCM,8),<img src="tooltip:Audio PCM" height="80">,if(isequal([Compression],mp3,8),<img src="tooltip:Audio MP3" height="80">,if(isequal([Compression],flac,8),<img src="tooltip:Audio FLAC" height="80">,if(isequal([Compression],aac,8),<img src="tooltip:Audio AAC" height="80">,if(isequal([Compression],MPEG,8),<img src="tooltip:Audio MPEG" height="80">,if(isequal([Compression],Vorbis,8),<img src="tooltip:Audio Vorbis" height="80">,))))))))
Downloaded some .png logo's from your side and installed within the respective directories, like the movie related logo's inside the shared folder where my films are located.<img src="tooltip:
<img src="[Filename (path)]logo.png" width="645">
Great day to you Moe,<img src="[Filename (path)]logo.png" width="645">
A while ago i installed successfully the custom Theater View templates and got pretty all features as described in this very interesting tread :-)
Only thing i can't figure out is how to use your logo images.
I did create the new [logo] fieldCode: [Select]<img src="[Filename (path)]logo.png" width="645">
.
Replaced the tooltip lines within my template, likeCode: [Select]if(isequal([Compression],DTS,8),<img src="tooltip:Audio DTS" height="80">,if(isequal([Compression],AC3,8),<img src="tooltip:Audio Dolby Digital" height="80">,if(isequal([Compression],PCM,8),<img src="tooltip:Audio PCM" height="80">,if(isequal([Compression],mp3,8),<img src="tooltip:Audio MP3" height="80">,if(isequal([Compression],flac,8),<img src="tooltip:Audio FLAC" height="80">,if(isequal([Compression],aac,8),<img src="tooltip:Audio AAC" height="80">,if(isequal([Compression],MPEG,8),<img src="tooltip:Audio MPEG" height="80">,if(isequal([Compression],Vorbis,8),<img src="tooltip:Audio Vorbis" height="80">,))))))))
Downloaded some .png logo's from your side and installed within the respective directories, like the movie related logo's inside the shared folder where my films are located.
The audio related logo's inside the directory where my cd rips are.
I'm pretty sure I'm missing some important part :-)
If you could shine me some light onto adapting towards your nice logo images :-)
Thanks sir !
FirstNotEmpty([Tooltip - Movie], [Tooltip - TV Show], [Tooltip - Audio])
If(IsEqual([Media Type],Audio,1),TOOLTIP CODE GOES HERE,)
If(IsEqual([Media Sub Type],Movie,1),<font size="200"><b>[Name]<//b><//font>If(!IsEmpty([Tag Line]),<font size="150"><br><i>[Tag Line]<//i><//font>,)
<img src="tooltip:Divider" size="570x20">
<font size="125" color="#80C0C0"><b>size() <font color="#5b5b5b">||<//font> [Genre] <font color="#5b5b5b">||<//font> [Year] <font color="#5b5b5b">||<//font> [Country]<//b><//font>
<img src="tooltip:Divider" size="570x20">
If(!IsEmpty([Oscar Winner]),[Oscar Winner],) <font size="150">If(!IsEmpty([TMdbRating]),<img src="tooltip:Web TMDB" height="25"> [TMdbRating] ,) If(!IsEmpty([IMDb Rating]),<img src="tooltip:Web IMDB2" height="25"> [IMDb Rating] ,) If(!IsEmpty([Metascore]),<img src="R:\Tooltip\meta.png"> <img src="R:\Tooltip\meta-[Metascore].png">,) If(!IsEmpty([Rotten Tomatoes]),<img src="tooltip:Web RT Logo Red2" height="25"> [Rotten Tomatoes]% [RT],)<//font>
<img src="tooltip:Synopsis" size="570x30">
If(!IsEmpty([Synopsis]),<font size="115">[Synopsis]<//font>,)
<img src="tooltip:Credits" size="570x30">
<font size="115">If(!IsEmpty([Director]),<b>Director:<//b> [Director]<br>,)If(!IsEmpty([Screenwriter]),<b>Screenwriter:<//b> [Screenwriter]<br>,)If(!IsEmpty([Producer]),<b>Producer:<//b> [Producer]<br>
<img src="tooltip:Cast" size="570x30">
,)If(!IsEmpty([TMDB Actors]),<b><//b>[Cast]<br>,)<//font>If(!IsEmpty([Bonus_Section]),<br><img src="tooltip:Bonus" size="570x30">
<font size="115">If(!IsEmpty([Commentary]),<b>Commentary:<//b> [Commentary]<br>,)If(!IsEmpty([Collections]),<b>Collections:<//b> [Collections]<br>,)If(!IsEmpty([Movie Series]),<b>Movie Series:<//b> [Movie Series]<br>,)<//font>,)If(!IsEmpty([Rifftrax]),<br><br><img src="tooltip:RiffTrax2" size="570x50"><br><b>Rifftrax:<//b> [Rifftrax]<br>,)
<img src="tooltip:Divider" size="570x20">
<font size="300">If(!IsEmpty([MPAA]),[MPAA],) [Audio_Stream] [Speakers] [Resolution] [Aspect_Ratio]<//font>
<font size="85" color="#7c7c7c">[filename]<//font>
,)
For pretty much every image that isn't a movie logo you want to put them in this directory
C:\Program Files (x86)\J River\Media Center 25\Data\Tooltip
That is MC's default directory for images. Anytime you see code in this thread like this
<font color="#9496a3">_________________________________________________________________________________________________<//font>
if(isequal([Compression],DTS,8),<img src="tooltip:Audio DTS" height="40">,if(isequal([Compression],AC3,8),<img src="tooltip:Audio Dolby Digital" height="40">,if(isequal([Compression],PCM,8),<img src="tooltip:Audio PCM" height="40">,if(isequal([Compression],mp3,8),<img src="tooltip:Audio MP3" height="40">,if(isequal([Compression],flac,8),<img src="tooltip:Audio FLAC" height="40">,if(isequal([Compression],aac,8),<img src="tooltip:Audio AAC" height="40">,if(isequal([Compression],MPEG,8),<img src="tooltip:Audio MPEG" height="40">,if(isequal([Compression],Vorbis,8),<img src="tooltip:Audio Vorbis" height="40">)))))))) if(isequal([Channels],1,2),<img src="tooltip:speakers mono" height="40">,if(isequal([Channels],2,2),<img src="tooltip:speakers stereo" height="40">,if(isequal([Channels],3,2),<img src="tooltip:speakers 2.1" height="40">,if(isequal([Channels],4,2),<img src="tooltip:speakers quad" height="40">,if(isequal([Channels],5,2),<img src="tooltip:speakers 4.1" height="40">,if(isequal([Channels],6,2),<img src="tooltip:speakers 5.1" height="40">,if(isequal([Channels],7,2),<img src="tooltip:speakers 6.1" height="40">,<img src="tooltip:speakers 7.1" height="40">))))))) If(IsEqual([Width],1920,5),<img src="tooltip:Resolution 4K" height="40">,If(IsEqual([Width],1360,5),<img src="tooltip:Resolution 1080" height="40">,If(IsEqual([Width],888,5),<img src="tooltip:Resolution 720" height="40">,<img src="tooltip:Resolution 480" height="40">))) <img src="C:\Program Files\J River\Media Center 25\Data\Tooltip\Studios\Studios-[Studios].png" height="40">
if(isequal([Compression],DTS,8),<img src="tooltip:Audio DTS" height="40">,if(isequal([Compression],AC3,8),<img src="tooltip:Audio Dolby Digital" height="40">,if(isequal([Compression],PCM,8),<img src="tooltip:Audio PCM" height="40">,if(isequal([Compression],mp3,8),<img src="tooltip:Audio MP3" height="40">,if(isequal([Compression],flac,8),<img src="tooltip:Audio FLAC" height="40">,if(isequal([Compression],aac,8),<img src="tooltip:Audio AAC" height="40">,if(isequal([Compression],MPEG,8),<img src="tooltip:Audio MPEG" height="40">,if(isequal([Compression],Vorbis,8),<img src="tooltip:Audio Vorbis" height="40">))))))))
if(isequal([Channels],1,2),<img src="tooltip:speakers mono" height="40">,if(isequal([Channels],2,2),<img src="tooltip:speakers stereo" height="40">,if(isequal([Channels],3,2),<img src="tooltip:speakers 2.1" height="40">,if(isequal([Channels],4,2),<img src="tooltip:speakers quad" height="40">,if(isequal([Channels],5,2),<img src="tooltip:speakers 4.1" height="40">,if(isequal([Channels],6,2),<img src="tooltip:speakers 5.1" height="40">,if(isequal([Channels],7,2),<img src="tooltip:speakers 6.1" height="40">,<img src="tooltip:speakers 7.1" height="40">)))))))
If(IsEqual([Width],1920,5),<img src="tooltip:Resolution 4K" height="40">,If(IsEqual([Width],1360,5),<img src="tooltip:Resolution 1080" height="40">,If(IsEqual([Width],888,5),<img src="tooltip:Resolution 720" height="40">,<img src="tooltip:Resolution 480" height="40">)))
<img src="C:\Program Files\J River\Media Center 25\Data\Tooltip\Studios\Studios-[Studios].png" height="40">
<font color="#9496a3">_________________________________________________________________________________________________<//font>
[Audio Compression] [Channels] [Resolution] [Studio Logo]
<img src="tooltip:Studios-ListItem([Studios],0,;)" size="64x64"><img src="tooltip:Studios-ListItem([Studios],1,;)" size="64x64"><img src="tooltip:Studios-ListItem([Studios],2,;)" size="64x64">
<font color="#ffffff size="80""><i>Replace([Actors],;, / // )
<font color="#ffffff size="80""><i>[Actors]
Is there a way to get that functionality back and still have names in a row?
Bonus question, and also be able to not show that field if it is empty.
If(!IsEmpty([Actors]),<b>Actors:<//b> Replace(ListLimit([Actors],5),;,/,),)
Is there a way to get that functionality back and still have names in a row?linking is not possible with expression. I'm using separate links section below visible area to get linking support
This works just fine and I can now see more information in Theater view, however...The ability to follow the link to what (for example) the producer also have produced in my movie collection did go away.
Is there a way to get that functionality back and still have names in a row?
<img src="tooltip:Studios-ListItem([Studios],0,;)" size="64x64"><img src="tooltip:Studios-ListItem([Studios],1,;)" size="64x64"><img src="tooltip:Studios-ListItem([Studios],2,;)" size="64x64">
IsMissing([Banner file path]VIDEO_TS-banner.jpg)
Theater View Movies expression:if(isequal([Banner Exists], 1, 8), <i>[Name], [Banner])
Maybe it would help if more people showed some support for the idea? *hint hint*
if(isempty([Series, 1]), <font color="FFFFFF" "size="80"><b>[Name, 1]<//font><//b><font color="C0C0C0" "size="80"> [Year, 1]<//font> <font color="FF3333" "size="80">[Keywords, 1]<//font>, <b><font color="ff3333" "size="80"> Fixcase([Series, 1],3))<//b><//font> <font color="228B22" "size="60">[Edition, 1]
If(IsEmpty([Series]),[Name] [Date (Year)],[Series])
if(isempty([Series, 1]), <font color="FFFFFF" "size="80"><b>[Name, 1]<//font><//b><font color="C0C0C0" "size="80"> [Year, 1]<//font> <font color="FF3333" "size="80">[Keywords, 1]<//font>, <b><font color="ff3333" "size="80"> Fixcase([Series, 1],3))<//b><//font> <font color="228B22" "size="60">[Edition, 1]
[Name][Year]
<b><font color="ffffff" "size="70">[Name, 1]<//b><//font><font color="C0C0C0" "size="70"> [Year, 1]<//font><font color="ff3333" "size="70"> [Keywords, 1]<//font> <font color="228B22" "size="60">[Edition, 1]
If(IsEmpty([Series]),[Name] [Date (Year)],[Series])
if(isempty([Series, 1]), <font color="FFFFFF" "size="80"><b>[Name, 1]<//font><//b><font color="C0C0C0" "size="80"> [Year, 1]<//font> <font color="FF3333" "size="80">[Keywords, 1]<//font>, <b><font color="ff3333" "size="80"> Fixcase([Series, 1],3))<//b><//font> If(IsEmpty([[Series]]),<font color="228B22" "size="60">[Edition]<//font>,)
[Name][Year]
<b><font color="ffffff" "size="70">[Name, 1]<//b><//font><font color="C0C0C0" "size="70"> [Year, 1]<//font><font color="ff3333" "size="70"> [Keywords, 1]<//font> <font color="228B22" "size="60">[Edition, 1]<//font>
<font size="180">If(!IsEmpty([File Size]),IfElse(IsEqual([File Size],10,4),<font color="#990000">,IsEqual([File Size],20,4),<font color="#662F64">,IsEqual([File Size],30,4),<font color="#FDDB2E">,IsEqual([File Size],100,4),<font color="#008000">) [File Size],) <//font>
replace(listitem([Actors],0), ,_)
but it didn't work. What's my fault? (I know the fault: the [blank] is not recognised. But I don't now how to do this?If(!IsEmpty([Actors]),<b>Actors:<//b> Replace(ListLimit([Actors],5),;,/,),)
So, you integrated the cover in the normal first line? To get more space for the actors?
So, you integrated the cover in the normal first line? To get more space for the actors?
Moe/Thorsten, can you explain this further?Customize file info panel >> manage >> edit template >> no image
[Episode Still]<img src="R:\Tooltip\spacer.png" size="300x1">[Logo TV]<img src="R:\Tooltip\spacer.png" size="480x1">[Episode Image 2]
<img src="[Filename (path)]removeright([filename (name)], 3)jpg" height="200" >
regex([filename (path)], /#([MN]:.+)\\(.+)#/, -1)<img src="[R1]\logo.png" height="200">
<img src="[filename (path)]\[Image File]" height="200" >
... it generates an image at the 7700 frame in the video, so it's a bit random.
Yeah, that works if you want the thumbnail to be the default image for the file. I want the season poster to be the default image.
I also need the image still thumbnail to be saved alongside the file that it corresponds with, I'm not sure if you can do that with the thumbnail builder in MC.
No, it uses any poster image if one is available. MC only generates a thumbnail from a video frame if there is no poster image.
It doesn't do that by default, but the MC "Right-click > Cover Art > Save Cover Art To External Location Specified In Options" creates a jpg of the still next to the video file.
But if you wanted to do it your way I would suggest making one batch file that was file type agnostic, by testing if each file type exists maybe, and calling a subroutine for each type. Then set it up with the MC "Send To (external)" function.
Are you sure about that? I certainly can't get it to work. Cover Art is different from Thumbnails. If you can get it to work that would be great. If you can, would you mind sharing a step by step process?
Excellent that you improved the batch file. Now using the "Send To (external)" should make it possible to avoid copying the batch file to each directory, and make your solution universal. The resulting image should be saved into the correct directory, although I haven't tested that.
Of course if there is an existing correctly named and therefore used Cover Art image file in the directory, MC won't generate a thumbnail from a video frame.
Would be nice if MC could extract track metadata like subtitle and audio languages when it analyzes video files.
pscriptor.pl getmediainfo -F _a,_b --params "Audio.Language,Text.Language" -VV --testonly
If(!IsEmpty([AMG Awards]),<img src="tooltip:award-Replace(ListItem([AMG Awards],0),//,_)">,If(!IsEmpty([AMG Album Pick]),<img src="tooltip:web-amg-album_pick-3">,))
<b>[Album Artist (auto)]<//b>
[Album] If(IsEqual([AlbumType],Album,1),/([Year]/),/(Right([Date (release)],4)/))
<font color="70c7f9"><b>ALL<//b><//font><font color="ffffff">MUSIC<//font> If(!IsEmpty([AMG Rating]),<b>[AMG Rating]//5<//b>,not rated)<font size="40">
<img src="tooltip:spacer-4x4">
<//font>
[IMDb Rating] [Name] [Date (Year)]
<b><font color="#ffb90f" "size="80">[IMDb Rating, 1]<//b> <//font><b><font color="ffffff" "size="80">[Name, 1]<//b><//font><font color="C0C0C0" "size="80"> [Year, 1]<//font><font color="ff3333" "size="80"> [Keywords, 1]<//font> <font color="228B22" "size="70">[Edition, 1]<//font>
<font size="100">If(!IsEmpty([Critic Rating]),<img src="tooltip:web-tmdb"> [Critic Rating] ,)If(!IsEmpty([IMDb Rating]),<img src="tooltip:web-imdb-square"> [IMDb Rating] ,)If(!IsEmpty([Rotten Tomatoes]),<img src="tooltip:web-rt"> [Rotten Tomatoes]% If(IsEqual([Rotten Tomatoes],60,6),<img src="tooltip:web-rt-fresh">,<img src="tooltip:web-rt-splat">),)If(IsEqual([Awards],Oscar,8),/ If(IsEqual([Awards],Won,8),<img src="tooltip:award-oscar-won-figure">,<img src="tooltip:award-oscar-nominated-figure">),)<//font>
<font size="100">If(!IsEmpty([Critic Rating]),<img src="tooltip:web-tmdb"> [Critic Rating] ,)If(!IsEmpty([IMDb Rating]),<img src="tooltip:web-imdb-square"> [IMDb Rating] ,)If(!IsEmpty([Rotten Tomatoes]),If(IsEqual([Rotten Tomatoes],60,6),<img src="tooltip:web-rt-fresh">,<img src="tooltip:web-rt-splat">)/ [Rotten Tomatoes]%,)If(IsEqual([Awards],Oscar,8),/ If(IsEqual([Awards],Won,8),<img src="tooltip:award-oscar-won-text">,<img src="tooltip:award-oscar-nominated-text">),)<//font>
If(!IsEmpty([Bitrate]),IfElse(IsEqual([Bitrate],16000,3),<font color="#990000">,IsEqual([Bitrate],40000,3),<font color="#FDDB2E">,IsEqual([Bitrate],100000,3),<font color="#008000">) [Bitrate],) <//font>
If(!IsEmpty([Bitrate]),IfElse(IsEqual([Bitrate],10000,3),<font color="#990000">,IsEqual([Bitrate],20000,3),<font color="#FDDB2E">,IsEqual([Bitrate],100000,3),<font color="#008000">) [Bitrate],) <//font>
If(!IsEmpty([Bitrate]),IfElse(IsEqual([Bitrate],16000,3),<font color="#990000">,IsEqual([Bitrate],40000,3),<font color="#FDDB2E">,IsEqual([Bitrate],100000,3),<font color="#008000">) math(round(math([bitrate] / 1000))),) <//font>
If(!IsEmpty([Bitrate]),IfElse(IsEqual([Bitrate],10000,3),<font color="#990000">,IsEqual([Bitrate],20000,3),<font color="#FDDB2E">,IsEqual([Bitrate],100000,3),<font color="#008000">) math(round(math([bitrate] / 1000))),) <//font>
If(!IsEmpty([Bitrate]),IfElse(IsEqual([Bitrate],16000,3),<font color="#990000">,IsEqual([Bitrate],40000,3),<font color="#FDDB2E">,IsEqual([Bitrate],100000,3),<font color="#008000">) math(round(math([bitrate] / 1000))),) <//font>
If(!IsEmpty([Bitrate]),IfElse(IsEqual([Bitrate],10000,3),<font color="#990000">,IsEqual([Bitrate],20000,3),<font color="#FDDB2E">,IsEqual([Bitrate],100000,3),<font color="#008000">) math(round(math([bitrate] / 1000))),) <//font>
If(IsEqual([Width],1920,5),If(!IsEmpty([Bitrate]),IfElse(IsEqual([Bitrate],16000,3),<font color="#990000">,IsEqual([Bitrate],40000,3),<font color="#FDDB2E">,IsEqual([Bitrate],100000,3),<font color="#008000">) math(round(math([bitrate] / 1000))),) <//font>,If(!IsEmpty([Bitrate]),IfElse(IsEqual([Bitrate],10000,3),<font color="#990000">,IsEqual([Bitrate],20000,3),<font color="#FDDB2E">,IsEqual([Bitrate],100000,3),<font color="#008000">) math(round(math([bitrate] / 1000))),) <//font>)
If(!IsEmpty([File Size]),IfElse(IsEqual([File Size],15,3),<font color="#990000">,IsEqual([File Size],40,3),<font color="#FDDB2E">,IsEqual([File Size],100,3),<font color="#008000">) [File Size],) <//font>
If(!IsEmpty([File Size]),IfElse(IsEqual([File Size],7,3),<font color="#990000">,IsEqual([File Size],15,3),<font color="#FDDB2E">,IsEqual([File Size],100,3),<font color="#008000">) [File Size],) <//font>
If(IsEqual([Width],1920,5)
If(IsEqual([Width],1920,5),If(!IsEmpty([File Size]),IfElse(IsEqual([File Size],15,3),<font color="#990000">,IsEqual([File Size],40,3),<font color="#FDDB2E">,IsEqual([File Size],100,3),<font color="#008000">) [File Size],) <//font>,If(!IsEmpty([File Size]),IfElse(IsEqual([File Size],7,3),<font color="#990000">,IsEqual([File Size],15,3),<font color="#FDDB2E">,IsEqual([File Size],100,3),<font color="#008000">) [File Size],) <//font>
It is easy to switch movie/album poster.What I mean is can posters/covers be modified in Theatre View ... for example adding transparent case image to movie poster so it looks like BlueRay box ... or adding transparent jewel case to album cover
Just right klick on the movie or album and select Cover Art and then Add from file or select anything else
What I mean is can posters/covers be modified in Theatre View ... for example adding transparent case image to movie poster so it looks like BlueRay box ... or adding transparent jewel case to album cover
No, I don't think that is possible.
Hi,
I have a question about "the small view" as seen in my screenshot.
The sorting and display comes from when I click the directors name (Blake Edwards) and all the movies from that director comes up.
I kind of like that layout and are wondering where the settings are for that layout and I do not mean the layout for the right hand side (file info panel) of my screenshot but the movies titles on the left hand side.
In the screenshot there is only the movie title under each movie poster and I would like to add more info to the movie title name (year and edition) and being able to sort the titles in another way.
And also being able to force that layout when I group a movie serie, for example all my James Bond movies are grouped together with the "series tag" and when I access that view the movies are shown as usual but without the "small view"
I hope I make myself clear!?
Best regards and have a great weekend,
//arcspin
(I know how to customize the file info panel so that is not the issue here)
if(isequal([Awards], Oscar, 8), if(isequal([Awards], Won, 8), Oscar Winner, Oscar Nominee),No Ocar)
Lello, I would just hold for now. JRiver is giving us true image support (see the thread I linked a few posts back) which is going to make this whole process much, much easier. It will make it easier to create and easier to share as well.
Lets start small, what is one thing you'd like to achieve? If we start there we can walk you through the process of accomplishing that.
Okay, let's forget the photos of the actors.
Currently I get the icons audio format, video, channels but they are in black and white and I would like to have them in color like those in the image above. As for the aspect ratio, moreover, in several films it is wrong (the 2.35: 1 icon appears to me when it is actually a 1.85: 1) and I cannot understand where the information comes from.
I think this is at a stage where a lot of the most common mods - Dolby logos, ratings etc, should be rolled into a default view. Anyone new to MC who wants to use this new feature currently has to wade through a LOT of stuff in this thread. If a default view was given some of these options, and could then be user modified, we'd have some kind of expression template in place that we could experiment with. Right now, I really feel it's too much of a time investment to start from scratch.
If (Math (below (trunc (Replace ([Aspect Ratio],:, //) + .005, 2), 1.38)), M
If (Math (below (trunc (Replace ([Aspect Ratio],:, //) + .005, 2), 1.38)), <img src="tooltip:1.38">, If (Math (below (trunc (Replace ([Aspect Ratio],:, //) + .005, 2), 1.68)), <img src="tooltip:1.66">, If (Math (below (trunc (Replace ([Aspect Ratio],:, //) + .005, 2), 1.80)), <img src="tooltip:1.78">, If (Math (below (trunc (Replace ([Aspect Ratio],:, //) +. 005, 2), 1.87)), <img src="tooltip:1.85">, <img src="tooltip:2.35">))))
For the movies that are showing the incorrect value for aspect ratio, what is the value for the Aspect Ratio field for those movies? I have a feeling it is blank. All of my movies that have a blank value for Aspect Ratio show as 2.35 using Lepa's expression. Unfortunately, I am not sure how MC is populating the Aspect Ratio field as it's a default MC field. I would be curious to hear how Lepa deals with these movies, if he has the problem that is.Yes, aspect ratio determination is a real pain. MC gets it mostly right for ripped mkvs where there is no black bars. You can also try to calculate it from your videos width & height but if there are black bars it will also go wrong. I guess there is no scraper at the moment for the aspect ratio.
Save(Math(Trunc(Replace([Aspect Ratio], :, // ) + .005, 2)), gAR)IfElse(Compare(Load(gAR), <, 1), Empty, Compare(Load(gAR), <, 1.38), 1.33, Compare(Load(gAR), <, 1.68), 1.66,Compare(Load(gAR), <, 1.80), 1.78,Compare(Load(gAR), <, 1.87), 1.85,Compare(Load(gAR), <, 2.36), 2.35,Compare(Load(gAR), <, 2.40), 2.39)
This will make one math calculation and one compare per fileTo use images instead of the font, you replace M in your expression with <img src="tooltip:1.38">, making sure that you have an image called 1.38.png in your tooltip image folder (the images can be found on my site, if you haven't grabbed them already https://moesrealm.com/MC/mc-images/ Then do the same for all the other letters that correspond to glyphsPerfect, I followed your instructions and now I get the images also for the aspect ratio. Thank you
Could you post pictures of your progress? what does it look like? what have you done?
Flow should be something like this:
If you try to use my template inside the zip you should do steps 1-4 and result should be 5.
Next if you check edit template (second picture) and that search criteria is set to movie (third picture)
Last you should check (4th picture) that this imported movie template (which you just added from the clipboard) is highest movie template (remember pic3 search criteria)
You don't have my filmstudios font so those wont show up as icons but that shouldn't bother the rest of the things so let's not concentrate on that now. You of course you need to install ToolTip01 font to windows
I've been searching for hours trying to find the FilmStudios Font for TheaterView and can't find it anywhere. Where can I find this font to show the Studio Logos on my Movie details page?User Moe used to serve these images. They seem to be offline now.
User Moe used to serve these images. They seem to be offline now.
I think that you might be using some older template when there wasn't any images support in MC views.
This post below have template which I am using currently. It uses images for logos.
https://yabb.jriver.com/interact/index.php/topic,119385.msg860935.html#msg860935
Can also make versio without cast images...
If you insist using font it can be found attached here
Save(Math(Trunc(Replace([Aspect Ratio], :, // ) + .005, 2)), gAR)IfElse(Compare(Load(gAR), <, 1), empty, Compare(Load(gAR), <, 1.38), 1.33, Compare(Load(gAR), <, 1.68), 1.66,Compare(Load(gAR), <, 1.80), 1.78,Compare(Load(gAR), <, 1.87), 1.85,Compare(Load(gAR), <, 2.36), 2.35,Compare(Load(gAR), <, 2.40), 2.39)
IfElse(IsEqual([Width],1920,5),4K,IsEqual([Width],1360,5),1080p,IsEqual([Width],888,5),720p,IsEqual(Replace([FPS],/,,.),25,2),576p,1,480p)
IfElse(IsEqual([Compression],dts-hd,8),dts-hd,IsEqual([Compression],eac3,8),dolby digital,IsEqual([Compression],PCM,8),pcm,IsEqual([Compression],mp3,8),mp3,IsEqual([Compression],flac,8),flac,IsEqual([Compression],aac,8),aac,IsEqual([Compression],Vorbis,8),vorbis,IsEqual([Compression],DTS,8),dts,IsEqual([Compression],AC3,8),dolby digital,IsEqual([Compression],truehd,8),truehd,IsEqual([Compression],opus,8),opus,IsEqual([Compression],MPEG,8),mpeg)
Images are much simpler. You can go to Tools->Options->TheaterView->Appearance->"... Customize file info panel" and add new field (row in theaterview)
e.g.
Type = "Expression"
Name = "L: Tech Icons Row"
Value = see below code...
Style = "Text Only (no label)"
Show = "Show only in large field" (changing this to "Show only when viewing a file grouping" will hide this row so you don't need to delete all your work in progress if you don't get it right at first time or want to continue on some other time)
(x) hide when value is empty
Images are in MC's data/tooltip folder. Following checks are made to determine which image is wanted to be shown in the code below
1.Check [File Type] and show image for it e.g. "tooltip:container-mkv.png" or "tooltip:container-mp4.png" etc.
2. Check from [Notes] if the movie is HDR and from user field [Definition] in which definition film is presented. Image e.g. "tooltip:definition-1080p.png"
3. Check Aspect ratio from user field [AR-Calculated] e.g. "tooltip-aspect-1.78.png"
4. Check Channel amount from [Channels] field e.g. "tooltip-speakers-5.png"
5. Check Audio type from [Audio Codec] e.g. "tooltip-audio-dts-hd.png"
6. Check film studios from [Production Companies]. Will show 0-5 film studios e.g. "tooltip-studio-Columbia Pictures.png"
7. Check Publisher (Arrow, Criterion etc.) from [Publisher] field e.g. "tooltip-publisher-Arrow.png"...
Hi guys,
I've just published MCRatings v3.0 "contagion edition"
This is perfect. Thanks for the detailed explanation. My last question is for the Fields Notes, Channels, Production Companies etc, where is the data for these fields coming from? I don't see these Fields in MCRatings and they're not setup in the MC library? I think once I know this part, I can make it happen.Channels is MC stock field I think and it is populated when MC analyzes the video during import. Notes is also stock field which I have been using to as release info field. Already tinkered this a little and made individual [HDR] checkbox field to so it isn't necessary to compare text strings anymore. Production Companies seems to be populated by MCUtils TMDb script. If you are using just MCRatings you can use e.g. Studios instead.
Hi,You could make new library field [HD Audio] which is calculated value from MC's compression field. That's easy to do using ListItem with separator +
How do I extract the "+Atmos" or "+DTS:X" information populated by Swag of tools in the compression tag?
I would like to add that information in my Theater view and also know how to connect the "+Atmos" or "+DTS:X" information to the corresponding .png in the Tooltip folder.
ListItem([Compression], 1, +)
Of course you don't have to create new field and just use that code anywhere you want to extract it but I think it is cleaner to create possible long expressions when you have done calculation already somewhere else and then you can just use human readable variable.<font size="150"><img src="tooltip:container-[File Type]"> If(IsEqual([Dolby Vision],1,2),<img src="tooltip:Definition-DolbyVision">/ ,)<img src="tooltip:definition-[Definition]If(IsEqual([HDR],1,2),-hdr,)">If(!IsEmpty([Aspect Ratio]),/ <img src="tooltip:aspect-[AR-calculated]">,) <img src="tooltip:speakers-[Channels]"> <img src="tooltip:audio-[Audio Codec]">If(!IsEmpty([HD Audio]),/ <img src="tooltip:audio-Replace([HD Audio],:,_)">,)If(!IsEmpty([Production Companies]),/ <img src="tooltip:studio-ListItem([Production Companies],0)"><img src="tooltip:studio-ListItem([Production Companies],1)"><img src="tooltip:studio-ListItem([Production Companies],2)"><img src="tooltip:studio-ListItem([Production Companies],3)"><img src="tooltip:studio-ListItem([Production Companies],4)">,)If(!IsEmpty([Publisher]),/ <img src="tooltip:publisher-[Publisher]">,)<//font><//font>
<img src="tooltip:Studios-[Studios]" height="80"> <font face="ToolTip01" size="180" color="#9496a3">If(Math(below(trunc(Replace([Aspect Ratio],:,//) + .005, 2),1.38)),M, If(Math(below(trunc(Replace([Aspect Ratio],:,//) + .005, 2),1.68)),N,If(Math(below(trunc(Replace([Aspect Ratio],:,//) + .005, 2),1.80)),O,If(Math(below(trunc(Replace([Aspect Ratio],:,//) + .005, 2),1.87)),P,Q))))<//font> <font face="ToolTip01" size="200" color="#9496a3">If(IsEqual([Width],1920,5),¥,If(IsEqual([Width],1360,5),¤,If(IsEqual([Width],888,5),£,If(IsEqual([FPS],25,2),¢,¡))))<//font> <font face="ToolTip01" size="170" color="#9496a3">If(IsEqual([File Type],mkv),î,If(IsEqual([File Type],ifo),W,If(IsEqual([File Type],bdmv),U,)))<//font> <font face="ToolTip01" size="150" color="#9496a3">If(IsEqual([Compression],div,8),ú,If(IsEqual([Compression],hevc,8),ü,If(IsEqual([Compression],h264,8),û,If(IsEqual([Compression],xvid,8),ă,If(IsEqual([Compression], vc-1,8),Ā,If(IsEqual([Compression],mpeg2,8),þ,If(IsEqual([Compression],mpeg1,8),ý,If(IsEqual([Compression],mpeg4),ÿ,))))))))<//font> <font face="ToolTip01" size="150" color="#9496a3">If(IsEqual([Compression],dts-hd ma,8),&,If(IsEqual([Compression],dts,8),#,If(IsEqual([Compression],ac3,8),z,If(IsEqual([Compression],pcm,8),/),If(IsEqual([Compression],mp3,8),*,If(IsEqual([Compression],flac,8),',If(IsEqual([Compression],aac,8),0,If(IsEqual([Compression],mpeg,8),z,If(IsEqual([Compression],vorbis,8),/,,If(IsEqual([Compression],truehd,8),x,If(IsEqual([Compression],opus,8),1,)))))))))))<//font> <font face="ToolTip01" size="165" color="#9496a3">If(IsEqual([Channels],1,2),=,If(IsEqual([Channels],2,2),>,If(IsEqual([Channels],3,2),],If(IsEqual([Channels],4,2),?,If(IsEqual([Channels],5,2),^,If(IsEqual([Channels],6,2),‐,If(IsEqual([Channels],7,2),_,‑)))))))<//font>
<img src="tooltip:Studios-[Studios]"/ height="80"> <font face="ToolTip01" size="180" color="#9496a3">Save(Math(Trunc(Replace([Aspect Ratio], :, // ) + .005, 2)), gAR)IfElse(Compare(Load(gAR), <, 1), , Compare(Load(gAR), <, 1.38), M, Compare(Load(gAR), <, 1.68), N,Compare(Load(gAR), <, 1.80), O,Compare(Load(gAR), <, 1.87), P,Compare(Load(gAR), <, 2.36), Q,Compare(Load(gAR), <, 2.40), R)<//font>/ <font face="ToolTip01" size="200" color="#9496a3">IfElse(IsEqual([Width],1920,5),¥,IsEqual([Width],1360,5),¤,IsEqual([Width],888,5),£,IsEqual([FPS],25,2),¢,1,¡)<//font>/ <font face="ToolTip01" size="170" color="#9496a3">IfElse(IsEqual([File Type],mkv),î,IsEqual([File Type],ifo),W,IsEqual([File Type],bdmv),U)<//font>/ <font face="ToolTip01" size="150" color="#9496a3">IfElse(IsEqual([Compression],div,8),ú,IsEqual([Compression],hevc,8),ü,IsEqual([Compression],h264,8),û,IsEqual([Compression],xvid,8),ă,IsEqual([Compression], vc-1,8),Ā,IsEqual([Compression],mpeg2,8),þ,IsEqual([Compression],mpeg1,8),ý,IsEqual([Compression],mpeg4),ÿ)<//font>/ <font face="ToolTip01" size="150" color="#9496a3">IfElse(IsEqual([Compression],dts-hd ma,8),&,IsEqual([Compression],dts,8),#,IsEqual([Compression],ac3,8),z,IsEqual([Compression],pcm,8),/),IsEqual([Compression],mp3,8),*,IsEqual([Compression],flac,8),',IsEqual([Compression],aac,8),0,IsEqual([Compression],mpeg,8),z,IsEqual([Compression],vorbis,8),/,,IsEqual([Compression],truehd,8),x,IsEqual([Compression],opus,8),1,)<//font>/ <font face="ToolTip01" size="165" color="#9496a3">IfElse(IsEqual([Channels],1,2),=,IsEqual([Channels],2,2),>,IsEqual([Channels],3,2),],IsEqual([Channels],4,2),?,IsEqual([Channels],5,2),^,IsEqual([Channels],6,2),‐,IsEqual([Channels],7,2),_,1,‑)IfElse(IsEqual(ListItem([Compression], 1, +),Atmos),/ !,IsEqual(ListItem([Compression], 1, +),DTS:X),/ $)<//font>
<img src="tooltip:audio-[HD Audio]"height="70">,)
I'm also trying to have a .png for Atmos and DTS:XYou need to use e.g. Replace() function to take out colon as windows doesn't allow it to be used for filenames so replace ":" with "_" and filename should be "Audio-DTS_X.png"
This is the simple code that fetches the "Audio-Atmos.png" when Atmos is present in HD Audio, but the Audio-DTS X.png don't show up when DTS:X in present in HD Audio.
I might have something to do with the fact that the HD Audio for DTS:X is spelled with an ":"Code: [Select]<img src="tooltip:audio-[HD Audio]"height="70">,)
<img src="tooltip:audio-Replace([HD Audio],:,_)"height="70">,)
I would like to to do a Tooltip - Audio, could one of the team that's already worked on it post the code so that could start with a good foundation? I've looked through this thread a couple of times but have not been able to find a Tooltip - Audio sample.
If(IsEqual([Media Type],Audio,1), <font size="200" color="#f5f5f5"><b>[Artist]<//b><//font>
<font size="150" color="#1FB4FC"><b>[Name]<//b><//font>
<font size="120" color="#FFFF99"><b>[Album] /([Year]/)<//b><//font>
<b>[Duration]<//b>
<font color="#38F678>[Genre]<//font>
If(IsEqual([File Type],mp3,1),<img src="tooltip:AudioMP3_white" height="32"> [Bitrate] kbps,) If(IsEqual([File Type],flac,1), <img src="tooltip:AudioFlacTrans" height="32"> [Bitrate] kbps,)
____________________________________________________________________________________________________________________
If(!IsEmpty([Comment]),<font color="#E54D03">[Comment]<//font>,)
If(!IsEmpty([Description]),<font color="#38f5f6">[Description]<//font>,)
If(!IsEmpty([Lyrics]),<font color="#ddff99">[Lyrics]<//font>,)
____________________________________________________________________________________________________________________
,)
If(IsEqual([Media Type],Audio,1),<font size="200"><b>[Artist]<//b><//font><font size="150"><br>If(!IsEmpty([AMG Album Pick]),<img src="R:\Tooltip\AMG_Album_Pick.png" height="23"> ,)<i>[Album]<//i><//font><font size="150"><br>If(!IsEmpty([AMG Track Pick]),<img src="R:\Tooltip\tpick.png" height="23"> ,)[Name]<//font>
<img src="R:\Tooltip\Separator.png" size="570x30">
<font size="125" color="#80C0C0"><img src="R:\Tooltip\MC.png" height="22"> [rating ★] <font color="#5b5b5b">||<//font> <b>Track [1 of X]<//b> <font color="#5b5b5b">||<//font> <b>size() <font color="#5b5b5b">||<//font> [Genre] <font color="#5b5b5b">||<//font> [Year] <font color="#5b5b5b">||<//font> [File type] <//b><//font>If(!IsEmpty([Band Members]),<br><img src="R:\Tooltip\Band Members.png" size="570x30"><br>[Band Members],)If(!IsEmpty([Music Collections]),<br><br><img src="R:\Tooltip\Collections.png" size="570x30"><br>[Music_Collections],)If(!IsEmpty([AMG Rating]),<br><br><img src="R:\Tooltip\allmusic.png" height="20"> [AMG ★ Rating Large] <font size="115"> [AMG Author]<//font>,)If(!IsEmpty([AMG Review]),<br><br><font size="125">[AMG Review Clean]<//font>,)
<font size="85" color="#7c7c7c">[filename]<//font>
,)
https://htmlcolorcodes.com/
https://www.colorhexa.com/898989
Here is my effort. My code was pretty much borrowed from all and it's certainly not the most efficient, but it's a start.
I have custom fields for Gender (Female) and added in Country also.
I've attached the file (I like lighter backgrounds) which doesn't appear to be the most popular and an image.
Thanks for all of your help!
Looks great!! Now I'm inspired! 8)
What's the easiest way to fill the "Total Tracks" field?
I created a new field called Total Track # and created it with a calculated filed with this expression:
ItemCount(albumkey/(/))
I then copied the Total Track # field to Total Tracks. It's not perfect if you have multiple disks and especially if you have multiple copies of the same album (which I try not to have). I only copied it for those albums that didn't have Total Tracks in them already.
I am using MCUtils to get the AMG data https://yabb.jriver.com/interact/index.php/topic,100449.0.html I believe that is what you're asking.
Just for the record, MrC created MCUtils, not JMone.
MCUtulis can attempt to automatically fill in the AMG ID#.
I believe the command is amg --search usematch,quotenames --inc rid
I highly recommend reaching out to MrC, his email is in the docs, and he can give you some pointers and help you get setup.
<img src="f:\actors\ListItem([Actor],0).png"> <img src="f:\actors\ListItem([Actor],1).png"> <img src="f:\actors\ListItem([Actor],2).png"> etc...
[Actor] must of course match with filename so if [Actor] = "Tim Roth; Harvey Keitel; Steve Buscemi" you'll need "Tim Roth.png", "Harvey Keitel.png" and "Steve Buscemi.png" images. If you got some imdb index for actor in the filename that needs to be told also in expression
Hi everyone,
I have a Different question: up to now, I use MC25. If I upgrade to MC25 (I already have the Licence), do I have to add all the special fields and tooltips again or will they be also "transformed" with the library?
Now have too much info in the tooltip window..is there a way to navigate it? The bio fills the window.No there isn't. You must choose what is enough. My approach for tooltip is to show mainly track specific things
Yep fair enough.You are correct. It would be nice though to see grouped tooltip but that it could be a little hard to implement rules what show with different set of files. If group e.g. consist of audio and videos etc
And I think I'm correct in saying they only apply at the file level? I can't have one when I hover over an artist or an album...it is for tracks (files) only?
Shame, bringing in this AMG data is like eating chips, can't stop.;D You've probably also already added links but if not here you can see instructions for creating links
It will transfer over.Ok, will try it, thanks!
You've probably also already added links
Just for the record, MrC created MCUtils, not JMone.
MCUtulis can attempt to automatically fill in the AMG ID#.
I believe the command is amg --search usematch,quotenames --inc rid
I highly recommend reaching out to MrC, his email is in the docs, and he can give you some pointers and help you get setup.
His email is found in the MCUtils download package. I will send you a pm with his email.
I guess we haven't formed any standards for filenames. I'm using prefix to indicate to which group image belongs and after that mostly the value of the tag the image is referring.Yeah, I looked at your script more closely later last evening and saw that you're doing that. I guess the question is are there any plans / efforts to consolidate some of these scripts and sets of logo files so we have a standard we can all follow? Right now, it's really tough to take only someone's script and make it work because it's relatively difficult to figure or find the matching set of image files.
e.g.
<img src="tooltip:container-[File Type]"> => "container-mkv.png"
<img src="tooltip:label-[Publisher]"> => "label-Atco Records.png"
<img src="tooltip:studio-[Production Companies]"> => "studio-Warner Bros. Pictures.png"
Some other prefixes/field mappings I'm using
aspect-[AR-Calculated] = 1.33, 1.37, 1.66, 1.78, 1.85, 2.35, 2.39 (e.g. aspect-1.78.png)
audio-[Audio Codec] = aac, truehd, opus etc (e.g audio-aac.png)
audio-[HD Audio] = atmos, DTS:X (e.g. audio-DTS_X.png)
country-[Country] = USA, England, English... etc (e.g country-English.png)
speakers-[Channels] = 1,2,4,5,6,7,8 (e.g speakers-6.png)
definition-[Definition] = 480p, 576p, 720p, 1080p, 4K (e.g definition-1080p.png)
etc
<img src="tooltip:[Subtitles]">
Your expression works fine (and one flag is showing) if there is only one language in either the "Subtitles" and/or the "Audio language"If you want everything to be show you could use Replace() function to manipulate list (changes all ; to tooltip strings)
When there are multiple languages the expression do not show any flags at all.
Example, the movie Jumanji have:
Subtitles: English; French; Spanish; Swedish
Audio Language: English; French; Spanish
How should the expression look like to be able to show country flags for all languages?
<img src="tooltip:country-Replace([Audio Language],; ,">/ <img src="tooltip:country-)">
<img src="tooltip:country-Replace([Subtitles],; ,">/ <img src="tooltip:country-)">
If(IsEqual([Audio Language],English,8),<img height="15" src="tooltip:country-UK">/ ,)If(IsEqual([Audio Language],Finnish,8),<img height="15" src="tooltip:country-Finland">/ ,)If(IsEqual([Audio Language],Danish,8),<img height="15" src="tooltip:country-Denmark">/ ,)If(IsEqual([Audio Language],Norwegian,8),<img height="15" src="tooltip:country-Norway">/ ,)If(IsEqual([Audio Language],Korean,8),<img height="15" src="tooltip:country-Korea">/ ,)If(IsEqual([Audio Language],Japanese,8),<img height="15" src="tooltip:country-Japan">/ ,)If(IsEqual([Audio Language],Chinese,8),<img height="15" src="tooltip:country-China">/ ,)If(IsEqual([Audio Language],French,8),<img height="15" src="tooltip:country-France">/ ,)If(IsEqual([Audio Language],Swedish,8),<img height="15" src="tooltip:country-Sweden">/ ,)
If(!IsEmpty([Subtitles]),<b>|/ SUBTITLES: <//b>If(IsEqual([Subtitles],Finnish,8),<img height="15" src="tooltip:country-Finland">/ ,)If(IsEqual([Subtitles],English,8),<img height="15" src="tooltip:country-UK">,),)
It's not optimal by all means but works for me for nowLepa, that replace function thing you did is very slick!Thanks! At first was thinking far too complicated to solve arspin's question. Neat thing is that same approach can be used e.g. actors which I think you already noticed...
<img src="C:\Actor Images\Replace(ListLimit([Actors],6),; ,.png">/ <img src="C:\Actors Images\).png">
It will shorten at least my expressions nicely and make them more easy to read
[=Save(0, v_AlbumDuration[Album Artist (auto)][Album])1]=1 [=Save(Math([Duration,0] + Load(v_AlbumDuration[Album Artist (auto)][Album])), v_AlbumDuration[Album Artist (auto)][Album])1]=1
FormatDuration(Load(v_AlbumDuration[Album Artist (auto)][Album]))
Come on now lepa, don't whip out the variables on the poor guy. There's a much simpler way.But for that to work I need to be in that sub level in order to GroupSummary(Duration) to give me desired value, don't I? Actually what I do is that I'm saving value to tags when finalizing my tags as I need the value in different situation like in small view in theaterviews playing now. Correct me if I'm wrong but GroupSummary would work when I'm browsing album's files (i.e. view has only files of that album) but not e.g. in that Playing Now List view.
Just add the following as an expression to display in any Album view:
GroupSummary(Duration)
That will calculate the total album duration for you.
So you might have a sublevel in your Artists view that displays [Album]. Just replace that [Album] level with an Expression..
Expression to Group By: [Album]
Expression to Display: [Album] GroupSummary(Duration)
Easy.
But it seemed to me he was asking the simpler question...Options are always good to have so simpler GroupSummary() is surely worth mentioning :)
Well, maybe I misunderstood his request, but he said he would like to display the album length. Where else would you display an album length except looking at albums?It wasn't obvious to me that he was only asking the simpler question. My impression was that ANY time he displays info about a track, he would like to be able to display the length of the entire album that track is a part of. If that's the case, then the GroupSummary option won't work. Perhaps we could get the folks at JRiver to add some sort of AlbumInfo function that could return various info about the album that current items is tagged with.
I guess you could want it after you already drilled down into an album, and were looking at the file list of tracks in that album. At that point, no, GroupSummary wouldn't give you album duration, and you'd have to use variables.
But it seemed to me he was asking the simpler question...
If(IsEqual([Media Sub Type],TV Show,1), <font size="140"><b>[Series] | [Name]<//b><//font>
<font size="110"><i>Season: [Season] Episode: [Episode] <b>|<//b> [Duration] <b>|<//b> [Date] <b>|<//b> ListLimit([Genre],1) <b>|<//b> [Status] If(Compare([Rating],>,0),<b> | <//b><font color="ad900d">RatingStars()<//font><b> |<//b>,)<//i><//font>
______________________________________________________________________________________________________________
<font size="120" color="62a2ba"><b>starring<//b><//font>
If(!IsEmpty([Actors]),If(!IsEmpty([TMDb id]),<img src="tooltip:separator"><font size="800"><img src="D:\audio\Album Covers\Actors Series\Replace(ListLimit([Actors],6),; ,.png"><img src="tooltip:separator"><img src="D:\audio\Album Covers\Actors Series\).png"><//font>,<font size="140" color="ffffff">Replace(ListLimit([Actors],6),;,/,)<//font>),)
If(!IsEmpty([Description]),<font size="120" color="62a2ba"><b>summary<//b><//font>
<font color="ffffff">[Description]<//font>,)
If(!IsEmpty([Guest Stars]),<font size="120" color="62a2ba"><b>guests<//b><//font>
<font size="140" color="ffffff">Replace(ListLimit([Guest Stars],4),;,/,)<//font>
,)If(!IsEmpty([Director]),<font size="120" color="62a2ba"><b>director<//b><//font>
<font size="140" color="ffffff">Replace([Director],;,/,)<//font>
,)If(!IsEmpty([Screenwriter]),<font size="120" color="62a2ba"><b>screenwriter<//b><//font>
<font size="140" color="ffffff">Replace([Screenwriter],;,/,)<//font>
,)If(!IsEmpty([Creator]),<font size="120" color="62a2ba"><b>creator<//b><//font>
<font size="140" color="ffffff">Replace([Creator],;,/,)<//font>,)
<font size="180">If(!IsEmpty([Access Rating]),<img src="tooltip:rating-[Access Rating]">,) <img src="tooltip:definition-[Definition]">/ <img src="tooltip:speakers-[Channels]">/ <img src="tooltip:audio-[Audio Codec]">If(Compare(Number([Critic Rating]),>,0),/ <img src="tooltip:web-tvdb">/ FormatNumber(Number([Critic Rating]),1),)If(Compare(Number([TMDb Rating]),>,0),/ <img src="tooltip:web-tmdb">/ FormatNumber(Number([TMDb Rating]),1),)<//font>
______________________________________________________________________________________________________________
[Filename],)
If(IsEqual([Media Sub Type],TV Show,1),/ <font size="170" color="ffffff"><b>[Series] | [Name]<//b><//font>
/ <font size="110"><i>Season: [Season] Episode: [Episode] <b>|<//b> [Duration] <b>|<//b> [Date] <b>|<//b> ListLimit([Genre],1) <b>|<//b> [Status] If(Compare([Rating],>,0),<b> | <//b><font color="ad900d">RatingStars()<//font><b> |<//b>,)<//i><//font>
<font size="180">If(!IsEmpty([Access Rating]),<img src="tooltip:rating-[Access Rating]">,) <img src="tooltip:definition-[Definition]">/ <img src="tooltip:speakers-[Channels]">/ <img src="tooltip:audio-[Audio Codec]">If(Compare(Number([Critic Rating]),>,0),/ <img src="tooltip:web-tvdb">/ FormatNumber(Number([Critic Rating]),1),)If(Compare(Number([TMDb Rating]),>,0),/ <img src="tooltip:web-tmdb">/ FormatNumber(Number([TMDb Rating]),1),)If(!IsEmpty([Production Companies]),/ <img src="tooltip:studio-ListItem([Production Companies],0)">,)<//font>
________________________________________________________________________________________________________________
If(!IsEmpty([Description]),<font size="120" color="62a2ba"><b>summary<//b><//font>
<font color="ffffff">[Description]<//font>,)
<font size="120" color="62a2ba"><b>starring<//b><//font>
If(!IsEmpty([Actors]),If(!IsEmpty([TMDb id]),<img src="tooltip:separator"><font size="800"><img src="D:\audio\Album Covers\Actors Series\Replace([Series],:,_)\Replace(ListLimit([Actors],2),;,.png"><img src="tooltip:separator"><img src="D:\audio\Album Covers\Actors Series\Replace([Series],:,_)\).png"><img src="tooltip:separator"><img src="D:\audio\Album Covers\Actors Series\Replace([Series],:,_)\Replace(Clean(ListLimit(ListShuffle(RemoveLeft([Actors], Math(Length(ListLimit([Actors],2)) + 2))),4)),;,.png"><img src="tooltip:separator"><img src="D:\audio\Album Covers\Actors Series\Replace([Series],:,_)\).png"><//font>,<font size="140" color="ffffff">Replace(ListLimit([Actors],6),;,/,)<//font>),)
If(!IsEmpty([Guest Stars]),<font size="120" color="62a2ba"><b>guests<//b><//font>
<font size="140" color="ffffff">Replace(ListLimit([Guest Stars],4),;,/,)<//font>
,)If(!IsEmpty([Director]),<font size="120" color="62a2ba"><b>director<//b><//font>
<font size="140" color="ffffff">Replace([Director],;,/,)<//font>
,)If(!IsEmpty([Screenwriter]),<font size="120" color="62a2ba"><b>screenwriter<//b><//font>
<font size="140" color="ffffff">Replace([Screenwriter],;,/,)<//font>
,)If(!IsEmpty([Creator]),<font size="120" color="62a2ba"><b>creator<//b><//font>
<font size="140" color="ffffff">Replace([Creator],;,/,)<//font>,)
________________________________________________________________________________________________________________
[Filename],)
I can edit that if it's confusing, ...
Everyone else, Hendrik indirectly referred to an issue that you need to consider in this standardisation, and use of MCRatings and MCUtils. That is, JRiver as a commercial organisation can't use commercial metadata sources in MC, with functionality built into the software. Hence Hendrik talks about using free databases. JRiver can't access the IMDB directly, as I understand it. That would lead to a lawsuit. However, it can access any IMDB metadata when it is stored on a free database. i.e. The "IMDB ID" is available from TMDB, which is a free service.
To that end, I've long wanted to make an extensible metadata framework, so that crafty users could provide additional metadata sources directly into MCs lookup functionality, without us having to deal with the possible consequences of "commercial use". But thats probably quite some ways away.I agree. YADB could probably be harnessed.
3. Cast and Crew Images should go in the tooltip:\Images directory. e.g. <img src="tooltip:Images\Humphrey Bogart">
We're not going to do people images out of the box, its just too much finnicky manual work to select all the images for every movie
I don't understand this? TMDB, a source you're already pulling metadata from, has actor/director/etc images. It seems to me that it wouldn't take a lot of work to generate these images on the fly. Plex does it.
None of the tools used in this thread use IMDB data directly. Even if it was, scraping non-copyrighted data is legal https://towardsdatascience.com/web-scraping-is-now-legal-6bf0e5730a78That doesn't mean its the right thing to do. Besides its far more annoying to keep updating a web scraper for every website change, rather then use an API.
Please confirm if others are seeing this too, but I bet so, since I see it on multiple machines with different video cards, drivers, and keyboards.
If there is a one-stop source of images without requiring manual selection and post-processing, we can consider doing that. All I see here is talk about manually selecting images and processing them with ImageMagick, which is probably too much.
{
"id": 680,
"cast": [
{
"cast_id": 2,
"character": "Vincent Vega",
"credit_id": "52fe4269c3a36847f801ca99",
"gender": 2,
"id": 8891,
"name": "John Travolta",
"order": 0,
"profile_path": "/JSt3skdZpGPJYJixCZqH599WdI.jpg"
},
{
"cast_id": 3,
"character": "Jules Winfield",
"credit_id": "52fe4269c3a36847f801ca9d",
"gender": 2,
"id": 2231,
"name": "Samuel L. Jackson",
"order": 1,
"profile_path": "/mXN4Gw9tZJVKrLJHde2IcUHmV3P.jpg"
},
{
"cast_id": 8,
"character": "Mia Wallace",
"credit_id": "52fe4269c3a36847f801cab7",
"gender": 1,
"id": 139,
"name": "Uma Thurman",
"order": 2,
"profile_path": "/xuxgPXyv6KjUHIM8cZaxx4ry25L.jpg"
},
On a side note, has anyone noticed a strange scrolling problem with these templates?
Scrolling performance when using tooltip images just seems to be bad.
Please confirm if others are seeing this too, but I bet so, since I see it on multiple machines with different video cards, drivers, and keyboards.
An update on the scrolling problem.I'll suspect that this is the case here. I have scaled my pictures down to size what is needed because IMO live scaling doesn't seem to be so good and also big files could slow the system down.
There's speculation it might be due to image size. Some of the images on Moe's site are ridiculously over-large for iconography, with dimensions greater than 1920x1080. I'll experiment and report back.
I'll suspect that this is the case here. I have scaled my pictures down to size what is needed because IMO live scaling doesn't seem to be so good and also big files could slow the system down.
These are supposed to be icons. They should not be in 4k or HD resolution. 300x300 max.And even then isn't it almost 15% of vertical resolution on 4K display 8)
And even then isn't it almost 15% of vertical resolution on 4K display 8)
I've been meaning to introduce proper caching for the images used in tooltips/Theater View, that should resolve those performance problems, I reckon.
I've been meaning to introduce proper caching for the images used in tooltips/Theater View, that should resolve those performance problems, I reckon.
I'd be interested to hear what others are planning to do with Studio icons in their tooltips & theater views.For many of the reasons you cited, I've decided to not do anything with it. The views already look really nice at this point, and that was my goal. I haven't gotten around to adding the actor images either - I think I'm happy enough with just the list of actor names.
Starting out, I thought I would do this just because I thought it looked nice, but I've discovered several things and am having second thoughts.
1. There are a kajilion "studios" if you include the minor ones, and the ones for which graphics are missing far outnumber the studio images on Moe's site now. So there would be a lot of hunting to generate new PNGs.
2. The information on TMDb is often wrong. Sometimes the contributor listed as the studio some fly by night home video company that once released the movie as a cheap dvd and had nothing to do with actually making the picture.
3. Even when the studio information is vaguely accurate, it's inconsistent. Somtimes it's entered as Columbia, or Columbia Pictures, or Columbia Pictures Corporation, or Columbia Pictures Corp. Some studios have 5 or 6 variations. So you either have to standardize the fields or make multiple PNGs.
4. And on top of that sometimes there's no right answer. In the modern area multiple studios (and I'm talking about the majors) will all put their stamp on the picture. How do you decide between MGM and Columbia? Some movies have so many vanity cards at the start you wonder when the movie will actually begin. If you keep them all, the icons won't fit!
So it's a real hodgepodge, much worse than I expected.
What are you all doing with it?
<font color="#ffffff size="90""><i>Replace([Producer],;, / // )
Help wanted.https://wiki.jriver.com/index.php/List_Manipulation_Functions#ListLimit
How do I get this Expression limited to only show maximum 3 producers?Code: [Select]<font color="#ffffff size="90""><i>Replace([Producer],;, / // )
Listlimit([Director],2,0)
The code for Listlimit that I have manage to make is:You can nest(?) expressions. So see what happen when you put your above expression inside Replace(source data, "replace what", "replace to") expression. You alse need to use escape character / if you plan to change ; to / so that MC understand that you want to print / and not to use it as escape character. So the inner expression will create string limited to 2 directors e.g "John Woo;John Ford" which is then used as a input for replace expression which will replace wanted characters from that "John Woo;John Ford" so end result which is printed to screen is "John Woo / John Ford"Code: [Select]Listlimit([Director],2,0)
Not hard, but the separator between the names of the Directors are a ;
<font face="ToolTip01" size="160" color="#9496a3">Save(Math(Trunc(Replace([Aspect Ratio], :, // ) + .005, 2)), gAR)IfElse(Compare(Load(gAR), <, 1), , Compare(Load(gAR), <, 1.38), M, Compare(Load(gAR), <, 1.68), N,Compare(Load(gAR), <, 1.80), O,Compare(Load(gAR), <, 1.87), P,Compare(Load(gAR), <, 2.36), Q,Compare(Load(gAR), <, 2.40), R)<//font>/ <font face="ToolTip01" size="160" color="#9496a3">IfElse(IsEqual([Width],1920,5),¥,IsEqual([Width],1360,5),¤,IsEqual([Width],888,5),£,IsEqual([FPS],25,2),¢,1,¡)<//font>/ <font face="ToolTip01" size="130" color="#9496a3">IfElse(IsEqual([File Type],mkv),î,IsEqual([File Type],ifo),W,IsEqual([File Type],bdmv),U)<//font>/ <font face="ToolTip01" size="110" color="#9496a3">IfElse(IsEqual([Compression],div,8),ú,IsEqual([Compression],hevc,8),ü,IsEqual([Compression],h264,8),û,IsEqual([Compression],xvid,8),ă,IsEqual([Compression], vc-1,8),Ā,IsEqual([Compression],mpeg2,8),þ,IsEqual([Compression],mpeg1,8),ý,IsEqual([Compression],mpeg4),ÿ)<//font>/ <font face="ToolTip01" size="110" color="#9496a3">IfElse(IsEqual([Compression],dts-hd ma,8),&,IsEqual([Compression],dts,8),#,IsEqual([Compression],ac3,8),z,IsEqual([Compression],pcm,8),/),IsEqual([Compression],mp3,8),*,IsEqual([Compression],flac,8),',IsEqual([Compression],aac,8),0,IsEqual([Compression],mpeg,8),z,IsEqual([Compression],vorbis,8),/,,IsEqual([Compression],truehd,8),x,IsEqual([Compression],opus,8),1,)<//font>/ <font face="ToolTip01" size="125" color="#9496a3">IfElse(IsEqual([Channels],1,2),=,IsEqual([Channels],2,2),>,IsEqual([Channels],3,2),],IsEqual([Channels],4,2),?,IsEqual([Channels],5,2),^,IsEqual([Channels],6,2),‐,IsEqual([Channels],7,2),_,1,‑)<font face="ToolTip01" size="60" color="#FFD700">IfElse(IsEqual(ListItem([Compression], 1, +),Atmos),/ !,IsEqual(ListItem([Compression], 1, +),DTS:X),/ $)<//font>
<img src="tooltip:Size-512">If(!IsEmpty([File Size]),IfElse(IsEqual([File Size],15,3),<font color="#990000">,IsEqual([File Size],40,3),<font color="#FDDB2E">,IsEqual([File Size],100,3),<font color="#008000">) Replace([file size],/ GB),)<//font><font color="#9496a3"> GB<//font> <img src="tooltip:Bitrate-512">If(IsEqual([Width],1920,5),If(!IsEmpty([Bitrate]),IfElse(IsEqual([Bitrate],16000,3),<font color="#990000">,IsEqual([Bitrate],40000,3),<font color="#FDDB2E">,IsEqual([Bitrate],100000,3),<font color="#008000">) math(round(math([bitrate] / 1000))),) <//font>,If(!IsEmpty([Bitrate]),IfElse(IsEqual([Bitrate],10000,3),<font color="#990000">,IsEqual([Bitrate],20000,3),<font color="#FDDB2E">,IsEqual([Bitrate],100000,3),<font color="#008000">) math(round(math([bitrate] / 1000))),)<//font>)<font color="#9496a3">Mbit<//font>
<font face="ToolTip01" size="160" color="#9496a3">Save(Math(Trunc(Replace([Aspect Ratio], :, // ) + .005, 2)), gAR)IfElse(Compare(Load(gAR), <, 1), , Compare(Load(gAR), <, 1.38), M, Compare(Load(gAR), <, 1.68), N,Compare(Load(gAR), <, 1.80), O,Compare(Load(gAR), <, 1.87), P,Compare(Load(gAR), <, 2.36), Q,Compare(Load(gAR), <, 2.40), R)<//font>/ <font face="ToolTip01" size="160" color="#9496a3">IfElse(IsEqual([Width],1920,5),¥,IsEqual([Width],1360,5),¤,IsEqual([Width],888,5),£,IsEqual([FPS],25,2),¢,1,¡)<//font>/ <font face="ToolTip01" size="130" color="#9496a3">IfElse(IsEqual([File Type],mkv),î,IsEqual([File Type],ifo),W,IsEqual([File Type],bdmv),U)<//font>/ <font face="ToolTip01" size="110" color="#9496a3">IfElse(IsEqual([Compression],div,8),ú,IsEqual([Compression],hevc,8),ü,IsEqual([Compression],h264,8),û,IsEqual([Compression],xvid,8),ă,IsEqual([Compression], vc-1,8),Ā,IsEqual([Compression],mpeg2,8),þ,IsEqual([Compression],mpeg1,8),ý,IsEqual([Compression],mpeg4),ÿ)<//font>/ <font face="ToolTip01" size="110" color="#9496a3">IfElse(IsEqual([Compression],dts-hd ma,8),&,IsEqual([Compression],dts,8),#,IsEqual([Compression],ac3,8),z,IsEqual([Compression],pcm,8),/),IsEqual([Compression],mp3,8),*,IsEqual([Compression],flac,8),',IsEqual([Compression],aac,8),0,IsEqual([Compression],mpeg,8),z,IsEqual([Compression],vorbis,8),/,,IsEqual([Compression],truehd,8),x,IsEqual([Compression],opus,8),1,)<//font>/ <font face="ToolTip01" size="125" color="#9496a3">IfElse(IsEqual([Channels],1,2),=,IsEqual([Channels],2,2),>,IsEqual([Channels],3,2),],IsEqual([Channels],4,2),?,IsEqual([Channels],5,2),^,IsEqual([Channels],6,2),‐,IsEqual([Channels],7,2),_,1,‑)<//font><font face="ToolTip01" size="60" color="#FFD700">IfElse(IsEqual(ListItem([Compression], 1, +),Atmos),/ !,IsEqual(ListItem([Compression], 1, +),DTS:X),/ $)<//font>
/ <img src="tooltip:Size-512">If(!IsEmpty([File Size]),IfElse(IsEqual([File Size],15,3),<font color="#990000">,IsEqual([File Size],40,3),<font color="#FDDB2E">,IsEqual([File Size],100,3),<font color="#008000">) Replace([file size],/ GB),)<//font><font color="#9496a3"> GB<//font> <img src="tooltip:Bitrate-512">If(IsEqual([Width],1920,5),If(!IsEmpty([Bitrate]),IfElse(IsEqual([Bitrate],16000,3),<font color="#990000">,IsEqual([Bitrate],40000,3),<font color="#FDDB2E">,IsEqual([Bitrate],100000,3),<font color="#008000">) math(round(math([bitrate] / 1000))),) <//font>,If(!IsEmpty([Bitrate]),IfElse(IsEqual([Bitrate],10000,3),<font color="#990000">,IsEqual([Bitrate],20000,3),<font color="#FDDB2E">,IsEqual([Bitrate],100000,3),<font color="#008000">) math(round(math([bitrate] / 1000))),)<//font>)<font color="#9496a3">Mbit<//font>
Is there a way of making a hard coded stop so a new expression code string takes on regardless of the previous expression code string?
No. And please just say "expression" instead of "expression code string". :)I do wish that they used quotes more so that it would be possible to format expressions with newlines without messing up the output.
MC's expression language has a lot of parentheses and brackets and commas, like many programming language. There's absolutely nothing you can do about it except to get your punctuation and syntax right.
I would suggest you download Notepad++ and use it to edit your expressions. This is an excellent text editor that also does syntax highlighting, so it will help you match up your closing paren with its opening paren, etc. That sort of thing helps a lot.
You don't need one. There actually is a language plugin for NPP for the JRiver Expression language; you'd have to google for it.That plugin will probably need to be updated to add the new functions that Matt added recently.
But it's not necessary. In NPP, go to Preferences->Highlighting and make sure Smart Highlighting is turned on, along with highlight matching tags. It will highlight matching parenthesis and such things.
There's lots of good information on how to use NPP on their website, and through google.
If someone knows offhand where you can download the MC Expression Language definition file for NPP, I'm sure they'll post, or you could try a forum search.
That plugin will probably need to be updated to add the new functions that Matt added recently.
Well yes and no. It will still work, it just won't highlight the new expressions as being part of the language.Yeah, I wasn't suggesting it would no longer work, just that it would be missing support for the new stuff. I'm a software developer and use Notepad++ ALL the time, so not a newbie :).
Inside the language file, there's just a list of all the Expressions and Fields it's supposed to recognize. Any time a new expression or a new database field is added, you'd have to update the file.
That said, doing so is not hard. It's just a lot of very simple drudge work.
<font size="70">Replace([Actors],;, / // )
Trivial.It would work if there was only one item but actor list has multiple items e.g. "actor [as somebody];actor2 [as nobody]" and all the text between multiple [ and ] needs to be removed so at least I can't think anything else than regex studies to get this one tackled with current MC expression engine.
listitem(list, position, delimiter)
So in your case, listitem(field,0,[)
The trick is realizing a list is just a string. You can feed it any string and any character as a delimiter even if that was not how the string was intended or constructed.
If you have a series of such strings, organized into a delimited list, just nest another listitem statement to select one where I listed field.
After seeing so many cool layouts everyone has shared, I'm thinking I may need add actor photos. But in all honesty, how difficult is this to accomplish?
It is not like I have a choice, MCRatings writes the information to the Actors field and that information is needed there for running post processing scripts and creating actor images.To be clear, you do have a choice. You can choose in MCR to deactivate the roles feature. It is not "required" for post processing. The actor name can be superimposed on the image regardless, without the roles. It is only required if you want the role on the image as well. If you choose to have the role on the image, but there are times you don't want to see it in MC, that will cause you some extra work, as described earlier.
Otherwise I have to import movies several time, first import it in JRiver to get the basic metadata right, then import the actors and other fields again with MCRatings to be able to create actors images (and posters and other fields) and then again import with JRiver to be able to repopulate the actors field with actor names as the way JRiver wants. And every time I rerun MCRatings for that movie I would have to redo the import with JRiver all over again.That's nonsense. You don't have to do it several times. If you want BOTH versions, with and without actor name, you import exactly twice: once with the MCR Actors field mapped to the MC Actors field, and once with the MCR Actors field mapped to the alternate field in MC. One time you have the role option on, the next off. A couple of clicks and bit of processing. Done.
With MCRatings, it's very easy to accomplish this now.Moe, you're right! The latest version of MCRatings made it fairly easy! The hardest part I had was getting MC to query file names, but that was solved by just setting the Actor Name only (not their role) and creating folders for each movie based off of the TMDb ID.
Otherwise I have to import movies several time, first import it in JRiver to get the basic metadata right, then import the actors and other fields again with MCRatings to be able to create actors images (and posters and other fields) and then again import with JRiver to be able to repopulate the actors field with actor names as the way JRiver wants. And every time I rerun MCRatings for that movie I would have to redo the import with JRiver all over again.
This would all be so much easier if you'd use MCUtils, but I know that you are adverse to that.
That said, instead of importing and re-importing, do this. Import to JRiver, and then copy your actors field (and any other field that will be overwritten by MCRatings) to a new field. Then run MCRatings. This way MCRatings won't overwrite anything and you won't have to re-import anything
Looking good! Even I can read the actor names from my tiny TV ;DThanks!
Is there a tutorial somewhere for MCUtils? If it's easier, I'd love to try it out but it seems clunky to me.
You can always tell MCRatings not to update the actor field on save. That's what I had to do for my actors field.
Hmmm, I've tried doing this but didn't get it to work.
How did you do that and not have MCR update the actor field (but all other fields) in MC and still create actor images?
Was it right click on actors field and then select revert?
Can't get it to work!?
Great theater view and tooltip MGD_King!Those look pretty nice. Thanks!
It got me thinking and I will try out some new ideas, specially having actor images in toooltip. That looked nice!
I have create some resolution icons and if anyone is interested in using them they are in the attached zip-file.
//arcspin
([;]?\K[\w\s]+)(?=\s\[) (Omit the "\K" if you want to keep the semicolons to insert into another list.Thanks wer,
You can try getting this to work with MC's regex function.
Regex(Joe Actor [as Ben];Ben Actor [as Joe],/#([;]?[\w\s]+)(?=\s\[)#/,1)
In http://regexe.com/ engine everything is catched but in MC I get only first one to be displayed so I guess I need to study regex little more at some point so I can understand better what I am doing. I somewhat get the above expression but don't really understand regex concept so well that I am able to fix this or whether MC even supports this kind of capturing. I tried ,2 but that didn't get me the second name but just an empty resultOne question though. If these capture groups catches this kind of sequences many times from the source text are all these "captures" considered as one match or multiple matches? So in MC everything would be assigned to variable [R1]?
Your first problem is that you're using run mode 1. In looking at the documentation of MC's Regex() function, it says all captures (at least up to 9) will be placed in variables R1..R9. But it states flat out that only one capture will be returned if you use run mode 1-9. So you should be using run mode -1, which produces no output, but leaves the captures in the variables. At least supposedly.I think that mode 1 will display [R1] automatically but all the captures (1-9) should still be accessible using R-variables. -1 mode just don't display any capture without R-variables.
new(ish) valign property gives some possibilities for multiline images... See if you can spot one ;DI'm assuming you mean the image on the far left of the first 2 lines of text. Interesting that the new feature allows that to happen, but it looks pretty nice. It's awesome to see the JRiver team putting so much effort into these new features and extensions to the expression language.
I'm assuming you mean the image on the far left of the first 2 lines of text. Interesting that the new feature allows that to happen, but it looks pretty nice. It's awesome to see the JRiver team putting so much effort into these new features and extensions to the expression language.Yeah, I splitted the image in half (not exactly half...) and set upper one to be aligned bottom and the lower one as top. I think that they aligned pretty nice. Removed "name" label afterwards as it looks no better without it
Math(int((Now()-Field(Date /(Release/),0))/365.25)) YO
Math(int((Now()-ConvertDate([Date (Release)], dd//MM//yyyy))/365.25)) YO
I would like to, in theater view, be able to see how old a movie is. For example Jaws is 45 years old and I would like that to show that right next to the release year: (45 YO)
I have the field "Date (Release)" populated with the release date and we know the current date.
What would the expression be to have it calculate how old, in years, a movie is and have that year counter add another year when it passes the release date. (Next year, June 18, Jaws would be 46 YO)
Math(Formatdate(Now(), Year) - Formatdate([Date (release),0], Year)) YO
Math(int((Now()-[Date (Release),0])/365.25)) YO
Math(int(Math((Now()-0)/365.25))) YO
If(Compare([Date (release),0],>,0),Math(int((Now()-[Date (Release),0])/365.25)) YO,No Release Date)
So you do need to use something like Zybex's expression, but you need to use the raw format of the Release Date field. i.e. [Date (release),0]
Math(int((Now()-[Date (Release),0])/365.25)) YO
This doesn't handle leap years correctly, so you might get the anniversary a day off in some cases, but it's close enough:Code: [Select]Math(int((Now()-Field(Date /(Release/),0))/365.25)) YO
That's exactly what I proposed on the first reply
Yes, the Date (release) has values in the form of: yyyy-mm-dd
So you did. Sorry I missed that. You should have stuck to you guns, because the formatting in your later expression wasn't going to work. ;)
Arcspin, test by creating Expression Columns in a View, including one for [Date (Release),0], one for Now(), and the test expression. You will soon see what is going wrong. Once you get it working, delete the unwanted Expression Columns. That is much quicker and easier than testing in the File Info Panel.
Math(int((Left(Now(),5)-[Date (Release),0])/365.25)) YO
But the second one does work as well (I tested it), as long as you use your local-appropriate mask for dd/mm/yyyy :)
Math(Int((Int(Now())-Int([Date (Release),0]))/365.25)) YO
Math(int((Left(Now(),5)-[Date (Release),0])/365.25)) YO
Do you have a small monitor Wer? Those screenshots fit fine on my 2560x1600 screen! ;D
... my very, very old 2560x1600 screen. Touch wood it keeps working for a few years more.
... yes, I'm overcompensating. Sigh.
Yeah, I have a 30in 2560x1600 as well smart guy.
If both versions are desired, keeping them in two fields would be both easier and faster.
I wrote a regex that pulls the actors names from such a multi-part list:
([;]?\K[\w\s]+)(?=\s\[) (Omit the "\K" if you want to keep the semicolons to insert into another list.
You can try getting this to work with MC's regex function.
Replace([Actors],;, / // )
Regex([Actors],/#([\w\s\.]+(?=\s\[))#/,-2)
We will fix the readability issue.
Regex([Actors],/#([\w\s\.]+(?=;)|[\w\s\.]+(?=\s\[)|[\w\s\.]+$)#/,-2)
Parenthesis create capture groups in a regex, and normally these are transparent, but with MC, nested parenthesis lead to duplicated results.This is correct behavior. You can create non-capture groups with (?:something).
Code: [Select]Regex([Actors],/#([\w\s\.]+(?=;)|[\w\s\.]+(?=\s\[)|[\w\s\.]+$)#/,-2)
Regex([Actors],/#(.+?)(?: \[.+?\];?|;|$)#/,-2)
This one handles mixed lists where some have roles and others don't:Regex([Actors],/#(.+?)(?: \[.+?\]|;|$)#/,-2)
Yep, fixed above.
I'm wondering if we go on like this, if we'll hear Rod's head explode...Without video proof, it never happened. ;D
e.g., https://www.rexegg.com/regex-quickstart.htmlMay not be working right now. I tried to send the author a link to this mention and offer a license, using their form. It may have broken the server. Sorry.
I'm wondering if we go on like this, if we'll hear Rod's head explode...
Without video proof, it never happened. ;D
<img src="tooltip:FormatNumber([FPS],0)_FPS-Grey">
something like that?
save(Math(formatdate(now(),yyyy)-[year]),age)/
if(and(isequal([age],0,5),isequal(math([age]%5),0,2)),<img src="tooltip:Anniv_[age]">,)
save(Math(formatdate(now(),yyyy)-[year]),age)/
if(isequal(math([age]%5),0,2),<img src="tooltip:Anniv_[age]">,)
Images are much simpler. You can go to Tools->Options->TheaterView->Appearance->"... Customize file info panel" and add new field (row in theaterview)Hi Lepa, if this template offers the chance to enter this arena a bit further up the learning curve, especially for those of us that are competant in regards to fixing references to custom fields you may be using that aren't documented here, could you "Copy template to clipboard" and paste it in this thread?
e.g.
Type = "Expression"
Name = "L: Tech Icons Row"
Value = see below code...
Style = "Text Only (no label)"
Show = "Show only in large field" (changing this to "Show only when viewing a file grouping" will hide this row so you don't need to delete all your work in progress if you don't get it right at first time or want to continue on some other time)
(x) hide when value is empty
Images are in MC's data/tooltip folder. Following checks are made to determine which image is wanted to be shown in the code below
1.Check [File Type] and show image for it e.g. "tooltip:container-mkv.png" or "tooltip:container-mp4.png" etc.
2. Check from [Notes] if the movie is HDR and from user field [Definition] in which definition film is presented. Image e.g. "tooltip:definition-1080p.png", "tooltip:definition-4k-hdr.png"
3. Check Aspect ratio from user field [AR-Calculated] e.g. "tooltip-aspect-1.78.png"
4. Check Channel amount from [Channels] field e.g. "tooltip-speakers-5.png"
5. Check Audio type from [Audio Codec] e.g. "tooltip-audio-dts-hd.png"
6. Check film studios from [Production Companies]. Will show 0-5 film studios e.g. "tooltip-studio-Columbia Pictures.png"
7. Check Publisher (Arrow, Criterion etc.) from [Publisher] field e.g. "tooltip-publisher-Arrow.png"
Code for Value:
<font size="150"><img src="tooltip:container-[File Type]"> If(IsEqual([Dolby Vision],1,2),<img src="tooltip:Definition-DolbyVision">/ ,)<img src="tooltip:definition-[Definition]If(IsEqual([HDR],1,2),-hdr,)">If(!IsEmpty([Aspect Ratio]),/ <img src="tooltip:aspect-[AR-calculated]">,) <img src="tooltip:speakers-[Channels]"> <img src="tooltip:audio-[Audio Codec]">If(!IsEmpty([Production Companies]),/ <img src="tooltip:studio-ListItem([Production Companies],0)"><img src="tooltip:studio-ListItem([Production Companies],1)"><img src="tooltip:studio-ListItem([Production Companies],2)"><img src="tooltip:studio-ListItem([Production Companies],3)"><img src="tooltip:studio-ListItem([Production Companies],4)">,)If(!IsEmpty([Publisher]),/ <img src="tooltip:publisher-[Publisher]">,)<//font>
[AR-Calculated] is calculated field:Code: [Select]Save(Math(Trunc(Replace([Aspect Ratio], :, // ) + .005, 2)), gAR)IfElse(Compare(Load(gAR), <, 1), empty, Compare(Load(gAR), <, 1.38), 1.33, Compare(Load(gAR), <, 1.68), 1.66,Compare(Load(gAR), <, 1.80), 1.78,Compare(Load(gAR), <, 1.87), 1.85,Compare(Load(gAR), <, 2.36), 2.35,Compare(Load(gAR), <, 2.40), 2.39)
[Definition] is calculated field:Code: [Select]IfElse(IsEqual([Width],1920,5),4K,IsEqual([Width],1360,5),1080p,IsEqual([Width],888,5),720p,IsEqual(Replace([FPS],/,,.),25,2),576p,1,480p)
[Audio Codec] is Calculated field:Code: [Select]IfElse(IsEqual([Compression],dts-hd,8),dts-hd,IsEqual([Compression],eac3,8),dolby digital,IsEqual([Compression],PCM,8),pcm,IsEqual([Compression],mp3,8),mp3,IsEqual([Compression],flac,8),flac,IsEqual([Compression],aac,8),aac,IsEqual([Compression],Vorbis,8),vorbis,IsEqual([Compression],DTS,8),dts,IsEqual([Compression],AC3,8),dolby digital,IsEqual([Compression],truehd,8),truehd,IsEqual([Compression],opus,8),opus,IsEqual([Compression],MPEG,8),mpeg)
[HDR] is check type user field
[Dolby Vision] is check type user field
Save(Math(Trunc(Replace([Aspect Ratio], :, // ) + .005, 2)), gAR)
IfElse(Compare(Load(gAR), <, 1), empty, Compare(Load(gAR), <, 1.38), 1.33, Compare(Load(gAR), <, 1.68), 1.66,Compare(Load(gAR), <, 1.80), 1.78,Compare(Load(gAR), <, 1.87), 1.85,Compare(Load(gAR), <, 2.36), 2.35,Compare(Load(gAR), <, 2.40), 2.39)
Save(Math(Trunc(Replace([Aspect Ratio], :, // ) + .005, 2)), gAR)
ifcase([gAR], 3, 1, empty, 1.38, 1.33, 1.68, 1.66, 1.80, 1.78, 1.87, 1.85, 2.36, 2.35, 2.40, 2.39)
ListItem([Compression], 1, +)
IfCase([Compression],8,dts-hd,dts-hd,eac3,dolby digital,pcm,pcm,mp3,mp3,vorbis,vorbis,dts,dts,ac3,dolby digital,truehd,truehd,opus,opus,flac,flac,mpeg,mpeg,aac,aac)
IfElse(Compare([Width],>,1920),4K,Compare([Width],>,1360),1080p,Or(Compare([Width],>,1024),Compare([Height],>,576)),720p,Compare(Left([FPS],2),=,25),576p,1,480p)
Save(Math(Trunc(Replace([Aspect Ratio],:, // ) + .005, 2)), v_AspectRatio)/
IfCase([v_AspectRatio], 3, 1, empty, 1.38, 1.33, 1.68, 1.66, 1.80, 1.78, 1.87, 1.85, 2.36, 2.35, 2.40, 2.39)
If(IsEqual([Media Sub Type],Movie),Movies Released in FormatDate([Date,0],year),)
If(Or(IsEqual([Media Sub Type],Extras),IsEqual([Media Sub Type],Movie)),EXTRAS For [Name] /(FormatDate([Date,0],year)/),)
If(IsEqual([Media Sub Type], Movie),Directed By ListItem([Director],0),)
If(IsEqual([Media Sub Type], Movie),Movies at Genre Replace(ListSort(ListLimit([Genre],2)),;,/ /// ),)
Movies Rated Math(Int([IMDb Rating])) in IMDb
[HDR]: Manually entered check box. Shows icon if set.
HDR It's just another user created library field made in here: Tools -> Options -> Library & Folders -> Manage Library FieldsIt would probably be a pain to change it now, but it could make sense to do this:
For folder "issue" I have set logos to be found
MC install folder's Data\Tooltip folder and possibly subfolder under that (like Studios, Countries)
So in this case images would need to be put in:
e.g. C:\Program Files\J River\Media Center 26\Data\Tooltip\aspect-1.33.png
e.g. C:\Program Files\J River\Media Center 26\Data\Tooltip\Studios\studio-20th Century Fox.png
Save(C:////JRiver////Actors////Clean([Name],3) /([Year]/), v_ActorImagesPath)/
<font size="80" color="696b75"><b>STARRING:<//b><br><//font>If(Compare([Cast Images],=,1),<font size="450">Replace(ListMix(<img src="tooltip:tools-separator-60x352"><img src="[v_ActorImagesPath]////[L1].png">, 1, [Actors],1;2;3;4;5;6),;,/ )<//font><br>,<i>Replace(ListLimit([Actors],10),;,/,/ )<//i><br>)If(!IsEmpty([Direcor]),<br><font size="80" color="696b75"><b>DIRECTOR:<//b><//font>/ <font size="80" color="ffffff"><i>[Director]<//i><//font>,)If(!IsEmpty([Screenwriter]),<font size="80" color="696b75"><br><b>WRITER: <//b><//font><font size="80" color="ffffff"><i>Replace([Screenwriter],;,/,)<//i><//font>,)
<font size="80" color="696b75"><b>STARRING:<//b><br><//font>If(Compare([Cast Images],=,1),<font size="450">Replace(ListMix(<img src="tooltip:tools-separator-60x352"><img src="tooltip:Actors////Clean([Original Title],3) /([Year]/)////[L1]">, 1, [Actors],1;2;3;4;5;6),;,/ )<//font><br>,<i>Replace(ListLimit([Actors],10),;,/,/ )<//i><br>)If(!IsEmpty([Director]),<br><font size="80" color="696b75"><b>DIRECTOR:<//b><//font>/ <font size="80" color="ffffff"><i>[Director]<//i><//font>,)If(!IsEmpty([Screenwriter]),<font size="80" color="696b75"><br><b>WRITER: <//b><//font><font size="80" color="ffffff"><i>Replace([Screenwriter],;,/,)<//i><//font>,)
Momoa missing: it seems you are missing actors which have multiple roles. These are named like this: "Jason Momoa [Arthur Curry, Aquaman]". Maybe Lepa's expression is truncating it at the comma, so it doesn't match the filename.I'll check later, above expression was just something for starters as I didn't know exactly what kind of folder/filename structure rulers there will be for lello. I can make some kind of generalized tv template for ZRatings actors images users when lello has everything figured out on ZRatings side.
...
Lepa, can you please check your expression on your MC/Zelda with "Actor [role1, role2]" ?
<font size="80" color="696b75"><b>STARRING:<//b><br><//font>If(Compare([Cast Images],=,1),<font size="450">Replace(ListMix(<img src="tooltip:tools-separator-60x352"><img src="tooltip:Actors////Clean([Original Title],3) /([Year]/)////[L1]">, 1, [Actors],1;2;3;4;5;6),;,/ )<//font><br>,<i>Replace(ListLimit([Actors],10),;,/,/ )<//i><br>)If(!IsEmpty([Director]),<br><font size="80" color="696b75"><b>DIRECTOR:<//b><//font>/ <font size="80" color="ffffff"><i>[Director]<//i><//font>,)If(!IsEmpty([Screenwriter]),<font size="80" color="696b75"><br><b>WRITER: <//b><//font><font size="80" color="ffffff"><i>Replace([Screenwriter],;,/,)<//i><//font>,)
<img src="path to file.png" height="400">
It's best to use the actual image height there to prevent blurring.PS2: One other recent change in MC - filenames on the Expressions must now have the extension; before it was assumed to be "png" and it would not work if we added ".png" on the Expression; now, it only works with the full filename including extension - this is because apparently it now supports JPG as well.extension is not needed for PNG if one is using tooltip folder.
Thanks :) There's a Donate button on the ZRatings app -> press the "?" button in bottom-right corner, or F1. I didn't put it on the site.Actually that button doesn't work, or at least I couldn't. Eventually, by chance, I discovered the link on page 7 of this thread.
<font size="80" color="696b75"><b>STARRING:<//b><br><//font>If(Compare([Cast Images],=,1),<font size="450">Replace(ListMix(<img src="tooltip:tools-separator-60x352"><img src="tooltip:Actors\Clean([Original Title],3) /([Year]/)\[L1]">, 1, [Actors],1;2;3;4;5;6),;,/ )<//font><br>,<i>Replace(ListLimit([Actors],10),;,/,/ )<//i><br>)If(!IsEmpty([Director]),<br><font size="80" color="696b75"><b>DIRECTOR:<//b><//font>/ <font size="80" color="ffffff"><i>[Director]<//i><//font>,)If(!IsEmpty([Screenwriter]),<font size="80" color="696b75"><br><b>WRITER: <//b><//font><font size="80" color="ffffff"><i>Replace([Screenwriter],;,/,)<//i><//font>,)
Save(tooltip:Actors////////Clean([Original Title],3) /([Year]/)////////, v_ActorImagePath)/
<font size="80" color="696b75"><b>STARRING:<//b><br><//font>/
If(Compare([Cast Images],=,1),
Replace(ListMix(<img src="tooltip:tools-separator-60x352" height="150"><img src="[v_ActorImagePath][L1]" height="150">, 1, [Actors],1;2;3;4;5;6),;,/ )<br>,/
<i>Replace(ListLimit([Actors],10),;,/,/ )<//i><br>)/
If(!IsEmpty([Director]),<br><font size="80" color="696b75"><b>DIRECTOR:<//b><//font>/ <font size="80" color="ffffff"><i>[Director]<//i><//font>,)/
If(!IsEmpty([Screenwriter]),<font size="80" color="696b75"><br><b>WRITER: <//b><//font><font size="80" color="ffffff"><i>Replace([Screenwriter],;,/,)<//i><//font>,)
It's basically the same as before but a bit more easier to maintenanceSave(tooltip:Actors\Clean([Original Title],3) /([Year]/)\, v_ActorImagePath)/
<font size="80" color="696b75"><b>STARRING:<//b><br><//font>/
If(Compare([Cast Images],=,1),
Replace(ListMix(<img src="tooltip:tools-separator-60x352" height="150"><img src="[v_ActorImagePath][L1]" height="150">, 1, [Actors],1;2;3;4;5;6),;,/ )<br>,/
<i>Replace(ListLimit([Actors],10),;,/,/ )<//i><br>)/
If(!IsEmpty([Director]),<br><font size="80" color="696b75"><b>DIRECTOR:<//b><//font>/ <font size="80" color="ffffff"><i>[Director]<//i><//font>,)/
If(!IsEmpty([Screenwriter]),<font size="80" color="696b75"><br><b>WRITER: <//b><//font><font size="80" color="ffffff"><i>Replace([Screenwriter],;,/,)<//i><//font>,)
don't remember does back slash need escape?No.
@lello
This is what I'm using currently for my large screen (L: Director + Actors + Writer ) and should work on windows & linux. Adjust height="150" to lower / higher for smalller / taller images.
Thanks Lello!
Yes, ZRatings currently is only for Movies. I don't use TVSeries on MC so I didn't yet feel the need to add that feature... but we never know :)
mvandyke,I currently only use one of Media Subtypes for "Movies" that are Music related and is Music Video. However I think that Concert might make more sense although many of them or music related and are more documentary based and not Live Concerts so lets stick with Music Video.
That's a simple change, I can do that. Can you please send me a couple of IMDB ID examples for your MusicVideo/Concerts for validation? Do you use both SubTypes, "Concert" and "Music Video"?
If that's a concern I can add an option to enable Concerts/MusicVideo.
However, how would it disrupt existing users? You can always select a playlist that includes/excludes these videos, right?
[Media Sub Type]=Movie,Concert,[Music Video]The default is just "Movie" so that it doesn't disrupt existing users, as per Wer's concern.
just published ZRatings v3.2.2,
Actually, one last question: is there a good site where you all get most of these images or do you just go to IMDb, say, if you want that logo?I can zip some of my general logos etc. when I got better time. Generally have just been doing search on internet. Also reminder that these are logos mainly so image size doesn't need to be big (performance issues)
Because [Rating]>0 isn't valid comparison syntax in the MC Expression Language.
You need to use Math(), IsEqual(), or Compare(). Look them up.
@lello
This is what I'm using currently for my large screen (L: Director + Actors + Writer ) and should work on windows & linux. Adjust height="150" to lower / higher for smalller / taller images.Code: [Select]Save(tooltip:Actors////////Clean([Original Title],3) /([Year]/)////////, v_ActorImagePath)/
It's basically the same as before but a bit more easier to maintenance
<font size="80" color="696b75"><b>STARRING:<//b><br><//font>/
If(Compare([Cast Images],=,1),
Replace(ListMix(<img src="tooltip:tools-separator-60x352" height="150"><img src="[v_ActorImagePath][L1]" height="150">, 1, [Actors],1;2;3;4;5;6),;,/ )<br>,/
<i>Replace(ListLimit([Actors],10),;,/,/ )<//i><br>)/
If(!IsEmpty([Director]),<br><font size="80" color="696b75"><b>DIRECTOR:<//b><//font>/ <font size="80" color="ffffff"><i>[Director]<//i><//font>,)/
If(!IsEmpty([Screenwriter]),<font size="80" color="696b75"><br><b>WRITER: <//b><//font><font size="80" color="ffffff"><i>Replace([Screenwriter],;,/,)<//i><//font>,)
Hi all,
Here are some more icons that I have created and collected.
They are all in this thread but I repost them for convenience.
Have a great weekend.
You could make global variable at the start of the tooltip which where you'd save color. Then use that variable in your tooltip to set color for fonts. Still manual switch but you only need to change color in one place.
[AR-Calculated]: A can of worms. Calculated from MC's Aspect Ratio field. Return empty if not set so you discover where manual input is needed. Not always accurate infromation.Code: (AR-Calculated) [Select]Save(Math(Trunc(Replace([Aspect Ratio],:, // ) + .005, 2)), v_AspectRatio)/
IfCase([v_AspectRatio], 3, 1, empty, 1.38, 1.33, 1.68, 1.66, 1.80, 1.78, 1.87, 1.85, 2.36, 2.35, 2.40, 2.39)
Excuse me lepa, is it possible to obtain the real aspect ratio in this field?
I'll explain. If I insert a Blu Ray with the classic black bands, in the aspect-ratio tag it appears 16: 9 and in calcualated aspect ratio 1:78 but in reality it is a 2:35.
Considering that I need that tag to activate a zone, how can I change it automatically without having to manually intervene every time?
Excuse me lepa, is it possible to obtain the real aspect ratio in this field?You could try to convince jmone to add ffmpeg cropdetection (https://stackoverflow.com/questions/17265381/ffmpeg-get-value-from-cropdetect) to SoT (https://yabb.jriver.com/interact/index.php/topic,106802.0.html) which could then write detected aspect ratio to the tag and which can then be cleaned to nearest standard aspect ratio value by using calculated field.
I'll explain. If I insert a Blu Ray with the classic black bands, in the aspect-ratio tag it appears 16: 9 and in calcualated aspect ratio 1:78 but in reality it is a 2:35.
Considering that I need that tag to activate a zone, how can I change it automatically without having to manually intervene every time?
Thank you
If(IsRange([Bookmark Percent], 0-9)/
,If(Compare([Number Plays],>,0),☑,)/
,If(IsRange([Bookmark Percent], 10-89),[Bookmark Percent]%,☑)/
)
ListClean(If(IsEqual([HDR Format RAW],no-hdr10),HDR,If(IsEqual([HDR Format RAW], Dolby Vision,8),DV;,)If(IsEqual([HDR Format RAW], HDR10+/ ,7),HDR10+;,)If(IsEqual([HDR Format RAW], HDR10/ ,7),HDR10;,)If(IsEqual([HDR Format RAW],no-hdr10,8),HDR;,)If(IsEqual([HDR Format RAW],hdr10,7),HDR10,)),3)
ListContains([HDR Format],DV)
Save(Math(Trunc(Replace([Aspect Ratio],:, // ) + .005, 2)), v_AspectRatio)/
IfCase([v_AspectRatio], 3, 1, empty, 1.38, 1.33, 1.68, 1.66, 1.80, 1.78, 1.87, 1.85, 2.36, 2.35, 2.40, 2.39)
[Audio Tracks RAW] # User # Populated by SoTIf(IsEqual([Audio Tracks RAW],MLP,8),Atmos,)If(IsEqual([Audio Tracks RAW],DTS XLL X,8),DTS:X,)
IfCase([Compression],8,dts-hd,dts-hd,eac3,dolby digital,pcm,pcm,mp3,mp3,vorbis,vorbis,aac,aac,dts,dts,ac3,dolby digital,truehd,truehd,opus,opus,flac,flac,mp2,mpeg)
IfElse(Compare([Width],>,1920),4K,Compare([Width],>,1360),1080p,Or(Compare([Width],>,1024),Compare([Height],>,576)),720p,Compare(Left([FPS],2),=,25),576p,1,480p)
If(!IsEmpty([HDR Format]),1,0)
If(IsEqual([Media Sub Type], Movie),Movies at Genre Replace(ListSort(ListLimit([Genre],2)),;,/ /// ),)
If(IsEqual([Media Sub Type], Movie),Directed By ListItem([Director],0),)
Movies Rated Math(Int([IMDb Rating])) in IMDb
If(IsEqual([Media Sub Type],Movie),Movies Released in FormatDate([Date,0],year),)
Audio Track Count RAW;Audio Language;Audio Tracks RAW;Extras;Subtitles;Video Codec;HDR Format RAW;Aspect Ratio
ID;Language;Format;Title;Language;Format;HDR format;Display aspect ratio
Audio;Audio;Audio;Audio;Text;Video;Video;Video
Save(src="tooltip:Actors////////Clean([Original Title],3) /([Year]/)////////[L1]", v_CastImageLoc)
<font [v_HEADER_SIZE] [v_HEADER_COLOR]>STARRING<br><//font>/
Replace(Replace(ListMix2(<img src="tooltip:Misc////////Separator////////60x60" width="10"><img [v_CastImageLoc] valign="middle" width="120">, 1, Replace([Actors],/[,{),1;2;3;4;5;6),{,/[),;,/ )
If(!IsEmpty([Director]),<br><font [v_HEADER_SIZE] [v_HEADER_COLOR]>DIRECTORIf(Compare(ListCount([Director],;),>,1),S,)<//font><br><font [v_TEXT_COLOR]><i>/ Replace([Director],;,/,/ )<//i><//font>,)/
If(!IsEmpty([Screenwriter]),<font [v_HEADER_SIZE] [v_HEADER_COLOR]><br>WRITERIf(Compare(ListCount([Screenwriter],;),>,1),S,)<br><//font><font [v_TEXT_COLOR]><i>/ Replace([Screenwriter],;,/,/ )<//i><//font>,)
You have 2 options:
1. Change the "save actor thumbnails to this folder" option in ZRatings to "c:\your\own\folder\Actors\$imdb" - this will create a folder using the IMDBid of the movie instead of the Title. Not pretty, but always works... you then need to use [IMDB id] on the MC expression to match it.
C:\Program Files\J River\Media Center 27\Data\Tooltip\Actors\$imdb
then just change path folder variable in MC to something like this and MC should search the actor images from movies imdb id folder.Save(src="tooltip:Actors////////[IMDb ID]////////[L1]", v_CastImageLoc)
Why rename the folder?
Save(src="tooltip:Actors////////[IMDb ID]////////[L1]", v_CastImageLoc)
I don't clearly see the photos I downloaded earlier.But again, "Mission: Impossible" won't work without an expression change.It will if/when you'll fix ZRatings ;) (at least if the fix is the same as MC's clean function does.....)
Clean([Original Title],3)
https://wiki.jriver.com/index.php/String_Manipulation_Functions#Clean
Momoa missing: it seems you are missing actors which have multiple roles. These are named like this: "Jason Momoa [Arthur Curry, Aquaman]". Maybe Lepa's expression is truncating it at the comma, so it doesn't match the filename.
Save(src="tooltip:Actors////////Clean([Original Title],3) /([Year]/)////////[L1]", v_CastImageLoc)
How do you debug?Playing around in Zelda.
[Director] = "Bryan Singer"
[Director,0] = "Bryan Singer"; mode 0 is mostly for Date fields, to return the raw numeric value
[Director, something] = "Bryan Singer" - the "something" is correctly ignored
[unknownField] = "[unknownField]"
[unknownField, label] = "[unknownField]" - the ", label" is lost!
Hugh Jackman [Logan, Wolverine] = "Hugh Jackman [Logan]"
Listmix2(<img src=[v_CastImageLoc]>,0,[actors])
replace(Listmix2(<img src=[v_CastImageLoc]>,0,replace([actors],/[,{)),{,/[)
Save (src = "tooltip: Actors //////// Clean ([Original Title], 3) / ([Year] /) //////// [L1]", v_CastImageLoc)
and not Save (src = "tooltip: Actors //////// Clean ([Original Title], 3) / ([Year] /) //////// [L1]", v_CastImageLoc) / Listmix2 (<img src = [v_CastImageLoc]>, 0, [actors])
@lello
Updated https://yabb.jriver.com/interact/index.php/topic,119385.msg898878.html#msg898878 for you ("L: Director + Actors + Writer" script edited)
Hi Jim,
It would be nice to be able to create Theater View Themes that could be installed by users as a single package, similar to MC Themes. All files, code, etc, would reside in a single subfolder, and the user could then just switch themes at will. However, this is not trivial at all as there are so many moving pieces, and currently the Actor pics are an outside thing. It would be a major feature, but perhaps its a nice thing for the roadmap.
Hi Jim,
It would be nice to be able to create Theater View Themes that could be installed by users as a single package, similar to MC Themes. All files, code, etc, would reside in a single subfolder, and the user could then just switch themes at will. However, this is not trivial at all as there are so many moving pieces, and currently the Actor pics are an outside thing. It would be a major feature, but perhaps its a nice thing for the roadmap.
If(Or(Compare(Length([Audio Language]),>,0),Compare(Length([Subtitles]),>,0)),<font [v_HEADER_SIZE] [v_HEADER_COLOR]>LANGUAGES<//font><br>/ <font [v_HEADER2_COLOR]>AUDIO Replace(ListMix(<img src="tooltip:Language////[L1]" height="20" valign="middle">, 1, [Audio Language]),;,/ ) SUBTITLES <//font>If(IsEqual([Subtitles],Italian,8),<img src="tooltip:Language//Italian" height="20" valign="middle">,)If(IsEqual([Subtitles],English,8),/ <img src="tooltip:Language//English" height="20" valign="middle">,),)If(IsEqual([Subtitles],German,8),/ <img src="tooltip:Language//German" height="20" valign="middle">,)If(IsEqual([Subtitles],Chinese,8),/ <img src="tooltip:Language//Chinese" height="20" valign="middle">,)If(IsEqual([Subtitles],Danish,8),/ <img src="tooltip:Language//Danish" height="20" valign="middle">,)If(IsEqual([Subtitles],Finnish,8),/ <img src="tooltip:Language//Finnish" height="20" valign="middle">,)If(IsEqual([Subtitles],French,8),/ <img src="tooltip:Language//French" height="20" valign="middle">,)If(IsEqual([Subtitles],Japanese,8),/ <img src="tooltip:Language//Japanese" height="20" valign="middle">,)If(IsEqual([Subtitles],Korean,8),/ <img src="tooltip:Language//Korean" height="20" valign="middle">,)If(IsEqual([Subtitles],Norwegian,8),/ <img src="tooltip:Language//Norwegian" height="20" valign="middle">,)If(IsEqual([Subtitles],Spanish,8),/ <img src="tooltip:Language//Spanish" height="20" valign="middle">,)If(IsEqual([Subtitles],Swedish,8),/ <img src="tooltip:Language//Swedish" height="20" valign="middle">,)
This folder location for Tooltip data is actually a bad choice from JRiver's part, these files should have been in %LocalAppData% instead.
This folder location for Tooltip data is actually a bad choice from JRiver's part, these files should have been in %LocalAppData% instead.Agreed. MC server should serve tooltip data to clients on need bases/at one go just like it does for other art. Client would then cache data to its own LocalAppData.
- run ZRatings as Administrator so that it can write to that folder
- change the folder Security permissions to give Write/Full access to your user account
icacls "C:\Program Files\J River\Media Center 28\Data\Tooltip" /T /grant everyone:(OI)(CI)M
Try opening a command-prompt (cmd) as Administrator and run this command to reset permissions:Code: [Select]icacls "C:\Program Files\J River\Media Center 28\Data\Tooltip" /T /grant everyone:(OI)(CI)M
C:\Program Files\J River\Media Center 28\Data\Tooltip\Actors\$originaltitle
orC:\Program Files\J River\Media Center 28\Data\Tooltip\Actors\$originaltitle ($year)
If(IsEqual([Audio Tracks RAW],MLP,8),Atmos,)If(IsEqual([Audio Tracks RAW],DTS XLL X,8),DTS:X,)
Save(height="40", v_TECH_ICON_HEIGHT)/
<br><img src="tooltip:Container//[File Type]" [v_TECH_ICON_HEIGHT]>/
If(IsEqual([Dolby Vision],1,2),
/ <img src="tooltip:Video//Definition//DolbyVision" [v_TECH_ICON_HEIGHT]>,
)/
/ <img src="tooltip:Video//Definition//[Definition]If(IsEqual([HDR],1,2),-hdr,)" [v_TECH_ICON_HEIGHT]>/
If(!IsEqual([AR-calculated],empty),
/ <img src="tooltip:Video//AspectRatio//[AR-calculated]" [v_TECH_ICON_HEIGHT]>,
)/
/ <img src="tooltip:Audio//Channels//[Channels]" [v_TECH_ICON_HEIGHT]>/
/ <img src="tooltip:Audio//Codec//[Audio Codec]" [v_TECH_ICON_HEIGHT]>/
If(!IsEmpty([HD Audio]),
/ <img src="tooltip:Audio//Codec//Replace([HD Audio],:,_)" [v_TECH_ICON_HEIGHT]>,
)/
If(!IsEmpty([Studios]),
/ Replace(ListMix2(<img src="tooltip:Studios////[L1]" [v_TECH_ICON_HEIGHT]>, 1, [Studios], 1;2),;,/ / / / / ),
)/
If(!IsEmpty([Publisher]),
/ <img src="tooltip:Publisher//publisher-ListItem([Publisher],0)" [v_TECH_ICON_HEIGHT]>,
)
Save(height="40", v_TECH_ICON_HEIGHT)/
<br><img src="tooltip:Container//[File Type]" [v_TECH_ICON_HEIGHT]>/
If(IsEqual([Dolby Vision],1,2),
/ <img src="tooltip:Video//Definition//DolbyVision" [v_TECH_ICON_HEIGHT]>,
)/
/ <img src="tooltip:Video//Definition//[Definition]If(IsEqual([HDR],1,2),-hdr,)" [v_TECH_ICON_HEIGHT]>/
If(!IsEqual([AR-calculated],empty),
/ <img src="tooltip:Video//AspectRatio//[AR-calculated]" [v_TECH_ICON_HEIGHT]>,
)/
/ <img src="tooltip:Audio//Channels//[Channels]" [v_TECH_ICON_HEIGHT]>/
/ <img src="tooltip:Audio//Codec//[Audio Codec]" [v_TECH_ICON_HEIGHT]>/
If(!IsEmpty([HD Audio]),
/ <img src="tooltip:Audio//Codec//Clean([HD Audio],3)" [v_TECH_ICON_HEIGHT]>,
)/
If(!IsEmpty([Studios]),
/ Replace(ListMix2(<img src="tooltip:Studios////[L1]" [v_TECH_ICON_HEIGHT]>, 1, [Studios], 1;2),;,/ / / / / ),
)/
If(!IsEmpty([Publisher]),
/ <img src="tooltip:Publisher//publisher-ListItem([Publisher],0)" [v_TECH_ICON_HEIGHT]>,
)
Audio # 3
ID: 4
Format: E-AC-3 JOC
Format / Info: Enhanced AC-3 with Joint Object Coding
Commercial name: Dolby Digital Plus with Dolby Atmos
Codec ID: A_EAC3
Duration: 54 min 30 s
Bit rate mode: Constant
Bit rate: 768 kb / s
Channel (s): 6 channels
Channel layout: L R C LFE Ls Rs
Sampling rate: 48.0 kHz
FormatDate(Math(([Duration,0]+30)/86400),H"h" mm"m")
Then you can branch out in the display row expression and choose to show banner or text depending on HasLogoBanner value.
Save (tooltip: Actors // Clean ([Original Title], 3) / ([Year] /), v_CastImageLoc) Save (tooltip: Movie Logos // Clean ([Original Title] , 3) / ([Year] /) // logo, v_MovieLogo)
Save (src = "tooltip: Actors //////// Clean ([Original Title], 3) / ([Year] /) //////// [L1] ", v_CastImageLoc)
I tried to make some changes, but it didn't get any good :(
([=IsPlaying()]=[1] [Media Type]=[Audio])
<b><font color="#ffd500" "size="70">[IMDb Rating, 1]<//b> <b><font color="#0f55ff" "size="70">IfCase([Definition, 1], 2, 480p, SD)<//font><font color="#0f55ff" "size="70">IfCase([Definition, 1], 2, 576p, SD)<//font><font color="#0fffb9" "size="70">IfCase([Definition, 1], 2, 720p, HD)<//font><font color="#ffb90f" "size="70">IfCase([Definition, 1], 2, 1080p, FHD)<//font><font color="#ff0f55" "size="70">IfCase([Definition, 1], 2, 2160p, UHD)<//b><//font> <font color="C0C0C0" "size="70">[Year, 1]<//font> <b><font color="#ffd500" "size="70">FormatDate(Math(([Duration,0]+30)/86400),H"h" mm"m")<//font> <font color="#ffb90f" "size="30">[HD AUDIO, 1]<//b><br><b><font color="ffffff" "size="60">[Name, 1]<//b><//font>
IfCase([HD Audio, 1], 1, Atmos, @, DTS:X, X
IfCase([HD Audio], 8, Atmos, @, DTS:X, X)
<b>
<font size="70">
<font color="#ffd500">[IMDb Rating]</font>
<font color="#0f55ff">IfCase([Definition], 8, 480p, SD, 576p, SD)</font>
<font color="#0fffb9">IfCase([Definition], 8, 720p, HD)</font>
<font color="#ffb90f">IfCase([Definition], 8, 1080p, FHD)</font>
<font color="#ff0f55">IfCase([Definition], 8, 2160p, UHD)</font>
<font color="#C0C0C0">[Year]</font>
<font color="#ffd500">FormatDate(Math(([Duration,0]+30)/86400),H"h" mm"m")</font>
</font>
<font color="#ffb90f" size="30">IfCase([HD Audio], 8, Atmos, @, DTS:X, X)</font>
<br/>
<font color="#ffffff" size="60">[Name]</font>
</b>
<b><font size="70"><font color="#ffd500">[IMDb Rating]<//font> <font color="#0f55ff">IfCase([Definition], 8, 480p, SD, 576p, SD)<//font><font color="#0fffb9">IfCase([Definition], 8, 720p, HD)<//font><font color="#ffb90f">IfCase([Definition], 8, 1080p, FHD)<//font><font color="#ff0f55">IfCase([Definition], 8, 2160p, UHD)<//font> <font color="#C0C0C0">[Year]<//font> <font color="#ffd500">FormatDate(Math(([Duration,0]+30)/86400),H"h" mm"m")<//font><//font> <font color="#ffb90f" size="30">IfCase([HD Audio], 8, Atmos, @, DTS:X, X)<//font><br//><font color="#ffffff" size="60">[Name]<//font><//b>
</font></b>
to this <//font><//b>
ListClean(
ListClean(
If(IsEqual([HDR Format (MediaInfo)], Dolby Vision,8),Dolby Vision;,)/
If(IsEqual([HDR Format (MediaInfo)], HDR10+/ ,8),HDR10+;,)/
If(IsEqual([HDR Format (MediaInfo)], HDR10/ ,8),HDR10;,)/
If(IsEqual([HDR Format (MediaInfo)],no-hdr10,8),HDR;,)/
,3)/
,1)
ListContains([HDR Format],HDR)
[HDR10+] <== calculated field 1/0 if there is hdr10+ListContains([HDR Format],HDR10+)
[Dolby Vision] <== calculated field 1/0 if there is dolby visionIf(ListContains([HDR Format],Dolby Vision),1,)
Special fields (or stock populated outside MC) used:
ACTOR IMAGES
[Original Title] # Stock # Populated by MCUtils / ZRatings
[Cast Images] # User # Manual 1/0. Uses different folder to get images when set to 1 (0 default tmdb images, 1 character images are available)
GENERAL
[MPAA Rating] # Stock # Populated by MCUtils / ZRatings
[IMDb Votes] # User # Populated by ZRatings
[Popularity] # User # Populated by MCUtils / ZRatings
[Rotten Tomatoes] # User # Populated by MCUtils / ZRatings
[IMDB Rating] # User # Populated by MCUtils / ZRatings
[TMDB Rating] # User # Populated by MCUtils / ZRatings
[Version] User # String e.g. "Director's Cut"
[Genre] # User # Populated by MCUtils / ZRatings
[Country] # Stock # Populated by MCUtils / ZRatings
[Watched] # User # CalculatedCode: [Select]If(IsRange([Bookmark Percent], 0-9)/
,If(Compare([Number Plays],>,0),☑,)/
,If(IsRange([Bookmark Percent], 10-89),[Bookmark Percent]%,☑)/
)
[Description] # Stock # Populated by MCUtils / ZRatings
[Director] # Stock # Populated by MCUtils / ZRatings
[Screenwriter] # Stock # Populated by MCUtils / ZRatings
[Actors] # Stock # Populated by MCUtils / ZRatings
TECH
[HDR Format RAW] # User # Populated by SoT
[HDR Format] # User # CalculatedCode: [Select]ListClean(If(IsEqual([HDR Format RAW],no-hdr10),HDR,If(IsEqual([HDR Format RAW], Dolby Vision,8),DV;,)If(IsEqual([HDR Format RAW], HDR10+/ ,7),HDR10+;,)If(IsEqual([HDR Format RAW], HDR10/ ,7),HDR10;,)If(IsEqual([HDR Format RAW],no-hdr10,8),HDR;,)If(IsEqual([HDR Format RAW],hdr10,7),HDR10,)),3)
[Dolby Vision] # User # CalculatedCode: [Select]ListContains([HDR Format],DV)
[AR-Calculated # User # CalculatedCode: [Select]Save(Math(Trunc(Replace([Aspect Ratio],:, // ) + .005, 2)), v_AspectRatio)/
[Audio Tracks RAW] # User # Populated by SoT
IfCase([v_AspectRatio], 3, 1, empty, 1.38, 1.33, 1.68, 1.66, 1.80, 1.78, 1.87, 1.85, 2.36, 2.35, 2.40, 2.39)
[HD Audio] # User # CalculatedCode: [Select]If(IsEqual([Audio Tracks RAW],MLP,8),Atmos,)If(IsEqual([Audio Tracks RAW],DTS XLL X,8),DTS:X,)
[Studios] # Stock # Populated by MCUtils / ZRatings
[Publisher] # Stock # Populated by MCUtils / ZRatings
[Audio Codec] # User # CalculatedCode: [Select]IfCase([Compression],8,dts-hd,dts-hd,eac3,dolby digital,pcm,pcm,mp3,mp3,vorbis,vorbis,aac,aac,dts,dts,ac3,dolby digital,truehd,truehd,opus,opus,flac,flac,mp2,mpeg)
[Definition] # User # CalculatedCode: [Select]IfElse(Compare([Width],>,1920),4K,Compare([Width],>,1360),1080p,Or(Compare([Width],>,1024),Compare([Height],>,576)),720p,Compare(Left([FPS],2),=,25),576p,1,480p)
[HDR] # User # CalculatedCode: [Select]If(!IsEmpty([HDR Format]),1,0)
LINKS
[Movie Series] # User # Populated by MCUtils / ZRatings
[LINK_Genre_Movie]Code: [Select]If(IsEqual([Media Sub Type], Movie),Movies at Genre Replace(ListSort(ListLimit([Genre],2)),;,/ /// ),)
[LINK_Director]Code: [Select]If(IsEqual([Media Sub Type], Movie),Directed By ListItem([Director],0),)
[LINK_IMDb_Rating]Code: [Select]Movies Rated Math(Int([IMDb Rating])) in IMDb
[LINK_Year_Movie]Code: [Select]If(IsEqual([Media Sub Type],Movie),Movies Released in FormatDate([Date,0],year),)
Don't know if i missed or forgot something as this is manual work to share
E: SOT conf:Code: [Select]Audio Track Count RAW;Audio Language;Audio Tracks RAW;Extras;Subtitles;Video Codec;HDR Format RAW;Aspect Ratio
Code: [Select]ID;Language;Format;Title;Language;Format;HDR format;Display aspect ratio
Code: [Select]Audio;Audio;Audio;Audio;Text;Video;Video;Video
Thanks, I know that there can be used a "Checkbox" in the fields section, but this is only for the input. When I leave the field I see 1 or 0 as value. I'm asking if it is possible to see a marked checkbox instead of a 0 or 1. In normal a 0 or 1 will be used for changing the status of a checkbox. In this case the checkbox will be used for the input and the display is 0 or 1.
ListMix(Extract(2,[L1],/ [),,ListLimit([Actors],6))&datatype=[List]
And use that expression as a category in your view instead of [Actor]
I hope that new version of JRiver (.60) will collect proper aspect ratio of files. Then I'll pass using SoT.Yes, there will be native MC crop analysis . Though not yet published and not yet finalized I think that SoT mediainfo part can retire for most of the users at least.
Also, note that you can have ZRatings write the actor names to [Actors] and the Roles to a separate field like [ActorRoles]. It's in Settings->Field Mapping.ZStats is great and deserves this little advertisement. In this particular case I think that quoted solution is the better one though as it only require one manual step from user and database is in sync right away
After few hours of working with sample templates from this topic i created my own.Is it possible you could post your template.txt ?
Not very original but with all information I need.
Without Zelda it cannot be easily done. But some programming skills and patience in testing is needed :)
Thanks all for help. Great program for playing and organizing all my multimedia.