need help! how to use filebot on Container manager (DSM7.2.2)

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

i try to download and setting up many times, it doesn't work when i start... a few seconds stop, i can't run terminal for run script.

i'm newbie of this, i want to do Hardlink in NAS DS224+(DSM7.2.2)

if it works i will purchase the license
User avatar
rednoah
The Source
Posts: 24214
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by rednoah »

:?: What have you tried so far? Where are you stuck? Screenshots?


:idea: If you're using Windows, then I would recommend using the FileBot Desktop application and then simply hardlink files remotely via a SMB network share. Both Synology NAS on the server-side and Windows 11 on the client-side do support the SMB unix extensions that allow you to create hardlinks via SMB. See [FAQ] What is a hardlink? › Notes on SMB network shares for details.


:idea: If you must run a Linux Desktop with FileBot inside a container on your Synology NAS and connect to that remotely, then you can use the filebot-xpra container.

EDIT
:arrow: [DOCKER] How do I run the FileBot Desktop application on my Synology NAS?
:idea: Please read the FAQ and How to Request Help.
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

ScreenshotScreenshotScreenshotScreenshotScreenshotScreenshot


This is my setting, is it correct?
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

i think it's about license, actually i need to try it first, if it works i can support lifetime license, Hardlink function can't use free trial isn't?
User avatar
rednoah
The Source
Posts: 24214
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by rednoah »

:!: Your settings are so completely wrong - in many ways - in ways that are not obvious to non-technical users - I don't even know where to start. Did you use ChatGPT by any chance? Better to just scrap and forget everything you have so far and start from scratch.


:idea: I did try to run the rednoah/filebot:xpra container on my Synology NAS, and did indeed run into Synology-specific issues with disabled ports, ACL permissions, etc. But you just need to read every error message and then re-configure accordingly until it works.


:arrow: Please follow the [DOCKER] How do I run the FileBot Desktop application on my Synology NAS? tutorial I have written for you. There's not much too it. Create project, copy & paste the docker-compose.yml and change the volume mapping to your media folder.

Screenshot





Kunanon wrote: 15 Oct 2025, 03:05 i think it's about license, actually i need to try it first, if it works i can support lifetime license, Hardlink function can't use free trial isn't?
:idea: Your docker issues are completely unrelated to FileBot licensing. When you see and are able to use the Desktop application, and try to hardlink files, then FileBot will ask for a license. Please read How do I evaluate FileBot? for details. That said, the first step in evaluating FileBot is to actually see the application, click on buttons, load files, etc.

Screenshot





EDIT
If you wan to access the filebot-xpra container via your custom domain from the internet, then you will also need to figure out port forwarding and security. The instructions don't cover that. I recommend sticking to the local network, for latency, for security, for simplicity, etc. That does not require a license.
:idea: Please read the FAQ and How to Request Help.
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

rednoah wrote: 15 Oct 2025, 06:48 :!: Your settings are so completely wrong - in many ways - in ways that are not obvious to non-technical users - I don't even know where to start. Did you use ChatGPT by any chance? Better to just scrap and forget everything you have so far and start from scratch.

Yes it is, i ask ChatGPT help to setting and run script,

so if i use Synology[DSM7.2.2], i should download image xpra only or lastest,node can use it also
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

now i already bought license 1 year, i have license.psm file

if i want to run with script can you help me please?

i can write path if you want.
User avatar
rednoah
The Source
Posts: 24214
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by rednoah »

Kunanon wrote: 16 Oct 2025, 08:37 if i want to run with script can you help me please?
:?: What exactly are you trying to do? What "script" do you want to run to run to achieve that goal?


:?: Perhaps the amc script via FileBot Node?

Screenshot
:idea: Please read the FAQ and How to Request Help.
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

Shell: Select all

#!/bin/bash
# =========================================
# FileBot Hardlink Organizer for Plex (Smart Version)
# =========================================

