#Languages spoken

1 messages Β· Page 1 of 1 (latest)

dense bane
#

Good morning,

I'm looking to add all the languages available in the world for the audios but I would like to prioritize to have one language displayed first in the list.
Is this possible?

example on the picture. I would like French to be always first

hardy glacierBOT
#

Please complete #938455615741775902 and someone from the community or one of our <@&938443185347244033> members will respond when they're available.

Including the meta.log from the beginning is a huge help use !logs for more information.

dense bane
oak cipher
#

Yea, you want to set the weight_fr variable

#

This shows you the weight assigned to each language, you want fr to have the highest weight so it appears first

#

So any number above 610

dense bane
#

oh thanks, I hadn't seen that option.
I'm going to test it

#

@oak cipher is it also possible to add all the languages of the iso 639 without necessarily adding them all in the languages variable ?

oak cipher
#

Not really, no

#

Unless you copy the defaults file and tweak it locally

dense bane
oak cipher
#

Is there a reason you want to do that?

#

If the criteria has changed (i.e. you now have fr as the highest weight, and a movie has fr), then the overlay will fix itself on the next run

dense bane
#

yes I modified the config of PMM and it is to remodel each overlay of each movie by excemple

oak cipher
#

you can use reapply_overlays: true which will force a reapply across the whole library, even if a movie/show doesn't need it

#

I would recommend you follow that up by running the plex bloat script to clean up the old posters, as neither PMM nor Plex remove them automatically

charred cloakBOT
dense bane
#

ok thanks for the info, I'll look into it

dense bane
#

@oak cipher other things completely different.
Is it possible to not display a rating that is equal to 0?

oak cipher
#

good question

#

I think you would need to copy the file and tweak it locally

charred dagger
#

Or sort out why the rating is getting set to 0, since aren't empty ratings skipped?

oak cipher
#

this is true

charred dagger
#

Is it maybe not 0, but getting trimmed on the left?

oak cipher
#

Can you provide the XML of the video file @dense bane

dense bane
#

yes

oak cipher
#

also maybe a log file

charred cloakBOT
#

Find meta.log in config/logs/

Drag it in the Discord thread - the whole thing, DO NOT EDIT IT

Log file too big? USE PASTEBIN or ZIP THE FILE

Still confused? Β―\(ツ)/Β―

dense bane
#

just meta.log ?

oak cipher
#

yup

#

and the XML file

dense bane
oak cipher
#

Interesting πŸ€”

charred dagger
#

Hey, Tarja! Do we get to argue about Tarja vs Annette vs Floor now? πŸ˜‰

oak cipher
#

So it's not a "null" rating, it's a legitimate rating of 0

dense bane
#

I have several that have the concern if you need xml

dense bane
#

another example

#

it has 0 rating on tmdb but displays 0%.

oak cipher
#

I'm not really sure what's going on here

charred dagger
#

I guess TMDB returns "no ratings" as "0.0" rather than null or not at all

oak cipher
#

the XML doesn't display the 0 rating

#

I think the "quick fix" is to change this to 0.1

charred dagger
#

maybe the XML filters out zeros, and the API doesn't

oak cipher
#

but that may have wider implications I guess

dense bane
#

after that it's not really serious but if in a future update, it can be fixed with pleasure πŸ™‚

oak cipher
#

This may be another one for the boss @sleek lance

dense bane
#

other things,
how does the regex for the video_format work?

I tried but I think it takes into account the maj and minusucule

oak cipher
#

I don't know what those two things are sorry

#

"maj" "minusucule" are new words to me

dense bane
#

fuck my translator

#

upper case and lower case

oak cipher
#

they are all case insensitive

#
        conditions:
          - key: remux
            value: '(?i)\bremux\b'
          - key: bluray
            value: '(?i)\b(blu[ ._-]?ray|bd|br|hd[ ._-]?dvd)\b'
          - key: web
            value: '(?i)web[ ._-]?(dl|rip)'
          - key: hdtv
            value: '(?i)\bhd[ ._-]?tv\b'
          - key: dvd
            value: '(?i)\bdvd\b'
          - key: sdtv
            value: '(?i)\bsd[ ._-]?tv\b'
dense bane
#

oh thank you for the example, it's perfect

#

and I'm not sure but I tested several times but the square style for languages don't work for me

oak cipher
#

I think that has been fixed in the nightly & develop branches

dense bane
#

Oh

oak cipher
#

but will be released with 1.18.4

dense bane
#

thanks$

oak cipher
#

You can try testing on nightly if you want πŸ™‚

dense bane
oak cipher
#

Just need Sohjiro to look at the 0% rating thing

dense bane
#

yes no worries

sleek lance
#

whats up

dense bane
#

here is the problem πŸ™‚

oak cipher
#

the "quick fix" idea was to change this to 0.1

#

maybe even a template variable to set minimum_rating and maximum_rating

sleek lance
#

in nightly 13 you can

  Movies:
    overlay_path:
      - pmm: ratings
        template_variables:
          rating1: critic
          rating2: audience
          rating3: user
          rating1_image: imdb
          rating2_image: rt_popcorn
          rating3_image: tmdb
          minimum_rating: 0.1
oak cipher
#

Yozora back at it again with the good ideas!

dense bane
#

thank you

oak cipher
#

keep an eye on #nightly-updates for 13 releasing πŸ™‚

dense bane
#

yes thanks πŸ™‚

sleek lance
#

i also added maximum_rating and fresh_rating

dense bane
#

What is fresh_rating for?

sleek lance
#

so for like rotten tomatoes over a 6.0 and it gets a different image

#

thats what im calling the fresh rating