Search found 417 matches
- 01 Sep 2019, 17:14
- Forum: Feature Requests and Bug Reports
- Topic: Issue with n and primaryTitle
- Replies: 5
- Views: 4421
Issue with n and primaryTitle
I'm currently finding that for John Wick Chapter 3 the following happens: {assert n == 'John Wick 3 – Parabellum'} {assert primaryTitle == 'John Wick: Chapter 3 – Parabellum'} which is not a behaviour I'm expecting. I'm testing the above on FileBot 4.8.6 (r6582) This seems a new behaviour as on File...
- 23 Aug 2019, 10:01
- Forum: Episode / Movie Naming Scheme
- Topic: Naming files from local PLEX database
- Replies: 28
- Views: 24229
Re: Naming files from local PLEX database
I'll try, this could actually lead to some pretty interesting formats.
Dynamic class loading is one of the things that won't work with GraalVM though.
Dynamic class loading is one of the things that won't work with GraalVM though.
- 23 Aug 2019, 07:47
- Forum: Episode / Movie Naming Scheme
- Topic: Naming files from local PLEX database
- Replies: 28
- Views: 24229
Re: Naming files from local PLEX database
Kodi exports to nfo files, Plex unfortunately doesn't (natively). Can FileBot script query an sqlite db without any additional dependencies? If querying is possible, the process could be much simpler, as the DB should contain a line with the precise file name and path, and Plex has an API to update ...
- 22 Aug 2019, 22:54
- Forum: Episode / Movie Naming Scheme
- Topic: Naming files from local PLEX database
- Replies: 28
- Views: 24229
Re: Naming files from local PLEX database
The script queries an sqlite3 DB.
I think you might be better off exporting it to another format and try using that to rename your files.
rednoah might be able to help more with this.
I think you might be better off exporting it to another format and try using that to rename your files.
rednoah might be able to help more with this.
- 21 Aug 2019, 18:40
- Forum: Episode / Movie Naming Scheme
- Topic: Naming files from local PLEX database
- Replies: 28
- Views: 24229
Re: Naming files from local PLEX database
Plex matching doesn't need to be fixed if filename is correct, it's a bit of a chicken-n-egg scenario.
Also the request is non-trivial, as searching the Plex DB using the available API for the file name doesn't return a result.
Also the request is non-trivial, as searching the Plex DB using the available API for the file name doesn't return a result.
- 20 Aug 2019, 23:06
- Forum: Feature Requests and Bug Reports
- Topic: Single executable
- Replies: 10
- Views: 7586
Re: Single executable
Running your container with: --no-fallback needs the following: java -agentlib:native-image-agent=config-output-dir=conf/ -cp "$FILEBOT_HOME/jar/filebot.jar" net.filebot.Main to generate all config files required for the build, although it seems some classes such as Script1 are others incl...
- 20 Aug 2019, 09:03
- Forum: Feature Requests and Bug Reports
- Topic: Single executable
- Replies: 10
- Views: 7586
Re: Single executable
On a conceptual level it's the same. But rewriting Groovy to work within GraalVM and support dynamic code execution without a fallback JRE, that would be a task of monumental proportions. :lol: Is this the same as the documented limit of GraalVM called dynamic class loading ? It’s just a prototype....
- 20 Aug 2019, 08:36
- Forum: Feature Requests and Bug Reports
- Topic: Single executable
- Replies: 10
- Views: 7586
Re: Single executable
Your docker image seems to produce a single binary as output, and it seems to work. --static and --no-fallback don't seem to work. bash-4.2# ./filebot -version FileBot 4.8.6 (r6605) / OpenJDK Runtime Environment 1.8.0_222 / Linux 4.4.0-154-generic (amd64) bash-4.2# ./filebot -list --q 'cannon buster...
- 18 Aug 2019, 19:27
- Forum: Episode / Movie Naming Scheme
- Topic: Anime names with mixed DBs
- Replies: 14
- Views: 10299
Re: Anime names with mixed DBs
Not too much, I'm unable to find those methods in the docs and can't get season or episode-level info. This fallback was intended only to match identical name and identical absolute ep number. This is the page I used as reference: https://www.filebot.net/docs/api/net/filebot/web/TheTVDBClient.html#f...
- 18 Aug 2019, 18:35
- Forum: Episode / Movie Naming Scheme
- Topic: Anime names with mixed DBs
- Replies: 14
- Views: 10299
Re: Anime names with mixed DBs
Mh, I was hoping db would send a request for the TVDB in case no mapping was found, but I realize it the possibility for mistakes and the added complexity. I'm trying to work around it using: def alt = net.filebot.web.TheTVDBClient.fetchSearchResult(n, Locale.ENGLISH) but I get: Expression yields e...
- 18 Aug 2019, 17:18
- Forum: Episode / Movie Naming Scheme
- Topic: Anime names with mixed DBs
- Replies: 14
- Views: 10299
Re: Anime names with mixed DBs
Found a possible issue with {db} binding when trying to rename Cannon Buster, a recently released anime from Netflix. I get: { allOf { mainTitle } { db.TheTVDB.y.toString().surround() } .join() } // returns "Cannon Busters" without the year try { db.TheTVDB } catch (Exception e) { assert e...
- 18 Aug 2019, 15:45
- Forum: Anything and Everything else
- Topic: Wrapping a string
- Replies: 5
- Views: 12902
Re: Wrapping a string
No problem, just a proposal. 1. several bits of my format use something like: { allOf {" ["} { allOf{ vf }{ vc }{ if (bitdepth > 8) "$bitdepth-bit"}.join(" ") } { "some long audio stuff" } {"]"} .join() } which I would simplify like so: { allOf { all...
- 18 Aug 2019, 09:35
- Forum: Anything and Everything else
- Topic: Wrapping a string
- Replies: 5
- Views: 12902
Re: Wrapping a string
Thank you, implemented. I would also submit for consideration the following: /** * Wraps a string with specified characters, uses "(" and ")" by default. * * e.g assert "Doctor Who".wrap() == "(Doctor Who)" * * @param left Character used on the left of the str...
- 16 Aug 2019, 20:11
- Forum: Feature Requests and Bug Reports
- Topic: Single executable
- Replies: 10
- Views: 7586
Re: Single executable
On a conceptual level, how is --format code different from say a templating engine like https://golang.org/pkg/text/template/ ?
I'm thinking about Hugo as an example.
I'm thinking about Hugo as an example.
- 16 Aug 2019, 15:37
- Forum: Scripting and Automation
- Topic: Alternatives to -revert
- Replies: 2
- Views: 1803
Re: Alternatives to -revert
2. Thanks, makes sense, just checking.
- 16 Aug 2019, 13:48
- Forum: Scripting and Automation
- Topic: Alternatives to -revert
- Replies: 2
- Views: 1803
Alternatives to -revert
I unfortunately lost the history file, which, as far as I understand, is the only reference the -revert command uses to restore the file to its original location. It seems feasible using a command like the following: filebot -rename --db xattr --action move --format '{original}' provided xattr are c...
- 16 Aug 2019, 12:30
- Forum: Feature Requests and Bug Reports
- Topic: Single executable
- Replies: 10
- Views: 7586
Re: Single executable
My misunderstanding, I tried very rapidly and I saw the option to include launcher scripts.
It would still be really good (and the end goal IMHO) to have a single file, one of the main reasons I really like Go.
It would still be really good (and the end goal IMHO) to have a single file, one of the main reasons I really like Go.
- 15 Aug 2019, 23:12
- Forum: Anything and Everything else
- Topic: Wrapping a string
- Replies: 5
- Views: 12902
Wrapping a string
What would be a groovy way to conditionally wrap a string given the wrapping characters? Having a method/closure would seem a good way to do it, but I'm struggling to write it. String.metaClass.wrap { l, r -> l + delegate + r } assert "mycustomstring".wrap("(", ")") == ...
- 15 Aug 2019, 19:55
- Forum: Feature Requests and Bug Reports
- Topic: Single executable
- Replies: 10
- Views: 7586
Single executable
I'm opening this feature request for an easier way to run FileBot. The new versions of Java seem to include a utility (jlink) to create a single executable file with everything included (app code and dependencies, an embedded and optimized JRE, and a launcher). This would greatly simplify packaging ...
- 13 Aug 2019, 10:56
- Forum: Episode / Movie Naming Scheme
- Topic: Anime names with mixed DBs
- Replies: 14
- Views: 10299
Re: Anime names with mixed DBs
Between reading the reply, going back home and trying it out my current version is 3 commits ahead of r6579, It's moving a bit too fast for me to upgrade without concerns. Also, as it's quite difficult to use the CLI within a container from another container, so currently it's bundled in the same im...
- 13 Aug 2019, 10:54
- Forum: Feature Requests and Bug Reports
- Topic: Extend FileBot or FileBot-Node into full API
- Replies: 27
- Views: 17318
Re: Extend FileBot or FileBot-Node into full API
In my view, that argument works in favour of a daemonized FileBot with an API and without an -exec bit, pure renaming service with additional tasks left to the user.
- 12 Aug 2019, 19:30
- Forum: Episode / Movie Naming Scheme
- Topic: Anime names with mixed DBs
- Replies: 14
- Views: 10299
Re: Anime names with mixed DBs
That's actually exactly what I was looking for, the name of the binding doesn't really matter. Updated naming scheme: { def norm = { it.replaceAll(/[`´‘’ʻ""“”]/, "'") .replaceAll(/[|]/, " - ") .replaceAll(/[?]/, "\uFE56") .replaceAll(/[*\p{Zs}]+/, " "...
- 12 Aug 2019, 11:19
- Forum: Feature Requests and Bug Reports
- Topic: [DEPRECATED] support for XEM?
- Replies: 106
- Views: 68123
Re: support for XEM?
Thanks, this may be worth a pinned post.
- 12 Aug 2019, 11:17
- Forum: Episode / Movie Naming Scheme
- Topic: Anime names with mixed DBs
- Replies: 14
- Views: 10299
Re: Anime names with mixed DBs
I'm currently using the default Plex TheTVDB scraper, it's working flawlessly for AniDB-tagged stuff when the name matches TheTVDB name; indeed one of the reasons for mixing DB info is because I don't want to install additional scrapers. In addition to seriesName (which is currently accessible), I a...
- 12 Aug 2019, 00:10
- Forum: Episode / Movie Naming Scheme
- Topic: Anime names with mixed DBs
- Replies: 14
- Views: 10299
Anime names with mixed DBs
Hello, I'm trying to refine my naming scheme for Anime. The issue is that AniDB is the only database that has properly romanized original titles, whereas TheTVDB only has the original Japanese ones. However I would also like to use TheTVDB for organization, as the most common scraper is TheTVDB (bot...