Search found 22963 matches

by rednoah
Yesterday, 16:36
Forum: macOS
Topic: FileBot Not Running on Sonoma (14.3)
Replies: 13
Views: 834

Re: FileBot Not Running on Sonoma (14.3)

We have not received any email.
by rednoah
Yesterday, 07:26
Forum: Scripting and Automation
Topic: Rename folders only for HAMA by [anidb-###]
Replies: 28
Views: 539

Re: Rename folders only for HAMA by [anidb-###]

Doing the [anidb-###] bit with AoM scripting could be pretty useful to the AoM user community. Maybe add that bit to the docs for the next guy?
https://wiki.anidb.net/AniDB_O%27Matic_ ... e_renaming
by rednoah
08 Apr 2024, 03:56
Forum: Episode / Movie Naming Scheme
Topic: How can I add {edition-"words from file name"} to file?
Replies: 3
Views: 93

Re: How can I add {edition-"words from file name"} to file?

Here's how I'd write it:

Format: Select all

{ ny.colon(' ') } { vf } { vc } { '{edition-' + fn.match(/Prelims|Early.Prelims/).space(' ') + '}' }
:arrow: Match information from the file path
by rednoah
06 Apr 2024, 21:13
Forum: Scripting and Automation
Topic: Rename folders only for HAMA by [anidb-###]
Replies: 28
Views: 539

Re: Rename folders only for HAMA by [anidb-###]

n is the file name in Plain File Mode so:

Format: Select all

{
	def xml = xml('https://raw.githubusercontent.com/Anime-Lists/anime-lists/master/anime-list-full.xml')
	def aid = xml.anime.find{ it.name == n }.'@anidbid'
	n + ' {anidb-' + aid + '}'
}
by rednoah
06 Apr 2024, 19:12
Forum: Scripting and Automation
Topic: Rename folders only for HAMA by [anidb-###]
Replies: 28
Views: 539

Re: Rename folders only for HAMA by [anidb-###]

Yep, that'll work:

Format: Select all

{
	def name = 'Afro Samurai'
	def xml = xml('https://raw.githubusercontent.com/Anime-Lists/anime-lists/master/anime-list-full.xml')
	xml.anime.find{ it.name == name }.'@anidbid'
}

Code: Select all

2656
by rednoah
06 Apr 2024, 18:53
Forum: Scripting and Automation
Topic: Rename folders only for HAMA by [anidb-###]
Replies: 28
Views: 539

Re: Rename folders only for HAMA by [anidb-###]

I guess AoM knows the AniDB ID, so I think you best course of action is to configure AoM to include the AniDB ID. The link from the previous post is from some sort of "custom format" language , so it's probably possible, though ugly and unreadable to code may look at a glance. FileBot itse...
by rednoah
06 Apr 2024, 18:14
Forum: Scripting and Automation
Topic: Rename folders only for HAMA by [anidb-###]
Replies: 28
Views: 539

Re: Rename folders only for HAMA by [anidb-###]

Well, I use AoM to match everything by hash and add the extra stuff I want from there, so I don't want to touch the files, I only want to have it tag the folders for me with the AniDB series/index/database ID of the series. :?: Why not have AoM generate file paths with AniDB ID? :?: How can FileBot...
by rednoah
06 Apr 2024, 17:56
Forum: Scripting and Automation
Topic: Rename folders only for HAMA by [anidb-###]
Replies: 28
Views: 539

Re: Rename folders only for HAMA by [anidb-###]

rednoah wrote: 06 Apr 2024, 17:53 Yep, you'll need to process the files with FileBot / AniDB first.
At that point you can just use T:/{plex.id} as format to name / organize files correctly at once. ☑ Import companion files will take care of moving along the *.jpg files as well.
by rednoah
06 Apr 2024, 17:53
Forum: Scripting and Automation
Topic: Rename folders only for HAMA by [anidb-###]
Replies: 28
Views: 539

Re: Rename folders only for HAMA by [anidb-###]

Yep, you'll need to process the files with FileBot / AniDB first.
by rednoah
06 Apr 2024, 17:43
Forum: Scripting and Automation
Topic: Rename folders only for HAMA by [anidb-###]
Replies: 28
Views: 539

Re: Rename folders only for HAMA by [anidb-###]

xattr metadata refers to the extended attribute named net.filebot.metadata that contains JSON encoded episode information including the series ID: $ filebot -script fn:xattr *.mkv Afro Samurai - 01 - Revenge.mkv ... net.filebot.metadata: {"@type":"Episode","seriesName"...
by rednoah
06 Apr 2024, 17:34
Forum: Scripting and Automation
Topic: Rename folders only for HAMA by [anidb-###]
Replies: 28
Views: 539

Re: Rename folders only for HAMA by [anidb-###]

If the files at hand already have xattr metadata based on AniDB episode information, then you can easily rewrite the file paths, rename folders, etc based on locally known information. If it's TheMovieDB / TheTVDB episode information, then it'll probably work for most (but not all) Anime depending ...
by rednoah
06 Apr 2024, 17:19
Forum: Scripting and Automation
Topic: Rename folders only for HAMA by [anidb-###]
Replies: 28
Views: 539

Re: Rename folders only for HAMA by [anidb-###]

I have copy & pasted the code you posted, ran it on a sample file / folder, and found that it works.
by rednoah
06 Apr 2024, 16:49
Forum: Scripting and Automation
Topic: Rename folders only for HAMA by [anidb-###]
Replies: 28
Views: 539

Re: Rename folders only for HAMA by [anidb-###]

I guess you could try and see what happens? Keep us posted! If the files at hand already have xattr metadata based on AniDB episode information, then you can easily rewrite the file paths, rename folders, etc based on locally known information. If it's TheMovieDB / TheTVDB episode information, then ...
by rednoah
06 Apr 2024, 14:38
Forum: Help and Support
Topic: Information on Filebot does not match TVDB
Replies: 1
Views: 104

Re: Information on Filebot does not match TVDB

The TheTVDB API server-side code was apparently updated and is now broken in some corner cases. Use TheMovieDB/TV instead for the time being, or wait for TheTVDB engineers fix the issue on their end. Looks like the TheTVDB API does not work correctly. FileBot has no way of getting the episode listin...
by rednoah
06 Apr 2024, 04:44
Forum: Windows
Topic: Won't recognize older movies
Replies: 3
Views: 161

Re: Won't recognize older movies

When I try to rename some ripped DVDs it won't recognize these 2 movies. It recognized many others. :?: Screenshots ? :?: Sample file paths as text ? Please do post screenshots and sample file paths as text so that I can see what you can see. Here's what I can see based on the limited information p...
by rednoah
05 Apr 2024, 02:53
Forum: Help and Support
Topic: upperInitial Issue
Replies: 3
Views: 101

Re: upperInitial Issue

Thanks, I'll add that to the list of exceptions.
by rednoah
05 Apr 2024, 02:42
Forum: Windows
Topic: Anidb Movie selction changed?
Replies: 6
Views: 199

Re: Anidb Movie selction changed?

Yes, please read the thread linked above for details. :arrow: You can disable sanity checks by running the following filebot command on the command-line to generate the configuration file: :arrow: You can disable this restriction like so: filebot -script fn:properties --def net.filebot.AniDB.movie=t...
by rednoah
04 Apr 2024, 14:41
Forum: Help and Support
Topic: upperInitial Issue
Replies: 3
Views: 101

Re: upperInitial Issue

You can do your own pattern replacement, if the built-in helpers don't work for you for one reason or another. e.g. upper-case characters and the beginning and after space: { "we're the world".replaceAll(/(?<=^|\s)\w/){ it.upper() } } EDIT: Thank you for reporting the issue. FileBot r10220...
by rednoah
04 Apr 2024, 05:47
Forum: Windows
Topic: License Issue
Replies: 2
Views: 122

Re: License Issue

:?: What does the error message say when it does not work? (you can click on the error message to copy & paste the error message; or copy it from the log later) :idea: FileBot does not know or care about your computer hardware. Each user has its own FileBot application data / settings folder and...
by rednoah
04 Apr 2024, 05:24
Forum: Windows
Topic: Not pulling Names and Epissodes
Replies: 5
Views: 247

Re: Not pulling Names and Epissodes

Is this a permanent problem that can not be fixed? It's temporary problem that is caused by TheTVDB API starting to not work where it previously worked. I would expect the problem to go away by itself when TheTVDB engineers fix the issue. The problem with switching to AniDB for example, is that Ani...
by rednoah
03 Apr 2024, 06:03
Forum: Help and Support
Topic: Anime movies not possible using AniDB
Replies: 5
Views: 216

Re: Anime movies not possible using AniDB

FileBot r10218 and higher will try to detect if you're doing a manual lookup, and disable sanity checks if so. That said, processing movies in Episode Mode seems weird to me... $ filebot -list --db AniDB --q 14438 Laid-Back Camp the Movie - 01 - Complete Movie Laid-Back Camp the Movie - Special 1 -...
by rednoah
03 Apr 2024, 05:56
Forum: Windows
Topic: Anidb Movie selction changed?
Replies: 6
Views: 199

Re: Anidb Movie selction changed?

Yes, if you enter the ID manually, then older versions of FileBot would just fetch that "series" and work with the "episode information" received, but newer versions will now check if the "series" at hand is actually a series and fail if not, for consistency: Movie type...
by rednoah
03 Apr 2024, 05:50
Forum: Windows
Topic: Won't recognize older movies
Replies: 3
Views: 161

Re: Won't recognize older movies

Thanks for the post! Before a real human comes by, please make sure your report has all the following points checked: 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....
by rednoah
02 Apr 2024, 15:09
Forum: macOS
Topic: renaming preview and effective preview don't match
Replies: 8
Views: 349

Re: renaming preview and effective preview don't match

At the very least you'll want to define a function before you use it. That said, we don't use global functions in any of our examples, so best not to use them. Not all Groovy features make sense for FileBot Format code. You can definitely use local variables though, and the value of a local variable...