Page 1 of 1

How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 20 Sep 2023, 13:33
by Paolo57120
Bonjour, désoler je ne parle pas l'anglais,
je voudrais changer cela

{ drive }/Media/{ plex.id }

cela : /Media/TV Shows/Firefly {tmdb-1437}/Season 01/Firefly - S01E01 - Serenity
par : /Media/Série TV/Firefly {tmdb-1437}/Saison 01/Firefly - S01E01 - Serenity
et
cela : /Media/Movies/Avatar (2009) {tmdb-19995}/Avatar (2009)
par : /Media/Films/Avatar (2009) {tmdb-19995}/Avatar (2009)

merci pour votre aide

Re: Renommer

Posted: 20 Sep 2023, 14:09
by rednoah
e.g.

Format: Select all

{ drive }/Série TV/{ ~plex.id }

Format: Select all

{ drive }/Films/{ ~plex.id }
:arrow: Please read the {plex} format manual for details.

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 20 Sep 2023, 14:34
by Paolo57120
Merci beaucoup, cela fonctionne

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 22 Sep 2023, 09:47
by Paolo57120
Bonjour, j'ai encore besoin d'aide avec les séries tv le code ci dessus que vous m'avez donner ne fonctionne pas, je vous met une photo
de ce que je veux si c'est possible, je vous remercie d'avance
Image

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 22 Sep 2023, 12:20
by rednoah
e.g.

Format: Select all

Série TV/{plex.id[1]}/Saison {s.pad 2}/{emby.name}

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 04 Mar 2024, 14:10
by Paolo57120
Avec un peu de retard, Merci beaucoup rednoah

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 30 Oct 2024, 05:18
by Paolo57120
Bonjour, j'ai avec ce code : Série TV/{plex.id[1]}/Saison {s.pad 2}/{emby.name}

Image

et je voudrais ajouter la date après : 7JOURS POUR AGIR si c'est possible EXAMPLE :

Image

J'ai essayer mais ne n'y arrive pas.

Merci de votre aide

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 02 Nov 2024, 10:06
by rednoah
e.g.

Format: Select all

Série TV/{ ~plex.year.id }

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 04 Nov 2024, 23:15
by Paolo57120
Wow awesome thank you very much, rednoah

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 04 Nov 2024, 23:36
by Paolo57120
there is just a small error instead of saison in French it is season in english

and one last request I ask you, is it possible to capitalize the first letter of each word
thank you

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 05 Nov 2024, 00:39
by rednoah
e.g. taking control over each path component will take a little bit more code:

Format: Select all

Série TV/{ plex.year.id[1] }/{ 'Saison ' + s00 }/{ plex.name.upperInitial() }

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 05 Nov 2024, 04:09
by Paolo57120
Encore merci tout est comme je veux, au top

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 07 Nov 2024, 12:53
by Paolo57120
Hello, c'est encore moi,

For the films I have :

Format: Select all

{ drive }/Films/{n.colon(' - ')} ({y}){' CD'+pi}{subt} (tmdb-{movie.id})

Code: Select all

une lueur d'espoir (2011) (tmdb-52688)
I can't add a capital letter to each first word like TV Series, I added .upperInitial() and it doesn't work, a little help please, thank you

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 07 Nov 2024, 13:01
by rednoah
e.g.

Format: Select all

{ n.colon(' - ').upperInitial() }

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 07 Nov 2024, 13:07
by Paolo57120
Wow quelle rapidité, merci beaucoup

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 08 Nov 2024, 14:43
by Paolo57120
I just saw that there is a problem with the name of the tv series, each word in the name is not capitalized, after trying to modify it myself I can't do it, can you help me? help thanks

Format: Select all

Série TV/{ plex.year.id[1] }/{ 'Saison ' + s00 }/{ plex.name.upperInitial() } ({y})
Image

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 08 Nov 2024, 15:28
by rednoah
:idea: We could just add .upperInitial() and it'll work, except it'll work for the tvdb-12345 bit too:

Format: Select all

{ plex.year.id[1].upperInitial() }

Code: Select all

7 Jours Pour Agir (1998) {Tvdb-74540}


:arrow: It's probably easier to just not use plex[1] since you need more granular control in this case:

Format: Select all

Série TV/{ ny.upperInitial() } (tvdb-{ tvdbid })/{ 'Saison ' + s00 }/{ plex.name.upperInitial() } ({airdate})

Code: Select all

Série TV/7 Jours Pour Agir (1998) (tvdb-74540)/Saison 01/7 Jours Pour Agir - S01E01 - État De Siège (1998-10-07)

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 08 Nov 2024, 16:53
by Paolo57120
Better than I expected, you are a real chef, one last question is there a way to make a backup of all my customisations

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 09 Nov 2024, 01:40
by rednoah
Paolo57120 wrote: 08 Nov 2024, 16:53 Better than I expected, you are a real chef, one last question is there a way to make a backup of all my customisations
Do you mean to Backup and Restore Settings by any chance?

Re: How do I change the folder name of the Movies / TV Shows folder level when using the {plex} binding?

Posted: 09 Nov 2024, 07:02
by Paolo57120
Yes Backup and Restore Settings.
C'est fait merci pour le lien cela fonctionne.