[Support] Djoss - FileBot


Recommended Posts

1 hour ago, TX_Pilot said:

I am having an issue with new files in the /watch directory not getting processed. If I add a file to the /watch directory, nothing happens. I have connected to the console and looked at /watch and the file is there. However if I restart the container it will find the file and process it. There is nothing in the logs when I put the file into the /watch directory.

 

Am I missing something? Seems simple.

 

Thanks!

By default, the watch folder is processed every 30 min.  This can be changed in container's setting via "Automated Media Center: Interval".

Link to comment
52 minutes ago, guruleenyc said:

Right now that docker setting value is {plex}. Can I hard code /tv/{n}/season {s}/s}/{sxe} - {t}/?

Sent from my SM-N960U using Tapatalk
 

try it, but yes, plex is a given parameter from filebot, thats where your current dirs come from

 

mine looks like this as sample

 

TVRIPS/{n}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t.replaceAll(/[!?.]+$/).replacePart(', Part ')}{'.'+lang}

 

basically, when u used amc before by script, just put your line in there ... no difference

  • Like 1
Link to comment
try it, but yes, plex is a given parameter from filebot, thats where your current dirs come from
 
mine looks like this as sample
 
TVRIPS/{n}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t.replaceAll(/[!?.]+$/).replacePart(', Part ')}{'.'+lang}
 
basically, when u used amc before by script, just put your line in there ... no difference
Well if it gets the path from plex, then why is it saving to '\TV Shows\' and not the Plex TV library named 'TV'?

Sent from my SM-N960U using Tapatalk

Link to comment
12 minutes ago, jermicidal said:

New version released today is crashing for me.  The app service is dying some time after I start opening windows.  Maybe it's related to openbox; not sure where the logs are.

What do you see exactly?  Container's log can be seen by clicking the icon at the right of the container's row under the Docker page.

Link to comment

This is the only error I get in the container log:  

GLib-GIO-ERROR **:  Settings schema 'org.gnome.system.proxy' is not installed

But when it appears isn't correlating to when the app service crashes.

Besides that there's a warning from s6 for app when the finish s6-maximumtime in the finish script times out.  The rest of the log is normal output.

EDIT: To clarify, the docker keeps running but the app and openbox services quit.  The display just goes black.

Edited by jermicidal
clarify error
Link to comment

same for amc

 

ErrorWarningSystemArrayLogin


[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] filebot.sh: executing...
[cont-init.d] filebot.sh: installing requested package(s)...
[cont-init.d] filebot.sh: installing 'curl'...
[cont-init.d] filebot.sh: fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
[cont-init.d] filebot.sh: fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
[cont-init.d] filebot.sh: (1/1) Installing curl (7.64.0-r4)
[cont-init.d] filebot.sh: Executing busybox-1.29.3-r10.trigger
[cont-init.d] filebot.sh: OK: 335 MiB in 211 packages
[cont-init.d] filebot.sh: package 'bash' already installed
[cont-init.d] filebot.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting nginx...
[services.d] starting xvfb...
[nginx] starting...
[xvfb] starting...
[services.d] starting amc...
[services.d] starting logmonitor...
[services.d] starting certsmonitor...
[logmonitor] no file to monitor: disabling service...
[services.d] starting x11vnc...
[certsmonitor] disabling service: secure connection not enabled.
[x11vnc] starting...
[services.d] starting statusmonitor...
[statusmonitor] no file to monitor: disabling service...
[services.d] starting openbox...
[amc] Changes detected in input folder.
02/10/2020 05:53:03 passing arg to libvncserver: -rfbport
02/10/2020 05:53:03 passing arg to libvncserver: 5900
02/10/2020 05:53:03 passing arg to libvncserver: -rfbportv6
02/10/2020 05:53:03 passing arg to libvncserver: -1
02/10/2020 05:53:03 passing arg to libvncserver: -httpportv6
02/10/2020 05:53:03 passing arg to libvncserver: -1
02/10/2020 05:53:03 passing arg to libvncserver: -desktop
02/10/2020 05:53:03 passing arg to libvncserver: FileBot
02/10/2020 05:53:03 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 1146

