POSTBUCKET - where random posts in unrelated topics go
Re: [User Study] Take a screen recording and earn yourself a free license
Re: Metadata and Extended Attributes
It could be great to have this added to the xattr attributes (or file), so, Plex don't need to scan the multimedia file to get the audio and subtitle languages, the default audio, the forced subtitles, the duratión of the film....
This with a combination of an unionfs or mergerfs to save the xattr attributes, and rclone with a cloud provider (like a gsuite), could be perfect.
Or maybe apart of the xattr attributes, the data could be saved on an .nfo like the one that jellyfin creates, that have all this information!!
Code: Select all
<fileinfo>
<streamdetails>
<video>
<codec>h264</codec>
<micodec>h264</micodec>
<bitrate>10312878</bitrate>
<width>1872</width>
<height>1080</height>
<aspect>26:15</aspect>
<aspectratio>26:15</aspectratio>
<framerate>23.97602</framerate>
<scantype>progressive</scantype>
<default>True</default>
<forced>False</forced>
<duration>46</duration>
<durationinseconds>2780</durationinseconds>
</video>
<audio>
<codec>ac3</codec>
<micodec>ac3</micodec>
<bitrate>192000</bitrate>
<language>spa</language>
<scantype>progressive</scantype>
<channels>2</channels>
<samplingrate>48000</samplingrate>
<default>True</default>
<forced>False</forced>
</audio>
<audio>
<codec>dts</codec>
<micodec>dts</micodec>
<bitrate>1536000</bitrate>
<language>eng</language>
<scantype>progressive</scantype>
<channels>6</channels>
<samplingrate>48000</samplingrate>
<default>False</default>
<forced>False</forced>
</audio>
<subtitle>
<codec>subrip</codec>
<micodec>subrip</micodec>
<language>spa</language>
<scantype>progressive</scantype>
<default>False</default>
<forced>False</forced>
</subtitle>
<subtitle>
<codec>subrip</codec>
<micodec>subrip</micodec>
<language>eng</language>
<scantype>progressive</scantype>
<default>False</default>
<forced>False</forced>
</subtitle>
</streamdetails>
</fileinfo>
Re: Metadata and Extended Attributes
Re: Metadata and Extended Attributes
In particular I'm thinking about switching to plain text files instead of embedded for a filesystem change.
Re: Metadata and Extended Attributes
viewtopic.php?t=11079
Re: --mode interactive
Re: --mode interactive
-
mouzzampk2014
- Posts: 35
- Joined: 07 Jan 2019, 00:49
Re: [DEB] Debian package
Code: Select all
bash -xu <<< "$(curl -fsSL https://raw.githubusercontent.com/filebot/plugins/master/installer/deb.sh)"Code: Select all
sudo apt-get install filebotAnd I believe `4.9.0` is ready for release. So I am not sure how I am going to update from current version?
Code: Select all
4.8.5 to 4.9.0Code: Select all
sudo apt-get install filebotRe: [DEB] Debian package
-
mouzzampk2014
- Posts: 35
- Joined: 07 Jan 2019, 00:49
Re: [DEB] Debian package
Oops then I definitely read it wrong somewhere about 4.9.0rednoah wrote: 22 Feb 2020, 06:43 FileBot 4.9.0 is in beta and no final release has been published at this point in time. The apt repository is only available for the latest stable release, which is FileBot 4.8.5 at the time of writing.
Re: FileBot on the Mac App Store
The MAS causes a disproportionate amount of extra work to developers, due to ever-changing Apple rules, which causes apps that were fine in the past, to not pass review in the future, and thus making it impossible to reliably deploy updates to end users.
Mar 19, 2020: 4.9.0 Binary Rejected
Code: Select all
Guideline 2.4.5(v) - Performance
* Your app requests admin access from the user launching the app.
* App is asking for KeyStroke access.
Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage
* We noticed that your app requests the user’s consent to access their Network Volume but does not clarify the use of this feature in the applicable purpose string.Re: [RPM] Fedora package
Using Recommends now leads to users not installing the recommended dependencies:rednoah wrote: 10 May 2019, 14:19 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
* viewtopic.php?t=11605
* viewtopic.php?t=11569
-
aryanprincesanty
- Posts: 2
- Joined: 24 Mar 2020, 05:32
Re: Conditional Structures (if-then-else)
Code: Select all
8 Mile (2002) [1080p BLURAY x265 10-bit AAC 5.1 QxR] Code: Select all
Ad Astra (2019) [1080p WEBRIP x264 8-bit AAC 2.0 YTS.LT] Re: Conditional Structures (if-then-else)
Code: Select all
fn =~ /Tigole|QxR/ ? 'Tigole' : 'YTS'Re: Plex Naming Schemes
Re: Plex Naming Schemes
What components are you looking for?Ashaneil wrote: 29 Mar 2020, 16:24 Is there a full list of all the {plex} components or is there a way for me to "see" the component choices - kind of like MediaInfo?
All components relevant to {plex} are listed as examples here. A large number of properties and methods are inherited from the File class but those are largely irrelevant for {plex} related use cases.
Re: [RPM] Fedora package
Code: Select all
$ rpm -ql filebot | grep filebot$
/etc/bash_completion.d/filebot
/usr/share/filebot
$ rpm -q --scripts filebot
postinstall scriptlet (using /bin/sh):
ln -sf /usr/share/filebot/bin/filebot.sh /usr/bin/filebot
ln -sf /usr/lib/java/jna.jar /usr/share/filebot/jar/jna.jar
preuninstall scriptlet (using /bin/sh):
rm -f /usr/bin/filebot
rm -f /usr/share/filebot/jar/jna.jar
Code: Select all
$ /usr/share/filebot/bin/filebot.sh -script fn:sysinfo
FileBot 4.9.0 (r7234)
JNA Native: groovy.lang.MissingPropertyException: No such property: com for class: Script1
Possible solutions: log, now
MediaInfo: java.lang.NoClassDefFoundError: Lcom/sun/jna/Pointer;
p7zip: p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (306A9),ASM,AES-NI)
unrar: java.io.IOException: Cannot run program "unrar": error=2, No such file or directory
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: java.lang.NoClassDefFoundError: com/sun/jna/Platform
Unicode Filesystem: OK
Script Bundle: 2020-03-16 (r625)
Groovy: 3.0.2
JRE: OpenJDK Runtime Environment 1.8.0_242
JVM: groovy.lang.MissingPropertyException: No such property: com for class: Script1
Possible solutions: log, now
CPU/MEM: 8 Core / 3.7 GB Max Memory / 106 MB Used Memory
OS: Linux (amd64)
HW: Linux server1.internal 5.5.13-200.fc31.x86_64 #1 SMP Wed Mar 25 21:55:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
STORAGE: btrfs [/] @ 2.0 TB | btrfs [/mnt/pool1] @ 12 TB
DATA: /home/tvuser/.filebot
Package: RPM
License: FileBot License xxxxxxx (Valid-Until: 2020-09-11)
Done ヾ(@⌒ー⌒@)ノ
Console output snippet:
Code: Select all
Processed 0 files
com/sun/jna/Platform
java.lang.NoClassDefFoundError: com/sun/jna/Platform
at net.filebot.StandardRenameAction$6.rename(Unknown Source)
at net.filebot.StandardRenameAction$2.rename(Unknown Source)
at net.filebot.cli.CmdlineOperations.renameAll(Unknown Source)
at net.filebot.cli.CmdlineOperations.renameSeries(Unknown Source)
at net.filebot.cli.CmdlineOperations.rename(Unknown Source)
at net.filebot.cli.ArgumentProcessor.runCommand(Unknown Source)
at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
at net.filebot.Main.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.sun.jna.Platform
... 8 more
Error (o_O)
Re: [RPM] Fedora package
Code: Select all
java.lang.NoClassDefFoundError: com/sun/jna/PlatformWhat does the console output say when you use the automated install script?
rednoah wrote: 04 Apr 2019, 07:10 The installer/rpm.sh will add the repository and install FileBot for you:Code: Select all
bash -xu <<< "$(curl -fsSL https://raw.githubusercontent.com/filebot/plugins/master/installer/rpm.sh)"
Re: [RPM] Fedora package
Code: Select all
$ dnf repoinfo filebot
Last metadata expiration check: 0:05:23 ago on Fri 03 Apr 2020 08:27:30 AM EDT.
Repo-id : filebot
Repo-name : filebot
Repo-status : enabled
Repo-revision : 1584805661
Repo-updated : Sat 21 Mar 2020 11:47:41 AM EDT
Repo-pkgs : 1
Repo-available-pkgs: 1
Repo-size : 25 M
Repo-baseurl : https://get.filebot.net/rpm/universal-jdk8/noarch
Repo-expire : 172,800 second(s) (last: Thu 02 Apr 2020 06:33:23 PM EDT)
Repo-filename : /etc/yum.repos.d/universal-jdk8.repo
Total packages: 1
Previously, the app worked. I have all the listed deps from the script installed:
Code: Select all
$ dnf list installed | grep -E "openjdk|jna|mediainfo|7zip"
java-1.8.0-openjdk.x86_64 1:1.8.0.242.b08-0.fc31 @updates
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.242.b08-0.fc31 @updates
java-1.8.0-openjdk-openjfx.x86_64 1:1.8.0.242.b08-0.fc31 @updates
jna.x86_64 5.4.0-1.fc31 @fedora
libmediainfo.x86_64 19.09-1.fc31 @fedora
mediainfo.x86_64 19.09-1.fc31 @fedora
p7zip.x86_64 16.02-15.fc31 @fedora
p7zip-plugins.x86_64 16.02-15.fc31 @fedora
Code: Select all
$ sudo find /usr/share/ -name *jna.jar*
/usr/share/java/jna.jar
$ sudo find /usr/lib/ -name *jna.jar*
/usr/lib/java/jna/jna.jar
/usr/lib/java/jna.jar
$ sudo find /usr/bin/ -name *filebot*
Code: Select all
%install
mkdir -p %{buildroot}/usr/share/filebot
ln -sf /usr/share/filebot/bin/filebot.sh %{buildroot}/usr/bin/filebot
ln -sf /usr/lib/java/jna.jar %{buildroot}/usr/share/filebot/jar/jna.jar
Re: [RPM] Fedora package
Code: Select all
Name: @{package.name}
Version: @{application.version}
Release: universal.jdk8
Summary: @{package.synopsis}
License: Proprietary
BuildArch: noarch
Recommends: java-1.8.0-openjdk
Recommends: java-1.8.0-openjdk-openjfx
Requires: jna
Recommends: mediainfo
Recommends: p7zip
Recommends: p7zip-plugins
%description
@{package.description}
%install
cp -rvf %{src}/usr %{src}/etc %{buildroot}
ln -sf /usr/share/filebot/bin/filebot.sh %{buildroot}/usr/bin/filebot
ln -sf /usr/lib/java/jna.jar %{buildroot}/usr/share/filebot/jar/jna.jar
%files
/*Re: [RPM] Fedora package
Re: [RPM] Fedora package
EDIT:
Code: Select all
[exec] + ln -sf /usr/share/filebot/bin/filebot.sh /rpm/BUILDROOT/filebot-4.9.1-universal.jdk8.x86_64/usr/bin/filebot
[exec] ln: failed to create symbolic link '/rpm/BUILDROOT/filebot-4.9.1-universal.jdk8.x86_64/usr/bin/filebot': No such file or directory
[exec] error: Bad exit status from /var/tmp/rpm-tmp.knnhfj (%install)
[exec] Bad exit status from /var/tmp/rpm-tmp.knnhfj (%install)EDIT:
Trying again with this:
Code: Select all
%install
cp -rvf %{src}/usr %{src}/etc %{buildroot}
mkdir -p /usr/share/filebot/bin
ln -sf /usr/share/filebot/bin/filebot.sh %{buildroot}/usr/bin/filebot
mkdir -p /usr/lib/java
touch /usr/lib/java/jna.jar
ln -sf /usr/lib/java/jna.jar %{buildroot}/usr/share/filebot/jar/jna.jarThat seems to work:
Code: Select all
%install
cp -rvf %{src}/usr %{src}/etc %{buildroot}
ln -sf /usr/lib/java/jna.jar %{buildroot}/usr/share/filebot/jar/jna.jar
mkdir -p %{buildroot}/usr/bin && ln -sf /usr/share/filebot/bin/filebot.sh %{buildroot}/usr/bin/filebot
Re: [RPM] Fedora package
I've uploaded a new RPM, please give it a spin:Idu1p wrote: 03 Apr 2020, 13:45 Would you like to supply the RPM to me to test before deploying? If you supply the SRPM, I can test (and tune as needed) as well. You can build both packages using `rpmbuild -ba` and the source will be placed into SRPMS instead the usual RPM directory.
https://get.filebot.net/filebot/BETA/Fi ... l-jdk8.rpm
Re: [RPM] Fedora package
Here's where it errors out:
Code: Select all
Error: Transaction test error:
file /usr/bin from install of filebot-4.9.1-universal.jdk8.noarch conflicts with file from package filesystem-3.12-2.fc31.x86_64
Code: Select all
%files
/usr/bin
Re: [RPM] Fedora package
Code: Select all
%files
/*Code: Select all
%files
/usr/share/*
/etc/*
/usr/bin/*Re: [RPM] Fedora package
Re: [RPM] Fedora package
Re: [RPM] Fedora package
Re: [RPM] Fedora package
Re: [RPM] Fedora package
Code: Select all
Name: @{package.name}
Version: @{application.version}
Release: universal.jdk8
Summary: @{package.synopsis}
License: Proprietary
BuildArch: noarch
Recommends: java-1.8.0-openjdk
Recommends: java-1.8.0-openjdk-openjfx
Requires: jna
Recommends: mediainfo
Recommends: p7zip
Recommends: p7zip-plugins
%description
@{package.description}
%install
cp -rvf %{src}/usr %{src}/etc %{buildroot}
%files
/*
%post
ln -sf /usr/share/filebot/bin/filebot.sh /usr/bin/filebot
ln -sf /usr/lib/java/jna.jar /usr/share/filebot/jar/jna.jar
%preun
[ $1 -eq 0 ]; then
rm -f /usr/bin/filebot
rm -f /usr/share/filebot/jar/jna.jar
fi
Re: [BTC] Purchase FileBot with Crypto Currency
Re: Plex Naming Schemes
24 - S02E01 - Day 2 - 8.00 A.M. - 9.00 A.M.mkv
Is there a simple way to force the season and episode characters to lower case using {plex.name}?
24 - s02e01 - Day 2 - 8.00 A.M. - 9.00 A.M.mkv
Re: Plex Naming Schemes
There is a simple way of making everything lower case, including series name and episode title. There is no simple way to make just the S00E00 part lower case. The not-so-simple way would be to write your own custom format instead of relying on {plex} entirely.nex0r wrote: 08 Apr 2020, 09:31 Is there a simple way to force the season and episode characters to lower case using {plex.name}?Code: Select all
24 - s02e01 - Day 2 - 8.00 A.M. - 9.00 A.M.mkv
Re: Plex Naming Schemes
Re: Plex Naming Schemes
Code: Select all
{plex.name.replaceAll(/S(\d{1,3})E(\d{1,3})/, 's$1e$2')}-
hstorey219
- Posts: 5
- Joined: 26 Jan 2017, 00:22
Re: Plex Naming Schemes
I thought I had this working, but my format is still creating folders inside the main folder.
For example:
Media/Movies/Girls Trip (2017)
Then inside the folder Girls Trip (2017) is the video, but when I run Filebot, it will create this Media/Movies/Girls Trip (2017)/Girls trip (2017)
I just want Filebot to rename the folder and video file into Plex format without creating any folders.
Code: Select all
filebot -script fn:amc "W:Media/" --action move --format {plex.tail} -non-strict --def excludeList=W:/media/amc.txtRe: Plex Naming Schemes
That is what {plex.tail} does, i.e. the Plex path without leading Movies / Series folder. You probably mean {plex.name} which refers to the filename part, without path components.hstorey219 wrote: 14 Apr 2020, 10:38 when I run Filebot, it will create this Media/Movies/Girls Trip (2017)/Girls trip (2017)
I just want Filebot to rename the folder and video file into Plex format without creating any folders.
Re: [DEB] Debian package
Re: [DEB] Debian package
Re: [DEB] Debian package
License Activation is generally self-explanatory, so don't worry about it until FileBot prompts you with instructions:spetrillo wrote: 22 Apr 2020, 23:38 Stupid question...and maybe I am missing it...but how do we install the license?
https://www.filebot.net/activate.html
Logs? Screenshots?spetrillo wrote: 22 Apr 2020, 23:40 Second...if I use the script to do the install I am seeing a 32 bit JVM installed. I thought it would install the 64 bit version?
The FileBot package depends on the OpenJDK package, which almost certainly installs the latest 64-bit OpenJDK 11 at this point in time, unless you're running a 32-bit OS.
-
AbedlaPaille
- Posts: 107
- Joined: 12 Apr 2020, 04:02
Re: Conditional Structures (if-then-else)
Very interesting this! Is it possible to insert conditional trails within the paths? Like a vf.match in the directory name, can't seem to adapt my normal expression. Even when i got the syntax right it crashed paths for movies that didn't match vfkim wrote: 19 Sep 2018, 00:32 well if I try this (in GUI)I get outputCode: Select all
\\gaia-prime\Movies\{any{'Movie Collections/'+az+'/'+collection+'/'+ny+'/'+ny}{az+'/'+ny+'/'+ny}} [{vf}]{subt}
e.g. \\gaia-prime/Movies/D/Demolition Man (1993)/Demolition Man (1993) [720p]
or \\gaia-prime/Movies/Movie Collections/A/Avatar Collection/Avatar (2009)/Avatar (2009) [720p]
tryonly if I write {az+'/'+ny+'/'+ny} wrong like so {az'/'+ny+'/'+ny} I get theCode: Select all
\\gaia-prime\Movies\{any{collection ? ('Movie Collections/'+az+'/'+collection+'/'+ny+'/'+ny) : 'collection found but something is wrong'} {az+'/'+ny+'/'+ny} {'WTF'} }
"but when you use it on a movie that isn't in one, it only adds the vf and subt part... the file name and path disappear..."
btw: there is a better way to write itorCode: Select all
\\gaia-prime\Movies\{any{'Movie Collections/'+az+'/'+collection}{az}}/{ny}/{ny} [{vf}]{subt}Code: Select all
\\gaia-prime\Movies\{def altDir = ('Movie Collections/'+az+'/'); any{altDir+collection}{az}}/{ny}/{ny} [{vf}]{subt}
Code: Select all
{any{'[Collections]/'+collection+'/'+'('+y+')'+' '+n}{ny+' ['+vf.match(/720[pP]|1080[pP]/)+']'+'/'+ny}}Code: Select all
info.OriginalLanguage =~ /en/ ? primaryTitle : nRe: Conditional Structures (if-then-else)
Code: Select all
{ any{n}{ny}{'no match'} }-
AbedlaPaille
- Posts: 107
- Joined: 12 Apr 2020, 04:02
Re: Conditional Structures (if-then-else)
Re: Conditional Structures (if-then-else)
Code: Select all
{any{info.OriginalLanguage =~ /en/ ? primaryTitle : n}{'No Name'}}e.g. Here's how you'd work with potential attributes:
Code: Select all
{allOf{vc}{vf}{source}{group}.joining('-', '[', ']')}Re: [JDownloader] Setup for Windows, Linux and Mac OS X
I do not have the time to learn to program now, as a matter of fact, I do not care at all. I only want something that works, for that I paid.
Re: [JDownloader] Setup for Windows, Linux and Mac OS X
Sorry, this guide is already as simple as possible. You may petition the JDownloader developers to make it easier, perhaps even add 1st party integration for FileBot post-processing.GeorgeAl wrote: 03 May 2020, 16:41 Hello, I have purchased the file bot (2nd year at row), and I could like to know if you plan to make any guide with examples for noobs like me?
I do not have the time to learn to program now, as a matter of fact, I do not care at all. I only want something that works, for that I paid.
That being said, I'd just stick the FileBot Desktop Application if you're looking for something easy and straight-forward. Presets are great for adding a degree of automation.
Re: [JDownloader] Setup for Windows, Linux and Mac OS X
Re: [JDownloader] Setup for Windows, Linux and Mac OS X
It's not a language issue. JDownloader is just difficult to work with, compared to uT and qBT where it's just a matter of copy & paste.GeorgeAl wrote: 03 May 2020, 17:35 Unfortunately, all useful guides at the JDownloader forum are at german.
Re: [JDownloader] Setup for Windows, Linux and Mac OS X
-
AbedlaPaille
- Posts: 107
- Joined: 12 Apr 2020, 04:02
Re: MediaInfo Inspector
I was thinking i might be able to modify the mediainfo audio language directly with the mediainfo program you linked, seems i can only visualize it though.
-
AbedlaPaille
- Posts: 107
- Joined: 12 Apr 2020, 04:02
Re: Conditional Structures (if-then-else)
Re: Conditional Structures (if-then-else)
-
AbedlaPaille
- Posts: 107
- Joined: 12 Apr 2020, 04:02
Re: Conditional Structures (if-then-else)
For reference viewtopic.php?f=5&t=11862
Re: Conditional Structures (if-then-else)
I'm sure it's possible to optimize speed, and the first step would to profile each part, to see which one is slower than expected. As with everything, the 20 / 80 principle applies, 20% of your code will be responsible for 80% of run time, so it's integral to find out what those 20% are first.AbedlaPaille wrote: 27 May 2020, 15:06 So the complex format i posted earlier is pretty sound and i wouldn't be able to optimize its speed much more, correct?
-
AbedlaPaille
- Posts: 107
- Joined: 12 Apr 2020, 04:02
Re: Conditional Structures (if-then-else)
-
AbedlaPaille
- Posts: 107
- Joined: 12 Apr 2020, 04:02
Re: How about sharing our format expressions?

I'm nearly done with my OCD
Films is the main one, it's a close relative to plex but with multi entry collection folders and no 'The' prefix. That's how i browse my full library in explorer.
Plex is where things are tidy.
Collections and Studios use a --filter. The All folder in Collections is for single entry collections.
Directors, Genres, Bitrate, Resolution, Size, Ratings, Language, Year have no filter, they're just different sorting orders with different schemes.
For example Language/Other looks like this

I use year first in several ones, like Directors, Studios, Year

If you want to know more just ask
Re: [User Study] Take a screen recording and earn yourself a free license
Re: [User Study] Take a screen recording and earn yourself a free license
Yes, this program is very much in effect. Almost nobody is taking advantage though.
EDIT:
Thanks for the contribution. Your license has been sent.
Re: [User Study] Take a screen recording and earn yourself a free license
Thanks for the video. It was interesting. In particular, I've never seen FileBot running on a Japanese Windows machine, so there's some interesting strangeness there that I'll have to look into. As for your feature requests, I can probably help as some of them are a bit non-obvious I suppose.jack123l wrote:16 Jun 2020, 13:42 - dark mode
- feature to indicate the last episode of the series (eg: font colour) so to make sure that I'm choosing the right series
- folder for special (Season 0/) not showing eg: Season 1/
- able to rename subtitles together with video files
- for some reason, filebot read videos file without any season number on the file name as season 2 when season 2 is avaliable
- able to download subtitles from kitsunekko.net directly from filebot
Dark Mode can be enabled manually, and will be enabled automatically based on system preferences in upcoming versions:
viewtopic.php?t=9827
You can add Season 0/1 and Special folders via your custom format, e.g.
Code: Select all
{regular ? "Season $s" : "Season 0"}The level of red indicates how sure FileBot is about the match. If it's red-ish, then it's best to double-check the match, because FileBot isn't sure. Might be correct. Might not. If you need to fix individual matches, then you can do Double Click ➔ Edit Match.
https://twitter.com/filebot_renamer/sta ... 1996178436
Anime can be tricky. Because officially Anime don't have seasons, but TheTVDB will organize related Anime in seasons if it makes sense, and so different numbering schemes may not be compatible and lead to mismatches. Here's a dedicated thread on how to convert Anime / AniDB numbering to TheTVDB / SxE numbering:
viewtopic.php?t=2769
Enhanced support for subtitles is unfortunately not planned, as subtitles are a legal grey zone, sites come and go, different sites blocked by different countries, etc. OpenSubtitles managed to be around forever somehow, and works well, though a login is required nowadays.
-
nomadicleo
- Posts: 2
- Joined: 27 Jun 2020, 14:52
Re: Conditional Structures (if-then-else)
Could someone please help me with a conditional statement for (certification). My original preset is:
Code: Select all
{n.replaceAll(/[:|]/, " - ")} ({y})\{n.replaceAll(/[:|]/, " - ")} ({y}) {vf} - {certification}Re: Conditional Structures (if-then-else)
e.g.nomadicleo wrote: 27 Jun 2020, 14:57 When it does not find a certification, it simply appends the hyphen at the end of the name but I would like it to only add the hyphen when there is a certification found.
Code: Select all
{" - " + certification}-
nomadicleo
- Posts: 2
- Joined: 27 Jun 2020, 14:52
Re: Conditional Structures (if-then-else)
-
aryanprincesanty
- Posts: 2
- Joined: 24 Mar 2020, 05:32
Re: Conditional Structures (if-then-else)
My current format is:
Code: Select all
{ny}/Season 0{s}/{ny} - {s00e00} - {t} [{vf} {source} {vc} {if (bitdepth == 10) '10-bit'} {ac} {channels} {if (group != null) {group} else ""}]What changes should I apply to have my files look like this:
no group:
Code: Select all
Brooklyn Nine-Nine - S02E01 - Undercover [480p x264 8-bit AAC 2.0]Code: Select all
Brooklyn Nine-Nine - S02E02 - Chocolate Milk [480p x264 8-bit AAC 2.0 XYZ]Re: Conditional Structures (if-then-else)
That is default. You're probably asking about the preceding blank though, so that you don't end up with a superfluous blank if {group} is undefined.aryanprincesanty wrote: 28 Jun 2020, 18:09 How do I make a format such that when {group} exists - it should be added, if not - it should be blank.
e.g.
Code: Select all
{" " + group}Code: Select all
{" " + ac}{" " + channels}{" " + group}Note the conceptual similarity to previously asked questions:
rednoah wrote: 27 Jun 2020, 15:10e.g.nomadicleo wrote: 27 Jun 2020, 14:57 When it does not find a certification, it simply appends the hyphen at the end of the name but I would like it to only add the hyphen when there is a certification found.Code: Select all
{" - " + certification}viewtopic.php?t=1895
Re: Conditional Structures (if-then-else)
Code: Select all
{ny}{'/Season ' + s.pad(2)}{'/' + ny}{' - ' + s00e00}{' - ' + t}{allOf{vf}{source}{vc}{bitdepth == 10 ? ' 10-bit' : ''}{ac}{channels}{group}.joining(' ', ' [', ']')}Re: [JDownloader] Setup for Windows, Linux and Mac OS X
otr wrote: 17 Aug 2018, 12:10 Hi,
sorry for being silent for a bit, I have been on a short trip. In the meantime, my setup is now working and I wanted to report back my specifics, so that others may benefit, but also so that I can learn in case I have missed something important.
This is what is working for me:
1. jDownloader Event Scripter calls this script
For people that were new to this, just like me:Code: Select all
[{"eventTrigger":"ON_PACKAGE_FINISHED", "enabled":true, "name":"FileBot", "script":"var amcFile = '/volume1/Downloads/jdtofilebotv2.sh';var path = '/volume1/Downloads/'; callAsync(function() {}, amcFile, path);", "eventTriggerSettings":{}, "id":123654}]
- The above is the exact "text" that you can see in the jDownloader UI. Compare this screenshot: https://snag.gy/kYHCEN.jpg
- id:123654 is a random number I thought of. The way I understand it this is the ID the process runs under and I would be able to find it under this ID, if I had to look for it.
2. the jdtofilebotv2.sh script that is called above
I would be happy to get comments on this, especially since people later might look at this and assume that I did smart things (I did not - I just figured out what works for me somehow).Code: Select all
#!/bin/sh export JAVA_OPTS="-Xmx256m" /var/packages/filebot/target/filebot.sh -script 'fn:amc' /volume1/Downloads --output /volume1/Media/ --conflict auto --lang en --def 'clean=y' 'skipExtract=y' 'excludeList=.excludes'
One issue I have is that I still do not find the filebot log file created by this setup.
Hello, I am a little lost would it be possible to give me the procedure that you followed from a to z because I can not find the configuration files of eventscripter did you use an alternative method Thank's
Re: [IRC] Discord Support Channel
Re: Q&A for n00bs
- What are you trying to do achieve? What's not working? What have you tried so far?
- Include screenshots, logs or filenames (i.e. demonstrate the issue)
- Include System Information (i.e. filebot -script fn:sysinfo console output)
Re: Q&A for n00bs
https://www.filebot.net/linux/qnap.html
Re: [FAQ] How to request a refund?
Thanks.
Re: [FAQ] How to request a refund?
https://www.filebot.net/contact/paddle.html
Re: [FAQ] How to request a refund?
Thanks!
-
AbedlaPaille
- Posts: 107
- Joined: 12 Apr 2020, 04:02
Re: How about sharing our format expressions?
Code: Select all
{any{textLanguages =~ /fra/ ? 'vostfr' : ''}{fn.match(/VOSTFR|Vostfr|vostFR|VostFR|vostfr/).lower()}}Re: Q&A for n00bs
Code: Select all
C:\Users\olero>"C:\Program Files\FileBot\filebot.exe" -script fn:amc --output "C:/Plex" --action copy --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
Run script [fn:amc] at [Fri Nov 20 11:15:02 CET 2020]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: ut_label = %L
Parameter: ut_state = %S
Parameter: ut_title = %N
Parameter: ut_kind = %K
Parameter: ut_file = %F
Parameter: ut_dir = %D
Bad ut_label value: %L
Bad ut_state value: %S
Bad ut_title value: %N
Bad ut_kind value: %K
Bad ut_file value: %F
Bad ut_dir value: %D
Invalid usage: no input
Abort (?_?)
C:\Users\olero>Re: Q&A for n00bs
Re: Q&A for n00bs
I can't really add much that isn't already explained in the manual.rednoah wrote: 01 Aug 2012, 13:04 Troubleshooting
If something is not working, first read the Notes above, then just run the command manually in a new console window and see what happens. You CANNOT run the command without replacing the VARIABLES. The variables have to be replaced with actual values first. You can find the actual cmdline call in the µTorrents Logger tab so you can just copy it from there. You may need to enable the Logger tab first (just right-click one of the other tabs like Info).
The first step is checking if filebot is called at all, and then the second step is checking the log produces by the filebot call:
viewtopic.php?t=3067
Re: Q&A for n00bs
File does not exist: C:\%Dstate=%S ut_title=%N ut_kind=%K ut_file=%F ut_dir=%Drednoah wrote: 23 Nov 2020, 10:35I can't really add much that isn't already explained in the manual.rednoah wrote: 01 Aug 2012, 13:04 Troubleshooting
If something is not working, first read the Notes above, then just run the command manually in a new console window and see what happens. You CANNOT run the command without replacing the VARIABLES. The variables have to be replaced with actual values first. You can find the actual cmdline call in the µTorrents Logger tab so you can just copy it from there. You may need to enable the Logger tab first (just right-click one of the other tabs like Info).
The first step is checking if filebot is called at all, and then the second step is checking the log produces by the filebot call:
viewtopic.php?t=3067
If you copy & paste the command template into CMD then you must also take care of replacing the %variables with values, just like uT does.
No files selected for processing
I have gone through the instructions. I have a very simple and common setup on a brand new machine so not much to tweak..rednoah wrote: 23 Nov 2020, 10:35I can't really add much that isn't already explained in the manual.rednoah wrote: 01 Aug 2012, 13:04 Troubleshooting
If something is not working, first read the Notes above, then just run the command manually in a new console window and see what happens. You CANNOT run the command without replacing the VARIABLES. The variables have to be replaced with actual values first. You can find the actual cmdline call in the µTorrents Logger tab so you can just copy it from there. You may need to enable the Logger tab first (just right-click one of the other tabs like Info).
The first step is checking if filebot is called at all, and then the second step is checking the log produces by the filebot call:
viewtopic.php?t=3067
If you copy & paste the command template into CMD then you must also take care of replacing the %variables with values, just like uT does.
Yes filebot is called and it initiates operations but then suddenly stops and the cmd window closes. I'm looking for a log file, probably amc.log but can't find spcification where it's located?
Re: Q&A for n00bs
uT will generate a unique command for each completed download by replacing the %variables for the specific completed download at hand:
rednoah wrote: 01 Aug 2012, 13:04 It's always helpful to check the exact command utorrent ends up executing in the Logger tab. It'll look something like this:Code: Select all
[2013-03-05 20:44:24] Executing: filebot -script fn:amc --output "D:/Organized Media" --log-file amc.log --action duplicate --conflict override -non-strict --def "ut_dir=D:\Media\Avatar" "ut_file=" "ut_kind=multi" "ut_title=Avatar" "ut_label=" "ut_state=5"
2.
If you use a relative path as --log-file argument, the you will find the log file in the application data folder. Please read Where is the application data folder? for details:
https://www.filebot.net/manual.html
Re: [User Study] Take a screen recording and earn yourself a free license
Are this study still available? In case of yes, could it be in Spanish? I guess no, but I'm not a native speaker and my English is not as good as I would like.
Thanks!
Re: [User Study] Take a screen recording and earn yourself a free license
Yes, but narration would have to be in English and ideally show interesting use cases or usage that exceeds the video tutorials.p11ps wrote: 11 Dec 2020, 13:28 Are this study still available? In case of yes, could it be in Spanish? I guess no, but I'm not a native speaker and my English is not as good as I would like.
Re: How about sharing our format expressions?
viewtopic.php?f=5&t=12343
My groovy format file now uses the raw value like this, and I always manually check the result as inbuilt checks are bypassed:Top-level bindings such as {t} strip / slash implicitly, among other sanitation operations. However, you can use {episode.title} to access the raw value, which may contain / slash, may be infinitely long, etc.
Code: Select all
{sxe} {episode.title.replace(
'<' : '﹤',
'>' : '﹥',
':' : 'ː',
'"' : '“',
'/' : '⁄',
'|' : '⼁',
'?' : '?',
'*' : '﹡',
'\\': '∖'
)}Re: [User Study] Take a screen recording and earn yourself a free license
EDIT: I tried a second time, I think after the my first post it allowed me this time.
Re: [User Study] Take a screen recording and earn yourself a free license
Thank you for your time! Your complimentary license should be in your inbox already.
EDIT:
Note that this is by far the most useful screen recording to date. Few have bothered to narrate the thought process. There's a few interesting bits where you're searching for features that you thought should exist (and do exist but perhaps a bit hidden) but just couldn't find at the time. So if you have another ~3 friends that might benefit from a free 1yr license, please PM me their emails.
Re: Conditional Structures (if-then-else)
Thanks to your help i'm using and arguments file to dispatch my files according to their characteristics in various drives/folders like this :
2160P HDR --> B:\2160P HDR10\
2160P non HDR --> B:\2160P\
720P --> B:\720P\
DVDRIP --> H:\DVDRIPS\
1080P --> S:\1080P\
I use the following arguments file
Code: Select all
ut_label=Movies
movieFormat={hd.replaceAll("UHD", replacement = "B:/2160P").replaceAll("SD", replacement = "H:/DVDRIPS").replaceAll("HD", replacement = vf.replaceAll("720p", replacement = "B:/720P").replaceAll("1080p", replacement = "S:/1080P"))} {hdr}/{collection.ascii()}/{ny.ascii().upperInitial()} [{imdbid}]/{ny.ascii().upperInitial()} [{imdbid}] {if (hd =~ /HD/) vf} {hdr}
seriesFormat="E:/TV Shows/{n}/{n}.{s00e00}.{t}"
animeFormat="E:/Anime/{n}/{n}.{s00e00}.{t}"I now have to separate 1080P Files according to them belonging or not to a collection like follows :
2160P HDR --> B:\2160P HDR10\
2160P non HDR --> B:\2160P\
720P --> B:\720P\
DVDRIP --> H:\DVDRIPS\
1080P and part of a collection --> S:\1080P - Sagas\
1080P and not part of a collection --> I:\1080P\
I tried without success modifying my arguments file like follows :
Code: Select all
ut_label=Movies
movieFormat={hd.replaceAll("UHD", replacement = "B:/2160P").replaceAll("SD", replacement = "H:/DVDRIPS").replaceAll("HD", replacement = vf.replaceAll("720p", replacement = "B:/720P").replaceAll("1080p", {any{collection}.replaceall{"S:/Sagas - 1080P"}{"I:/1080P"}}))} {hdr}/{collection.ascii()}/{ny.ascii().upperInitial()} [{imdbid}]/{ny.ascii().upperInitial()} [{imdbid}] {if (hd =~ /HD/) vf} {hdr}
seriesFormat="E:/TV Shows/{n}/{n}.{s00e00}.{t}"
animeFormat="E:/Anime/{n}/{n}.{s00e00}.{t}"Could you please help me ?
Many thanks
Re: Conditional Structures (if-then-else)
Code: Select all
{ def pathList = ['SD' : 'H:/DVDRIPS','HD720p' : 'B:/720p','HD1080ptrue' : 'B:/1080p - Sagas','HD1080pfalse' : 'B:/1080p','UHD2160p' : 'B:/2160P']; any{pathList.get(hd)}{pathList.get(hd + vf)}{pathList.get(hd + vf + any{collection ? true : true}{false})}{'UNKNOWN_PATH'}} {hdr}/{collection.ascii()}/{ny.ascii().upperInitial()}{' ['+imdbid +']'}/{ny.ascii().upperInitial()}{' ['+imdbid +']'} {if (hd =~ /HD/) vf} {hdr}Re: Conditional Structures (if-then-else)
Thanks a lot !!!
I spent days trying to figure the right way to do it and you crunched this in no time... Impressive
I did spend a lot of time in the forum reading exemples and in the FAQ and did not see how to use the pathList, neither the use of .get... And I would not have been able to think ot the concatenation trick for 1080P with the any{collection ? true : true}{false}
Works like a charm, and helps me understand better all those functions which make filebot so powerfull
Many thanks again for your help and happy New Year too
Best regards
Re: Q&A for n00bs
I use the command:
Code: Select all
filebot -script fn:artwork.tmdb FILE_DIRI have noticed that the nfo files generated don't have a language property even though original_language is offered from the tmdb API.
Is there any way to get the nfo file to contain language also?
Thanks very much.
Re: Q&A for n00bs
https://kodi.wiki/view/NFO_files/Movies
but you can add e.g. this...
Code: Select all
i.spokenLanguages.each{
languages(it)
}...to local copy of this file:
https://github.com/filebot/scripts/blob ... tpc.groovy
+
https://github.com/filebot/scripts/blob ... mdb.groovy
NOTICE!
Code: Select all
include('lib/htpc')Maybe use my amc script ?
viewtopic.php?p=31191#p31191
Re: How about sharing our format expressions?
Looks great. Please let me know how to show folders under some category, (ex. first image). is it a separate magic app or just windows file explorerAbedlaPaille wrote: 11 Jun 2020, 21:12
I'm nearly done with my OCD
Films is the main one, it's a close relative to plex but with multi entry collection folders and no 'The' prefix. That's how i browse my full library in explorer.
Plex is where things are tidy.
Collections and Studios use a --filter. The All folder in Collections is for single entry collections.
Directors, Genres, Bitrate, Resolution, Size, Ratings, Language, Year have no filter, they're just different sorting orders with different schemes.
For example Language/Other looks like this
I use year first in several ones, like Directors, Studios, Year
If you want to know more just ask![]()
-
dincervolkan
- Posts: 2
- Joined: 05 Apr 2021, 07:30
Re: [FAQ] How to request a refund?
Please refund my money.
Re: [FAQ] How to request a refund?
-
noahnchina
- Posts: 1
- Joined: 06 Sep 2021, 23:55
Re: Q&A for n00bs
II have my media locally and then use the following AMC "script" (I do not even know if what I am doing is a script I just call it that in my head) from the command line before I move my media into Plex. This has been life changing from using filebot to rename individually.
I am looking to add download english subtitles to this script if possible:
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
Re: Q&A for n00bs
The amc script already has an option for that, so you can just add it to your command-line:
Code: Select all
--def subtitles=enRe: [SNIPPET] Sort into A-Z folders
The second snippet works except movies starting with "A" or "The" etc (filing it into /A/ or /T/ respectfully).
The following worked for me:
Code: Select all
{n.replaceFirst(/(?i)(The |A |An |)(.).*/, /$2/)}Re: [SNIPPET] Sort into A-Z folders
[edit]: that was a typo - I'd want to put in into a folder called 0-9
Re: [SNIPPET] Sort into A-Z folders
Code: Select all
{ n =~ /^\d/ ? 'A-Z' : n[0] }Re: [SNIPPET] Sort into A-Z folders
how do I either/or that with my snippet?
Re: [SNIPPET] Sort into A-Z folders
Code: Select all
{ n =~ /^\d/ ? 'A-Z' : n.replaceFirst(/(?i)(The |A |An |)(.).*/, /$2/) }Re: [SNIPPET] Sort into A-Z folders
Re: [SNIPPET] Sort into A-Z folders
IE Sorted or filed or renamed as "Big Lebowski, The" as opposed to "The Big..."
Lots of "The" movies in my collection I would rather sort differently...