Little help - Script and struggling with

Running FileBot from the console, Groovy scripting, shell scripts, etc
uaeproz
Donor
Posts: 51
Joined: 19 Jan 2017, 08:50

Re: Little help - Script and struggling with

Post by uaeproz »

Code: Select all

root@Tower:~# cd /path/to/install/filebot/folder
-bash: cd: /path/to/install/filebot/folder: No such file or directory
root@Tower:~# mc

root@Tower:/boot/config/plugins# tar xf FileBot_4.7.8-portable.tar.xz

root@Tower:/boot/config/plugins# #!/bin/sh -xu
wget "https://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot_4.7.8_                                                                             B1/FileBot_4.7.8-portable.tar.xz"

# Extract *.tar.xz archive
tar xvf *.tar.xz

# Download native libraries
root@Tower:/boot/config/plugins#
root@Tower:/boot/config/plugins# # Download latest portable package

root@Tower:/boot/config/plugins# wget "https://sourceforge.net/projects/filebot/                                                                             files/filebot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz"
Will not apply HSTS. The HSTS database must be a regular and non-world-writable                                                                              file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 13:48:18--  https://sourceforge.net/projects/filebot/files/filebot/                                                                             HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot_4.                                                                             7.8_B1/FileBot_4.7.8-portable.tar.xz/ [following]
--2017-02-01 13:48:19--  https://sourceforge.net/projects/filebot/files/filebot/                                                                             HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz/
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot_4.                                                                             7.8_B1/FileBot_4.7.8-portable.tar.xz/download [following]
--2017-02-01 13:48:20--  https://sourceforge.net/projects/filebot/files/filebot/                                                                             HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz/download
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.sourceforge.net/project/filebot/filebot/HEAD/FileBot                                                                             _4.7.8_B1/FileBot_4.7.8-portable.tar.xz?r=&ts=1485942501&use_mirror=excellmedia                                                                              [following]
--2017-02-01 13:48:21--  https://downloads.sourceforge.net/project/filebot/fileb                                                                             ot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz?r=&ts=1485942501&use_mirr                                                                             or=excellmedia
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.5                                                                             9|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://excellmedia.dl.sourceforge.net/project/filebot/filebot/HEAD/Fi                                                                             leBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz [following]
--2017-02-01 13:48:23--  https://excellmedia.dl.sourceforge.net/project/filebot/                                                                             filebot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202                                                                             .153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|20                                                                             2.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18299804 (17M) [application/octet-stream]
Saving to: ‘FileBot_4.7.8-portable.tar.xz.1’

FileBot_4.7.8-portable.tar.xz.1         100%[============================================================================>]  17.45M   508KB/s    in 42s

2017-02-01 13:49:07 (428 KB/s) - ‘FileBot_4.7.8-portable.tar.xz.1’ saved [18299804/18299804]

root@Tower:/boot/config/plugins#
root@Tower:/boot/config/plugins# # Extract *.tar.xz archive
root@Tower:/boot/config/plugins# tar xvf *.tar.xz
FileBot.jar
filebot.cmd
filebot.portable.launcher.exe
filebot.portable.launcher.l4j.ini
filebot.sh
update-filebot.sh
root@Tower:/boot/config/plugins#
root@Tower:/boot/config/plugins# # Download native libraries
ster/lib/native/linux-amd64/fpcalc"et "https://github.com/filebot/filebot/raw/ma
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 13:49:08--  https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/fpcalc
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/fpcalc [following]
--2017-02-01 13:49:10--  https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/fpcalc
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5157056 (4.9M) [application/octet-stream]
Saving to: ‘fpcalc’

fpcalc                                  100%[============================================================================>]   4.92M  11.5MB/s    in 0.4s

2017-02-01 13:49:13 (11.5 MB/s) - ‘fpcalc’ saved [5157056/5157056]

