After a few days of attempting to resolve this issue using informaiton online I decided that I need help. My problem is that whenever I enter the file path for my amc script in the 'Run external program on torrent completion' field in qBittorrent, the script won't run no matter what. Some details:
I'm running qBittorrent-nox on a Raspberry Pi 4B. My Synology NAS is mounted via NFS into my /mnt folder on my Raspberry Pi. And the amc script is stored on my RPi.
Here is my script:
Code: Select all
#!/bin/bash
#Filebot AMC script
filebot -script 'fn:amc' \
--output "/mnt/Synology" \
--action move \
--conflict index -non-strict "/mnt/Synology/Completed" \
--order Airdate \
--lang en \
--def music="n" \
--def unsorted="y" \
--def clean="y" \
--def skipExtract="y" \
--def ignore=".srt|.exe|.txt" \
--def seriesFormat="/mnt/Synology/Library/Plex Media/TV Shows/{n} ({y})/{'\''Season '\''+s}/{n.space('\''.'\'')}.{s00e00}" \
--def movieFormat="/mnt/Synology/Library/Plex Media/{vf =~ /2160p/ ? '4K UHD Movies' : 'Movies'}/{n} ({y})/{n} ({y})" \
--def movieDB="TheMovieDB" \
--def seriesDB="TheTVDB" \
--def excludeList=".excludes" \
--apply refresh \
--log all \
--log-file /mnt/Synology/Misc/Filebot/logs/filebot.log;
Code: Select all
Run script [fn:amc] at [Sat Dec 17 11:53:30 GMT 2022]
Parameter: music = n
Parameter: unsorted = y
Parameter: clean = y
Parameter: skipExtract = y
Parameter: ignore = .srt|.exe|.txt
Parameter: seriesFormat = /mnt/Synology/Library/Plex Media/TV Shows/{n} ({y})/{'\''Season '\''+s}/{n.space('\''.'\'')}.{s00e00}
Parameter: movieFormat = /mnt/Synology/Library/Plex Media/{vf =~ /2160p/ ? '4K UHD Movies' : 'Movies'}/{n} ({y})/{n} ({y})
Parameter: movieDB = TheMovieDB
Parameter: seriesDB = TheTVDB
Parameter: excludeList = .excludes
Argument[0]: /mnt/Synology/Completed
Use excludes: /mnt/Synology/.excludes (0)
Ignore pattern: /mnt/Synology/Completed/American.Hustle.2013.1080p.BluRay.x264-SPARKS/RARBG.com.txt
Ignore pattern: /mnt/Synology/Completed/Avengers.Infinity.War.2018.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ/RARBG.txt
Ignore pattern: /mnt/Synology/Completed/The.Avengers.2012.PROPER.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ/RARBG.txt
Input: /mnt/Synology/Completed/American.Hustle.2013.1080p.BluRay.x264-SPARKS/american.hustle.2013.1080p.bluray.x264-sparks.mkv
Input: /mnt/Synology/Completed/Avengers.Infinity.War.2018.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ/Avengers.Infinity.War.2018.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ.mkv
Input: /mnt/Synology/Completed/The.Avengers.2012.PROPER.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ/The.Avengers.2012.PROPER.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ.mkv
Group: {Movie=American Hustle (2013)} => [american.hustle.2013.1080p.bluray.x264-sparks.mkv]
Group: {Movie=Avengers: Infinity War (2018)} => [Avengers.Infinity.War.2018.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ.mkv]
Group: {Movie=The Avengers (2012)} => [The.Avengers.2012.PROPER.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ.mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context [/mnt/Synology/Completed/American.Hustle.2013.1080p.BluRay.x264-SPARKS/american.hustle.2013.1080p.bluray.x264-sparks.mkv]
[MOVE] from [/mnt/Synology/Completed/American.Hustle.2013.1080p.BluRay.x264-SPARKS/american.hustle.2013.1080p.bluray.x264-sparks.mkv] to [/mnt/Synology/Library/Plex Media/Movies/American Hustle (2013)/American Hustle (2013).mkv]
Failed to set xattr: /mnt/Synology/Library/Plex Media/Movies/American Hustle (2013)/American Hustle (2013).mkv: Error writing extended attribute 'net.filebot.metadata': Operation not supported
Processed 1 file
Rename movies using [TheMovieDB]
Auto-detect movie from context [/mnt/Synology/Completed/Avengers.Infinity.War.2018.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ/Avengers.Infinity.War.2018.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ.mkv]
Stripping invalid characters from the output file path: /mnt/Synology/Library/Plex Media/Movies/Avengers: Infinity War (2018)/Avengers: Infinity War (2018).mkv
[MOVE] from [/mnt/Synology/Completed/Avengers.Infinity.War.2018.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ/Avengers.Infinity.War.2018.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ.mkv] to [/mnt/Synology/Library/Plex Media/Movies/Avengers Infinity War (2018)/Avengers Infinity War (2018).mkv]
Failed to set xattr: /mnt/Synology/Library/Plex Media/Movies/Avengers Infinity War (2018)/Avengers Infinity War (2018).mkv: Error writing extended attribute 'net.filebot.metadata': Operation not supported
Processed 1 file
Rename movies using [TheMovieDB]
Auto-detect movie from context [/mnt/Synology/Completed/The.Avengers.2012.PROPER.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ/The.Avengers.2012.PROPER.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ.mkv]
[MOVE] from [/mnt/Synology/Completed/The.Avengers.2012.PROPER.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ/The.Avengers.2012.PROPER.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ.mkv] to [/mnt/Synology/Library/Plex Media/Movies/The Avengers (2012)/The Avengers (2012).mkv]
Failed to set xattr: /mnt/Synology/Library/Plex Media/Movies/The Avengers (2012)/The Avengers (2012).mkv: Error writing extended attribute 'net.filebot.metadata': Operation not supported
Processed 1 file
Clean clutter files and empty folders
Delete /mnt/Synology/Completed/American.Hustle.2013.1080p.BluRay.x264-SPARKS/american.hustle.2013.1080p.bluray.x264-sparks.nfo
Delete /mnt/Synology/Completed/American.Hustle.2013.1080p.BluRay.x264-SPARKS/RARBG.com.txt
Delete /mnt/Synology/Completed/Avengers.Infinity.War.2018.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ/RARBG.txt
Delete /mnt/Synology/Completed/The.Avengers.2012.PROPER.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ/RARBG.txt
Delete /mnt/Synology/Completed/The.Avengers.2012.PROPER.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ
Delete /mnt/Synology/Completed/Avengers.Infinity.War.2018.1080p.BluRay.x264.TrueHD.7.1.Atmos-SWTYBLZ
Delete /mnt/Synology/Completed/American.Hustle.2013.1080p.BluRay.x264-SPARKS
Keep /mnt/Synology/Completed (root folder)
Done ヾ(@⌒ー⌒@)ノ
Code: Select all
(N) 2022-12-17T01:13:06 - Web UI: Now listening on IP: *, port: 8081
(N) 2022-12-17T01:53:56 - WebAPI login success. IP: ::ffff:192.168.3.1
(N) 2022-12-17T01:53:57 - WebAPI login success. IP: ::ffff:192.168.3.1
(N) 2022-12-17T04:20:11 - WebAPI login success. IP: ::ffff:192.168.3.1
(N) 2022-12-17T04:22:47 - WebAPI login success. IP: ::ffff:192.168.3.1
(N) 2022-12-17T04:22:51 - Download first and last piece first: Off, torrent: 'The.Old.Man.And.The.Gun.2018.1080p.BluRay.x264.DTS-HD.MA.5.1-FGT'
(N) 2022-12-17T04:22:51 - 'The.Old.Man.And.The.Gun.2018.1080p.BluRay.x264.DTS-HD.MA.5.1-FGT' added to download list.
(N) 2022-12-17T04:24:36 - WebAPI login success. IP: ::ffff:192.168.3.1
(N) 2022-12-17T04:38:09 - 'The.Old.Man.And.The.Gun.2018.1080p.BluRay.x264.DTS-HD.MA.5.1-FGT' was removed from the transfer list and hard disk.
(N) 2022-12-17T04:39:23 - 'The.King’s.Man.2021.720p.10bit.BluRay.6CH.x265.HEVC-PSA' added to download list.
(N) 2022-12-17T04:39:46 - 'American Underdog (2021) (1080p BluRay x265 HEVC 10bit AAC 7.1 Tigole) [QxR]' added to download list.
(N) 2022-12-17T04:40:58 - 'Rampage (2018) [WEBRip] [720p] [YTS] [YIFY]' added to download list.
(N) 2022-12-17T04:57:16 - Successfully moved torrent: American Underdog (2021) (1080p BluRay x265 HEVC 10bit AAC 7.1 Tigole). New path: /mnt/Synology/Completed
(N) 2022-12-17T04:57:16 - Torrent: American Underdog (2021) (1080p BluRay x265 HEVC 10bit AAC 7.1 Tigole), running external program, command: /home/admin/Filebot/filebot.sh
(N) 2022-12-17T04:57:16 - Torrent: American Underdog (2021) (1080p BluRay x265 HEVC 10bit AAC 7.1 Tigole), sending mail notification
(N) 2022-12-17T05:38:15 - Successfully moved torrent: Rampage (2018) [WEBRip] [720p] [YTS.AM]. New path: /mnt/Synology/Completed
(N) 2022-12-17T05:38:15 - Torrent: Rampage (2018) [WEBRip] [720p] [YTS.AM], running external program, command: /home/admin/Filebot/filebot.sh
(N) 2022-12-17T05:38:15 - Torrent: Rampage (2018) [WEBRip] [720p] [YTS.AM], sending mail notification
(N) 2022-12-17T05:53:59 - Successfully moved torrent: The.King's.Man.2021.720p.10bit.BluRay.6CH.x265.HEVC-PSA. New path: /mnt/Synology/Completed
(N) 2022-12-17T05:53:59 - Torrent: The.King's.Man.2021.720p.10bit.BluRay.6CH.x265.HEVC-PSA, running external program, command: /home/admin/Filebot/filebot.sh
(N) 2022-12-17T05:53:59 - Torrent: The.King's.Man.2021.720p.10bit.BluRay.6CH.x265.HEVC-PSA, sending mail notification
(N) 2022-12-17T06:36:07 - 'American Underdog (2021) (1080p BluRay x265 HEVC 10bit AAC 7.1 Tigole)' reached the maximum seeding time you set. Removed.
(N) 2022-12-17T06:36:07 - 'American Underdog (2021) (1080p BluRay x265 HEVC 10bit AAC 7.1 Tigole)' was removed from the transfer list.
(N) 2022-12-17T07:08:17 - 'Rampage (2018) [WEBRip] [720p] [YTS.AM]' reached the maximum seeding time you set. Removed.
(N) 2022-12-17T07:08:17 - 'Rampage (2018) [WEBRip] [720p] [YTS.AM]' was removed from the transfer list.
(N) 2022-12-17T07:24:07 - 'The.King's.Man.2021.720p.10bit.BluRay.6CH.x265.HEVC-PSA' reached the maximum seeding time you set. Removed.
(N) 2022-12-17T07:24:07 - 'The.King's.Man.2021.720p.10bit.BluRay.6CH.x265.HEVC-PSA' was removed from the transfer list.
(N) 2022-12-17T12:54:20 - WebAPI login success. IP: ::ffff:192.168.4.2
admin@RaspberryPi:~ $
Code: Select all
running external program, command: /home/admin/Filebot/filebot.sh
Also if you could address this error as I'm not entirely sure why I'm getting it:
Code: Select all
Error writing extended attribute 'net.filebot.metadata': Operation not supported