Plex Format to Avoid Duplicates

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
networkcrasher
Posts: 7
Joined: 23 Oct 2018, 04:10

Plex Format to Avoid Duplicates

Post by networkcrasher »

{plex.derive{" by $director"}{" [$vf, $vc, $ac]"}}, when I try that in qnap's interface, none of the audio/video data shows up. Just trying to get a plex naming scheme that will allow me to keep the proper plex folder structure but allow for duplicates of different video/audio quality. Running this on a small sample folder before I unleash it on my main movie/tv/audio folders.

Code: Select all

filebot -script 'fn:amc' /share/Recordings/MyPlexMovies --output /share/Recordings/MyPlexMoviesOut --action TEST -non-strict --order Airdate --conflict auto --lang en --def 'music=y' 'unsorted=y' 'clean=y' 'skipExtract=y' 'movieFormat=Movies/{plex.derive{" by $director"}{" [$vf, $vc, $ac]"}}' 'excludeList=.excludes' --log all --log-file '/share/CACHEDEV1_DATA/.qpkg/filebot-node/data/filebot.log'
------------------------------------------

Code: Select all

x86_64
Locking /share/CACHEDEV1_DATA/.qpkg/filebot-node/data/filebot.log
Run script [fn:amc] at [Tue Oct 23 07:45:26 GMT 2018]
Parameter: music = y
Parameter: unsorted = y
Parameter: clean = y
Parameter: skipExtract = y
Parameter: movieFormat = Movies/{plex.derive{" by $director"}{" [$vf, $vc, $ac]"}}
Parameter: excludeList = .excludes
Argument[0]: /share/Recordings/MyPlexMovies
Use excludes: /share/CACHEDEV1_DATA/Recordings/MyPlexMoviesOut/.excludes (1)
Ignore hidden: /share/Recordings/MyPlexMovies/.DS_Store
Input: /share/Recordings/MyPlexMovies/12 Strong (2018).mp4
Input: /share/Recordings/MyPlexMovies/Black Panther (2018).mp4
Input: /share/Recordings/MyPlexMovies/Den of Thieves (2018).mp4
Input: /share/Recordings/MyPlexMovies/Game Night (2018).mp4
Input: /share/Recordings/MyPlexMovies/Jurassic World Fallen Kingdom (2018).mp4
Input: /share/Recordings/MyPlexMovies/Justice League (2017).mp4
Input: /share/Recordings/MyPlexMovies/Maze Runner The Death Cure (2018).mp4
Input: /share/Recordings/MyPlexMovies/Pacific Rim Uprising (2018).mkv
Input: /share/Recordings/MyPlexMovies/The Commuter (2018).mp4
Input: /share/Recordings/MyPlexMovies/Thor Ragnarok (2017).mp4
xattr: [12 Strong (2018).mp4] => [12 Strong (2018)]
xattr: [Black Panther (2018).mp4] => [Black Panther (2018)]
xattr: [Den of Thieves (2018).mp4] => [Den of Thieves (2018)]
xattr: [Game Night (2018).mp4] => [Game Night (2018)]
xattr: [Jurassic World Fallen Kingdom (2018).mp4] => [Jurassic World: Fallen Kingdom (2018)]
xattr: [Justice League (2017).mp4] => [Justice League (2017)]
xattr: [Maze Runner The Death Cure (2018).mp4] => [Maze Runner: The Death Cure (2018)]
xattr: [Pacific Rim Uprising (2018).mkv] => [Pacific Rim: Uprising (2018)]
xattr: [The Commuter (2018).mp4] => [The Commuter (2018)]
xattr: [Thor Ragnarok (2017).mp4] => [Thor: Ragnarok (2017)]
Group: [mov:12 strong 2018] => [12 Strong (2018).mp4]
Group: [mov:black panther 2018] => [Black Panther (2018).mp4]
Group: [mov:den of thieves 2018] => [Den of Thieves (2018).mp4]
Group: [mov:game night 2018] => [Game Night (2018).mp4]
Group: [mov:jurassic world fallen kingdom 2018] => [Jurassic World Fallen Kingdom (2018).mp4]
Group: [mov:justice league 2017] => [Justice League (2017).mp4]
Group: [mov:maze runner the death cure 2018] => [Maze Runner The Death Cure (2018).mp4]
Group: [mov:pacific rim uprising 2018] => [Pacific Rim Uprising (2018).mkv]
Group: [mov:the commuter 2018] => [The Commuter (2018).mp4]
Group: [mov:thor ragnarok 2017] => [Thor Ragnarok (2017).mp4]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/share/Recordings/MyPlexMovies/12 Strong (2018).mp4]
[TEST] from [/share/Recordings/MyPlexMovies/12 Strong (2018).mp4] to [/share/CACHEDEV1_DATA/Recordings/MyPlexMoviesOut/Movies/Movies/12 Strong (2018)/12 Strong (2018) by Nicolai Fuglsig.mp4]
Processed 1 files
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/share/Recordings/MyPlexMovies/Black Panther (2018).mp4]
[TEST] from [/share/Recordings/MyPlexMovies/Black Panther (2018).mp4] to [/share/CACHEDEV1_DATA/Recordings/MyPlexMoviesOut/Movies/Movies/Black Panther (2018)/Black Panther (2018) by Ryan Coogler.mp4]
Processed 1 files
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/share/Recordings/MyPlexMovies/Den of Thieves (2018).mp4]
[TEST] from [/share/Recordings/MyPlexMovies/Den of Thieves (2018).mp4] to [/share/CACHEDEV1_DATA/Recordings/MyPlexMoviesOut/Movies/Movies/Den of Thieves (2018)/Den of Thieves (2018) by Christian Gudegast.mp4]
Processed 1 files
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/share/Recordings/MyPlexMovies/Game Night (2018).mp4]
[TEST] from [/share/Recordings/MyPlexMovies/Game Night (2018).mp4] to [/share/CACHEDEV1_DATA/Recordings/MyPlexMoviesOut/Movies/Movies/Game Night (2018)/Game Night (2018) by John Francis Daley.mp4]
Processed 1 files
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/share/Recordings/MyPlexMovies/Jurassic World Fallen Kingdom (2018).mp4]
[TEST] from [/share/Recordings/MyPlexMovies/Jurassic World Fallen Kingdom (2018).mp4] to [/share/CACHEDEV1_DATA/Recordings/MyPlexMoviesOut/Movies/Movies/Jurassic World - Fallen Kingdom (2018)/Jurassic World - Fallen Kingdom (2018) by J. A. Bayona.mp4]
Processed 1 files
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/share/Recordings/MyPlexMovies/Justice League (2017).mp4]
[TEST] from [/share/Recordings/MyPlexMovies/Justice League (2017).mp4] to [/share/CACHEDEV1_DATA/Recordings/MyPlexMoviesOut/Movies/Movies/Justice League (2017)/Justice League (2017) by Zack Snyder.mp4]
Processed 1 files
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/share/Recordings/MyPlexMovies/Maze Runner The Death Cure (2018).mp4]
[TEST] from [/share/Recordings/MyPlexMovies/Maze Runner The Death Cure (2018).mp4] to [/share/CACHEDEV1_DATA/Recordings/MyPlexMoviesOut/Movies/Movies/Maze Runner - The Death Cure (2018)/Maze Runner - The Death Cure (2018) by Wes Ball.mp4]
Processed 1 files
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/share/Recordings/MyPlexMovies/Pacific Rim Uprising (2018).mkv]
[TEST] from [/share/Recordings/MyPlexMovies/Pacific Rim Uprising (2018).mkv] to [/share/CACHEDEV1_DATA/Recordings/MyPlexMoviesOut/Movies/Movies/Pacific Rim - Uprising (2018)/Pacific Rim - Uprising (2018) by Steven S. DeKnight.mkv]
Processed 1 files
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/share/Recordings/MyPlexMovies/The Commuter (2018).mp4]
[TEST] from [/share/Recordings/MyPlexMovies/The Commuter (2018).mp4] to [/share/CACHEDEV1_DATA/Recordings/MyPlexMoviesOut/Movies/Movies/The Commuter (2018)/The Commuter (2018) by Jaume Collet-Serra.mp4]
Processed 1 files
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/share/Recordings/MyPlexMovies/Thor Ragnarok (2017).mp4]
[TEST] from [/share/Recordings/MyPlexMovies/Thor Ragnarok (2017).mp4] to [/share/CACHEDEV1_DATA/Recordings/MyPlexMoviesOut/Movies/Movies/Thor - Ragnarok (2017)/Thor - Ragnarok (2017) by Taika Waititi.mp4]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
------------------------------------------