02/10/2020 05:53:03 Using X display :0
02/10/2020 05:53:03 rootwin: 0x43 reswin: 0x200001 dpy: 0x98379e0
02/10/2020 05:53:03
02/10/2020 05:53:03 ------------------ USEFUL INFORMATION ------------------
[openbox] starting...
[amc] Waiting 10 seconds before proceeding...
02/10/2020 05:53:03 X DAMAGE available on display, using it for polling hints.
02/10/2020 05:53:03 To disable this behavior use: '-noxdamage'
02/10/2020 05:53:03
02/10/2020 05:53:03 Most compositing window managers like 'compiz' or 'beryl'
02/10/2020 05:53:03 cause X DAMAGE to fail, and so you may not see any screen
02/10/2020 05:53:03 updates via VNC. Either disable 'compiz' (recommended) or
02/10/2020 05:53:03 supply the x11vnc '-noxdamage' command line option.
02/10/2020 05:53:03 X COMPOSITE available on display, using it for window polling.
02/10/2020 05:53:03 To disable this behavior use: '-noxcomposite'
02/10/2020 05:53:03
02/10/2020 05:53:03 Wireframing: -wireframe mode is in effect for window moves.
02/10/2020 05:53:03 If this yields undesired behavior (poor response, painting
02/10/2020 05:53:03 errors, etc) it may be disabled:
02/10/2020 05:53:03 - use '-nowf' to disable wireframing completely.
02/10/2020 05:53:03 - use '-nowcr' to disable the Copy Rectangle after the
02/10/2020 05:53:03 moved window is released in the new position.
02/10/2020 05:53:03 Also see the -help entry for tuning parameters.
02/10/2020 05:53:03 You can press 3 Alt_L's (Left "Alt" key) in a row to
02/10/2020 05:53:03 repaint the screen, also see the -fixscreen option for
02/10/2020 05:53:03 periodic repaints.
02/10/2020 05:53:03 GrabServer control via XTEST.
02/10/2020 05:53:03
02/10/2020 05:53:03 Scroll Detection: -scrollcopyrect mode is in effect to
02/10/2020 05:53:03 use RECORD extension to try to detect scrolling windows
02/10/2020 05:53:03 (induced by either user keystroke or mouse input).

02/10/2020 05:53:03 If this yields undesired behavior (poor response, painting
02/10/2020 05:53:03 errors, etc) it may be disabled via: '-noscr'
02/10/2020 05:53:03 Also see the -help entry for tuning parameters.
02/10/2020 05:53:03 You can press 3 Alt_L's (Left "Alt" key) in a row to
02/10/2020 05:53:03 repaint the screen, also see the -fixscreen option for
02/10/2020 05:53:03 periodic repaints.
02/10/2020 05:53:03
02/10/2020 05:53:03 XKEYBOARD: number of keysyms per keycode 7 is greater
02/10/2020 05:53:03 than 4 and 51 keysyms are mapped above 4.
02/10/2020 05:53:03 Automatically switching to -xkb mode.
02/10/2020 05:53:03 If this makes the key mapping worse you can
02/10/2020 05:53:03 disable it with the "-noxkb" option.
02/10/2020 05:53:03 Also, remember "-remap DEAD" for accenting characters.
02/10/2020 05:53:03
02/10/2020 05:53:03 X FBPM extension not supported.
Xlib: extension "DPMS" missing on display ":0".
02/10/2020 05:53:03 X display is not capable of DPMS.
02/10/2020 05:53:03 --------------------------------------------------------
02/10/2020 05:53:03
02/10/2020 05:53:03 Default visual ID: 0x21
02/10/2020 05:53:03 Read initial data from X display into framebuffer.
02/10/2020 05:53:03 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
02/10/2020 05:53:03
02/10/2020 05:53:03 X display :0 is 32bpp depth=24 true color
02/10/2020 05:53:03
02/10/2020 05:53:03 Listening for VNC connections on TCP port 5900
02/10/2020 05:53:03
02/10/2020 05:53:03 Xinerama is present and active (e.g. multi-head).
02/10/2020 05:53:03 Xinerama: number of sub-screens: 1
02/10/2020 05:53:03 Xinerama: no blackouts needed (only one sub-screen)
02/10/2020 05:53:03
02/10/2020 05:53:03 fb read rate: 2272 MB/sec
02/10/2020 05:53:03 fast read: reset -wait ms to: 10
02/10/2020 05:53:03 fast read: reset -defer ms to: 10
02/10/2020 05:53:03 The X server says there are 10 mouse buttons.

