Search found 22975 matches

by rednoah
Yesterday, 14:08
Forum: Scripting and Automation
Topic: Possible to take resolution from mediainfo:
Replies: 2
Views: 44

Re: Possible to take resolution from mediainfo:

:idea: The {vf} binding will give you the "rounded" video format value, e.g. 720p even if the video height is not exactly 1280x720 pixels.

:idea: {vs} will give you the video source. See Source Media {vs} and {source} for details.


e.g.

Format: Select all

{vs}-{vf}
by rednoah
Yesterday, 05:31
Forum: Windows
Topic: -rename keeplink errors with "The file or directory is not a reparse point"
Replies: 7
Views: 155

Re: -rename keeplink errors with "The file or directory is not a reparse point"

I can see some history but not enough to make it worthwhile to revert and re-do will apply import. So I guess -exec mklink will have to do. I assume historic.f is the original filename and f is the new filename? I want to link the directory not the file. Is that possible? I don't think it's concept...
by rednoah
Yesterday, 05:04
Forum: Windows
Topic: All of a sudden getting file permissions warning when moving to Nvidia Shield
Replies: 1
Views: 40

Re: All of a sudden getting file permissions warning when moving to Nvidia Shield

FileBot uses xattr metadata . If you move a file that has xattr metadata to file system that does not support xattr (e.g. FAT) then some versions of Windows may warn you that this metadata will get lost. That said, I haven't seen these warnings since Windows 7 / 8 myself at the very least. :arrow: I...
by rednoah
Yesterday, 04:53
Forum: Windows
Topic: -rename keeplink errors with "The file or directory is not a reparse point"
Replies: 7
Views: 155

Re: -rename keeplink errors with "The file or directory is not a reparse point"

:idea: FileBot keeps a History so you can always check which file was moved where after the fact. :idea: If you want copy along Companion Files then you can enable the Import companion files feature when processing files. You probably won't be able to process orphaned companion files after the prima...
by rednoah
Yesterday, 04:14
Forum: Feature Requests and Bug Reports
Topic: Can "Edit Name" & "Edit Match" be added to the Right-Click Menu?
Replies: 1
Views: 134

Re: Can "Edit Name" & "Edit Match" be added to the Right-Click Menu?

Double-Left-Click <New Names Item> will open the action.match.small Edit Match actions specific for the select item: https://i.imgur.com/bcvSeoJ.png :idea: This selection-specific Edit Format action will open the specific Episode Format Editor with the specific File / Episode match that you have se...
by rednoah
Yesterday, 03:45
Forum: Windows
Topic: -rename keeplink errors with "The file or directory is not a reparse point"
Replies: 7
Views: 155

Re: -rename keeplink errors with "The file or directory is not a reparse point"

:?: Does Windows allow remote UNC file paths as symlink target in the first place? (Maybe. Maybe not. You'll want to run your own tests.) :arrow: I'd map \\skinnier\skinny_backup as network drive with a drive letter to make it look like a local drive with local file paths. You will probably fare bet...
by rednoah
15 Apr 2024, 13:45
Forum: Feature Requests and Bug Reports
Topic: Use themoviedb instead thetvdb for naming episode
Replies: 7
Views: 5305

Re: Use themoviedb instead thetvdb for naming episode

When using TheMovieDB , then --order Absolute will pick the first episode group of that type. It's unfortunately not possible to manually select an episode group by group id, so renaming files against TVDB Order (Absolute) specifically is not possible. :idea: Since you are trying to match files agai...
by rednoah
13 Apr 2024, 19:49
Forum: macOS
Topic: FileBot Not Running on Sonoma (14.3)
Replies: 15
Views: 1037

Re: FileBot Not Running on Sonoma (14.3)

I have received your email. Thank you. :idea: Comparing the ioreg from various macOS machines, there is indeed a unique IOEthernetInterface entry without a IOPrimaryInterface property in your ioreg output: | | | | +-o IOEthernetInterface <class IOEthernetInterface, id 0x1000008ba, registered, matche...
by rednoah
13 Apr 2024, 06:31
Forum: Synology NAS & Embedded Linux
Topic: [China] HTTP connect timed out
Replies: 1
Views: 122

Re: HTTP connect timed out and can't create hardlink

Your machine is unable to connect to TheMovieDB: java.net.http.HttpConnectTimeoutException: HTTP connect timed out Maybe it's you. Maybe it's the server. Maybe it's something in between, e.g. VPN, ISP, GFW, etc that interferes with or blocks the connection. If it worked before, then it's probably a ...
by rednoah
12 Apr 2024, 19:51
Forum: Scripting and Automation
Topic: [Script] Relocate files in qBT
Replies: 0
Views: 150

[Script] Relocate files in qBT

(requires FileBot r10230 or higher) This post-processing script will relocate files in qBT after moving / renaming files with FileBot. :!: This script currently only supports relocation for single-file torrents . (NOTE: qBT fundamentally cannot relocate multi-file torrents where multiple files have...
by rednoah
12 Apr 2024, 11:54
Forum: Help and Support
Topic: Please identify the following files:
Replies: 13
Views: 653

Re: Please identify the following files:

Plex uses TheMovieDB / Airdate Order by default, therefore TheMovieDB / Airdate Order will likely work best for Plex:
rednoah wrote: 28 Nov 2022, 03:42 Match files against your preferred database. Make sure to use TheMovieDB and Airdate Order in both FileBot and your Plex library settings.
by rednoah
09 Apr 2024, 16:36
Forum: macOS
Topic: FileBot Not Running on Sonoma (14.3)
Replies: 15
Views: 1037

Re: FileBot Not Running on Sonoma (14.3)

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

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: 137

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: 607

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: 607

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: 607

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: 607

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: 607

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: 607

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: 607

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: 607

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: 607

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: 607

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 ...