ster/lib/native/linux-amd64/lib7-Zip-JBinding.so"thub.com/filebot/filebot/raw/ma
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 13:49:13--  https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/lib7-Zip-JBinding.so
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/lib7-Zip-JBinding.so [following]
--2017-02-01 13:49:14--  https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/lib7-Zip-JBinding.so
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2745145 (2.6M) [application/octet-stream]
Saving to: ‘lib7-Zip-JBinding.so’

lib7-Zip-JBinding.so                    100%[============================================================================>]   2.62M  12.3MB/s    in 0.2s

2017-02-01 13:49:15 (12.3 MB/s) - ‘lib7-Zip-JBinding.so’ saved [2745145/2745145]

ster/lib/native/linux-amd64/libjnidispatch.so"/github.com/filebot/filebot/raw/ma
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 13:49:15--  https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/libjnidispatch.so
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/libjnidispatch.so [following]
--2017-02-01 13:49:16--  https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/libjnidispatch.so
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 111408 (109K) [application/octet-stream]
Saving to: ‘libjnidispatch.so’

libjnidispatch.so                       100%[============================================================================>] 108.80K  --.-KB/s    in 0.02s

2017-02-01 13:49:16 (4.79 MB/s) - ‘libjnidispatch.so’ saved [111408/111408]

ster/lib/native/linux-amd64/libmediainfo.so"://github.com/filebot/filebot/raw/ma
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 13:49:16--  https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/libmediainfo.so
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/libmediainfo.so [following]
--2017-02-01 13:49:17--  https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/libmediainfo.so
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7039776 (6.7M) [application/octet-stream]
Saving to: ‘libmediainfo.so’

libmediainfo.so                         100%[============================================================================>]   6.71M  12.3MB/s    in 0.5s

2017-02-01 13:49:20 (12.3 MB/s) - ‘libmediainfo.so’ saved [7039776/7039776]

ster/lib/native/linux-amd64/libzen.so""https://github.com/filebot/filebot/raw/ma
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 13:49:20--  https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/libzen.so
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/libzen.so [following]
--2017-02-01 13:49:21--  https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/libzen.so
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 308352 (301K) [application/octet-stream]
Saving to: ‘libzen.so’

libzen.so                               100%[============================================================================>] 301.12K  --.-KB/s    in 0.05s

2017-02-01 13:49:22 (5.95 MB/s) - ‘libzen.so’ saved [308352/308352]

root@Tower:/boot/config/plugins#
root@Tower:/boot/config/plugins# # Verify filebot.sh works
root@Tower:/boot/config/plugins# $PWD/filebot.sh -script fn:sysinfo
/boot/config/plugins/filebot.sh: line 48: java: command not found
root@Tower:/boot/config/plugins#
root@Tower:/boot/config/plugins# # Link into default $PATH
bott@Tower:/boot/config/plugins# sudo ln -sf $PWD/filebot.sh /usr/local/bin/file
root@Tower:/boot/config/plugins#
root@Tower:/boot/config/plugins# # Verify filebot command works
root@Tower:/boot/config/plugins# filebot -version && echo "DONE"
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Little help - Script and struggling with

Post by rednoah »

Alright, completely wrong right away...

Code: Select all

root@Tower:~# cd /path/to/install/filebot/folder
-bash: cd: /path/to/install/filebot/folder: No such file or directory
I don't know where you want to install FileBot, so I can't give you the command verbatim. The script will install filebot to the current directory, wherever that may be. Also, I don't know what mc is supposed to do.

On my device, it would look like this:

Code: Select all

cd /volume1/app/filebot
On your device, you may want to use a different folder. You also may need to create that folder first.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Little help - Script and struggling with

Post by rednoah »

Java is not installed:

Code: Select all

filebot.sh: line 48: java: command not found
You need to install java. Strange, because according to your previous logs filebot is already running which means java was working at that point in time.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Little help - Script and struggling with

Post by rednoah »

Alright, from the start, and this time it's even simpler.


Copy and paste each individual command. Run the command. If there are any error messages, stop, don't run any other commands and just paste the output with the error message.


Go into your "home" folder:

Code: Select all

cd /volume1
/volume1 depends on you. YOU MUST REPLACE /volume1 WITH WHATEVER MAKES SENSE ON YOUR SYSTEM.


