Page 20 of 25

Re: [DEB] Debian package

Posted: 12 Feb 2019, 04:36
by rednoah
Yes, there will be a noarch package:
viewtopic.php?f=6&t=9535

Re: --mode interactive

Posted: 25 Feb 2019, 15:48
by mouzzampk2014
I like it :)

Re: Choose Java Swing Look-and-Feel (e.g. Dark Mode)

Posted: 25 Feb 2019, 18:44
by DaVoodoo
@rednoah, more detailed windows instructions for a noob please. :roll:

Re: Choose Java Swing Look-and-Feel (e.g. Dark Mode)

Posted: 25 Feb 2019, 19:23
by rednoah
  1. Open Start Menu and search for Set Environment Variables
  2. Click on New
    Name:

    Code: Select all

    FILEBOT_OPTS
    Value:

    Code: Select all

    -Dnet.filebot.theme=Darcula
  3. Click OK and then relaunch FileBot.

:!: Note that you'll need the latest revision (i.e. r6135 or higher) for any of this to work. The FileBot (platform) launcher is using the Darcula theme by default now as well.

Re: Choose Java Swing Look-and-Feel (e.g. Dark Mode)

Posted: 25 Feb 2019, 20:34
by DaVoodoo
Thanks rednoah. Much appreciated. :D

Re: MediaInfo Inspector

Posted: 02 Mar 2019, 13:25
by shreyas1122
I would like to use {video[0].frameRate} in an IF condition, I'm not able to figure out how to do it.
i tried printing the framerate on the gui and then comparing as float num and string, but it always returns a 'false' : {video[0].frameRate > 1.0 }

Any help ??
Thanks (Y)

Re: MediaInfo Inspector

Posted: 02 Mar 2019, 13:38
by rednoah
You'll need to convert the String value to a Number before can compare it numerically:

Code: Select all

video[0].frameRate.toFloat() > 1.0

Re: Discord / Slack / IRC Channel

Posted: 22 Mar 2019, 15:43
by devster
The Slack channel seems to require an @filebot.net email account to sign up.
Is it still active?

Re: Discord / Slack / IRC Channel

Posted: 22 Mar 2019, 17:12
by rednoah
Discord Channel is the way to go. I'll update the OP.

Change from Upper case to Lower Case a part of s00e00

Posted: 09 Apr 2019, 10:21
by JustOneOfMany
HI,

I am new to Filebot and I am trying to figure out how to manipulate the output:

my preset is {n} {y} {s00e00} {t} which gives me the following output

MyName 2019 S01E01 First Try

but I would like to have the resulting output

MyName 2019 S01e01 First Try

Tried lower() etc to no avail. I am certainly missing something.

What is the fastest way of obtaining S01e01 instead of S01E01

Thank you in advance

Re: Presets

Posted: 09 Apr 2019, 10:28
by rednoah
This will do:

Code: Select all

s00e00.replace('E', 'e')

Re: Discord / Slack / IRC Channel

Posted: 09 Apr 2019, 16:31
by rednoah
Discord is actively being used by a handful of people.

Re: [Anime] Convert Absolute to SxE numbers

Posted: 02 May 2019, 11:55
by Vartikanshi579
I agree with rednoah.

Re: [RPM] Fedora package

Posted: 10 May 2019, 13:58
by b2un0
Error on CentOS 7.

Code: Select all

  - nothing provides java-1.8.0-openjdk-openjfx needed by filebot-4.8.5-universal.jdk8.noarch
i doesn't understand why the .rpm package have a dependency on openjfx.
the .deb packages only recommends openjfx.

Im searching for 2 hours for a CentOS 7 Repo which provide the "java-1.8.0-openjdk-openjfx" as package - i give up.

Re: [DEB] Debian package

Posted: 10 May 2019, 14:14
by b2un0
the apt repo is still broken

Code: Select all

W: GPG error: https://get.filebot.net/deb universal Release: Detached signature file '/var/lib/apt/lists/partial/get.filebot.net_deb_dists_universal_Release.gpg' is in unsupported binary format
tested on debian stretch and buster, nothing works.

