POSTBUCKET - where random posts in unrelated topics go

Any questions? Need some help?
devster
Posts: 417
Joined: 06 Jun 2017, 22:56

Re: Q&A for n00bs

Post by devster »

The second option is cleaner, start FROM the first one (Dockerfile syntax) and simply install FileBot, should work then.
I only work in black and sometimes very, very dark grey. (Batman)
devster
Posts: 417
Joined: 06 Jun 2017, 22:56

Re: Discord / Slack / IRC Channel

Post by devster »

The Slack channel seems to require an @filebot.net email account to sign up.
Is it still active?
I only work in black and sometimes very, very dark grey. (Batman)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Discord / Slack / IRC Channel

Post by rednoah »

Discord Channel is the way to go. I'll update the OP.
:idea: Please read the FAQ and How to Request Help.
JustOneOfMany
Posts: 4
Joined: 09 Apr 2019, 10:02

Change from Upper case to Lower Case a part of s00e00

Post 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
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Presets

Post by rednoah »

This will do:

Code: Select all

s00e00.replace('E', 'e')
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Discord / Slack / IRC Channel

Post by rednoah »

Discord is actively being used by a handful of people.
:idea: Please read the FAQ and How to Request Help.
GrEaTwArRiOr
Posts: 4
Joined: 07 Sep 2017, 05:15

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

Post 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
Last edited by GrEaTwArRiOr on 14 Apr 2019, 04:23, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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).
:idea: Please read the FAQ and How to Request Help.
GrEaTwArRiOr
Posts: 4
Joined: 07 Sep 2017, 05:15

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

Post by GrEaTwArRiOr »

ok thanks, if there is any luck for without folder?
GrEaTwArRiOr
Posts: 4
Joined: 07 Sep 2017, 05:15

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

Post by GrEaTwArRiOr »

ok thanks, if there is any luck for without folder?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah »

What does "without folder" mean in the context of running the amc script?
:idea: Please read the FAQ and How to Request Help.
mami7880
Posts: 2
Joined: 19 Mar 2019, 11:29

Re: Exclude Blacklist & Series-Mappings

Post by mami7880 »

Can you add dsds for Deutschland sucht den Superstar

Thank you
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Exclude Blacklist & Series-Mappings

Post 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.
:idea: Please read the FAQ and How to Request Help.
Vartikanshi579
Posts: 1
Joined: 02 May 2019, 11:51

Re: [Anime] Convert Absolute to SxE numbers

Post by Vartikanshi579 »

I agree with rednoah.
w0wreally
Posts: 3
Joined: 17 Mar 2019, 22:44

Re: Q&A for n00bs

Post 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
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Q&A for n00bs

Post 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.
:idea: Please read the FAQ and How to Request Help.
b2un0
Posts: 10
Joined: 09 Jun 2014, 10:41

Re: [RPM] Fedora package

Post 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.
b2un0
Posts: 10
Joined: 09 Jun 2014, 10:41

Re: [DEB] Debian package

Post 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
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [RPM] Fedora package

Post 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.
:idea: Please read the FAQ and How to Request Help.
b2un0
Posts: 10
Joined: 09 Jun 2014, 10:41

Re: [RPM] Fedora package

Post by b2un0 »

Okay, thanks. i will try Fedora for my Dockerfile..

*edit*

yes, this works, thank you!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [DEB] Debian package

Post 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.
:idea: Please read the FAQ and How to Request Help.
Gallltid
Posts: 1
Joined: 20 May 2019, 07:13

Re: [Anime] Convert Absolute to SxE numbers

Post by Gallltid »

Thanks for this tutorial.
devster
Posts: 417
Joined: 06 Jun 2017, 22:56

Re: [EVAL] Split code into external *.groovy script files

Post 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.
I only work in black and sometimes very, very dark grey. (Batman)
christhirteen13
Posts: 1
Joined: 29 May 2019, 23:00

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

Post 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 ¯\_(ツ)_/¯
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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
:idea: Please read the FAQ and How to Request Help.
Post Reply