
POSTBUCKET - where random posts in unrelated topics go
Re: [Anime] Convert Absolute to SxE numbers
If you're using FileBot Node, then you're effectively using the amc script, which means you can force TV Show mode, set order and format options, which means you can apply the techniques mentioned in the OP.
If you have trouble with that, please make a new thread in the Synology section and include screenshots / console output with what you've tried so far.

Re: [JDownloader] Setup for Windows, Linux and Mac OS X
I implemented the changes that I described above, taking the code that was in the if statement out and moving to after the statement, then changing the if statement to a while false statement to wait for the package to truly be finished. It worked as expected. I included a log in the while statement to see how many times it ran through before clearing, and it ran ~38k times over the course of a few seconds. Putting in a wait of one second in the while loop would limit this, but I don't think this is really an issue. Here's the revised version I'm using for the "Package Finished" trigger (I believe the only thing that would need changing would be the script path for non-Windows environments):
I believe that when using this script, the "Archive Extracted" trigger is unnecessary.
Code: Select all
var script = JD_HOME + '/jdownloader-postprocess.cmd'
var path = package.getDownloadFolder()
var name = package.getName()
var label = package.getComment() ? package.getComment() : 'N/A'
var links = package.getDownloadLinks() ? package.getDownloadLinks() : []
function isReallyFinished() {
for (var i = 0; i < links.length; i++) {
if (links[i].getArchive() != null && links[i].getExtractionStatus() != "SUCCESSFUL" || !package.isFinished()) {
return false
}
}
return true
}
while (!isReallyFinished()) {}
var command = [script, path, name, label, 'PACKAGE_FINISHED']
log(command)
log(callSync(command))
-
- Posts: 29
- Joined: 03 Feb 2019, 20:07
Re: Plex Naming Schemes
Hi,
If I use:
I get
but how to I get
or
I want to use the Plex format, but to now the video format so I now for example when I replace a SD by HD version of the same movie.
Thx
If I use:
Code: Select all
{plex.derive {" [$vf.$vc.$ac]"}}
Code: Select all
/volume1/video/Movies/xXx (2002)/xXx (2002) [480p.x264.AC3].mkv
Code: Select all
/volume1/video/Movies/xXx (2002) [480p.x264.AC3]/xXx (2002) [480p.x264.AC3].mkv
Code: Select all
/volume1/video/Movies/xXx (2002) [480p.x264.AC3]/xXx (2002).mkv
Thx
Re: Plex Naming Schemes
There's no convenience method for this particular use case.
You'll either have to
(A) write your own custom format without using the {plex} binding at all, or
(B) write your own custom format using bits and pieces of the {plex} binding as necessary.
e.g.
Either way, you'll no longer be strictly adhering to the Plex naming scheme, although it'll probably work.
You'll either have to
(A) write your own custom format without using the {plex} binding at all, or
(B) write your own custom format using bits and pieces of the {plex} binding as necessary.
e.g.
Code: Select all
Movies/{plex[1]}{" [$vf.$vc.$ac]"}/{plex[2]}{" [$vf.$vc.$ac]"}

Re: [DEB] Debian package
APT repo problem?
Code: Select all
# bash -xu <<< "$(curl -fsSL https://raw.githubusercontent.com/filebot/plugins/master/installer/deb.sh)"
+ curl -fsSL https://raw.githubusercontent.com/filebot/plugins/master/gpg/maintainer.pub
+ sudo apt-key add -
OK
+ echo 'deb [arch=amd64] https://get.filebot.net/deb/ stable main'
+ sudo tee /etc/apt/sources.list.d/filebot.list
deb [arch=amd64] https://get.filebot.net/deb/ stable main
+ sudo apt-get update
Ign:1 https://get.filebot.net/deb stable InRelease
Hit:2 http://ftp.ca.debian.org/debian buster InRelease
Hit:3 https://get.filebot.net/deb stable Release
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Hit:5 http://ppa.launchpad.net/papirus/papirus/ubuntu bionic InRelease
Err:6 https://get.filebot.net/deb stable Release.gpg
Signed file isn't valid, got 'NODATA' (does the network require authentication?)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://get.filebot.net/deb stable Release: Signed file isn't valid, got 'NODATA' (does the network require authentication?)
W: Failed to fetch https://get.filebot.net/deb/dists/stable/Release.gpg Signed file isn't valid, got 'NODATA' (does the network require authentication?)
W: Some index files failed to download. They have been ignored, or old ones used instead.
+ sudo apt-get install filebot
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Re: [DEB] Debian package
Maybe just a temporary issue of some kind? The repository files are all there as far as I can see, and fetch works for the URLs that seem to have an issue in your log:
https://get.filebot.net/deb/dists/
https://get.filebot.net/deb/dists/
Re: [DEB] Debian package
Just curious, will you put an arm package in the Deb repo? Would make upgrading much easier.
Thanks!
Thanks!
Re: [DEB] Debian package
Yes, there will be a noarch package:
viewtopic.php?f=6&t=9535
viewtopic.php?f=6&t=9535
Re: Choose Java Swing Look-and-Feel (e.g. Dark Mode)
@rednoah, more detailed windows instructions for a noob please. 

Re: Choose Java Swing Look-and-Feel (e.g. Dark Mode)
- Open Start Menu and search for Set Environment Variables
- Click on New
Name:Value:Code: Select all
FILEBOT_OPTS
Code: Select all
-Dnet.filebot.theme=Darcula
- Click OK and then relaunch FileBot.

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

-
- Posts: 2
- Joined: 19 Apr 2017, 01:31
Re: MediaInfo Inspector
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)
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
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
The Slack channel seems to require an @filebot.net email account to sign up.
Is it still active?
Is it still active?
I only work in black and sometimes very, very dark grey. (Batman)
Re: Discord / Slack / IRC Channel
Discord Channel is the way to go. I'll update the OP.
-
- Posts: 3
- Joined: 09 Apr 2019, 10:02
Change from Upper case to Lower Case a part of s00e00
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
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
This will do:
Code: Select all
s00e00.replace('E', 'e')
Re: Discord / Slack / IRC Channel
Discord is actively being used by a handful of people.
-
- Posts: 4
- Joined: 07 Sep 2017, 05:15
Re: [JDownloader] Setup for Windows, Linux and Mac OS X
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
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
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]
please advise
thanks and regards,
Gr
Last edited by GrEaTwArRiOr on 14 Apr 2019, 04:23, edited 1 time in total.
Re: [JDownloader] Setup for Windows, Linux and Mac OS X
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).
-
- Posts: 4
- Joined: 07 Sep 2017, 05:15
Re: [JDownloader] Setup for Windows, Linux and Mac OS X
ok thanks, if there is any luck for without folder?
-
- Posts: 4
- Joined: 07 Sep 2017, 05:15
Re: [JDownloader] Setup for Windows, Linux and Mac OS X
ok thanks, if there is any luck for without folder?
Re: [JDownloader] Setup for Windows, Linux and Mac OS X
What does "without folder" mean in the context of running the amc script?
-
- Posts: 1
- Joined: 02 May 2019, 11:51
Re: [Anime] Convert Absolute to SxE numbers
I agree with rednoah.