Page 30 of 41

Re: Q&A for n00bs

Posted: 21 Mar 2019, 20:44
by devster
The second option is cleaner, start FROM the first one (Dockerfile syntax) and simply install FileBot, should work then.

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: [JDownloader] Setup for Windows, Linux and Mac OS X

Posted: 14 Apr 2019, 04:21
by GrEaTwArRiOr
hi, i am new here i try to do automation with jDownloader first i trying to understand the code...
i am a purchased user
here is my log below

Code: Select all

Locking C:\Users\WAVE111\AppData\Roaming\FileBot\logs\amc.log
Run script [fn:amc] at [Sun Apr 14 14:08:00 AEST 2019]
Parameter: skipExtract = y
Parameter: unsorted = y
Parameter: music = n
Parameter: artwork = n
Parameter: excludeList = excludes.txt
Parameter: ut_dir =
Parameter: ut_kind = multi
Parameter: ut_title =
Parameter: ut_label =
Argument[0]: D:\jDownload\extracted\test
Use excludes: D:\test\excludes.txt
Input: D:\jDownload\extracted\test\tests.mp4
xattr: [test.mp4] => [WWW - 2019x123 - April 2, 2019]
Group: [Series:test] => [test.mp4]
Rename episodes using [TheTVDB]
the thing that i need is i would like to use TMDB instead of TVDB also i just need to rename the file i dont need any subfolders.

please advise

thanks and regards,
Gr

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Posted: 14 Apr 2019, 04:22
by rednoah
The amc script does not allow you to use TheMovieDB as Episode Data Source, so you're plain out-of-luck here (unless you fork your own amc script).

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Posted: 14 Apr 2019, 04:24
by GrEaTwArRiOr
ok thanks, if there is any luck for without folder?

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Posted: 14 Apr 2019, 04:26
by GrEaTwArRiOr
ok thanks, if there is any luck for without folder?

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Posted: 14 Apr 2019, 05:15
by rednoah
What does "without folder" mean in the context of running the amc script?

Re: Exclude Blacklist & Series-Mappings

Posted: 30 Apr 2019, 12:13
by mami7880
Can you add dsds for Deutschland sucht den Superstar

Thank you

Re: Exclude Blacklist & Series-Mappings

Posted: 30 Apr 2019, 13:08
by rednoah
mami7880 wrote: 30 Apr 2019, 12:13 Can you add dsds for Deutschland sucht den Superstar
Please post file paths (and logs or screenshots) of files you're having trouble with.

Re: [Anime] Convert Absolute to SxE numbers

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

Re: Q&A for n00bs

Posted: 04 May 2019, 01:47
by w0wreally
Hey rednoah, I took your advice and just installed filebot straight up.

Is there an amc script command that works with just checking a download folder on schedule and running the renames to output to another folder - then running again 5 min later? Most of the routines posted seem to be focused on torrent scripting, but since I'm running my deluge in a docker those wouldn't work, not passing any commands. I just need a watcher.

Just have filebot installed to Ubuntu as normal. Would something like this, run on a schedule work? Are there any issues with it not completing in time before the next scheduled run - I'm doing local > local copies.

Code: Select all

filebot -script fn:amc --output "\download" --action copy -non-strict "\renamed" --log-file amc.log

Re: Q&A for n00bs

Posted: 04 May 2019, 03:31
by rednoah
1.
Linux is very powerful. There are many ways to schedule commands. There might even be GUI apps that make it especially easy. Google will help.

The general universal answer is to just use cron:
https://help.ubuntu.com/community/CronHowto


:!: Note that what you're trying to do is not allowed and will get you banned. You need to make sure that you're not processing all files over and over and over ad infinitum.
rednoah wrote: 01 Aug 2012, 13:04 If you run this script automatically in intervals every hour or every day, then you must set --def excludeList or you will get banned.
If you run this script automatically in intervals every hour or every day, then you must set --def excludeList or you will get banned.

I recommend getting started with the example in the documentation:

Code: Select all

filebot -script fn:amc --output "/path/to/output" --action duplicate -non-strict "/path/to/input" --log-file amc.log --def excludeList=amc.txt
viewtopic.php?t=215


2.
The filebot-watcher docker container might be what you're looking for:
https://hub.docker.com/r/rednoah/filebot/

e.g.

Code: Select all

docker run -it -v /path/to/my/folder:/volume1 -v data:/data rednoah/filebot:watcher /volume1/input --output /volume1/output --action duplicate -non-strict --log-file /volume1/amc.log --def excludeList=/volume1/amc.excludes
:idea: Note that both /input and /output folder must be on the same docker mount point.
:idea: Please make sure you understand how docker works, especially the -v option, before using docker.

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

root@debian:/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: [EVAL] Split code into external *.groovy script files

Posted: 24 May 2019, 14:53
by devster
Thank you.
I had resorted to mustache templates (here) and they may still be useful for some cases (secret variables, credentials etc.) but this is definitely simpler.

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Posted: 30 May 2019, 12:00
by christhirteen13
I'm getting this in the amc.log nothing happens:

Code: Select all

Run script [fn:amc] at [Thu May 30 13:53:06 CEST 2019]
Parameter: skipExtract = y
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: excludeList = excludes.txt
Parameter: ut_dir = D:\Downloads\suitsDEBDTE302
Parameter: ut_kind = multi
Parameter: ut_title = suitsDEBDTE302
Parameter: ut_label = N/A
Use excludes: C:\Users\caserv01-media\Media\excludes.txt
No files selected for processing
Done ¯\_(ツ)_/¯

Re: [JDownloader] Setup for Windows, Linux and Mac OS X

Posted: 30 May 2019, 12:38
by rednoah
The log indicates that D:\Downloads\suitsDEBDTE302 is empty and doesn't contain any media files.

Have you tried the usual amc script troubleshooting?
viewtopic.php?f=4&t=215