02/10/2020 05:53:03 screen setup finished.
02/10/2020 05:53:03

The VNC desktop is: ba18039c8b80:0

0

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:

x11vnc -ncache 10 ...

One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching

[services.d] starting app...
[app] starting FileBot...
[services.d] done.
Current application revision (r8040) does not match cache revision (r7372): reset cache
Initialize new disk cache: /config/cache/0

(process:1234): GLib-GIO-ERROR **: 05:53:06.895: Settings schema 'org.gnome.system.proxy' is not installed

Trace/breakpoint trap
[amc] Invoking AMC script...
[amc] Current application revision (r8040) does not match cache revision (r7372): reset cache
[amc] Initialize new disk cache: /config/cache/1
[amc]
[amc] (process:1302): GLib-GIO-ERROR **: 05:53:14.599: Settings schema 'org.gnome.system.proxy' is not installed

02/10/2020 05:55:31 Got connection from client 127.0.0.1
02/10/2020 05:55:31 other clients:
02/10/2020 05:55:31 Got 'ws' WebSockets handshake
02/10/2020 05:55:31 Got protocol: binary
02/10/2020 05:55:31 - webSocketsHandshake: using binary/raw encoding
02/10/2020 05:55:31 - WebSockets client version hybi-13

02/10/2020 05:55:31 Disabled X server key autorepeat.
02/10/2020 05:55:31 to force back on run: 'xset r on' (3 times)
02/10/2020 05:55:31 incr accepted_client=1 for 127.0.0.1:33974 sock=10
02/10/2020 05:55:31 Client Protocol Version 3.8

02/10/2020 05:55:31 Protocol version sent 3.8, using 3.8

02/10/2020 05:55:31 rfbProcessClientSecurityType: executing handler for type 1
02/10/2020 05:55:31 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8

02/10/2020 05:55:32 Pixel format for client 127.0.0.1:
02/10/2020 05:55:32 32 bpp, depth 24, little endian
02/10/2020 05:55:32 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
02/10/2020 05:55:32 no translation needed
02/10/2020 05:55:32 Enabling NewFBSize protocol extension for client 127.0.0.1
02/10/2020 05:55:32 Using image quality level 6 for client 127.0.0.1
02/10/2020 05:55:32 Using JPEG subsampling 0, Q79 for client 127.0.0.1
02/10/2020 05:55:32 Using compression level 9 for client 127.0.0.1
02/10/2020 05:55:32 Enabling LastRect protocol extension for client 127.0.0.1
02/10/2020 05:55:32 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
02/10/2020 05:55:32 Using tight encoding for client 127.0.0.1
02/10/2020 05:55:33 client_set_net: 127.0.0.1 0.0000
02/10/2020 05:55:33 created xdamage object: 0x20002c
02/10/2020 05:55:37 client_count: 0
02/10/2020 05:55:37 Restored X server key autorepeat to: 1
02/10/2020 05:55:37 Client 127.0.0.1 gone
02/10/2020 05:55:37 Statistics events Transmit/ RawEquiv ( saved)
02/10/2020 05:55:37 FramebufferUpdate : 3 | 0/ 0 ( 0.0%)
02/10/2020 05:55:37 LastRect : 1 | 12/ 12 ( 0.0%)
02/10/2020 05:55:37 tight : 54 | 34464/ 3937992 ( 99.1%)
02/10/2020 05:55:37 TOTALS : 58 | 34476/ 3938004 ( 99.1%)
02/10/2020 05:55:37 Statistics events Received/ RawEquiv ( saved)
02/10/2020 05:55:37 PointerEvent : 6 | 36/ 36 ( 0.0%)
02/10/2020 05:55:37 FramebufferUpdate : 4 | 40/ 40 ( 0.0%)
02/10/2020 05:55:37 SetEncodings : 1 | 52/ 52 ( 0.0%)
02/10/2020 05:55:37 SetPixelFormat : 1 | 20/ 20 ( 0.0%)
02/10/2020 05:55:37 TOTALS : 12 | 148/ 148 ( 0.0%)
02/10/2020 05:55:37 destroyed xdamage object: 0x20002c
[amc] Changes detected in input folder.
[amc] Waiting 10 seconds before proceeding...
[amc] Invoking AMC script...
[amc]
[amc] (process:1418): GLib-GIO-ERROR **: 06:02:25.405: Settings schema 'org.gnome.system.proxy' is not installed

