How to remove "Movies" folder from {plex} binding?

Support for Ubuntu and other Desktop Linux distributions
Post Reply
thempus
Posts: 2
Joined: 12 Jun 2019, 09:02

How to remove "Movies" folder from {plex} binding?

Post by thempus » 12 Jun 2019, 09:18

Hey guys,

Code: Select all

Ubuntu 18.04
Filebot CLI 4.7.9
I have my existing Structure. /media/movie/movie - "Year" - "source".mkv
So i try to run filebot to rename all my media to /media/movie (Year)/movie (year) (Source).mkv

i tried using this the plex tag, but it will create some folders i dont want:

Command:

Code: Select all

filebot -rename {} --lang de --action test --output "/media/" --format {plex}
Output:

Code: Select all

Auto-detect movie from context: [/media/2010/2010 - Das Jahr, in dem wir Kontakt aufnehmen - 1984 - HDTV-1080p.mkv]
[TEST] From [/media/2010/2010 - Das Jahr, in dem wir Kontakt aufnehmen - 1984 - HDTV-1080p.mkv] to [/media/[b]Movies[/b]/2010 - Das Jahr, in dem wir Kontakt aufnehmen (1984)/2010 - Das Jahr, in dem wir Kontakt aufnehmen (1984).mkv]
Processed 1 files
And i tried something like this:
Command:

Code: Select all

filebot -rename {} --lang de --action test --output "/media/" --format {}"{ny}/{ny} {source}-{vf}"
Output:

Code: Select all

Auto-detect movie from context: [/media/2010/2010 - Das Jahr, in dem wir Kontakt aufnehmen - 1984 - HDTV-1080p.mkv]
[TEST] From [/media/2010/2010 - Das Jahr, in dem wir Kontakt aufnehmen - 1984 - HDTV-1080p.mkv] to [/media/[b]20102010[/b] - Das Jahr, in dem wir Kontakt aufnehmen (1984)/2010 - Das Jahr, in dem wir Kontakt aufnehmen (1984) HDTV-.mkv]
I highlighted the parts, what i want to change.
So its kinda weird and im out of ideas. Any Hint/help would be appreciated :)

User avatar
rednoah
The Source
Posts: 16415
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename existing Structure (/media/movie1/movie1.mkv) with CLI

Post by rednoah » 12 Jun 2019, 10:11

The {plex} binding docs will help:
viewtopic.php?f=5&t=4116

e.g.

Code: Select all

--format {plex.tail}
:idea: Please read the FAQ and How to Request Help.

thempus
Posts: 2
Joined: 12 Jun 2019, 09:02

Re: How to remove "Movies" folder from {plex} binding?

Post by thempus » 12 Jun 2019, 11:01

How come i haven't seen that.... anyways, thank you very much. that did it :)

Post Reply