Receiving TV Data

All about user-defined episode / movie / file name format expressions
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Receiving TV Data

Post by rednoah »

There's probably a similar command for Windows if you Google for it.
And we're full circle :D
@see http://stackoverflow.com/a/9109138

If I must do it, I do so on Linux. :lol:
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Receiving TV Data

Post by Sheldon »

Yes we have a full circle because you don't answer my question!
You have relesed a WINDOWS VERSION.
So how do YOU do it on WINDOWS?
How is it implemented in the jar?
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Receiving TV Data

Post by rednoah »

How do I do it on Windows? I have GnuWin32 utilities installed. :D
Image

How is it implemented in the jar? In compiled Java byte code that you cannot change.
https://sourceforge.net/p/filebot/code/ ... s.java#l12

Is the answer to any of those questions useful to you?
Probably not.

Do I have all the answers, that have little to do with FileBot, but lots with basic cmdline usage on Windows?
No.

Does Google have all the answers?
Yes.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Receiving TV Data

Post by Sheldon »

Ah! You do the filtering in the Java code not in the request!
Thanks! That helps!
So I have to integrate GnuWin32 into my PortableApps Platform.
Now I know what to do.

Thanks a lot for your support!

By the way! Wouldn't it be a good idea to extend the -list command to support --filter?
Or is this not on your side?
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Receiving TV Data

Post by rednoah »

In the latest revision it's implemented already. ;)
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Receiving TV Data

Post by Sheldon »

Latest version? I run version 4.0.
In this it is not implemented, or?
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Receiving TV Data

Post by rednoah »

No, I implemented it yesterday, so it's not in the latest stable release.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Receiving TV Data

Post by Sheldon »

Ah! Great! So discussion leads to improvement! That's how it should be! :D
Can you already say when it will be available in a stable release?
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Receiving TV Data

Post by rednoah »

Maybe 2-3 months. But you can always grab the latest jar from sourceforge. See FAQ.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Receiving TV Data

Post by Sheldon »

Ah, thanks! I grabbed the latest FileBot.jar from sourceforge but it seems that the windows GUI is not working with it. It simply doesn't open at all.
And I testet --filter "s=1" but it didn't get data at all.
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Receiving TV Data

Post by rednoah »

You need at least Java 7 now.

== not =

Code: Select all

--filter "s == 1"
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Receiving TV Data

Post by Sheldon »

I use the latest Java 7.55 but --filter "s == 1" doesn't get any data at all.
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Receiving TV Data

Post by rednoah »

Image
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Receiving TV Data

Post by Sheldon »

No not for me!
The same procedure works with version 4.0 except the --filter.
So there is something wrong with the jar or the --filter syntax.
Do you use Java 7.55? Or is it a Windows issue?
The Filbot app doesn't start.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Receiving TV Data

Post by Sheldon »

FYI: FileBot 4.1 RC1 portable fails opening the GUI!
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Receiving TV Data

Post by rednoah »

Tested on Mac and it works just fine.

Please run it with cmdline and post the logs.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Receiving TV Data

Post by Sheldon »

Mac? You are joking, aren't you? :lol:
I tested it on Windows and it failed!
I only run it with the cmd command (java command).
Where do I find the logs? There are some files in FileBot\Cache\0. Do you need one of those?
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Receiving TV Data

Post by rednoah »

I was at the HCI lab at the time, but the point is it works on all platforms. I've tested Windows, Ubuntu and Mac and it works. If you want to see the console output you're can run filebot from cmdline either with filebot.cmd or java -jar FileBot.jar and then copy/paste what you see in the cmd window.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Receiving TV Data

Post by Sheldon »

Here is the exception:

Code: Select all

Apr 23, 2014 11:32:07 AM net.filebot.Main main
Schwerwiegend: Can't instantiate Preferences factory net.sourceforge.tuned.prefs
.FilePreferencesFactory
java.lang.InternalError: Can't instantiate Preferences factory net.sourceforge.t
uned.prefs.FilePreferencesFactory
        at java.util.prefs.Preferences.factory(Unknown Source)
        at java.util.prefs.Preferences.<clinit>(Unknown Source)
        at net.filebot.Settings.forPackage(Settings.java:111)
        at net.filebot.ui.MainFrame.<clinit>(MainFrame.java:65)
        at net.filebot.Main.startUserInterface(Main.java:255)
        at net.filebot.Main.access$000(Main.java:69)
        at net.filebot.Main$2.run(Main.java:209)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(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$1.doIntersectionPrivilege(Unknown Sour
ce)
        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)
Caused by: java.lang.ClassNotFoundException: net.sourceforge.tuned.prefs.FilePre
ferencesFactory
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        ... 21 more
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Receiving TV Data

Post by rednoah »

For the bigger releases you might need to get the new package, and not just the jar. The configs have changed, and the new jar in not compatible with the old config.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Receiving TV Data

Post by Sheldon »

I took the new package but it failed.
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Receiving TV Data

Post by rednoah »

This exact error message is not possible if you are using the latest configuration:

Code: Select all

Can't instantiate Preferences factory net.sourceforge.tuned.prefs.FilePreferencesFactory
So you probably copied the cmdline options at some point. But now you need to update them cause things changed.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Receiving TV Data

Post by Sheldon »

I changed the cmd and now it works. The filter works as well. Great!
Are multiple filters possible?
I think about some somethings like --filter "s==1" "e == 10".

I found this setting -Dnet.filebot.AcoustID.fpcalc="%~dp0fpcalc.exe".
What is it? I could't find any fpcalc.exe.
Seems to be new.
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Receiving TV Data

Post by rednoah »

1.
No, but yes. 1 expression of arbitrary complexity:

Code: Select all

"s==1 && e == 10"
2.
fpcalc is the program that computes the acoustid finger prints. It's only required for audio identification.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Receiving TV Data

Post by Sheldon »

Thanks! It works fine! :D
Shouldn't the fpcalc.exe be in the zip?

Ah! It seems that something like "e>=10","e<>10" or "e<10" is not possible.
That would be helpful!
Post Reply