[Process completed]
networkcrasher
Posts: 7
Joined: 23 Oct 2018, 04:10

Re: Plex Format to Avoid Duplicates

Post by networkcrasher »

When in doubt, search, right?

Code: Select all

$ filebot -script fn:sysinfo
x86_64
FileBot 4.8.2 (r5789)
JNA Native: 5.2.2
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Unable to load library 'mediainfo': Native library (linux-x86-64/libmediainfo.so) not found in resource path ([file:/share/CACHEDEV1_DATA/.qpkg/filebot/jar/filebot.jar])
7-Zip-JBinding: 9.20
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-10-05 (r536)
Groovy: 2.5.1
JRE: Java(TM) SE Runtime Environment 1.8.0_191
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 1 GB Max Memory / 14 MB Used Memory
OS: Linux (amd64)
HW: Linux oracle 4.2.8 #1 SMP Sat Oct 13 08:09:05 CST 2018 x86_64 GNU/Linux
DATA: /share/CACHEDEV1_DATA/.qpkg/filebot/data/admin
Package: QPKG
License: FileBot License T1076 (Valid-Until: 2019-10-23)
Done ヾ(@⌒ー⌒@)ノ

I found another thread on here about libmediainfo but didn't know about it to search for it prior. Will peruse that thread
User avatar
rednoah
The Source
Posts: 22984
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Plex Format to Avoid Duplicates

Post by rednoah »

You could try replacing /share/CACHEDEV1_DATA/.qpkg/filebot/lib/x86_64/libmediainfo.so with an older version which might be more compatible with whatever embedded Linux QTS is using:
viewtopic.php?f=13&t=4540#p25522
:idea: Please read the FAQ and How to Request Help.
Post Reply