-
[Support] Djoss - HandBrake
At the moment I'm having stuff enter my watch folder but the docker isn't doing anything with it. I've tried restarting the docker, stopping and then starting, removing everything from the watch folder and only adding one item back, a forced update and docker safe new permissions and nothing. How can I troubleshoot this further please?
-
[Support] Djoss - HandBrake
I do have this workflow but sonarr and radarr attempt to import the files before handbrake has finished encoding, because the download client has already told them that the files are ready for import. See some of my posts for workarounds, it'll not be 100% automated.
-
[Plugin] CA User Scripts
sure #!/bin/bash if [ -f /var/run/mymover.pid ]; then if ps h `cat /var/run/mymover.pid` | grep mymover.sh ; then echo "mymover already running, sorry." exit 0 fi fi echo $$ >/var/run/mymover.pid echo "Moving files from $1 to $2" (cd "/mnt/user/downloads/Complete/"; find -depth -print \( ! -exec fuser -s '{}' \; -exec rsync -i -qdIWRpEAXogt --numeric-ids --inplace --remove-source-files {} "/mnt/user/downloads/Import/" \; \)) # Prune empty directories from source dir find "/mnt/user/downloads/Complete/*" -type d -empty -prune -exec rmdir --ignore-fail-on-non-empty {} \; # Prune empty directories from destination dir find "/mnt/user/downloads/Import/*" -type d -empty -prune -exec rmdir --ignore-fail-on-non-empty {} \; sync rm /var/run/mymover.pid echo "Moving all done."
-
[Plugin] CA User Scripts
Ah, not my code. Copied from another thread where someone adapted the unRAID mover script. What I'd like is for everything to be moved from /mnt/user/downloads/Complete to /mnt/user/downloads/Import without the /Complete/ directory being removed. I'm really appreciating the replies
-
[Plugin] CA User Scripts
hmm, still moves but throws up . find: `/mnt/user/downloads/Complete/*': No such file or directory /tmp/user.scripts/tmpScripts/Move Completed Downloads/script: line 17: -empty: command not found find: `/mnt/user/downloads/Import/*': No such file or directory /tmp/user.scripts/tmpScripts/Move Completed Downloads/script: line 21: -prune: command not found Moving all done.
-
[Plugin] CA User Scripts
Like this? # Prune empty directories from source dir find cd "/mnt/user/downloads/Complete/" -type d -empty -prune -exec rmdir --ignore-fail-on-non-empty {} \; I get this error? . find: `cd': No such file or directory Moving all done.
-
[Plugin] CA User Scripts
My apologies! Let me simplify; I would like the script to move the files and folders in the directory /downloads/complete/. What I have noticed, is that when that directory is empty and the script runs, it actually removes the directory /downloads/complete/. How could I adapt it to move the contents of the directory, but not remove the directory itself when empty?
-
[Plugin] controlrd
Hmm, was set to 'auto'. Set it to 'no' and now it works! Weird
-
[Plugin] CA User Scripts
Ah, that's moving stuff but now /mnt/user/downloads/complete/season 01/ directory is left, for example... There's no way of getting the subdirectories from /complete/ moved without it deleting the directory /complete/ is it's empty? Am I making sense? I feel like I'm not.
-
[Plugin] CA User Scripts
OK, anyone? This script to move files from one directory to another is removing the source directory if empty after it runs , how can I prevent it doing that? #!/bin/bash if [ -f /var/run/mymover.pid ]; then if ps h `cat /var/run/mymover.pid` | grep mymover.sh ; then echo "mymover already running, sorry." exit 0 fi fi echo $$ >/var/run/mymover.pid echo "Moving files from $1 to $2" (cd "/mnt/user/downloads/Complete/"; find -depth -print \( ! -exec fuser -s '{}' \; -exec rsync -i -qdIWRpEAXogt --numeric-ids --inplace --remove-source-files {} "/mnt/user/downloads/Import/" \; \)) # Prune empty directories from source dir find "/mnt/user/downloads/Complete/" -type d -empty -prune -exec rmdir --ignore-fail-on-non-empty {} \; # Prune empty directories from destination dir find "/mnt/user/downloads/Import/" -type d -empty -prune -exec rmdir --ignore-fail-on-non-empty {} \; sync rm /var/run/mymover.pid echo "Moving all done."
-
[Plugin] controlrd
I: 2018/03/14 22:45:28 app.go:57: controlr v2.9.1-367-243ce84-v2018.02.16a starting ... I: 2018/03/14 22:45:28 app.go:65: No config file specified. Using app defaults ... I: 2018/03/14 22:45:28 core.go:73: starting service Core ... I: 2018/03/14 22:45:28 core.go:266: Created ipmi sensor ... I: 2018/03/14 22:45:28 core.go:293: No ups detected ... I: 2018/03/14 22:45:28 server.go:70: Starting service Server ... I: 2018/03/14 22:45:28 server.go:89: Serving files from /usr/local/emhttp/plugins/controlr I: 2018/03/14 22:45:28 server.go:140: Server started listening https on :2378 I: 2018/03/14 22:45:28 api.go:46: Starting service Api ... I: 2018/03/14 22:45:28 api.go:90: Api started listening https on :2382 I: 2018/03/14 22:45:28 app.go:85: Press Ctrl+C to stop ... I: 2018/03/14 23:08:44 core.go:112: event: "/boot/config/plugins/dynamix/dynamix.cfg": WRITE I: 2018/03/14 23:08:44 core.go:114: modified file: /boot/config/plugins/dynamix/dynamix.cfg I: 2018/03/15 10:26:33 core.go:112: event: "/boot/config/plugins/dynamix/dynamix.cfg": WRITE I: 2018/03/15 10:26:33 core.go:114: modified file: /boot/config/plugins/dynamix/dynamix.cfg I: 2018/03/15 10:33:21 app.go:89: Received signal: (terminated) ... shutting down the app now ... I: 2018/03/15 10:33:21 api.go:105: stopped service Api ... I: 2018/03/15 10:33:21 server.go:157: stopped service Server ... I: 2018/03/15 10:33:21 core.go:141: stopped service Core ... I: 2018/03/15 11:05:47 app.go:57: controlr v2.9.1-367-243ce84-v2018.02.16a starting ... I: 2018/03/15 11:05:47 app.go:65: No config file specified. Using app defaults ... I: 2018/03/15 11:05:47 core.go:73: starting service Core ... I: 2018/03/15 11:05:47 core.go:266: Created ipmi sensor ... I: 2018/03/15 11:05:47 core.go:293: No ups detected ... I: 2018/03/15 11:05:47 server.go:70: Starting service Server ... I: 2018/03/15 11:05:47 server.go:89: Serving files from /usr/local/emhttp/plugins/controlr I: 2018/03/15 11:05:47 server.go:140: Server started listening https on :2378 I: 2018/03/15 11:05:47 api.go:46: Starting service Api ... I: 2018/03/15 11:05:47 api.go:90: Api started listening https on :2382 I: 2018/03/15 11:05:47 app.go:85: Press Ctrl+C to stop ...
-
[Plugin] controlrd
I can connect to server but can’t view logs... Running 6.4.1 not with https
-
[Plugin] CA User Scripts
Thank you for the suggestion, I have looked at other possibilities before finding something that works for me regarding radarr/sonarr and post processing media. I can go in an delete the left overs manually but if I can get this script working it’d be much less maintenance.
-
[Plugin] CA User Scripts
Hello all! Would anyone be able to cast their eyes over a couple of scripts I have ‘adapted’ for my download setup? The first one I don’t think there is a problem with, it should move Handbrake converted files from one directory to another where a media manager can pick them up: The next one, is supposed to delete the original files after they have been copied. The last time I tried it, it looked like it was removing files from all directories which was not the desired effect.
-
[Plugin] CA Fix Common Problems
Hello, getting a strange message that I don't recall seeing when running extended tests: Warning: parse_ini_file(/boot/config/share.cfg): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/fix.common.problems/include/tests.php on line 1706 I've uninstalled and reinstalled the plugin and still get the error?
hmgnsd
Members
-
Joined
-
Last visited