POSTBUCKET - where random posts in unrelated topics go

Any questions? Need some help?
kim
Power User
Posts: 1116
Joined: 15 May 2014, 16:17

Re: Conditional Structures (if-then-else)

Post by kim »

TrueTenacity wrote:18 Sep 2018, 07:46 Hi there,

I used your suggested fix for separating movies and collections, but I seem to have hit a snag...

My current expression is \\gaia-prime\Movies\{any{'Movie Collections/'+az+'/'+collection+'/'+ny+'/'+ny}{ny+'/'+ny}} [{vf}]{subt}

but when i add the az operator to the movies without a collection, the whole thing stops working.

am I adding it wrong or something?
You mean this ?

Code: Select all

\\gaia-prime\Movies\{any{'Movie Collections/'+az+'/'+collection+'/'+ny+'/'+ny}{az+'/'+ny+'/'+ny}} [{vf}]{subt}
sample output you want ?
TrueTenacity
Posts: 14
Joined: 28 Feb 2017, 15:19

Re: Conditional Structures (if-then-else)

Post by TrueTenacity »

that's it... it works PERFECTLY for a movie that is in a collection... 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...
kim
Power User
Posts: 1116
Joined: 15 May 2014, 16:17

Re: Conditional Structures (if-then-else)

Post by kim »

well if I try this (in GUI)

Code: Select all

\\gaia-prime\Movies\{any{'Movie Collections/'+az+'/'+collection+'/'+ny+'/'+ny}{az+'/'+ny+'/'+ny}} [{vf}]{subt}
I get output
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]

try

Code: Select all

\\gaia-prime\Movies\{any{collection ? ('Movie Collections/'+az+'/'+collection+'/'+ny+'/'+ny) : 'collection found but something is wrong'} {az+'/'+ny+'/'+ny} {'WTF'} }
only if I write {az+'/'+ny+'/'+ny} wrong like so {az'/'+ny+'/'+ny} I get the
"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 it

Code: Select all

\\gaia-prime\Movies\{any{'Movie Collections/'+az+'/'+collection}{az}}/{ny}/{ny} [{vf}]{subt}
or

Code: Select all

\\gaia-prime\Movies\{def altDir = ('Movie Collections/'+az+'/'); any{altDir+collection}{az}}/{ny}/{ny} [{vf}]{subt}
TrueTenacity
Posts: 14
Joined: 28 Feb 2017, 15:19

Re: Conditional Structures (if-then-else)

Post by TrueTenacity »

Kim,

Your better way does the trick!

Thanks!
User avatar
rednoah
The Source
Posts: 19589
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Exclude Blacklist & Series-Mappings

Post by rednoah »

Maybe. Is it popular? Do you have a TheTVDB link? Quite a few people have a "Love" folder, which causes issues, and will probably cause mismatches with exactly that show.
:idea: Please read the FAQ and How to Request Help.
alteredstate
Posts: 6
Joined: 14 Sep 2012, 23:15

Re: [DEB] Debian package

Post by alteredstate »

If I just want to use the Filebot CLI does that still require a paid license?
User avatar
rednoah
The Source
Posts: 19589
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [DEB] Debian package

Post by rednoah »

Yes. For the sake of simplicity, any and all versions on all platforms for all use cases now require the same universal license.
:idea: Please read the FAQ and How to Request Help.
User avatar
Rando
Posts: 1
Joined: 02 Oct 2018, 20:35

Re: [DEB] Debian package

Post by Rando »

Does 4.8.2 on Debian require Java 10 the same as the windows version? I'm using OpenJDK on my server and don't really want to install another runtime. Would 4.7.9 be the best option here?
User avatar
rednoah
The Source
Posts: 19589
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [DEB] Debian package

Post by rednoah »

The DEB package includes it's own private JRE so it does not require you to install any specific version of Java on your system.
:idea: Please read the FAQ and How to Request Help.
cafevincent
Posts: 54
Joined: 22 Jun 2017, 10:08

