Problems Extracting files

Support for Ubuntu and other Desktop Linux distributions
Post Reply
earthcoder
Posts: 9
Joined: 09 Mar 2014, 12:35

Problems Extracting files

Post by earthcoder »

Hello Running Filebot on Raspbian pi 4 4GB
It sorts media just fine, but if there is a rar file it fails to extract or even see inside the file


if i run Amc script -
filebot -script fn:amc --output "/mnt/hdd/sortedmedia" --action duplicate -non-strict "/mnt/hdd/TV" --log-file amc-sorted.log --def excludeList=Sorted2.txt movieFormat="{genres =~ /Kids|Family|Animation/ ? 'Kids Movies' : 'Movies'}\{n} ({y})\{n}" seriesFormat="{genres =~ /Kids|Animation/ ? 'Kids TV' : 'TV Shows'}\{n} ({y})\{'Season ' +s}\{s00e00} - {n} - {t}" unsorted=y


Read archive [aTVshow.rar] and extract to [/mnt/hdd/TV/aTVshow]
[aTVshow.rar] contains [0] files


if i run: filebot -extract aTvShow.rar

Read archive [aTvShow.rar] and extract to [/mnt/hdd/TV/aTvShow]
[aTvShow.rar] contains [0] files


If i run: 7z e aTvShow.rar

7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,32 bits,4 CPUs LE)

Scanning the drive for archives:
1 file, 100000000 bytes (96 MiB)

Extracting archive: aTvShow.rar
--
Path = aTvShow.rar
Type = Rar
Physical Size = 100000000
Total Physical Size = 1950940312
Characteristics = Volume FirstVolume VolCRC
Solid = -
Blocks = 1
Multivolume = +
Volume Index = 0
Volumes = 20

Everything is Ok

Size: 1950938112
Compressed: 1950940312


If i run: filebot -script fn:sysinfo
FileBot 4.9.1 (r7372)
JNA Native: 5.2.2
MediaInfo: 18.12
p7zip: p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,32 bits,4 CPUs LE)
unrar: Archive not specified

unrar: net.filebot.ExecuteException: [unrar] failed (1)

Chromaprint: 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-06-18 (r655)
Groovy: 3.0.3
JRE: OpenJDK Runtime Environment 11.0.3
JVM: 32-bit OpenJDK Server VM
CPU/MEM: 4 Core / 941 MB Max Memory / 25 MB Used Memory
OS: Linux (arm)
HW: Linux raspberrypi 5.4.47-v7l+ #1322 SMP Wed Jun 17 17:58:52 BST 2020 armv7l GNU/Linux
STORAGE: ext4 [/] @ 109 GB | fuseblk [/mnt/hdd] @ 1.7 TB
DATA: /home/pi/.filebot
Package: DEB
License: FileBot License PX...... (Valid-Until: 2070-04-16)
Done ヾ(@⌒ー⌒@)ノ

I notice i got some Unrar issues but cant seem to find a unrar tool that works well on Pi, 7z seems to work ok, is there a way to force filebot to run 7z?

I searched forums but cant find any threads with people with same errors
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problems Extracting files

Post by rednoah »

You could write your own unrar tool that accepts unrar options but then calls 7z instead.


As for installing the appropriate unrar tool, there are more than one, please read this:
https://raspberrypi.stackexchange.com/q/3617
:idea: Please read the FAQ and How to Request Help.
earthcoder
Posts: 9
Joined: 09 Mar 2014, 12:35

Re: Problems Extracting files

Post by earthcoder »

many thanks i installed unrar now and seems to be working, thanks for your amazing support
Post Reply