INPUT="/volume1/Art/Entertainment"
OUTPUT="/volume1/Art/Entertainment1"
CONFIG="/docker/filebot"
CONTAINER="filebot-node"

# ตั้งค่า log
mkdir -p "$CONFIG/logs"
LOGFILE="$CONFIG/logs/filebot_$(date +%Y%m%d_%H%M).log"

echo "==============================="
echo "🚀 FileBot Hardlink Organizer"
echo "==============================="
date

# -------------------------------
# 1️⃣ โฟลเดอร์ที่ไม่ต้อง rename
# -------------------------------
echo "=== Step 1: Hardlink (No Rename) ==="
mkdir -p "$OUTPUT/Adult" "$OUTPUT/Learning"

rsync -avh --link-dest="$INPUT/ADULT" "$INPUT/ADULT/" "$OUTPUT/Adult/" >> "$LOGFILE" 2>&1
rsync -avh --link-dest="$INPUT/Education" "$INPUT/Education/" "$OUTPUT/Learning/" >> "$LOGFILE" 2>&1

# -------------------------------
# 2️⃣ Anime (ใช้ AniDB)
# -------------------------------
echo "=== Step 2: Anime (AniDB) ==="
docker exec -i "$CONTAINER" timeout 900 filebot -script fn:amc \
--output "/output" \
--action hardlink \
--conflict auto \
--lang en \
--db AniDB \
--def \
    animeFormat="Anime/{n} ({y})/{n} - {s00e00} - {t}" \
    unsorted=y \
    music=n \
    artwork=n \
    excludeList="/config/amc_ani.txt" \
--log all \
"/input/Anime" "/input/One Piece The Movie" >> "$LOGFILE" 2>&1

# -------------------------------
# 3️⃣ Series (ใช้ TheTVDB)
# -------------------------------
echo "=== Step 3: Series (TheTVDB) ==="
docker exec -i "$CONTAINER" timeout 900 filebot -script fn:amc \
--output "/output" \
--action hardlink \
--conflict auto \
--lang en \
--db TheTVDB \
--def \
    seriesFormat="Series/{n} ({y})/{n} - {s00e00} - {t}" \
    unsorted=y \
    music=n \
    artwork=n \
    excludeList="/config/amc_tv.txt" \
--log all \
"/input/Inter Series" "/input/Korean Series" >> "$LOGFILE" 2>&1

# -------------------------------
# 4️⃣ Movies (ใช้ TheMovieDB)
# -------------------------------
echo "=== Step 4: Movies (TheMovieDB) ==="
docker exec -i "$CONTAINER" timeout 900 filebot -script fn:amc \
--output "/output" \
--action hardlink \
--conflict auto \
--lang en \
--db TheMovieDB \
--def \
    movieFormat="Movies/{n} ({y})" \
    unsorted=y \
    music=n \
    artwork=n \
    excludeList="/config/amc_movie.txt" \
--log all \
"/input/Movies" >> "$LOGFILE" 2>&1

# -------------------------------
# ✅ สรุปผล
# -------------------------------
echo "======================================="
echo "✅ FileBot Hardlink Completed!"
echo "📁 Output: $OUTPUT"
echo "🧾 Log: $LOGFILE"
echo "======================================="

___________________________________________________

is this correct command?

i don't know but i would like to try make a script hardlink.sh file to run everyday or somethink like this

should i run it on container manager?
___________________________________________________
User avatar
rednoah
The Source
Posts: 24214
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by rednoah »

Kunanon wrote: 16 Oct 2025, 14:12 is this correct command?
:!: Sorry, I can't help you read / rewrite / test / etc AI generated code.

:idea: If you understand the code, know what it does, then run it, then check the output, then ask any question specifically relating to a filebot command and what it's doing / or not doing, then I might be able to help with that.


Kunanon wrote: 16 Oct 2025, 14:12 should i run it on container manager?
:!: This question does not make sense to me. The code you posted is a bash script. It seems to use the docker command to run filebot commands inside a container. The latter makes little to no sense, given that filebot packages are available for Synology DSM.