[amc] Changes detected in input folder.
[amc] Waiting 10 seconds before proceeding...
[amc] Invoking AMC script...
[amc]
[amc] (process:1476): GLib-GIO-ERROR **: 06:04:36.022: Settings schema 'org.gnome.system.proxy' is not installed

 

Link to comment

I'm getting the same error as the two guys above, fixed it by going in to the container and installing gsettings-desktop-schemas

For those that can't wait for a new image with a fix to roll out exec in to the container and run apk add --no-cache gsettings-desktop-schemas restart the container and you're back in business

  • Like 1
Link to comment
4 minutes ago, Mark said:

I'm getting the same error as the two guys above, fixed it by going in to the container and installing gsettings-desktop-schemas

For those that can't wait for a new image with a fix to roll out exec in to the container and run apk add --no-cache gsettings-desktop-schemas restart the container and you're back in business

Great I was about to ask to try adding this package.  Thanks for confirming this fixes the problem.

Link to comment
  • 2 weeks later...

Any explanation why would keeplink take so much time and use so much CPU? It should just move the file to different location and link it back.

 

If i do the same action through putty it does it in couple of seconds.

 

What is different here? 

Edited by snoopy86
Link to comment
On 10/15/2020 at 2:50 AM, snoopy86 said:

Any explanation why would keeplink take so much time and use so much CPU? It should just move the file to different location and link it back.

 

If i do the same action through putty it does it in couple of seconds.

 

What is different here? 

From the container point of view, are the files moved between subdirectories of the same mount point ?

Link to comment

Was renaming some anime episodes....26 of them total.  Ends up crashing filebot completely.

Pulled this from the logs

Quote

 

20/10/2020 21:06:32 created xdamage object: 0x40002e
Refuse to restore bad window position: java.awt.Rectangle[x=320,y=109,width=405,height=718]
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000151b78106e24, pid=977, tid=0x0000151b54763b10
#
# JRE version: OpenJDK Runtime Environment (8.0_252-b09) (build 1.8.0_252-b09)
# Java VM: OpenJDK 64-Bit Server VM (25.252-b09 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 3.16.0
# Distribution: Custom build (Thu Aug 13 12:46:32 UTC 2020)
# Problematic frame:
# C [ld-musl-x86_64.so.1+0x24e24] free+0x29
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

Tried multiple times...same results.

Link to comment
On 10/20/2020 at 10:15 PM, Urlryn said:

Was renaming some anime episodes....26 of them total.  Ends up crashing filebot completely.

Pulled this from the logs

Tried multiple times...same results.

Does it always crash with the same file?  Does it work with other ones?

Link to comment
4 hours ago, snoopy86 said:

Any pointers how to solve this? Both of those folders resist on the same share in unraid.

There are multiple ways to solve this.  The idea is to make sure that files to be moved are under the same parent directory.  In other words, you need to use a single Docker volume mapping.

 

For example, you could add a new read/write "Path" that map "/mnt/user" to "/workdir" in the container.

 

If you use the UI to rename your files, just make sure to select them under "/workdir/media/torrents" and set the output to "/workdir/media".

 

If you use AMC, then you set the environment variables (you need to click Show more settings) "Automated Media Center: Input Directory" to "/workdir/media/torrents" and "Automated Media Center: Output Directory" to "/workdir/media".

 

 

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.