Re: Exclude Blacklist & Series-Mappings

Post by cafevincent »

I have a problem problem renaming file in a directory \pilots\ so please add that. that or also \pilot episodes\
User avatar
rednoah
The Source
Posts: 19589
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Exclude Blacklist & Series-Mappings

Post by rednoah »

Please post the full file path of the file that doesn't work. If you're using the CLI, then console output would be appreciated as well.
:idea: Please read the FAQ and How to Request Help.
cafevincent
Posts: 54
Joined: 22 Jun 2017, 10:08

Re: Exclude Blacklist & Series-Mappings

Post by cafevincent »

It's gonna be a long list, I've got 600+ pilots. How do I get the CLI console output?
User avatar
rednoah
The Source
Posts: 19589
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Exclude Blacklist & Series-Mappings

Post by rednoah »

1.
1-2 examples will suffice. I can generalize from that.


2.
The CLI output is the output you get when you use the CLI. Sounds like you're using the GUI. Nevermind CLI output then. ;)
:idea: Please read the FAQ and How to Request Help.
nothing919
Posts: 11
Joined: 16 Oct 2018, 22:27

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Post by nothing919 »

This also works on Arch Linux as long as you install this package from the AUR instead of the apt get listed package. On Arch it is jre8-openjdk and Java-openJFX. Currently the portable version of filebot is the only one availible for arch as the two versions from the AUR have been taken down.
iAmKoinu
Posts: 4
Joined: 19 Oct 2018, 14:06

Re: [Anime] Convert Absolute to SxE numbers

Post by iAmKoinu »

Hi there! Loving the program, just wanted to know if you planned on making this code customizable? I don't keep my episodes in the "SxE" format, and while i do know that I can just easily rename it to my liking with the preset I already have, it would be really nice to be able to convert absolute to my preferred naming scheme in one go!

Thanks for all your hard work! :D
User avatar
rednoah
The Source
Posts: 19589
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [Anime] Convert Absolute to SxE numbers

Post by rednoah »

Yes, should be pretty straight forward. What's not working? Where are you stuck?

e.g. convert Absolute to SxE in one go using your format:

Code: Select all

filebot -rename "One Piece 501.avi" --db TheTVDB --order Absolute --format "{n}.{y}.{order.airdate.s00e00}.#{absolute}.{t}.[{airdate}]" -non-strict
:idea: Please read the FAQ and How to Request Help.
KRONZO
Posts: 30
Joined: 31 Dec 2017, 23:20

Re: Exclude Blacklist & Series-Mappings

Post by KRONZO »

could you please add luksusfaelden to luksusfælden (luxury trap(english)) it's impossible to match it always choose luksusfellen witch is the swedish or norwiegian version

Code: Select all

Luksusfaelden.S21E06.DANiSH.720p.HDTV.x264-DiViSiON/
luksusfaelden.s21e06.720p-division
User avatar
rednoah
The Source
Posts: 19589
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Exclude Blacklist & Series-Mappings

Post by rednoah »

Added custom alias for The Luxury Trap ➔ Luksusfælden to make things work out the box for this particular use case in the future.
:idea: Please read the FAQ and How to Request Help.
KRONZO
Posts: 30
Joined: 31 Dec 2017, 23:20

Re: Exclude Blacklist & Series-Mappings

Post by KRONZO »

thank you for that. any chance you could add for luksusfælden so this would work to "luksusfaelden" that is the normal danish release name but i think that's what throwing filebot of
User avatar
rednoah
The Source
Posts: 19589
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Exclude Blacklist & Series-Mappings

Post by rednoah »

The Luxury Trap is the primary English title, so it should always work. Luksusfaelden probably already works because it's the official Danish title.
:idea: Please read the FAQ and How to Request Help.
KRONZO
Posts: 30
Joined: 31 Dec 2017, 23:20

Re: Exclude Blacklist & Series-Mappings

