Search found 402 matches

by devster
Yesterday, 21:33
Forum: Scripting and Automation
Topic: Updating names with keeplink
Replies: 3
Views: 88

Re: Updating names with keeplink

:?: What is the purpose of "updating names", perhaps episode titles? Those don't typically change much over time... Usually they don't but in some shows they do, or rather, the databases initially have all episodes as "Episode 1", "Episode 2", ... and someone later updates the titles. One example i...
by devster
Yesterday, 18:49
Forum: Scripting and Automation
Topic: Updating names with keeplink
Replies: 3
Views: 88

Updating names with keeplink

I'm using keeplink for files. I'd like the option to update the names of certain files without reverting and reprocessing them. The current workflow is: docker exec <container> /usr/bin/filebot -revert /media/tv/show docker exec <container> /usr/bin/filebot -script fn:amc --action keeplink --output ...
by devster
31 Jan 2022, 18:34
Forum: Scripting and Automation
Topic: [POC] Custom Format Server
Replies: 5
Views: 1317

Re: [POC] Custom Format Server

To expand a bit on this idea, is there a function or an option to use as source file, instead of a media file present on disk, a MediaInfo xml report? The idea would be to host a FileBot service on a remote server, upload the MediaInfo report file named as the source file and have FileBot return the...
by devster
25 Jan 2022, 12:35
Forum: Feature Requests and Bug Reports
Topic: Beta version of deb/rpm repositories
Replies: 0
Views: 963

Beta version of deb/rpm repositories

I would propose a second channel in the deb repo for the beta releases, which seem to be fairly stable anyway.
So in addition to deb [arch=amd64] https://get.filebot.net/deb/ stable main
there'd also be deb [arch=amd64] https://get.filebot.net/deb/ beta main
by devster
25 Jan 2022, 12:29
Forum: Scripting and Automation
Topic: [POC] Custom Format Server
Replies: 5
Views: 1317

Re: [POC] Custom Format Server

Oh, didn't realize. But it doesn't seem like FileBot is involved in the remote processing. This line: const dst = src.toUpperCase().replace(/[^A-Z0-9]/g, '_') is the only piece of code involved in the renaming, right? I was wondering if it could be made so that FileBot processes the information on t...
by devster
25 Jan 2022, 01:15
Forum: Episode / Movie Naming Scheme
Topic: {info} details for series
Replies: 1
Views: 488

{info} details for series

I'm using TheMovieDB::TV for series and I was wondering why I can't find the {info.OriginalLanguage} binding there. The website seems to support the information: https://www.themoviedb.org/tv/78941 but the binding doesn't seem to be there. filebot -rename --db TheMovieDB::TV --action test --format '...
by devster
25 Jan 2022, 00:11
Forum: Scripting and Automation
Topic: [POC] Custom Format Server
Replies: 5
Views: 1317

Re: [POC] Custom Format Server

Could this be reworked so that FileBot receives a file name plus information about the type of file and it returns a filename and location? E.g. curl "somethingsomething/post" --data-urlencode "file=${file}" --data-urlencode dir="$(basename ${file})" --data-urlencode output=/Media --data-urlencode l...
by devster
15 Jan 2022, 00:50
Forum: Scripting and Automation
Topic: The Office (US) combined episodes
Replies: 2
Views: 701

The Office (US) combined episodes

Some series aired double episodes which in later releases have been combined into one (e.g. The Office US). In this case I'd have the following list of files: The Office S04E01 Fun Run.mkv The Office S04E02 Dunder Mifflin Infinity.mkv The Office S04E03 Launch Party.mkv The Office S04E04 Money.mkv Th...
by devster
17 Oct 2021, 21:35
Forum: Scripting and Automation
Topic: Using mapper to fix episode number
Replies: 5
Views: 8042

Re: Using mapper to fix episode number

It's not really clear how to run those snippets, are they scripts? mappings? Also I managed to fix the rename with the following: --q 'my show' --filter 's == 3' --mapper "episode.derive(episode.season, episode.episode + 1)" and using strict mode. What's not clear is why +1 instead of -1... this is ...
by devster
17 Oct 2021, 14:02
Forum: Scripting and Automation
Topic: Using mapper to fix episode number
Replies: 5
Views: 8042

Using mapper to fix episode number

I'm having trouble understanding how to use --mapper . I have the following list of episodes: My.Show.S02E01E02.Extended.720p.BluRay.x264-NTb.mkv My.Show.S02E03.Extended.720p.BluRay.x264-NTb.mkv My.Show.S02E04.Extended.720p.BluRay.x264-NTb.mkv My.Show.S02E05.Extended.720p.BluRay.x264-NTb.mkv My.Show...
by devster
01 Jul 2021, 06:15
Forum: Episode / Movie Naming Scheme
Topic: [SNIPPET] HDR detection
Replies: 15
Views: 19008

Re: [SNIPPET] HDR detection

The way it's written now the dots aren't an option, they're always there.
You should probably rework the format to make them optional.
by devster
30 Jun 2021, 15:38
Forum: Episode / Movie Naming Scheme
Topic: [SNIPPET] HDR detection
Replies: 15
Views: 19008

Re: [SNIPPET] HDR detection

My bad, it was a poor paste, you can probably remove this entire section: if (_HDR_out.findMatch(/dolby/)) { more = allOf { vid["HDR_Format_Profile"] } { vid["HDR_Format_Level"] } { vid["HDR_Format_Settings"] } .join(" ") _HDR_out.append(more) }
by devster
05 Jun 2021, 21:27
Forum: Episode / Movie Naming Scheme
Topic: [SNIPPET] HDR detection
Replies: 15
Views: 19008

Re: [SNIPPET] HDR detection