Kunanon wrote: 16 Oct 2025, 14:12 i don't know but i would like to try make a script hardlink.sh file to run everyday or somethink like this
:arrow: If you want to organize movies and episodes into a new structure using hardlinks on a schedule, then I highly recommend just following the [DOCS] Unattended Automation with FileBot Node tutorial. You just install FileBot and FileBot Node via the Package Center and then set up a scheduled task via the FileBot Node WebUI. Maybe do a few test runs first, but that's about it.
:idea: Please read the FAQ and How to Request Help.
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

1. i do install all of your suggest from Package Center
2.for Example I have multiple input folder
Volume1/Art/Entertainment/Anime
Volume1/Art/Entertainment/Movies
Volume1/Art/Entertainment/Inter Series
Volume1/Art/Entertainment/Korean Series

i need to do auto matching plex pattern by main folder Volume1/Art/Entertainment to generate to
Volume1/Art/Entertainment1/Anime
Volume1/Art/Entertainment1/Movies
Volume1/Art/Entertainment1/Series (all series from Inter,Korean Series)

what should i do
User avatar
rednoah
The Source
Posts: 24214
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by rednoah »

What have you tried so far? Why not just use /Volume1/Art/Entertainment as input folder?
:idea: Please read the FAQ and How to Request Help.
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

rednoah wrote: 16 Oct 2025, 17:23 What have you tried so far? Why not just use /Volume1/Art/Entertainment as input folder?
i tried to use that path, now i found a problem some folder cannot fetching data

ScreenshotScreenshotScreenshotScreenshot
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

rednoah wrote: 16 Oct 2025, 17:23 What have you tried so far? Why not just use /Volume1/Art/Entertainment as input folder?
i want to try folder by folder how's it work
User avatar
rednoah
The Source
Posts: 24214
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by rednoah »

:idea: Looking at the screenshot above, looks like everything is working as expected. The English-language content is identified just fine as expected. The Thai-language content is tricky. I would not be able to identify that series either.


:?: Is it a Thai series? Is a Japanese series using Thai for file naming? Does the series have a TheMovieDB series entry? Does this series entry have Thai-language information?


:idea: If you set FileBot to use Thai as working language (NOTE: you have configured English) then it might (or might not) work better for files using Thai file names.


:idea: You may prefer to use the FileBot Desktop application for tricky files name. Please read [DOCS] Linear Rename for how I might approach this task.
:idea: Please read the FAQ and How to Request Help.
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

rednoah wrote: 17 Oct 2025, 07:42 :idea: Looking at the screenshot above, looks like everything is working as expected. The English-language content is identified just fine as expected. The Thai-language content is tricky. I would not be able to identify that series either.


:?: Is it a Thai series? Is a Japanese series using Thai for file naming? Does the series have a TheMovieDB series entry? Does this series entry have Thai-language information?


:idea: If you set FileBot to use Thai as working language (NOTE: you have configured English) then it might (or might not) work better for files using Thai file names.


:idea: You may prefer to use the FileBot Desktop application for tricky files name. Please read [DOCS] Linear Rename for how I might approach this task.
it's Detective Conan

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

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by rednoah »

I see. The Thai name for Detective Conan is ยอดนักสืบจิ๋วโคนัน. If you use that as folder name verbatim then it'll probably work a bit better. Your folder name seems to have some extra words added after the series name that are not part of the series name (FileBot does not know that) and that probably throws off search.
:idea: Please read the FAQ and How to Request Help.
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

rednoah wrote: 17 Oct 2025, 07:58 I see. The Thai name for Detective Conan is ยอดนักสืบจิ๋วโคนัน. If you use that as folder name verbatim then it'll probably work a bit better. Your folder name seems to have some extra words added after the series name that are not part of the series name (FileBot does not know that) and that probably throws off search.
Do you have any suggestion?

Screenshot

i don't want to change the name of folder.
User avatar
rednoah
The Source
Posts: 24214
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by rednoah »

