Support for Synology NAS, QNAP NAS and other Embedded Linux systems
cookie70
Posts: 4 Joined: 26 Dec 2020, 00:50
Post
by cookie70 » 26 Dec 2020, 00:58
Hi,
Have been using filebot for a long time but for some reason getting Failed to read media characteristics in console now, also it no longer will recursively process files in folders in my source path
Synology ds412+
cheers
Code: Select all
filebot -script 'fn:amc' /volume1/media/filebotIN --output /volume1/media/filebotOUT --action move -non-strict --order Airdate --conflict auto --lang en --def 'skipExtract=y' 'seriesFormat={n}/{n} - {s00e00} - {t}' 'movieFormat={n} ({y})/{n} ({y})' 'excludeList=.excludes' --apply refresh --log info --log-file '/usr/local/filebot-node/data/filebot.log'
------------------------------------------
Failed to read media characteristics: /volume1/media/filebotIN/Wonder.Woman.1984.2020.mkv: net.filebot.ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/media/filebotIN/Wonder.Woman.1984.2020.mkv] failed (1)
/volume1/media/filebotIN/total recall 1990 remastered.mkv: Permission denied
Failed to read media characteristics: /volume1/media/filebotIN/total recall 1990 remastered.mkv: net.filebot.ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/media/filebotIN/total recall 1990 remastered.mkv] failed (1)
rednoah
The Source
Posts: 23924 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 26 Dec 2020, 03:07
1.
Did you install the
Media Server package?
https://www.filebot.net/linux/syno.html
What does
/volume1/@appstore/MediaServer/bin/ffprobe -version say?
2.
Not being able to process files recursively indicates a permission issue, i.e. folders appear empty to
filebot because the OS doesn't allow file listing. The easy solution is to just create a new pristine share with default permissions. See if that works.
cookie70
Posts: 4 Joined: 26 Dec 2020, 00:50
Post
by cookie70 » 26 Dec 2020, 05:55
Thanks for the response.
Versions:
Code: Select all
:~$ /volume1/@appstore/MediaServer/bin/ffprobe -version
ffprobe version 3.3.7 Copyright (c) 2007-2019 the FFmpeg developers
built with gcc 4.9.3 (crosstool-NG 1.20.0) 20150311 (prerelease)
configuration: --prefix=/usr/pkg --incdir='${prefix}/include/ffmpeg' --arch=i686 --target-os=linux --cross-prefix=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-l inux-gnu- --enable-cross-compile --enable-optimizations --enable-pic --enable-gp l --enable-version3 --enable-nonfree --enable-encoders --enable-pthreads --disab le-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffp lay --disable-ffserver --disable-doc --disable-devices --disable-bzlib --disable -altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3la me --disable-decoder=amrnb --disable-encoder=zmbv --disable-encoder=dca --disabl e-decoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encode r=eac3 --disable-decoder=eac3 --disable-encoder=truehd --disable-decoder=truehd --extra-cflags=-I/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr /pkg/include --extra-ldflags=-L/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gn u/sys-root/usr/pkg/lib --cc=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-g nu-ccache-gcc --enable-shared --disable-static --enable-yasm --enable-libx264 -- enable-vaapi --enable-encoder=h264_vaapi --enable-encoder=libx264
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
cookie70
Posts: 4 Joined: 26 Dec 2020, 00:50
Post
by cookie70 » 26 Dec 2020, 06:15
also what does "create a new pristine share with default permissions" mean?
I just created the folder in DSM in the past and was all ok, are there some other steps I need to take?
rednoah
The Source
Posts: 23924 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 26 Dec 2020, 07:35
1.
If
ffprobe fundamentally works, then I guess
ffprobe fails due to permissions.
2.
You'll want to create a new share, which is then initialized with default permissions, which should work by default. If it doesn't work by default, then you'll want to look into permissions in detail
(i.e. what user is running the process, what permissions and ACLs does the folder have, ask Synology support, etc) . Just creating a new plain folder in an existing share doesn't help us, because that folder will just inherit the permissions of the parent folder which we already know don't work:
https://www.synology.com/en-global/know ... are_create
cookie70
Posts: 4 Joined: 26 Dec 2020, 00:50
Post
by cookie70 » 26 Dec 2020, 08:47
Thanks for your help.
I reinstalled Media Server package and setup the input folder as you suggested. It took AGES! but it worked without any errors.
cheers!
Code: Select all
filebot -script 'fn:amc' /volume1/filebotIN --output /volume1/media/filebotOUT --action move -non-strict --order Airdate --conflict auto --lang en --def 'skipExtract=y' 'seriesFormat={n}/{n} - {s00e00} - {t}' 'movieFormat={n} ({y})/{n} ({y})' 'excludeList=.excludes' --apply refresh --log info --log-file '/usr/local/filebot-node/data/filebot.log'
------------------------------------------
[MOVE] from [/volume1/filebotIN/Star Wars Rebels S01E01 Droids in Distress.mkv] to [/volume1/media/filebotOUT/Star Wars Rebels/Star Wars Rebels - S01E01 - Droids in Distress.mkv]
[MOVE] from [/volume1/filebotIN/Star Wars Rebels S01E02 Fighter Flight.mkv] to [/volume1/media/filebotOUT/Star Wars Rebels/Star Wars Rebels - S01E02 - Fighter Flight.mkv]
[MOVE] from [/volume1/filebotIN/Star Wars Rebels S01E03 Rise of the Old Masters.mkv] to [/volume1/media/filebotOUT/Star Wars Rebels/Star Wars Rebels - S01E03 - Rise of the Old Masters.mkv]
[MOVE] from [/volume1/filebotIN/Star Wars Rebels S01E04 Breaking Ranks.mkv] to [/volume1/media/filebotOUT/Star Wars Rebels/Star Wars Rebels - S01E04 - Breaking Ranks.mkv]
[MOVE] from [/volume1/filebotIN/Star Wars Rebels S01E05 Out of Darkness.mkv] to [/volume1/media/filebotOUT/Star Wars Rebels/Star Wars Rebels - S01E05 - Out of Darkness.mkv]
[MOVE] from [/volume1/filebotIN/Star Wars Rebels S01E06 Empire Day.mkv] to [/volume1/media/filebotOUT/Star Wars Rebels/Star Wars Rebels - S01E06 - Empire Day.mkv]
[MOVE] from [/volume1/filebotIN/Star Wars Rebels S01E07 Gathering Forces.mkv] to [/volume1/media/filebotOUT/Star Wars Rebels/Star Wars Rebels - S01E07 - Gathering Forces.mkv]
[MOVE] from [/volume1/filebotIN/Star Wars Rebels S01E08 Path of the Jedi.mkv] to [/volume1/media/filebotOUT/Star Wars Rebels/Star Wars Rebels - S01E08 - Path of the Jedi.mkv]
[MOVE] from [/volume1/filebotIN/Star Wars Rebels S01E09 Idiot's Array.mkv] to [/volume1/media/filebotOUT/Star Wars Rebels/Star Wars Rebels - S01E09 - Idiot's Array.mkv]
[MOVE] from [/volume1/filebotIN/Star Wars Rebels S01E10 Vision of Hope.mkv] to [/volume1/media/filebotOUT/Star Wars Rebels/Star Wars Rebels - S01E10 - Vision of Hope.mkv]
[MOVE] from [/volume1/filebotIN/Star Wars Rebels S01E11 Call to Action.mkv] to [/volume1/media/filebotOUT/Star Wars Rebels/Star Wars Rebels - S01E11 - Call to Action.mkv]
[MOVE] from [/volume1/filebotIN/Star Wars Rebels S01E12 Rebel Resolve.mkv] to [/volume1/media/filebotOUT/Star Wars Rebels/Star Wars Rebels - S01E12 - Rebel Resolve.mkv]
[MOVE] from [/volume1/filebotIN/Star Wars Rebels S01E13 Fire Across the Galaxy.mkv] to [/volume1/media/filebotOUT/Star Wars Rebels/Star Wars Rebels - S01E13 - Fire Across the Galaxy.mkv]
------------------------------------------
[Process completed]