Post by KRONZO »

but the problem is, it is not the official title the official title is luksusfælden but it is released as luksusfaelden.

if i rename the files to luksusfælden it will match it correctly, but luksusfaelden match wrong everytime
User avatar
rednoah
The Source
Posts: 19589
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Exclude Blacklist & Series-Mappings

Post by rednoah »

Ah. I see. It's the other way around then.
:idea: Please read the FAQ and How to Request Help.
Lantizia
Posts: 5
Joined: 31 Oct 2018, 11:55

Re: [DEB] Debian package

Post by Lantizia »

Hey, long time user here (just bought a lifetime license - although have donated before and also was a part of the patreon thing until it went no where)...

Just installed via APT and noticed a few odd quirks...

You're probably best not telling people to use --install-suggests. Mostly because a) 'recommends' would be a better fit and b) using --install-suggests is recursive, so you end up with a whole Web server (in my case apache2) being installed just because you installed FileBot :)...

Code: Select all

[email protected]:~/Downloads$ aptitude why apache2
i   filebot           Suggests   ffmpeg                                
i A ffmpeg            Suggests   ffmpeg-doc                            
i A ffmpeg-doc        Depends    libjs-jquery                          
i A libjs-jquery      Recommends javascript-common                     
i A javascript-common Suggests   apache2 (>= 2.4.6~) | lighttpd | httpd
Also in your last post to this thread you said the JRE is built in, if that is the case - why is it on the suggests list? (which is currently... openjdk-10-jre openjfx mediainfo libchromaprint-tools)

Perhaps a better apt-get line would be simply...

Code: Select all

sudo apt-get -y install openjfx mediainfo libchromaprint-tools filebot
Or instead make openjfx, mediainfo and libchromaprint-tools to be 'recommends' instead. Most desktop users are used to extra stuff being pulled in via recommends, whilst server administrators (I do this on my Debian boxes) turn off automatically installing recommends as a matter of course.

Thanks for all the hard work :)

Steven

p.s. more info on Debian policy for using suggests/recommends can be found here... https://www.debian.org/doc/debian-polic ... re-depends
vincen
Posts: 32
Joined: 12 Sep 2017, 07:25

Re: [DEB] Debian package

Post by vincen »

Still have again the problem of access at local files :( Installed it with deb package using the script suggested but Filebot is unable to access any local files of the system :(
User avatar
rednoah
The Source
Posts: 19589
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [DEB] Debian package

Post by rednoah »

Lantizia wrote: 31 Oct 2018, 12:04 You're probably best not telling people to use --install-suggests. Mostly because a) 'recommends' would be a better fit and b) using --install-suggests is recursive, so you end up with a whole Web server (in my case apache2) being installed just because you installed FileBot :)...
Well, that definitely sucks...

Lantizia wrote: 31 Oct 2018, 12:04 Also in your last post to this thread you said the JRE is built in, if that is the case - why is it on the suggests list? (which is currently... openjdk-10-jre
Due to the changes in JDK 11 (i.e. no more Oracle JRE with JavaFX built-in) there's no point to do this on Linux in the future. Is there a working OpenJFX 11 package in the Debian repository already?

Lantizia wrote: 31 Oct 2018, 12:04 Perhaps a better apt-get line would be simply...

Code: Select all

sudo apt-get -y install openjfx mediainfo libchromaprint-tools filebot
Or instead make openjfx, mediainfo and libchromaprint-tools to be 'recommends' instead. Most desktop users are used to extra stuff being pulled in via recommends, whilst server administrators (I do this on my Debian boxes) turn off automatically installing recommends as a matter of course.
Quite possibly. If Recommends is indeed pulled automatically on Desktop Linux machines, then it makes sense to do:

Code: Select all

Depends: <stuff required for the CLI>
Recommends: <stuff required for the GUI only>
Does that sound reasonable?
:idea: Please read the FAQ and How to Request Help.
Post Reply