Search found 23341 matches

by rednoah
03 Aug 2024, 16:47
Forum: Scripting and Automation
Topic: 5.1.1 to 5.1.4 changed how include() works, what now?
Replies: 5
Views: 2321

Re: 5.1.1 to 5.1.4 changed how include() works, what now?

:?: Can you share your script code that not longer works? (a minimal reproducible test case also suffices if you're unwilling to share your code) :idea: External Groovy runtime includes generally work. I'd need to see your code why your code specifically no longer works. Presumably, your code is not...
by rednoah
02 Aug 2024, 09:24
Forum: Ubuntu & Desktop Linux
Topic: FileBot 5.1.4 won't start on Fedora 40
Replies: 13
Views: 4178

Re: FileBot 5.1.4 won't start on Fedora 40

Reluctant to re-release 5.1.4 due to package management. Reluctant re-release new version build since that somewhat requires releasing all builds for all platforms due to automation. So there'll probably be a 5.1.5 rather soon-ish, more soon if we find issues with Windows / macOS builds as well, les...
by rednoah
01 Aug 2024, 19:11
Forum: Ubuntu & Desktop Linux
Topic: FileBot 5.1.4 won't start on Fedora 40
Replies: 13
Views: 4178

Re: FileBot 5.1.4 won't start on Fedora 40

Ups, I forgot the /usr bit in the copy & paste code above...

So I've set up Fedora 40 with Gnome in a VM and the latest beta (r10364) does seem to work... The release (r10362) is confirmed borked though... Fck.
by rednoah
01 Aug 2024, 16:47
Forum: Episode / Movie Naming Scheme
Topic: How can i use "if" whith Filebot for choosing right title?
Replies: 11
Views: 3524

Re: How can i use "if" whith Filebot for choosing right title?

TheMovieDB / Movie Mode e.g. Avatar and The Last Days of Pompeii (assuming Russian is set as preferred language; because {n} is in preferred language) { n =~ /\p{script=Cyrillic}/ ? n : localize.en.n } Аватар Gli ultimi giorni di Pompei :idea: How do I use the {localize} dynamic localization bindin...
by rednoah
01 Aug 2024, 16:27
Forum: Episode / Movie Naming Scheme
Topic: How can i use "if" whith Filebot for choosing right title?
Replies: 11
Views: 3524

Re: How can i use "if" whith Filebot for choosing right title?

:!: Note that we have switched from talking about TV Shows / TheTVDB (e.g. Squid Game ) to Movies / TheMovieDB (e.g. The Last Days of Pompeii ) . The database does make a difference. I can confirm that TheMovieDB defaults to the original title if the title in the preferred language is unavailable. T...
by rednoah
01 Aug 2024, 15:40
Forum: Episode / Movie Naming Scheme
Topic: How can i use "if" whith Filebot for choosing right title?
Replies: 11
Views: 3524

Re: How can i use "if" whith Filebot for choosing right title?

The concepts illustrated above are pretty universal. That said, I don't fully understand what you're trying to do if the code above doesn't already do that. :?: Perhaps you could give us a list of movies with corresponding desired file name for each movie, one for each corner case at the very least,...
by rednoah
01 Aug 2024, 12:18
Forum: Ubuntu & Desktop Linux
Topic: FileBot 5.1.4 won't start on Fedora 40
Replies: 13
Views: 4178

Re: FileBot 5.1.4 won't start on Fedora 40

:?: Do you see any strange permissions on the icon files?

Shell: Select all

ls -l /share/icons/hicolor/scalable/apps/filebot.svg

I've uploaded r10364 here:
https://get.filebot.net/filebot/BETA/Fi ... _amd64.rpm


Please let me know if that fixes the permission issues with both launcher, icons, etc files.
by rednoah
01 Aug 2024, 11:39
Forum: Episode / Movie Naming Scheme
Topic: How can i use "if" whith Filebot for choosing right title?
Replies: 11
Views: 3524

Re: How can i use "if" whith Filebot for choosing right title?

:idea: {language} is the spoken language as per your selected database and series at hand, e.g. {language} is kor for Squid Game . e.g. Squid Game on TheTVDB { language =~ /kor/ ? primaryTitle : n } 오징어 게임 :idea: Alternatively, you can also check if {primaryTitle} contains any Korean characters like...
by rednoah
01 Aug 2024, 10:40
Forum: Episode / Movie Naming Scheme
Topic: How can i use "if" whith Filebot for choosing right title?
Replies: 11
Views: 3524

Re: How can i use "if" whith Filebot for choosing right title?

:?: Do you have a specific example? Which movie? Which non-English language?


e.g. Pan's Labyrinth (2006) in Spanish

Format: Select all

{
	language =~ /spa/ ? primaryTitle : n
}

Code: Select all

El laberinto del fauno

:arrow: Conditional Structures (if-then-else)
by rednoah
01 Aug 2024, 10:25
Forum: Ubuntu & Desktop Linux
Topic: FileBot 5.1.4 won't start on Fedora 40
Replies: 13
Views: 4178

Re: FileBot 5.1.4 won't start on Fedora 40

chmod +x will do the trick:

Shell: Select all

chmod +xr /usr/bin/filebot

:!: rpmbuild seems to somehow change the permissions. I'll look into it.




EDIT:

The root cause seems to be a switch from gRPC FUSE to VirtioFS in the docker settings on our macOS build machine... WTF
by rednoah
31 Jul 2024, 04:26
Forum: Tips, Tricks and Tutorials
Topic: Episode Order Preferences
Replies: 0
Views: 3997

Episode Order Preferences

TheMovieDB FileBot supports the following TV Episode Group types as Episode Order preference: https://i.imgur.com/LyslIJ9.png :idea: Episode Order: Date and Title is a synthetic order that uses the episode airdate as episode number (e.g. E20240731 ) instead of the SxE numbers. See Match by Episode ...
by rednoah
31 Jul 2024, 04:16
Forum: Episode / Movie Naming Scheme
Topic: New computer and FileBot is naming stuff different, "...E20201007"
Replies: 3
Views: 2102

Re: New computer and FileBot is naming stuff different, "...E20201007"

If you want to move / organize files into Z:\Media\Movies and Shows then you must use the following custom format, because what you see is what you get:

Format: Select all

Z:\Media\Movies and Shows\{plex.id}
by rednoah
29 Jul 2024, 14:28
Forum: Episode / Movie Naming Scheme
Topic: Plex Binding without Episode Title?
Replies: 3
Views: 1876

Re: Plex Binding without Episode Title?

how can I get it to move the file into a Season # folder (with the Series Title folder above that)? :arrow: Plex Naming Scheme › Custom Naming Scheme :idea: If your format generates a file path, then that's where files go, parent folders and all, as seen in the linked examples: TV Shows/{n}/{episod...
by rednoah
29 Jul 2024, 12:56
Forum: Episode / Movie Naming Scheme
Topic: Plex Binding without Episode Title?
Replies: 3
Views: 1876

Re: Plex Binding without Episode Title?

Is there a way to use the Plex binding but omit the episode title? Short Answer: No. Long Answer: You can always take the value that {plex} gives you and then match patterns from there. A bit clunky though. If not, what's the best combination of bindings to emulate the Plex binding without title? :...
by rednoah
29 Jul 2024, 10:41
Forum: macOS
Topic: Weird string...
Replies: 5
Views: 2609

Re: Weird string...

PS: For a feature request if it's not already implemented (not checked yet)... command line loadable format string file(s) where the Movie/Episode/Music/etc selector will automatically choose the correct format from your loaded config file. That is what the amc script does, though if you must use s...
by rednoah
29 Jul 2024, 07:12
Forum: macOS
Topic: Weird string...
Replies: 5
Views: 2609

Re: Weird string...

:?: What exactly is your format trying to do in a weird roundabout way? :?: If you want {vf} then why not just use {vf} ? {vf} will give you 1080p in this case, i.e. the value you seemingly want. :?: If you want {vf} in certain conditions only then why not use conditions ? :idea: Perhaps you're tryi...
by rednoah
29 Jul 2024, 05:39
Forum: Episode / Movie Naming Scheme
Topic: New computer and FileBot is naming stuff different, "...E20201007"
Replies: 3
Views: 2102

Re: New computer and FileBot is naming stuff different, "...E20201007"

https://i.gyazo.com/5227d27f12c68e7423d883fe916bc6d9.png :!: Your format generates file paths that start with Z:\C:\ which makes no sense as a Windows file path: Z:\C:\ :idea: Here's how formats work in general: https://i.imgur.com/omfgbSm.png :arrow: You therefore want to use a format like this, a...
by rednoah
28 Jul 2024, 09:00
Forum: Feature Requests and Bug Reports
Topic: Reference to original file name
Replies: 2
Views: 1678

Re: Reference to original file name

{fn} will give you the current file name.


:arrow: See Presets › Example 13: Append Media Properties for example, and Plain File Mode for details and additional examples.
by rednoah
27 Jul 2024, 17:13
Forum: Synology NAS & Embedded Linux
Topic: generate-app-cds: line 19: Aborted (core dumped)
Replies: 3
Views: 1990

Re: generate-app-cds: line 19: Aborted (core dumped)

My slight concern is that the curl command includes "x-syno-token" which will presumably expire at some point? You have a keen eye. That may indeed cause an issue in the future. Unfortunately, not much we can do about that, since FileBot Node uses DSM authentication. That said, I don't kn...
by rednoah
27 Jul 2024, 16:18
Forum: macOS
Topic: How do I edit the built-in subt
Replies: 9
Views: 2728

Re: How do I edit the built-in subt

:idea: The {plex} format already includes the subtitle language and subtitle tags if the file names allow for auto-detection to work. So if your custom code then adds another ".eng" then you will end up with ".eng.eng" . :idea: This code matches this bit: 2_ eng ,English [Forced]...
by rednoah
27 Jul 2024, 15:26
Forum: macOS
Topic: How do I edit the built-in subt
Replies: 9
Views: 2728

Re: How do I edit the built-in subt

You'd add it to your custom format:
https://www.filebot.net/naming.html

Screenshot



:arrow: I recommend spending ~15min watching all the video tutorials if you're new as this will save you time in the long run:
https://www.filebot.net/tutorials.html
by rednoah
27 Jul 2024, 15:13
Forum: macOS
Topic: How do I edit the built-in subt
Replies: 9
Views: 2728

Re: How do I edit the built-in subt

Well, this is pretty bad and unusual... 1_eng,English.srt 2_eng,English [Forced].srt 3_eng,English [SDH].srt :arrow: If you all your files follow this pattern, then Match information from the file path is the way to go: { if (f.subtitle) '.' + fn.match(/_([a-z]{3}),/) } { if (f.subtitle) '-' + fn.ma...
by rednoah
27 Jul 2024, 13:59
Forum: macOS
Topic: How do I edit the built-in subt
Replies: 9
Views: 2728

Re: How do I edit the built-in subt

:idea: Built-in bindings such as {lang} and {subt} subtitle language tag cannot be edited. You can however just not use built-in binding and write your own code instead.


:?: What are you trying to achieve? Feel free to elaborate.
by rednoah
27 Jul 2024, 07:04
Forum: Synology NAS & Embedded Linux
Topic: generate-app-cds: line 19: Aborted (core dumped)
Replies: 3
Views: 1990

Re: Runing Filebot on Synology NAS

I notice I always get this core dump error: /var/packages/filebot/target/jsa/generate-app-cds: line 19: 12729 Aborted (core dumped) java -Xshare:dump -XX:SharedClassListFile="$CDS_ARCHIVE.lst" -XX:SharedArchiveFile="$CDS_ARCHIVE" -jar "$CDS_CLASSPATH" > "$CDS_ARCH...
by rednoah
26 Jul 2024, 04:58
Forum: Scripting and Automation
Topic: Linux guru? :)
Replies: 1
Views: 1697

Re: Linux guru? :)

$ [ ut_label=FILM ] $ echo $? 0 :!: [ ut_label=FILM ] is always 0 because you're effectively doing a "check if variable has a value" test (e.g. [ "$TERM" ] ) except with a surely defined value and not a variable. :idea: Unrelated to that, ut_label is not a variable in the first ...