Bad movieFormat value and bad seriesFormat value

Support for unRAID and docker container users
Post Reply
updatefreak
Posts: 12
Joined: 03 Aug 2023, 21:16

Bad movieFormat value and bad seriesFormat value

Post by updatefreak »

Hi,

I use the following docker compose for FileBot:

yaml: Select all

services:
  filebot:
    container_name: FileBot
    image: jlesage/filebot
    ports:
      - 5802:5800
    volumes:
      - /volume1/docker/filebot:/config:rw
      - /volume1:/storage:rw
    environment:
      - USER_ID=1026
      - GROUP_ID=100
      - LANG=de_DE.UTF-8
      - TZ=Europe/Berlin
      - FILEBOT_GUI=0
      - AMC_ACTION=move
      - AMC_CONFLICT=skip
      - AMC_LANG=German
      - AMC_MOVIE_FORMAT="Filme/{~emby}"
      - AMC_SERIES_FORMAT="Serien/{~emby}"
      - AMC_PROCESS_MUSIC=n
      - AMC_CUSTOM_OPTIONS=--def mail=mail.gmx.net:587:[email protected]:[email protected]:Passwort
      - AMC_INPUT_DIR=/storage/docker/jdownloader2/output/ok
      - AMC_OUTPUT_DIR=/storage/Videos
    restart: always
In the log I got this messages:

Code: Select all

[amc         ] Parameter: movieFormat = "Filme/{~emby}"
[amc         ] Bad movieFormat value: "Filme/{~emby}"
[amc         ] Parameter: musicFormat = {plex}
[amc         ] Parameter: seriesFormat = "Serien/{~emby}"
[amc         ] Bad seriesFormat value: "Serien/{~emby}"
[amc         ] Parameter: animeFormat = {plex}

[...]

[amc         ] Stripping invalid characters from the output file path: /storage/Videos/"Filme/Example (2025)/Example (2025)".mkv
Is then only the problem that I have to remove the " in the docker compose?
Generally I use it in Emby, but I saw here also plex.
User avatar
rednoah
The Source
Posts: 24136
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Bad movieFormat value and bad seriesFormat value

Post by rednoah »

:idea: Quoting argument values with "..." is a command-line thing. See Cmdline and Argument Passing for details.


:idea: According to the log, the "..." seem be passed in literally as part of the format code, so that suggests that your YAML file is incorrect:

Code: Select all

Bad movieFormat value: "Filme/{~emby}"

:arrow: You're already not using quotes for your AMC_CUSTOM_OPTIONS parameter, so assuming that that works as expected, just drop to quotes:

yaml: Select all

      - AMC_MOVIE_FORMAT=Filme/{~emby}
      - AMC_SERIES_FORMAT=Serien/{~emby}
      - AMC_CUSTOM_OPTIONS=--def mail=mail.gmx.net:587:[email protected]:[email protected]:Passwort
:idea: Please read the FAQ and How to Request Help.
updatefreak
Posts: 12
Joined: 03 Aug 2023, 21:16

Re: Bad movieFormat value and bad seriesFormat value

Post by updatefreak »

thanks a lot for the quick reply.
Yes, AMC_CUSTOM_OPTIONS works as expected.
So I will also remove the "
Post Reply