Giter Site home page Giter Site logo

Groovy and passing a mount path about scripts HOT 4 CLOSED

filebot avatar filebot commented on August 27, 2024
Groovy and passing a mount path

from scripts.

Comments (4)

rednoah avatar rednoah commented on August 27, 2024

Please copy and paste the error message.

Please read this and include additional system information:
https://www.filebot.net/forums/viewtopic.php?f=5&t=1868

from scripts.

elstevega avatar elstevega commented on August 27, 2024

Can confirm; seeing the same behavior - however I do not believe the problem is with the .groovy script - I have two Ubuntu installations that are identical with the exception of the version of filebot - 4.7.5 runs correctly, 4.7.9 returns the error mentioned above. Permissions on the /mnt and subsequent directories are identical...

filebot -script fn:sysinfo

FileBot 4.7.9 (r4986)
JNA Native: 5.1.0
MediaInfo: 0.7.82
7-Zip-JBinding: 9.20
Chromaprint: 1.2.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-11-21 (r512)
Groovy: 2.4.10
JRE: OpenJDK Runtime Environment 1.8.0_121
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 875 MB Max Memory / 28 MB Used Memory
OS: Linux (amd64)
Package: SNAP
uname: Linux TorrentBox 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Done ã¾(ï¼ âã¼âï¼ )ã

COMMAND LINE:

ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME"
ARG_NAME="$TR_TORRENT_NAME"
ARB_LABEL="N/A"
CONFIG_OUTPUT="/mnt/hgfs/MediaServer/iTunes Media/"

/snap/bin/filebot -script fn:amc --output "$CONFIG_OUTPUT" -no-xattr --log-file amc.log --action duplicate --conflict skip -non-strict --def music=n artwork=n ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL"

from scripts.

rednoah avatar rednoah commented on August 27, 2024

What is the console output of your Transmission script that calls FileBot?
https://www.filebot.net/forums/viewtopic.php?f=4&t=3067

If you're trying to access /mnt from a SNAP app then that can't work. SNAP applications are running with reduced permissions and can only access certain files. Here's more information for how to get around this issue:
https://www.filebot.net/forums/viewtopic.php?f=11&t=5139

from scripts.

elstevega avatar elstevega commented on August 27, 2024

from scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.