How to extract and organize files from archives?

All your suggestions, requests and ideas for future development
Post Reply
User avatar
Wolfie
Posts: 114
Joined: 27 Oct 2015, 02:59

How to extract and organize files from archives?

Post by Wolfie »

Intermittent behavior and appears to happen via both script and GUI.

I've noticed this a couple of times, some folders get skipped (script) or a selected folder to process (GUI) simply won't try to match the content, as though the content doesn't exist. (By this, I mean no spinning icon to indicate that it is trying to find a match, not even a blink of an icon.) This only seems to happen when there is no actual media file present (ie, it's in an archive). If I extract the media file myself, then it works per normal. Haven't had (well, noticed) this issue until recently.

Output from the system info script:

Code: Select all

FileBot 4.7.9 (r4984)
JNA Native: 5.1.0
MediaInfo: 0.7.93
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-05-15 (r500)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_131
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 7 GB Max Memory / 19 MB Used Memory
OS: Windows Server 2012 R2 (amd64)
Package: MSI
Done ?(?????)?
When I try to enable "--mode interactive" I get the following error:

Code: Select all

Exception in thread "AWT-EventQueue-0" net.filebot.cli.CmdlineException: Illegal mode: interactive
        at net.filebot.Main.startUserInterface(Main.java:190)
        at net.filebot.Main.lambda$main$1(Main.java:126)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot not querying for matches

Post by rednoah »

1.
If there's no media files, then there's nothing for FileBot to do. What did you get expect to happen?


2.
Let me guess, you just called "filebot --mode interactive" then? That's not a valid command. You can't start the GUI in console-interactive mode. What did you expect to happen?
:idea: Please read the FAQ and How to Request Help.
User avatar
Wolfie
Posts: 114
Joined: 27 Oct 2015, 02:59

Re: FileBot not querying for matches

Post by Wolfie »

1. I expected it to open up the RAR files like it usually does. What did you think I expected to happen?

2. Guess again. I tried it while selecting a folder for it to process and got that error.
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot not querying for matches

Post by rednoah »

1.
What does it usually do, and what's not working? That's 2 screenshots please.

AFAIK, FileBot doesn't rename RAR archives. Never has, never will, since RAR archives are not video files.


2.
According to the log, you tried to start the GUI with invalid arguments and so it immediately crashed. There would be no way for you to load files since the GUI would never have appeared. The log you posted is probably completely unrelated to the issue you're trying to describe.

Again, screenshots, would be infinitely more helpful than verbal descriptions subject to interpretation. ;)
:idea: Please read the FAQ and How to Request Help.
User avatar
Wolfie
Posts: 114
Joined: 27 Oct 2015, 02:59

Re: FileBot not querying for matches

Post by Wolfie »

1. Wasn't looking for it to rename RAR files. Just I'm used to it extracting the video files from the RAR files.

2. I'll worry about the interactive later.
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot not querying for matches

Post by rednoah »

1.
You can mass-extract files via Filter ➔ Archives. In the CLI, the amc script will first extract files with -extract, and then organize them with -rename. Either way, you can't directly process "files" from inside an archive to the destination path in one single operation.


2.
--mode interactive is specific to filebot commands like -rename and -list. If you don't specify a filebot -command then calling filebot will launch the GUI, in which case --mode can be used to launch a specific GUI mode, such as Rename or Filter.

e.g. GUI single panel mode:

Code: Select all

filebot --mode Rename
e.g. CLI console-interactive mode:

Code: Select all

filebot -rename --mode interactive <more args>
@see viewtopic.php?f=3&t=4398
:idea: Please read the FAQ and How to Request Help.
Post Reply