Kunanon wrote: 17 Oct 2025, 08:08 i don't want to change the name of folder.
:idea: You may prefer to use the FileBot Desktop application for tricky file names. Please read [DOCS] Linear Rename for how I might approach this task.

:idea: If you must use FileBot Node then you can use Detective Conan as Query Expression to force a specific search query for a one-time task. See Match Options for details.

:idea: If you want fully automatic processing on misleading folder names / file names then you are unfortunately out-of-luck. You need to either rename the folder for automatic series detection to work, or you need to manually enter the correct series name.
:idea: Please read the FAQ and How to Request Help.
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

rednoah wrote: 17 Oct 2025, 08:15
Kunanon wrote: 17 Oct 2025, 08:08 i don't want to change the name of folder.
:idea: You may prefer to use the FileBot Desktop application for tricky file names. Please read [DOCS] Linear Rename for how I might approach this task.

:idea: If you must use FileBot Node then you can use Detective Conan as Query Expression to force a specific search query for a one-time task. See Match Options for details.

:idea: If you want fully automatic processing on misleading folder names / file names then you are unfortunately out-of-luck. You need to either rename the folder for automatic series detection to work, or you need to manually enter the correct series name.
i'm so sorry for disturb you, but i don't understand how it works

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

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by rednoah »

1
DO type Detective Conan into Query Expression.

:idea: 72454 also works as Query Expression if you have selected TheTVDB as your preferred Series Database.


2
DO NOT type anything into Match Mapper. Please keep this option empty if you haven't yet read up on what this option does.





EDIT
:idea: I ran some tests with a folder named ยอดนักสืบจิ๋วโคนัน เดอะซีรีส and it works. That's because TMDB search "ยอดนักสืบจิ๋วโคนัน เดอะซีรีส" works. Looks like everything just works out-of-the-box if you stick to default settings.

:!: You are using TheTVDB and that does not work because TVDB search "ยอดนักสืบจิ๋วโคนัน เดอะซีรีส" does not work. I recommend sticking to the default settings (which use TMDB and not TVDB) especially if you're trying to identify non-English file names. TMDB generally works better for that.
:idea: Please read the FAQ and How to Request Help.
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

rednoah wrote: 17 Oct 2025, 09:09
1
DO type Detective Conan into Query Expression.

:idea: 72454 also works as Query Expression if you have selected TheTVDB as your preferred Series Database.


2
DO NOT type anything into Match Mapper. Please keep this option empty if you haven't yet read up on what this option does.





EDIT
:idea: I ran some tests with a folder named ยอดนักสืบจิ๋วโคนัน เดอะซีรีส and it works. That's because TMDB search "ยอดนักสืบจิ๋วโคนัน เดอะซีรีส" works. Looks like everything just works out-of-the-box if you stick to default settings.

:!: You are using TheTVDB and that does not work because TVDB search "ยอดนักสืบจิ๋วโคนัน เดอะซีรีส" does not work. I recommend sticking to the default settings (which use TMDB and not TVDB) especially if you're trying to identify non-English file names. TMDB generally works better for that.
Oh Thank you sir, i successs to do it because of you.
Kunanon
Posts: 14
Joined: 14 Oct 2025, 16:37

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by Kunanon »

one more question,

the folder i just want to Hardlink the original file only(no rename etc.)

it's made a folder Unsorted auto. how can i setting hardlink without create Unsorted folder.
User avatar
rednoah
The Source
Posts: 24214
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: need help! how to use filebot on Container manager (DSM7.2.2)

Post by rednoah »

:idea: You can use Plain File Mode to process files without matching them to an online database.

:idea: The amc script is not really designed for that but I guess you can make it work by using Input Type = other. That should force all files to be processed as Unsorted using your Unsorted Format which defines the file path and file name of the hardlinks you're creating:

Format: Select all

/path/to/hardlinks/{fn}
:idea: Please read the FAQ and How to Request Help.
Post Reply