Search found 31 matches
- 18 Dec 2023, 03:34
- Forum: Windows
- Topic: Usage of mi.groovy file
- Replies: 3
- Views: 1165
Re: Usage of mi.groovy file
Does that apply to all the filebot scripts? I was able to get the Artwork.groovy file to work off my local PC but not the Artwork.TMDB.groovy file. This is the command I used filebot -script D:/Sabnzbd/Scripts/Filebot_Artwork/artwork.tmdb.groovy D:\Sabnzbd\Complete\[movies] I received two types of e...
- 17 Dec 2023, 03:26
- Forum: Windows
- Topic: Usage of mi.groovy file
- Replies: 3
- Views: 1165
Usage of mi.groovy file
This was posted by Rednoah in scripting, and I managed to figure out how to get it to work. filebot -script fn:mi /path/to/media --output /path/to/media-index.tsv My assumption is that this runs from the filebot website and not locally. I tried to get it to reference a revised mi.groovy file I creat...
- 02 Sep 2023, 00:55
- Forum: Windows
- Topic: Use {episodelist} binding to count episodes per season and check if a season is complete via the {model} binding
- Replies: 4
- Views: 1297
Use {episodelist} binding to count episodes per season and check if a season is complete via the {model} binding
Recently updated to FileBot 5.1.0 (r9972) JNA Native: 6.1.4 MediaInfo: 23.07 7-Zip-JBinding: 16.02 Tools: fpcalc/1.5.0 Extended Attributes: OK Unicode Filesystem: OK Script Bundle: 2023-09-01 (r931) Groovy: 4.0.14 JRE: OpenJDK Runtime Environment 17.0.8 JVM: OpenJDK 64-Bit Server VM System Property:...
- 31 Oct 2022, 01:53
- Forum: Windows
- Topic: {hd} and {vf} bindings for odd video resolutions (e.g. 3832x1602)
- Replies: 4
- Views: 911
Re: {hd} and {vf} bindings for odd video resolutions (e.g. 3832x1602)
In my example, I was expecting it would be classified as UHD under {hd} and 2160p under {vf}. This expectation is based on my impression that pixel height determined the {hd} classification based on the resolution table as follows. SD 000p to 576p HD 577p to 720p FHD 721p to 1080p QHD 1081p to 1440p...
- 30 Oct 2022, 01:16
- Forum: Windows
- Topic: {hd} and {vf} bindings for odd video resolutions (e.g. 3832x1602)
- Replies: 4
- Views: 911
{hd} and {vf} bindings for odd video resolutions (e.g. 3832x1602)
How are the {hd} and {vf} bindings defined? I notice that some of the files I am renaming get tagged as HD under the {hd} binding but as 2160p under the {vf} binding. In those instances, I notice that the resolution Height is less than 2160 pixels but yet the {vf} is returning a 2160p binding. If yo...
- 01 Dec 2021, 15:13
- Forum: Windows
- Topic: FPS binding reference
- Replies: 9
- Views: 4272
Re: FPS binding reference
I did try something similar to what you suggested for explicit check just to get me over the hump and it works, although I'm not sure if its actually doing what I expect or is technically the correct syntax. {video[0].Frame_Rate_Mode =~ "VFR" ? "Vfps" : fps.toString().replace(' f...
- 01 Dec 2021, 00:04
- Forum: Windows
- Topic: FPS binding reference
- Replies: 9
- Views: 4272
Re: FPS binding reference
Upgraded to newest version of MediaInfo and no change.
I guess I'll have to manually edit these files or recode to a Constant frame rate.
Thanks
I guess I'll have to manually edit these files or recode to a Constant frame rate.
Thanks
- 30 Nov 2021, 23:03
- Forum: Windows
- Topic: FPS binding reference
- Replies: 9
- Views: 4272
Re: FPS binding reference
Here is a sample 1: General Unique ID : 323403346832695497686751794373421446005 (0xF34D380EF170530756078B2A35843375) Complete name : \\Prometheus\movie_#\7th Dawn, The (1964) [SD • 360p • Action • NR]\The.7th.Dawn.1964.360p.DVDRip.AAC.x264.8bit.123min.VARfps.English.tt0057813.mkv Format : Matroska ...
- 30 Nov 2021, 18:21
- Forum: Windows
- Topic: FPS binding reference
- Replies: 9
- Views: 4272
Re: FPS binding reference
Thanks Rednoah. I actually went with this instead {fps.toString().replace(' fps','fps')} as it yielded what I wanted. I am now checking which files need to be renamed. In so doing I have discovered that the FPS binding only works if MediaInfo data has Frame Rate Mode equal to "Constant". I...
- 30 Nov 2021, 01:50
- Forum: Windows
- Topic: FPS binding reference
- Replies: 9
- Views: 4272
FPS binding reference
I use the GUI interface and I've not made any changes to my preset files in almost a year. I spent a lot of time researching to create the line below and it was working fine, but only today did I notice that it has stopped working. {fps.stripTrailingZeros().toPlainString() + 'fps'} I tested it as st...
- 12 May 2021, 15:43
- Forum: Windows
- Topic: Imdb TV Series ID
- Replies: 1
- Views: 4991
Imdb TV Series ID
Using the GUI interface with the following format expression {omdb.imdbid} to retrieve the imdb tv series id. As an example, for Dekalog, {omdb.imdbid} returns 92337 as the result. However, using a JSON Title lookup on https://www.omdbapi.com/ yields "imdbID":"tt0092337". If the ...
- 04 Feb 2021, 04:06
- Forum: Episode / Movie Naming Scheme
- Topic: Truncate decimals for fps when a whole number
- Replies: 3
- Views: 7491
Re: Truncate decimals for fps when a whole number
{fps.stripTrailingZeros()} does not work perfectly because 20 becomes 2E+1, 30 becomes 3E+1 and so forth. Does not work well for multiples of 10. Had to do some Java research and adding .toPlainString() will fix this so that 20 stays as 20 and so forth, in case anyone else is interested. {fps.stripT...
- 24 Dec 2020, 20:50
- Forum: Windows
- Topic: Actors Binding
- Replies: 4
- Views: 8330
Re: Actors Binding
Kim
Both of those worked on the sample I had.
Thanks
J
Both of those worked on the sample I had.
Thanks
J
- 24 Dec 2020, 20:37
- Forum: Windows
- Topic: Double Episode error (with complex custom format)
- Replies: 1
- Views: 13067
Double Episode error (with complex custom format)
I use the GUI version of Filebot on Windows 10. On a prior post >> https://www.filebot.net/forums/viewtopic.php?f=10&t=6218&start=50 Kim posted the wonderful script below. I had been looking for a way to tag tv episode files with the imdb tt reference and this script ended that search. Howev...
- 22 Dec 2020, 17:48
- Forum: Windows
- Topic: Actors Binding
- Replies: 4
- Views: 8330
Actors Binding
For stand up comedy I use the following snippet -- grabbed from the forums -- as a subfolder. {actors.take(1).collect { i -> "$i" }.join(', ') + '/'} I have also tested just using {actors} as well. I found several stand up comedy movies in themoviedb.org that have the Person field complete...
- 15 Dec 2020, 04:35
- Forum: Windows
- Topic: Recover Deleted Preset
- Replies: 2
- Views: 7337
Re: Recover Deleted Preset
Thought that would be the answer. Luckily I found an offline version that only required a few tweaks. Didn't know about being able to pull the format in by file. That is much safer than editing within the preset itself. Thanks once again for your program and your help. I'll definitely be renewing fo...
- 14 Dec 2020, 19:12
- Forum: Windows
- Topic: Recover Deleted Preset
- Replies: 2
- Views: 7337
Recover Deleted Preset
I accidentally hit delete preset instead of save preset with my mouse. I have still not closed the filebot program. Is there a key combination that will undo the preset deletion? I looked in the registry and the preset is not there. I looked in the file preferences.backup.xml and it has an older ver...
- 05 Dec 2020, 04:00
- Forum: Episode / Movie Naming Scheme
- Topic: Truncate decimals for fps when a whole number
- Replies: 3
- Views: 7491
Truncate decimals for fps when a whole number
I know that fps is "decimal" like ratings and in the forums I found some postings on rounding to various decimal places but nothing on how to truncate the decimal places when it is a whole number. For example, I'm okay with 23.976, but if the fps is a whole number like 25.000 I would prefe...
- 27 Nov 2020, 06:10
- Forum: Episode / Movie Naming Scheme
- Topic: {type} video identification
- Replies: 1
- Views: 3721
{type} video identification
In themoviedb there is a field "Video?" for non theatrical releases such as straight to video movies. Using {type} returns Movie for these releases. How can I distinguish movies where the "Video" field equals "Yes"? Here is a sample video: https://www.themoviedb.org/mov...
- 21 Nov 2020, 01:43
- Forum: Episode / Movie Naming Scheme
- Topic: Commentary track
- Replies: 8
- Views: 7344
Re: Commentary track
Kim That was just a sample code based on the first audio track. I actually test each audio track, up to 5, as I expect that would likely be the max. Sorry for causing a misunderstanding. I checked the links you posted and I think my annual license purchases are directly from FIlebot because the emai...
- 19 Nov 2020, 17:16
- Forum: Episode / Movie Naming Scheme
- Topic: Commentary track
- Replies: 8
- Views: 7344
Re: Commentary track
I tested various snippets on some of my files and I can say that these two fail to recognise "Commentary" in the title when it is written in lowercase as "'commentary" audio[0].title =~ /Commentary/ ? 'Commentary' : null 'Commentary' in audio[0].title ? 'Commentary' : null Howeve...
- 17 Nov 2020, 22:07
- Forum: Episode / Movie Naming Scheme
- Topic: Commentary track
- Replies: 8
- Views: 7344
Re: Commentary track
Thanks Kim Your code works much better than mine, obviously. Even caught instances my simplistic code was missing. Now I just need to do some research to break down its complexity so that I can understand what each part of it is doing. I'm reasoning that you are combining all the audio data into a n...
- 17 Nov 2020, 19:24
- Forum: Episode / Movie Naming Scheme
- Topic: Commentary track
- Replies: 8
- Views: 7344
Commentary track
I use the GUI interface and I'm trying to rename my files that have multiple audio tracks and also have a Commentary track per the MediaInfo data. I realize that if the track is not named as "Commentary" in the MediaInfo data then the renaming will be null. For those files with a Commentar...
- 10 Jan 2020, 12:24
- Forum: Windows
- Topic: TVDB.COM API
- Replies: 3
- Views: 4618
TVDB.COM API
Yesterday there was a notice on the tvdb.com forum
API Update: Removing legacy SSL support
Would this impact filebot as I am no longer able to update my tv show files?
Thanks
J
API Update: Removing legacy SSL support
Would this impact filebot as I am no longer able to update my tv show files?
Thanks
J
- 09 Oct 2019, 22:48
- Forum: Windows
- Topic: albumArtist binding and FLAC files
- Replies: 4
- Views: 3229
Re: albumArtist binding and FLAC files
The field with the album artist appears to be this MediaInfo field "Album/Performer". I notice that in the flac files it has "BABii / BABii" but in an mp3 file it is just "BABii". I replaced {albumArtist} with {media.album_performer.after("/")} and that seems ...