Create "app" folder:

Code: Select all

mkdir app
Download scripts to "app" folder and make them executable:

Code: Select all

curl -O https://raw.githubusercontent.com/rednoah/java-installer/master/release/get-java.sh

Code: Select all

curl -O https://raw.githubusercontent.com/filebot/plugins/master/bash/install-filebot.sh

Code: Select all

chmod +x *.sh
Install Java:

Code: Select all

mkdir java

Code: Select all

cd java

Code: Select all

./../get-java.sh install
Go back to "app" folder:

Code: Select all

cd ..
Install FileBot:

Code: Select all

mkdir filebot

Code: Select all

cd filebot

Code: Select all

./../install-filebot.sh
Go back to "app" folder:

Code: Select all

cd ..
:idea: Try to understand what each command is doing, and do read the output to make sure that each command is successful. Do not execute the following command if the previous command fails for some reason.
:idea: Please read the FAQ and How to Request Help.
uaeproz
Donor
Posts: 51
Joined: 19 Jan 2017, 08:50

Re: Little help - Script and struggling with

Post by uaeproz »

Code: Select all

root@Tower:/usr/local/app/java# ./../get-java.sh install
Download http://download.oracle.com/otn-pub/java/jdk/8u121-b13/jdk-8u121-linux-x                                                                             64.tar.gz
*   Trying 2.21.231.112...
* TCP_NODELAY set
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*                                                                              Connected to download.oracle.com (2.21.231.112) port 80 (#0)
> GET /otn-pub/java/jdk/8u121-b13/jdk-8u121-linux-x64.tar.gz HTTP/1.1
> Host: download.oracle.com
> User-Agent: curl/7.51.0
> Accept: */*
> Cookie: oraclelicense=accept-securebackup-cookie
>
< HTTP/1.1 302 Moved Temporarily
< Server: AkamaiGHost
< Content-Length: 0
< Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u121-b13/jdk-8u121-li                                                                             nux-x64.tar.gz
< Date: Wed, 01 Feb 2017 17:34:53 GMT
< Connection: keep-alive
<
* Curl_http_done: called premature == 0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host download.oracle.com left intact
* Issue another request to this URL: 'https://edelivery.oracle.com/otn-pub/java/                                                                             jdk/8u121-b13/jdk-8u121-linux-x64.tar.gz'
*   Trying 104.75.216.100...
* TCP_NODELAY set
* Connected to edelivery.oracle.com (104.75.216.100) port 443 (#1)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /usr/share/curl/ca-bundle.crt
  CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [104 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [3686 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: C=US; ST=California; L=Redwood Shores; O=Oracle Corporation; OU=Cont                                                                             ent Management Services IT; CN=www.oracle.com
*  start date: Sep 16 00:00:00 2016 GMT
*  expire date: Dec 16 23:59:59 2017 GMT
*  subjectAltName: host "edelivery.oracle.com" matched cert's "edelivery.oracle.                                                                             com"
*  issuer: C=US; O=GeoTrust Inc.; CN=GeoTrust SSL CA - G3
*  SSL certificate verify ok.
} [5 bytes data]
> GET /otn-pub/java/jdk/8u121-b13/jdk-8u121-linux-x64.tar.gz HTTP/1.1
> Host: edelivery.oracle.com
> User-Agent: curl/7.51.0
> Accept: */*
> Cookie: oraclelicense=accept-securebackup-cookie
>
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0{                                                                              [5 bytes data]
< HTTP/1.1 302 Moved Temporarily
< Server: Oracle-HTTP-Server-11g
< Location: http://download.oracle.com/otn-pub/java/jdk/8u121-b13/jdk-8u121-linu                                                                             x-x64.tar.gz?AuthParam=1485970614_0dd21d15177af5016ed9ad6fdf99e3fd
< Content-Type: text/plain
< Content-Language: en
< Content-Length: 465
< Date: Wed, 01 Feb 2017 17:34:54 GMT
< Connection: keep-alive
<
* Ignoring the response-body
{ [465 bytes data]
* Curl_http_done: called premature == 0
100   465  100   465    0     0    303      0  0:00:01  0:00:01 --:--:--  1059
* Connection #1 to host edelivery.oracle.com left intact
* Issue another request to this URL: 'http://download.oracle.com/otn-pub/java/jd                                                                             k/8u121-b13/jdk-8u121-linux-x64.tar.gz?AuthParam=1485970614_0dd21d15177af5016ed9                                                                             ad6fdf99e3fd'
* Found bundle for host download.oracle.com: 0x6880a0 [can pipeline]
* Re-using existing connection! (#0) with host download.oracle.com
* Connected to download.oracle.com (2.21.231.112) port 80 (#0)
> GET /otn-pub/java/jdk/8u121-b13/jdk-8u121-linux-x64.tar.gz?AuthParam=148597061                                                                             4_0dd21d15177af5016ed9ad6fdf99e3fd HTTP/1.1
> Host: download.oracle.com
> User-Agent: curl/7.51.0
> Accept: */*
> Cookie: oraclelicense=accept-securebackup-cookie
>
  0     0    0     0    0     0      0      0 --:--:--  0:02:02 --:--:--     0< HTTP/1.1 404 Not Found
< Server: Apache
< ETag: "477d9862374177c810b0b7d73b4f1e53:1319689022"
< Last-Modified: Wed, 31 Aug 2011 20:28:54 GMT
< Accept-Ranges: bytes
< Content-Length: 7073
< Content-Type: text/html
< Date: Wed, 01 Feb 2017 17:36:55 GMT
< Connection: keep-alive
<
{ [7073 bytes data]
100  7073  100  7073    0     0     57      0  0:02:04  0:02:03  0:00:01  1577* Curl_http_done: called premature == 0
100  7073  100  7073    0     0     57      0  0:02:04  0:02:03  0:00:01  2031
* Connection #0 to host download.oracle.com left intact
Expected SHA256 checksum: 97e30203f1aef324a07c94d9d078f5d19bb6c50e638e4492722debca588210bc
Actual SHA256 checksum: d97f0f402bd65a9c26aa266246b0894c8d6762e82373377641ca779c46406299
ERROR: SHA256 checksum mismatch
root@Tower:/usr/local/app/java# ./../get-java.sh install
Expected SHA256 checksum: 97e30203f1aef324a07c94d9d078f5d19bb6c50e638e4492722debca588210bc
Actual SHA256 checksum: d97f0f402bd65a9c26aa266246b0894c8d6762e82373377641ca779c46406299
ERROR: SHA256 checksum mismatch
root@Tower:/usr/local/app/java#
uaeproz
Donor
Posts: 51
Joined: 19 Jan 2017, 08:50

Re: Little help - Script and struggling with

Post by uaeproz »

Code: Select all

root@Tower:/usr/local/app/java# cd ..
root@Tower:/usr/local/app# mkdir filebot
root@Tower:/usr/local/app# cd filebot
root@Tower:/usr/local/app/filebot# ./../install-filebot.sh
+ wget https://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 21:39:36--  https://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz/ [following]
--2017-02-01 21:39:38--  https://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz/
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz/download [following]
--2017-02-01 21:39:39--  https://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz/download
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.sourceforge.net/project/filebot/filebot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz?r=&ts=1485970780&use_mirror=excellmedia [following]
--2017-02-01 21:39:40--  https://downloads.sourceforge.net/project/filebot/filebot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz?r=&ts=1485970780&use_mirror=excellmedia
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://excellmedia.dl.sourceforge.net/project/filebot/filebot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz [following]
--2017-02-01 21:39:42--  https://excellmedia.dl.sourceforge.net/project/filebot/filebot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202.153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18299804 (17M) [application/octet-stream]
Saving to: ‘FileBot_4.7.8-portable.tar.xz’

FileBot_4.7.8-portable.tar.xz           100%[============================================================================>]  17.45M  4.59MB/s    in 4.6s

2017-02-01 21:39:47 (3.81 MB/s) - ‘FileBot_4.7.8-portable.tar.xz’ saved [18299804/18299804]

+ tar xvf FileBot_4.7.8-portable.tar.xz
FileBot.jar
filebot.cmd
filebot.portable.launcher.exe
filebot.portable.launcher.l4j.ini
filebot.sh
update-filebot.sh
+ wget https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/fpcalc
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 21:39:48--  https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/fpcalc
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/fpcalc [following]
--2017-02-01 21:39:50--  https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/fpcalc
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5157056 (4.9M) [application/octet-stream]
Saving to: ‘fpcalc’

fpcalc                                  100%[============================================================================>]   4.92M  12.1MB/s    in 0.4s

2017-02-01 21:39:52 (12.1 MB/s) - ‘fpcalc’ saved [5157056/5157056]

+ wget https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/lib7-Zip-JBinding.so
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 21:39:52--  https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/lib7-Zip-JBinding.so
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/lib7-Zip-JBinding.so [following]
--2017-02-01 21:39:53--  https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/lib7-Zip-JBinding.so
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2745145 (2.6M) [application/octet-stream]
Saving to: ‘lib7-Zip-JBinding.so’

lib7-Zip-JBinding.so                    100%[============================================================================>]   2.62M  12.8MB/s    in 0.2s

2017-02-01 21:39:55 (12.8 MB/s) - ‘lib7-Zip-JBinding.so’ saved [2745145/2745145]

+ wget https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/libjnidispatch.so
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 21:39:55--  https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/libjnidispatch.so
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/libjnidispatch.so [following]
--2017-02-01 21:39:56--  https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/libjnidispatch.so
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 111408 (109K) [application/octet-stream]
Saving to: ‘libjnidispatch.so’

libjnidispatch.so                       100%[============================================================================>] 108.80K  --.-KB/s    in 0.03s

2017-02-01 21:39:57 (3.07 MB/s) - ‘libjnidispatch.so’ saved [111408/111408]

+ wget https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/libmediainfo.so
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 21:39:57--  https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/libmediainfo.so
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/libmediainfo.so [following]
--2017-02-01 21:39:58--  https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/libmediainfo.so
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7044576 (6.7M) [application/octet-stream]
Saving to: ‘libmediainfo.so’

libmediainfo.so                         100%[============================================================================>]   6.72M  12.9MB/s    in 0.5s

2017-02-01 21:40:01 (12.9 MB/s) - ‘libmediainfo.so’ saved [7044576/7044576]

+ wget https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/libzen.so
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 21:40:01--  https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/libzen.so
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/libzen.so [following]
--2017-02-01 21:40:02--  https://raw.githubusercontent.com/filebot/filebot/master/lib/native/linux-amd64/libzen.so
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 308352 (301K) [application/octet-stream]
Saving to: ‘libzen.so’

libzen.so                               100%[============================================================================>] 301.12K  --.-KB/s    in 0.03s

2017-02-01 21:40:02 (11.4 MB/s) - ‘libzen.so’ saved [308352/308352]

+ /usr/local/app/filebot/filebot.sh -script fn:sysinfo
/usr/local/app/filebot/filebot.sh: line 48: java: command not found
+ sudo ln -sf /usr/local/app/filebot/filebot.sh /usr/local/bin/filebot
+ filebot -version
/usr/local/bin/filebot: line 48: java: command not found
root@Tower:/usr/local/app/filebot#
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Little help - Script and struggling with

Post by rednoah »

1.
FileBot install script worked as far as I can tell.


2.
Java is not installed any my script doesn't work. Is there any official Java packages for your device? Is there a package manager like apt-get to install OpenJDK? What operating system are you running anyway?
:idea: Please read the FAQ and How to Request Help.
uaeproz
Donor
Posts: 51
Joined: 19 Jan 2017, 08:50

Re: Little help - Script and struggling with

Post by uaeproz »

Unraid Server OS
and the following plugins:
Preclear Disks
Fix Common Problems
Dynamix webGui
Community Applications
CA Cleanup Appdata
CA Backup / Restore Appdata
CA Auto Update Applications

The Dockers I have:
Plex
Sonarr


I don't think I have any Java scripts but how can I verify?
uaeproz
Donor
Posts: 51
Joined: 19 Jan 2017, 08:50

Re: Little help - Script and struggling with

Post by uaeproz »

I will restart the server and try again
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Little help - Script and struggling with

Post by rednoah »

OK, I've fixed my java install script. Please try that part again.

Go to "app" folder:

Code: Select all

cd app
Download latest script to "app" folder:

Code: Select all

curl -O https://raw.githubusercontent.com/rednoah/java-installer/master/release/get-java.sh
Make it executable:

Code: Select all

chmod +x *.sh
Create new "java" folder and go into that folder:

Code: Select all

rm -rf java && mkdir java && cd java
Run install script:

Code: Select all

./../get-java.sh install
:idea: Please read the FAQ and How to Request Help.
uaeproz
Donor
Posts: 51
Joined: 19 Jan 2017, 08:50

Re: Little help - Script and struggling with

Post by uaeproz »

Code: Select all

root@Tower:/mnt/cache/appdata# curl -O https://raw.githubusercontent.com/filebot                                                                             /plugins/master/bash/install-filebot.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   898  100   898    0     0   2179      0 --:--:-- --:--:-- --:--:--  3139
root@Tower:/mnt/cache/appdata# chmod +x *.sh
root@Tower:/mnt/cache/appdata# mc

root@Tower:/mnt/cache/appdata/filebot# ./../install-filebot.sh
+ wget https://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot_4.7.8                                                                             _B1/FileBot_4.7.8-portable.tar.xz
--2017-02-01 23:05:06--  https://sourceforge.net/projects/filebot/files/filebot/                                                                             HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot_4.                                                                             7.8_B1/FileBot_4.7.8-portable.tar.xz/ [following]
--2017-02-01 23:05:08--  https://sourceforge.net/projects/filebot/files/filebot/                                                                             HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz/
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot_4.                                                                             7.8_B1/FileBot_4.7.8-portable.tar.xz/download [following]
--2017-02-01 23:05:09--  https://sourceforge.net/projects/filebot/files/filebot/                                                                             HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz/download
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.sourceforge.net/project/filebot/filebot/HEAD/FileBot                                                                             _4.7.8_B1/FileBot_4.7.8-portable.tar.xz?r=&ts=1485975910&use_mirror=excellmedia                                                                              [following]
--2017-02-01 23:05:10--  https://downloads.sourceforge.net/project/filebot/fileb                                                                             ot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz?r=&ts=1485975910&use_mirr                                                                             or=excellmedia
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.5                                                                             9|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://excellmedia.dl.sourceforge.net/project/filebot/filebot/HEAD/Fi                                                                             leBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz [following]
--2017-02-01 23:05:12--  https://excellmedia.dl.sourceforge.net/project/filebot/                                                                             filebot/HEAD/FileBot_4.7.8_B1/FileBot_4.7.8-portable.tar.xz
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202                                                                             .153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|20                                                                             2.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18299804 (17M) [application/octet-stream]
Saving to: ‘FileBot_4.7.8-portable.tar.xz’

FileBot_4.7.8-porta 100%[===================>]  17.45M  4.81MB/s    in 3.6s

2017-02-01 23:05:16 (4.81 MB/s) - ‘FileBot_4.7.8-portable.tar.xz’ saved [1829980                                                                             4/18299804]

+ tar xvf FileBot_4.7.8-portable.tar.xz
FileBot.jar
filebot.cmd
filebot.portable.launcher.exe
filebot.portable.launcher.l4j.ini
filebot.sh
update-filebot.sh
+ wget https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/fpca                                                                             lc
Will not apply HSTS. The HSTS database must be a regular and non-world-writable                                                                              file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 23:05:17--  https://github.com/filebot/filebot/raw/master/lib/nativ                                                                             e/linux-amd64/fpcalc
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/li                                                                             nux-amd64/fpcalc [following]
--2017-02-01 23:05:19--  https://raw.githubusercontent.com/filebot/filebot/maste                                                                             r/lib/native/linux-amd64/fpcalc
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.1                                                                             33
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.                                                                             133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5157056 (4.9M) [application/octet-stream]
Saving to: ‘fpcalc’

fpcalc              100%[===================>]   4.92M  12.8MB/s    in 0.4s

2017-02-01 23:05:20 (12.8 MB/s) - ‘fpcalc’ saved [5157056/5157056]

+ wget https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/lib7                                                                             -Zip-JBinding.so
Will not apply HSTS. The HSTS database must be a regular and non-world-writable                                                                              file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 23:05:20--  https://github.com/filebot/filebot/raw/master/lib/nativ                                                                             e/linux-amd64/lib7-Zip-JBinding.so
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/li                                                                             nux-amd64/lib7-Zip-JBinding.so [following]
--2017-02-01 23:05:21--  https://raw.githubusercontent.com/filebot/filebot/maste                                                                             r/lib/native/linux-amd64/lib7-Zip-JBinding.so
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.1                                                                             33
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.                                                                             133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2745145 (2.6M) [application/octet-stream]
Saving to: ‘lib7-Zip-JBinding.so’

lib7-Zip-JBinding.s 100%[===================>]   2.62M  12.5MB/s    in 0.2s

2017-02-01 23:05:23 (12.5 MB/s) - ‘lib7-Zip-JBinding.so’ saved [2745145/2745145]

+ wget https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/libj                                                                             nidispatch.so
Will not apply HSTS. The HSTS database must be a regular and non-world-writable                                                                              file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 23:05:23--  https://github.com/filebot/filebot/raw/master/lib/nativ                                                                             e/linux-amd64/libjnidispatch.so
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/li                                                                             nux-amd64/libjnidispatch.so [following]
--2017-02-01 23:05:24--  https://raw.githubusercontent.com/filebot/filebot/maste                                                                             r/lib/native/linux-amd64/libjnidispatch.so
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.1                                                                             33
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.                                                                             133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 111408 (109K) [application/octet-stream]
Saving to: ‘libjnidispatch.so’

libjnidispatch.so   100%[===================>] 108.80K  --.-KB/s    in 0.03s

2017-02-01 23:05:25 (3.26 MB/s) - ‘libjnidispatch.so’ saved [111408/111408]

+ wget https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/libm                                                                             ediainfo.so
Will not apply HSTS. The HSTS database must be a regular and non-world-writable                                                                              file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 23:05:25--  https://github.com/filebot/filebot/raw/master/lib/nativ                                                                             e/linux-amd64/libmediainfo.so
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/li                                                                             nux-amd64/libmediainfo.so [following]
--2017-02-01 23:05:26--  https://raw.githubusercontent.com/filebot/filebot/maste                                                                             r/lib/native/linux-amd64/libmediainfo.so
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.1                                                                             33
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.                                                                             133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7044576 (6.7M) [application/octet-stream]
Saving to: ‘libmediainfo.so’

libmediainfo.so     100%[===================>]   6.72M  12.7MB/s    in 0.5s

2017-02-01 23:05:29 (12.7 MB/s) - ‘libmediainfo.so’ saved [7044576/7044576]

+ wget https://github.com/filebot/filebot/raw/master/lib/native/linux-amd64/libz                                                                             en.so
Will not apply HSTS. The HSTS database must be a regular and non-world-writable                                                                              file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2017-02-01 23:05:29--  https://github.com/filebot/filebot/raw/master/lib/nativ                                                                             e/linux-amd64/libzen.so
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/filebot/filebot/master/lib/native/li                                                                             nux-amd64/libzen.so [following]
--2017-02-01 23:05:30--  https://raw.githubusercontent.com/filebot/filebot/maste                                                                             r/lib/native/linux-amd64/libzen.so
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.1                                                                             33
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.                                                                             133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 308352 (301K) [application/octet-stream]
Saving to: ‘libzen.so’

libzen.so           100%[===================>] 301.12K  --.-KB/s    in 0.04s

2017-02-01 23:05:31 (7.88 MB/s) - ‘libzen.so’ saved [308352/308352]

+ /mnt/cache/appdata/filebot/filebot.sh -script fn:sysinfo
FileBot 4.7.7 (r4720)
JNA Native: 5.1.0
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bi                                                                             t) native library libmediainfo.so: Unable to load library 'mediainfo': Native li                                                                             brary (linux-x86-64/libmediainfo.so) not found in resource path ([file:/mnt/cach                                                                             e/appdata/filebot/FileBot.jar])
Apache Commons VFS: [zip, rar]
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=13, Permiss                                                                             ion denied
Extended Attributes: OK
Script Bundle: 2017-01-05 (r470)
Groovy: 2.4.8
JRE: Java(TM) SE Runtime Environment 1.8.0_121
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 6 GB Max Memory / 26 MB Used Memory
OS: Linux (amd64)
Package: PORTABLE
Data: /mnt/cache/appdata/filebot/data
uname: Linux Tower 4.4.30-unRAID #2 SMP PREEMPT Sat Nov 5 12:09:05 PDT 2016 x86_                                                                             64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz GenuineIntel GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
+ sudo ln -sf /mnt/cache/appdata/filebot/filebot.sh /usr/local/bin/filebot
+ filebot -version
FileBot 4.7.7 (r4720) / Java(TM) SE Runtime Environment 1.8.0_121 / Linux 4.4.30                                                                             -unRAID (amd64)
+ echo DONE
DONE
root@Tower:/mnt/cache/appdata/filebot#
uaeproz
Donor
Posts: 51
Joined: 19 Jan 2017, 08:50

Re: Little help - Script and struggling with

Post by uaeproz »

Code: Select all

root@Tower:/mnt/cache/appdata/filebot# filebot -script fn:sysinfo
FileBot 4.7.7 (r4720)
JNA Native: 5.1.0
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:/mnt/cache/appdata/filebot/FileBot.jar])
Apache Commons VFS: [zip, rar]
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=13, Permission denied
Extended Attributes: OK
Script Bundle: 2017-01-05 (r470)
Groovy: 2.4.8
JRE: Java(TM) SE Runtime Environment 1.8.0_121
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 6 GB Max Memory / 18 MB Used Memory
OS: Linux (amd64)
Package: PORTABLE
Data: /mnt/cache/appdata/filebot/data
uname: Linux Tower 4.4.30-unRAID #2 SMP PREEMPT Sat Nov 5 12:09:05 PDT 2016 x86_64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz GenuineIntel GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Little help - Script and struggling with

Post by rednoah »

I guess that's as good as it's gonna get. libmediainfo and fpcalc seem to be incompatible with your operating system so there's nothing we can do here. These components are optional depending on what you're trying to do though. FileBot will mostly work regardless.
:idea: Please read the FAQ and How to Request Help.
uaeproz
Donor
Posts: 51
Joined: 19 Jan 2017, 08:50

Re: Little help - Script and struggling with

Post by uaeproz »

root@Tower:/mnt/cache/appdata/filebot# filebot movies/{ny} - {resolution} - {channels}/{ny.$QUOTE_FIXER} - {resolution} - {channels} - {' CD'+pi} - {'.'+lang}
"-" is not a valid option
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Little help - Script and struggling with

Post by rednoah »

FileBot is a command-line tool. You will need to have a basic understanding of how command-line tools work if you want to do anything with it. You will need to read general tutorials on the internet on how to use the shell as well as the manual specific to the filebot command.


* http://www.tldp.org/LDP/Bash-Beginners- ... Guide.html
* http://www.filebot.net/cli.html
* viewtopic.php?f=4&t=1899


e.g.
Create test file:

Code: Select all

touch "Alias.1x01.mp4"
Rename with FileBot:

Code: Select all

filebot -rename "Alias.1x01.mp4" --db TheTVDB --format "{n} - {s00e00} - {t}"
:idea: Please read the FAQ and How to Request Help.
Post Reply