Failed > deb https://get.filebot.net/deb/ universal main
Failed > deb [arch=amd64] https://get.filebot.net/deb/ stable main

they key is installed

Code: Select all

[email protected]:/etc/apt# apt-key adv --fetch-keys https://get.filebot.net/filebot/KEYS
Executing: /tmp/apt-key-gpghome.3sjEk5Kz9e/gpg.1.sh --fetch-keys https://get.filebot.net/filebot/KEYS
gpg: requesting key from 'https://get.filebot.net/filebot/KEYS'
gpg: key 4E402EBF7C3C6A71: 4 signatures not checked due to missing keys
gpg: key 4E402EBF7C3C6A71: "Reinhard Pointner <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

Re: [RPM] Fedora package

Posted: 10 May 2019, 14:19
by rednoah
The RPM package is tested on Fedora.

Since some of these dependency are optional, or can be provided by the user manually, Requires is not ideal, but since there's no Recommends AFAIK, this is what we've got:

Code: Select all

Requires:       java-1.8.0-openjdk
Requires:       java-1.8.0-openjdk-openjfx
Requires:       jna
Requires:       mediainfo
Requires:       p7zip
Requires:       p7zip-plugins

EDIT:

I've found some other key words in some other docs. I guess Recommends is possible. Will use Recommends for upcoming builds.

Re: [RPM] Fedora package

Posted: 10 May 2019, 14:32
by b2un0
Okay, thanks. i will try Fedora for my Dockerfile..

*edit*

yes, this works, thank you!

Re: [DEB] Debian package

Posted: 10 May 2019, 18:09
by rednoah
Works for me:

Code: Select all

Hit:4 https://get.filebot.net/deb stable Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
Tested on Ubuntu. Not sure if there's something significantly different on Debian.


EDIT:

There seems to be a recent change that requires ascii-armoured signature files.

Re: [Anime] Convert Absolute to SxE numbers

Posted: 20 May 2019, 08:45
by Gallltid
Thanks for this tutorial.

Re: [DOCS] FileBot Groovy Expression References

Posted: 05 Jun 2019, 18:32
by devster
Pardon my nosiness, how do you generate these pages?
They're a real eye opener, for example I had no idea String.match() could accept a map.

Re: [DOCS] FileBot Groovy Expression References

Posted: 05 Jun 2019, 18:37
by rednoah
The FileBot API Documentation is generated from the source using the javadoc tool.

Re: MediaInfo Inspector

Posted: 09 Jun 2019, 07:12
by redbull666
Lately I am seeing more releases of which I cannot seem to get a useful {source} extracted.

Example 1 (OK): https://paste.gg/p/anonymous/f8d52f198a ... d6402ffae3 (seen in the BluRay-1080p tag)
Example 2 (not OK) https://paste.gg/p/anonymous/8691f9399e ... 949c3ebbf2 (see the -2160p tag)

I wonder why 1 works, and not 2. What is different exactly?

I updated Mediainfo to the repo provided by Mediainfo, but that was after, not sure that helps.

Re: MediaInfo Inspector

Posted: 09 Jun 2019, 07:37
by rednoah
{source} is not a MediaInfo binding. {source} is based primary on the filename, i.e. if the filename contains BluRay then {source} will be BluRay, if the filename is abc.mp4 then {source} will be undefined.

Re: MediaInfo Inspector

Posted: 10 Jun 2019, 15:25
by redbull666
rednoah wrote: 09 Jun 2019, 07:37 {source} is not a MediaInfo binding. {source} is based primary on the filename, i.e. if the filename contains BluRay then {source} will be BluRay, if the filename is abc.mp4 then {source} will be undefined.
Aaah ok, still I did not get a valid source from the release with this filename:

Django Unchained (2012) (1080p BluRay x265 HEVC 10bit AAC 5.1 Silence)

Re: MediaInfo Inspector

Posted: 10 Jun 2019, 15:50
by rednoah
{source} does work for this one:

Code: Select all

$ filebot -mediainfo . --format "[{source}] {fn}"
[BluRay] Django Unchained (2012) (1080p BluRay x265 HEVC 10bit AAC 5.1 Silence)