Artwork / Subs files move to wrong folder

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
horst123789
402
Posts: 18
Joined: 07 Feb 2015, 12:15

Artwork / Subs files move to wrong folder

Post by horst123789 »

Hi rednoah,

all its fine, only the artwork files (for series) and SUBS (for Movies) going to wrong folder...

Code: Select all

/var/packages/filebot/target/filebot.sh -script fn:amc --lang de --log-file $LOG --action move "$1" --def "seriesFormat=$SERIEN" "movieFormat=$FILME" "unsortedFormat=$UNSORTIERT" -non-strict --def unsorted=y "artwork=y" --def clean=y

Code: Select all

LOG="/volume1/Download/amc.log"
EXC="/volume1/Download/amc.txt"
SERIEN="/volume1/Serien/{n}/{n} - {s00e00} - {t}"
FILME="/volume1/video/-------##NEU-UNGESEHEN##-------/{file.parentFile.name}/{n} ({y})"
UNSORTIERT="/volume1/Download/{file.parentFile.name}/{file.structurePathTail}"
LOG:

Code: Select all

Run script [fn:amc] at [Tue Mar 28 19:00:40 CEST 2017]
Parameter: seriesFormat = /volume1/Serien/{n}/{n} - {s00e00} - {t}
Parameter: movieFormat = /volume1/video/-------##NEU-UNGESEHEN##-------/{file.parentFile.name}/{n} ({y})
Parameter: unsortedFormat = /volume1/Download/{file.parentFile.name}/{file.structurePathTail}
Parameter: unsorted = y
Parameter: artwork = y
Parameter: clean = y
Argument[0]: /volume1/Download/SerienRenamer/K C W S01E17 G D A x-TVS
Input: /volume1/Download/SerienRenamer/K C W S01E17 G D A x-TVS/Kevin.Can.Wait.S01E17.German.DL.AmazonHD.x264-TVS/tvs-kcw-dl-azhd-x264-117.mkv
Group: [tvs:kevin can wait] => [tvs-kcw-dl-azhd-x264-117.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Kevin Can Wait]
Fetching episode data for [Kevin Can Wait]
[MOVE] From [/volume1/Download/SerienRenamer/K C W S01E17 G D A x-TVS/Kevin.Can.Wait.S01E17.German.DL.AmazonHD.x264-TVS/tvs-kcw-dl-azhd-x264-117.mkv] to [/volume1/Serien/Kevin Can Wait/Kevin Can Wait - S01E17 - Unholy War.mkv]
Processed 1 files
Fetching series artwork for [Kevin Can Wait / Season 1] to [/volume1/Serien/Kevin Can Wait]
Generate Series NFO: Kevin Can Wait [311944]
Fetching /volume1/Serien/poster.jpg => [poster/680x1000, en, http://thetvdb.com/banners/posters/311944-1.jpg]
Fetching /volume1/Serien/banner.jpg => [series/graphical, en, 10.0, http://thetvdb.com/banners/graphical/311944-g2.jpg]
Fetching /volume1/Serien/fanart.jpg => [fanart/1920x1080, de, 10.0, http://thetvdb.com/banners/fanart/original/311944-5.jpg]
Fetching /volume1/Serien/Kevin Can Wait/poster.jpg => [season/season/1, en, 10.0, http://thetvdb.com/banners/seasons/311944-1.jpg]
Banner not found: /volume1/Serien/Kevin Can Wait/banner.jpg / seasonwide:seasonwide
Fetching /volume1/Serien/clearart.png => [hdclearart, en, 0.0, http://assets.fanart.tv/fanart/tv/311944/hdclearart/kevin-can-wait-57e4225f4bf1b.png]
Fetching /volume1/Serien/logo.png => [hdtvlogo, en, 2.0, http://assets.fanart.tv/fanart/tv/311944/hdtvlogo/kevin-can-wait-579dd7c8e677f.png]
Fetching /volume1/Serien/landscape.jpg => [tvthumb, en, 1.0, http://assets.fanart.tv/fanart/tv/311944/tvthumb/kevin-can-wait-57e5d811e3b5c.jpg]
Fanart not found: /volume1/Serien/Kevin Can Wait/landscape.jpg / seasonthumb
Clean clutter files and empty folders
Delete /volume1/Download/SerienRenamer/K C W S01E17 G D A x-TVS/Kevin.Can.Wait.S01E17.German.DL.AmazonHD.x264-TVS/tvs-kcw-dl-azhd-x264-117.nfo
Delete /volume1/Download/SerienRenamer/K C W S01E17 G D A x-TVS/Kevin.Can.Wait.S01E17.German.DL.AmazonHD.x264-TVS
Done ヾ(@⌒ー⌒@)ノ
we see Fetching /volume1/Serien/poster.jpg is wrong location... right location is /volume1/Serien/Kevin Can Wait/poster.jpg

can you please help ?
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Artwork / Subs files move to wrong folder

Post by rednoah »

1.
Please run filebot -script fn:sysinfo and post the output.

2.
--def artwork=y is not guaranteed to work correctly if you use custom formats. It may or may not work depending on how similar your format is to the {plex} format.
:idea: Please read the FAQ and How to Request Help.
horst123789
402
Posts: 18
Joined: 07 Feb 2015, 12:15

Re: Artwork / Subs files move to wrong folder

Post by horst123789 »

1:

Code: Select all

FileBot 4.7.8 (r4846)
Java HotSpot(TM) Embedded Server VM warning: You have loaded library /volume1/@appstore/filebot/lib/x86_64/libjnidispatch.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86/libjnidispatch.so) not found in resource path ([file:/volume1/@appstore/filebot/FileBot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load i386 (32-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
Apache Commons VFS: [zip, rar]
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-03-20 (r484)
Groovy: 2.4.8
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0
JVM: 32-bit Java HotSpot(TM) Embedded Server VM
CPU/MEM: 4 Core / 878 MB Max Memory / 9 MB Used Memory
OS: Linux (i386)
Package: SPK
Data: /volume1/@appstore/filebot/data/admin
uname: Linux DiskStation 3.10.102 #15047 SMP Thu Feb 23 02:23:37 CST 2017 x86_64 GNU/Linux synology_cedarview_412+
Done ヾ(@⌒ー⌒@)ノ
2: how i can make Artwork for movies only and for Series no artwork?

Code: Select all

SERIEN="/volume1/Serien/{n}/{n} - {s00e00} - {t} --def 'ut_label=tv' 'music=n' 'unsorted=n' 'artwork=n'"
FILME="/volume1/video/-------##NEU-UNGESEHEN##-------/{file.parentFile.name}/{n} ({y}) --def 'ut_label=movie' 'music=y' 'unsorted=n' 'artwork=y'"
?
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Artwork / Subs files move to wrong folder

Post by rednoah »

1.
Not sure what's going on here, but my guess would be that you're running 32-bit Java on a 64-bit machine:

Code: Select all

Java HotSpot(TM) Embedded Server VM warning: You have loaded library /volume1/@appstore/filebot/lib/x86_64/libjnidispatch.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86/libjnidispatch.so) not found in resource path ([file:/volume1/@appstore/filebot/FileBot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load i386 (32-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native

Code: Select all

OS: Linux (i386)
Why not use the standard 64-bit JDK instead? There's no point in using Embedded if you have >32 MB memory.


2.
Unfortunately, you can't.
:idea: Please read the FAQ and How to Request Help.
horst123789
402
Posts: 18
Joined: 07 Feb 2015, 12:15

Re: Artwork / Subs files move to wrong folder

Post by horst123789 »

1: thanks for hint, now i got 64bit java
2: any other idea?
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Artwork / Subs files move to wrong folder

Post by rednoah »

I recommend using {plex} as format for all types.
:idea: Please read the FAQ and How to Request Help.
Post Reply