#metadata in a different language based on audio from media

1 messages · Page 1 of 1 (latest)

silent crown
#

Greetings guys!

I was using an old, old, old version of PMM with some personnal confuguration I had gleened around here. I replaced everything with the awesome default things you included in PMM. Doing that I erased something my users found useful...

My libraries & Plex use English by default, but I would like to have the metadata of movies & tv shows that have a French audio track into French instead of English. How can I do this with the current PMM functions ?

PMM is 1.19.0 running in docker on linux.

Best regards!

jovial mortarBOT
#

Welcome!

Someone from <@&938443185347244033> will assist when they're available.

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

#

You can press the "Close Post" button above or type !close at any time to close this post.

silent crown
#

Wondering if someone can point me in the right direction.

I'm looking to see how to use the item_metadata_language in a collection.

faint lantern
#

How were you doing this, and what happens when you try the same method now?

#

I would imagine something like:

collections:
  Set French Metadata:
    build_collection: false
    plex_search:
      audio_language: French
    item_metadata_language: fr-FR
silent crown
#

That's actually my problem ... got a server crash and my backups did not contain my pmm configs 😐

This is what I had come up from looking around:

collections:
  Audio Francais:
    plex_search:
      all:
        audio_language: fr
    item_metadata_language: fr-CA
    item_refresh: true

I'll try the audio_language: French and the plex_search instead. Thanks @faint lantern !
Edit to use plex_search instead of smart_filter as per Mr. Carrot & @burnt summit examples

silent crown
#

Got an error on audio_language, it requires the two letter code, i'll be back tomorrow after tomorrow's run

burnt summit
#
      all:
        any:
          audio_language: it
          label: Film-Ita-Assign
        label.not: Film-Refreshato
    item_metadata_language: it-IT
    item_refresh: true
    item_label: Film-Refreshato```
i also add a label to things i refresh so i only refresh them once, otherwise i think it refreshes the whole collection every run
silent crown
#

This can be closed, I confirm that my code above works for my intent. Thanks for the help @faint lantern &@burnt summit !