More > JRiver Media Center 32 for Windows
Custom Tooltips/TheaterView Screens
Moe:
Just wanted to give a heads up that McUtils has been updated, it can now get images from Fanart.tv. This allows you to get Logos (my favorite), banners, posters, backgrounds and more. Works for both TV and movies.
arcspin:
Thank you Moe for this update.
I will for sure look into this.
Any tips how to get this up and running?
Lepa, any eta for a template how to set up similar movies?
Best regards,
arcspin
Moe:
It's a pretty simple config for this. So, you set up your config which is basically saying where you want the files saved and what name you want them saved as. Then running the command to get the image that you want.
As an example, here is a part of my config file
--- Code: --- #Use this path for testing
#download_location => '$DESKTOP/mcutils_data/fanart_images',
#Use this path for production
download_location => '[FanartPath]',
movies => {
# default max number of movie category images
max_images => 1,
categories => {
hdmovieclearart => {
# overrides default max_images above for this category
# max_images => 3,
# overrides the name of this image download name to "movie_hdca"
name => 'clearart',
},
hdmovielogo => {
name => 'logo',
},
movieart => {
name => 'fanart',
},
moviebackground => {
name => 'landscape',
},
moviebanner => {
name => 'banner',
},
movielogo => {
name => 'logo2',
},
movieposter => {
name => 'poster',
},
moviethumb => { },
name => 'thumb',
},
},
tv => {
# default max number of tv category images
max_images => 1,
categories => {
seasonthumb => { },
hdtvlogo => {
name => 'logo',
},
--- End code ---
That [FanartPath] field up above is a custom field the I created that saves the images into the correct folder for my setup. It has this value:
--- Code: ---regex([Filename (path)], /#(^[^\\]+?\\[^\\]+?\\)#/,-1,0)[R1]
--- End code ---
Mine is more complicated than necessary, MrC simplified things after I had made that. You can now tell the script where you want things stored for movies and TV separately, my custom field works for both movies and TV.
After your config is setup then you just run commands like these
--- Code: ---pscriptor fanarttv --image hdtvlogo --type tv -VV
pscriptor fanarttv --image hdmovielogo --type movie -VV
pscriptor fanarttv --image movieposter --type movie -VV
--- End code ---
Something new with this script you can substitute the type with "fromsubtype" which will use the Media Sub Type to determine if your file is a movie or TV show. This allows you to select both movie and TV shows at the same time and then you can run something like this
--- Code: ---pscriptor fanarttv --image moviebanner --image tvbanner:3 -FF type fromsubtype
--- End code ---
Which will pull down however many moviebanners you've set in your config for any movie files selected and pull down 3 tvbanners for any TV shows selected.
lepa:
Movie (Actor: Names) v1.2.0
- Created for zoom level 80%
- "Hack" font is used when fixed size font is needed
Configuration:
v_PRIMARY_LANG
- Set primary sub language
v_SECONDARY_LANG
- Set secondary sub language
v_USE_RECOMMENDATIONS_IMAGES
- Use images for recommendations
v_RECOMMENDATIONS_IMAGES_ZSTATS
- Recommendation data created with zstats
v_THUMBS
- Use poster thumbnails ([Imagepath]-thumb.jpg)
v_RECOMMENDATIONS_SCRAPE_EXPIRY
- How often (days) to query recommendations posters:
v_ACTOR_IMAGE_PATH
- path to actor images
field [Cast Images]: 1 / 0, cast images / generic actor images
fields used to show Recommendations:
[Recommendations]
- scraped with MCUtils from TMDb
- List of all recommendations for movie in question
- format: "movie name [1999-12-17]"
[zsRecommendations]
- calculated only every v_RECOMMENDATIONS_SCRAPE_EXPIRY days for snappier page open or when doing ZStats run
- List of poster image paths for movies in your library to be shown. Only recommendations from your library is shown
[RecScrapedDate]
- calculated when entering movie screen
- date zsRecommendations was last constructed so the fieldquery is not done everytime when entering screen
[NameYear]
- calculated field to collect poster image paths and ratings of the recommended movies
- rule: [Name] /[FormatDate([date (release),0],yyyy-MM-dd)/]__[image file]__[IMDb Rating]__[TMDb Rating]
Other fields, image pack etc... see first post
E:
02.05.2023 V1.2.0 Changed NameYear calculation rule to support imdb and tmdb rating fields. updated zstats ini for offline calculation
02.05.2023 Added NameYear description
23.04.2023 v1.1 Added borders for recommendations posters. tooltip images 1.3 (first post) needed (Misc/Separator/dot.png)
23.04.2023 Added some documentation and Zstats ini file
lepa:
updated with some more documentation for recommendations system and template 2 to version 1.1: borders for posters.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version