Updated version: { def _HDRMap = [ "HDR10": "HDR10", "SMPTE ST 2086": "HDR10", "SMPTE ST 2094 App 3": "Advanced HDR", "SMPTE ST 2094 App 4": "HDR10+", "Dolby Vision / SMPTE ST 2086": "Dolby Vision", "Dolby Vision / HDR10": "Dolby Vision", "ETSI TS 103 433": "SL-HDR1", "SL-HDR1": "SL-HDR1", // , Vers...
by devster
04 Jun 2021, 18:54
Forum: Episode / Movie Naming Scheme
Topic: [SNIPPET] HDR detection
Replies: 15
Views: 19008

Re: [SNIPPET] HDR detection

The reason I'm using this check is that in the original snippet I then use specific HDR_* properties from MediaInfo to assign specific HDR profiles or names. The {hdr} binding works but only returns "HDR" when in this case it's an HDR10+ video. Your last snippet works for my use case: { def _HDRMap ...
by devster
03 Jun 2021, 18:44
Forum: Episode / Movie Naming Scheme
Topic: [SNIPPET] HDR detection
Replies: 15
Views: 19008

Re: [SNIPPET] HDR detection

Recently tried to run it and it seems it's no longer working. In particular it seems it's a Groovy failure on my side, the following bit no longer returns any element: { def vid = video.first() assert vid.findAll { p -> p.key.startsWith("HDR_") }.size() > 0 } p.key is null now, but the file does hav...
by devster
13 Jan 2021, 19:38
Forum: Episode / Movie Naming Scheme
Topic: [SNIPPET] HDR detection
Replies: 15
Views: 19008

Re: [SNIPPET] HDR detection

No, sorry, I don't have that many files with those characteristics.
If you have samples I can work on that though.
by devster
20 Dec 2020, 22:06
Forum: Feature Requests and Bug Reports
Topic: Series Year seems to include Specials
Replies: 5
Views: 7334

Re: Series Year seems to include Specials

My post wasn't really about the format itself, I was just saying I would have expected a different behaviour. Meaning, regardless of the information on TheTVDB about the series, I was expecting '{y}' to yield the year of the first episode of the first season, and not specials. Is "firstAired" popula...
by devster
19 Dec 2020, 16:23
Forum: Feature Requests and Bug Reports
Topic: Series Year seems to include Specials
Replies: 5
Views: 7334

Series Year seems to include Specials

I recently encountered this anomaly with Ted Lasso. This happens: filebot -list --format '{ny} - {sxe}' --q 'ted lasso' --db TheTVDB Ted Lasso (2013) - 1x01 Ted Lasso (2013) - 1x02 Ted Lasso (2013) - 1x03 Ted Lasso (2013) - 1x04 Ted Lasso (2013) - 1x05 Ted Lasso (2013) - 1x06 Ted Lasso (2013) - 1x07...
by devster
26 Jun 2020, 23:31
Forum: Episode / Movie Naming Scheme
Topic: No season folder for miniseries?
Replies: 8
Views: 4101

Re: No season folder for miniseries?

Although this could backfire if a show is ongoing and not ended, you may want to check that as well.
by devster
26 Jun 2020, 23:29
Forum: Episode / Movie Naming Scheme
Topic: Source Media {vs} and {source}
Replies: 16
Views: 55194

Re: Source Media {vs} and {source}

Any examples for these lines of code? My customisation is related to web sources, which you currently bundle in WEB-DL, I have some lines to match them separately. Another small issue is that {source} seems to respect original case now dvdrip will result in dvdrip instead of DVDRip as before, not su...
by devster
25 Jun 2020, 22:06
Forum: Episode / Movie Naming Scheme
Topic: Source Media {vs} and {source}
Replies: 16
Views: 55194

Re: Source Media {vs} and {source}

Is there a way to customise the map {vs} uses?
I find it a bit too restrictive.
by devster
19 Jun 2020, 18:35
Forum: Episode / Movie Naming Scheme
Topic: Give video files a quality grade based on various mediainfos?
Replies: 2
Views: 1946

Re: Give video files a quality grade based on various mediainfos?

You could start by setting minimum settings, anything MKV is better than other formats, anything x264/x265 is better than other stuff. If audio is 5.1 or above AC3 or DTS as preferred formats for 1080p, AC3 640 for 720p, AC3 448 for standard def. If audio has fewer channels, FLAC or AAC are acceptab...
by devster
10 Jun 2020, 19:21
Forum: Anything and Everything else
Topic: Symlink management
Replies: 3
Views: 19130

Re: Symlink management

Not really what I'm trying to do.

I chose this way of organising files because I put files first in fast storage for processing, then move them to a much larger, slower storage space. Fast storage is very limited.
How would a master structure work?
by devster
10 Jun 2020, 18:27
Forum: Anything and Everything else
Topic: Symlink management
Replies: 3
Views: 19130

Symlink management

I have quite a large portion of my files as symlinks from one location to another, example: Avatar.2009.1080p.BluRay.DTS.x264.GROuP/Avatar.2009.1080p.BluRay.DTS.x264.GROuP.mkv -> '../../../../../../../cephfs/Media/Movies/Avatar (2009) [James Cameron]/Avatar (2009) [1080p x264 - 5.1 DTS Eng, 2.0 MP3 ...
by devster
08 Jun 2020, 16:32
Forum: Feature Requests and Bug Reports
Topic: Custom databases via --db db.groovy
Replies: 7
Views: 3616

Re: Custom databases via --db db.groovy

Cleaning would be for names such as: Packing_for_Mars__The_Curious_Science_of_Life_in_the_Void.epub # replace _ with space and multiple _ with - 'Revival By Stephen King [pdf epub mobi azw3 pdb]' # remove formats '[REQ] James S A Corey - The Expanse Series - book 4 Cibola Burn (epub and azw3)' # rem...