More > JRiver Media Center 32 for Windows
Custom Tooltips/TheaterView Screens
lepa:
--- Quote from: Moe on May 02, 2023, 01:04:17 pm ---Also, what do you mean by "Replacing hard coded values with actual ratings".
--- End quote ---
First proto was just using hard coded rating values to visualize the thingy. Now it fetches ratings from the library at the same time it fetches the poster paths
I'm using fieldquery() to get all movies from my library which are recommended for the movie to be shown and this threesome is saved to zsRecommendations field. As this is very slow operation I can use zstats to do this calculation in the background or off hours for every movie.
Alternatively it can be calculated per movie when entering the movie screen. It takes 1-2 seconds for movie in my library. Smaller libraries are quicker of course. So configure variables are e.g. for those choices.
I use invisible CONFIGURATION expression at the start of the screen so all the options are quick to be found.
e.g. if I want to use zstats to get me the recommendations fields list(posterpath__imdb rating__tmdb rating) I can set v_RECOMMENDATIONS_IMAGES_ZSTATS to 1
Other current options
Show subtitles tech icons flag. If primary is not found then show secondary
--- Code: ---Save(Finnish, v_PRIMARY_LANG)/
Save(English, v_SECONDARY_LANG)/
--- End code ---
Set 1 to show posters instead of textual recommendations
--- Code: ---Save(1, v_USE_RECOMMENDATIONS_IMAGES)/
--- End code ---
Set 1 to not calculate posterpaths and ratings live. (zstats runs will update the data)
--- Code: ---Save(0, v_RECOMMENDATIONS_IMAGES_ZSTATS)/
--- End code ---
Set 1 to use thumbnail posters for (if big images seems to slow it down). you need to have [image file]-thumb.jpg images for this so default is 0 so basic [image file] value is used
--- Code: ---Save(0, v_THUMBS)/
--- End code ---
do FieldQuery() only every 30 days so the time consuming calculation is not done every time you enter the movie screen so there is no delay in x days
--- Code: ---Save(30, v_RECOMMENDATIONS_SCRAPE_EXPIRY)/
--- End code ---
Use normal actor images from tmdb or cast images for specific movie
--- Code: ---If([Cast Images,0],
Save(E://.MC Images//Movies//Clean([Original Title] /([Year]/))//Cast//, v_ACTOR_IMAGE_PATH),
Save(E://.MC Images//Actors//, v_ACTOR_IMAGE_PATH)
)
--- End code ---
Does that clear it?
I also use invisible varible definitions to create color schemes so i can change text colors and sizes etc from one place and only once
Moe:
It helps a little.
To be clear, my lack of understanding is due to my ignorance and not your explanations.
I wasn't familiar with the fieldquery() function, I've never seen CONFIGURATION stuff before and I definitely have some reading to do about zstats. As, I said, I am quite out of the loop ;D
lepa:
--- Quote from: Moe on May 02, 2023, 02:40:07 pm --- I've never seen CONFIGURATION stuff before
--- End quote ---
That is just something I invented to help my maintenance as actor folders etc might be different for different user. so it is easier to save path to variable and create one place all these variables are set
ZStats is great to do time consuming calculations in the background or beforehand
lepa:
Spend some time with music playing now screens (screen filtered audio + isplaying())
SkGe:
@Lepa. I have a question related to your view. When you add the similar artist on that info panel, you have the image and belllow you have their names included. Can you share the expression or how you did to add their names bellow? I have something similar on my info for artist but i struggle to add their names bellow the image related to the specific artist.
Thanks.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version