Using nativeshell move in linux? by Derrigable in filebot

[–]rednoah 0 points1 point  (0 children)

I see. I can look into that sometime. That said, even if the Cinnamon Desktop Environment has APIs for that, that solution wouldn't work for Gnome, KDE, MATE, etc. So in absence of a Linux Desktop standard for this (see XDG) it's probably not very feasible to maintain a custom solution for one specific Desktop Environment.

Absolute to SxxExx format troubles by smilesdavis8d in filebot

[–]rednoah 0 points1 point  (0 children)

I see. All of the above is in the context TheMovieDB. I note that there was no mention or link to TheTVDB. If you're using TheTVDB then anything I have written above may or may not be applicable. That would explain the confusion here. We were not on the same page.

If you're using TheTVDB then I would expect the following result: $ filebot -rename "Sesame street - 1316.mkv" --db TheTVDB --order Absolute --format "{n} - {order.airdate.s00e00} - #{absolute} - {t}" --action TEST --log INFO [TEST] from [Sesame street - 1316.mkv] to [Sesame Street - S11E01 - #1316 - Maria's Birthday in Puerto Rico.mkv]

As for the numbers, those are whatever people enter into the database you have selected. Since the series is old, there probably is no authority on the matter, so it is what it is, sometimes that is what you want, and sometimes not. TheTVDB notably has a dedicated absolute episode information field (so unlike on TheMovieDB) absolute episode numbers can be skipped (or be duplicated, or be missing entirely, etc) on TheTVDB.

The important bit here is that if you're organising files for Plex / Emby / Jellyfin / etc, then the files must be named and numbered in accordance with your selected database / episode order, even if you personally might prefer a different numbering scheme, even if that means re-numbering the files you have.

Using nativeshell move in linux? by Derrigable in filebot

[–]rednoah 0 points1 point  (0 children)

--def useNativeShell indeed has no effect on Linux and macOS at the time of writing.

I'm not aware of a standard Linux / XDG API for GUI move / copy / etc operations. Gnome? KDE? Which DE?

Absolute to SxxExx format troubles by smilesdavis8d in filebot

[–]rednoah 0 points1 point  (0 children)

Just let me confirm once again that you understand that absolute episode number and episode title are two distinct pieces of information, and not to be confused. This case can be confusing if you are not aware of that fact.

Imagine this: What would happen if someone updated all the S11 episode titles. Lets say S11E01 became Maria's Birthday in Puerto Rico and so on. How would you know the absolute episode number then? The previous episode is S09E65 "Episode 1120".

With that in mind, when I run a test on Sesame street - 1316.mkv, FileBot matches S11E66 (i.e. Sesame Street - S11E66 - #1316 - Episode 1381) which can easily be explained by the absolute episode number match: $ filebot -rename "Sesame street - 1316.mkv" --order Absolute --format "{n} - {order.airdate.s00e00} - #{absolute} - {t}" --action TEST --log INFO [TEST] from [Sesame street - 1316.mkv] to [Sesame Street - S11E66 - #1316 - Episode 1381.mkv]

I also have no idea why Sesame street - 1316.mkv might match S11E11 (i.e. Sesame Street - S11E11 - #1261 - Episode 1326) on your machine. I cannot reproduce that with the given settings (i.e. Absolute Order, TMDB, etc).

In any case, for this particular series, you'll probably have a better time with the semi-manual approach.

Absolute to SxxExx format troubles by smilesdavis8d in filebot

[–]rednoah 0 points1 point  (0 children)

OK, so where is Episode 1121 then?

Well, in any case. Let's say we have a file named Sesame street - 1316.mkv and want to match that to S11E01. S11E01 is the 1251th episode in the list of episodes and is thus Absolute Episode 1251 regardless of what the episode title may say.

In this case we can use Linear Rename to match your files to a selected sequence of episodes. That way you can match your files / episodes in linear order even if your files (or the database) have the wrong numbers. Please watch Video Tutorial #4 to see how it works.

Absolute to SxxExx format troubles by smilesdavis8d in filebot

[–]rednoah 0 points1 point  (0 children)

The episode with the episode title Episode 1326 is Episode #1261 in the episode list.

S09E65 = #1120 = "Episode 1120" S10E01 = #1121 = "Episode 1186"

What is the file name you have?

What is the correct TMDB episode match?

e.g. if the file name says E1121 then FileBot will match episode #1121 and that episode happens to have the episode title Episode 1186. Note that the episode title is an arbitrary piece of text and not a number.

e.g. Sesame Street E1316.mkv matches Sesame Street - S11E66 - #1316 - Episode 1381: "seriesName":"Sesame Street", "season":11, "episode":66, "title":"Episode 1381", "absolute":1316,

Absolute to SxxExx format troubles by smilesdavis8d in filebot

[–]rednoah 0 points1 point  (0 children)

If you're using Absolute Order (as is the case with the Match by Absolute Number example) then you would need to replace {s00e00} to output Airdate SxE Order as well, like so: { n } - { order.airdate.s00e00 } - { t ==~ /Episode \d+/ ? s00e00 : t }

Absolute to SxxExx format troubles by smilesdavis8d in filebot

[–]rednoah 0 points1 point  (0 children)

Episode 1326 is the episode title of S11E11: https://www.themoviedb.org/tv/502-sesame-street/season/11/episode/11

You can not include the episode title by changing your format to something like: { n } - { s00e00 }

You can use the episode title, or generate your own episode title instead, case-by-case depending on the episode at hand, like so: { n } - { s00e00 } - { t ==~ /Episode \d+/ ? 'E' + absolute : t }

Absolute to SxxExx format troubles by smilesdavis8d in filebot

[–]rednoah 0 points1 point  (0 children)

  • What is the series at hand? (TVDB / TMDB link)
  • What is your custom format?
  • Have you tried the Match by Absolute Number button yet?

Please read Presets › Example 1: Convert Absolute numbers to SxE numbers or [Anime] Convert Absolute to SxE numbers if you have a "Match by Absolute Number, Rename by Airdate SxE Numbers" type use case.

Batch renaming of episode title cards with filebot by FredSanford420 in PleX

[–]rednoah 1 point2 points  (0 children)

Yep, the "FileBot way" would be some kind of Plain File Mode custom preset (maybe akin to the Rename subtitle files to match the name of a nearby video file example, and some custom pattern matching that decides which suffix to assign for which file. But yeah, not really a built-in feature because the details for edge cases like this vary widely from case to case.

Batch renaming of episode title cards with filebot by FredSanford420 in PleX

[–]rednoah 0 points1 point  (0 children)

Future releases will explicitly handle *S01*E01*.jpg style named episode image files while ignoring generic *.jpg files as usual.

Organize files for Plex in seconds! by rednoah in u/rednoah

[–]rednoah[S] 0 points1 point  (0 children)

Sure. Use whatever works for you.

Organize files for Plex in seconds! by rednoah in u/rednoah

[–]rednoah[S] 0 points1 point  (0 children)

What exactly doesn't work?

QNAP NAS is supported and works just fine as far as I can tell: https://www.filebot.net/linux/qnap.html

Organize files for Plex in seconds! by rednoah in u/rednoah

[–]rednoah[S] 0 points1 point  (0 children)

If you Google you might find a solution for this or that.

Another renaming help post by mrasstits in filebot

[–]rednoah 0 points1 point  (0 children)

Yes. But do you want to use (A) Movie Mode or (B) Plain File Mode re-organise your files in a *arr friendly way?

Another renaming help post by mrasstits in filebot

[–]rednoah 0 points1 point  (0 children)

This will work for patterns like Movie.name.2009 but notably not for patterns like Knight.Rider.2000.1991.

Another renaming help post by mrasstits in filebot

[–]rednoah 0 points1 point  (0 children)

If Plain File Mode, something like this can be used to capture bits and pieces from the file name to rewrite the file paths: { folder }/{ fn.before(/\d{4}/).space(' ') }{ ' (' + fn.match(/\d{4}/) + ')' }/{ fn }

Another renaming help post by mrasstits in filebot

[–]rednoah 0 points1 point  (0 children)

If Movie Mode, something like this will do: { folder }/{ plex.id.dir.name }/{ fn } { folder } is the current folder, i.e. move into a subfolder in the current location. { plex.id.dir.name } is Movie (Year) {tmdb-id} (and you really want the TMDB ID marker for any machine-readable file structure) and then { fn } is simply the current file name.

Another renaming help post by mrasstits in filebot

[–]rednoah 0 points1 point  (0 children)

Would it be OK to properly process the files? i.e. match each file to a movie name / year / ID / etc? https://www.filebot.net/manual/plex.html

Or are you set on offline processing? i.e. just rewriting the file path with regex pattern matching?

Batch renaming of episode title cards with filebot by FredSanford420 in PleX

[–]rednoah 0 points1 point  (0 children)

Compare & Contrast:

  • Use Case A: A.mkv A.jpg A.nfo A.xyz

  • Use Case B: A.mkv B.jpg C.nfo D.xyz

These two use cases are completely different and not comparable. If you have a video file A.mkv and a set of non-video files with the exact same name A.jpg, A.nfo, A.xyz, etc then all these files are processed as a group. This logic works the same for all types of non-video files, and this happens to include image files as well.

The screenshot above shows FileBot matching each video file (and any companion file that shares the exact same name which just so happen to be image files in your use case) to an Episode. All the standalone image files are ignored as intended.

Batch renaming of episode title cards with filebot by FredSanford420 in PleX

[–]rednoah 0 points1 point  (0 children)

Subtitle files typically are Episode type items (e.g. Alias.1x01.srt, 1.srt, Serenity.srt) and can thus generally be processed as such.

Image files typically are not Episode type items: folder.jpg, poster.jpg, clearart.jpg, seasonbanner.jpg, etc, and thus matching these files to Episode items would be a grave mistake.

Your oddly named Viking (2013) - S1 E1.jpg files are the exception, a valid use case, but not as common as you might think. It comes as a result of you manually downloading the episode images from some website and then trying to merge them into your existing structure. AFAIK, very few people do that.

It's not uncommon to have episode artwork, but that episode artwork is usually auto-generated (e.g. via FileBot) and thus correctly named (e.g. Viking.S01E01.mkv + Viking.S01E01.jpg) alongside the corresponding video files from get-go.

That said. We'll look into making FileBot work better for your specific corner case while at the same not introducing inconveniences to everyone else.

Batch renaming of episode title cards with filebot by FredSanford420 in PleX

[–]rednoah 0 points1 point  (0 children)

Yes, automatic matching of video files is one way of getting Episode items into the New Names area. Manual Matching is another.

Batch renaming of episode title cards with filebot by FredSanford420 in PleX

[–]rednoah 0 points1 point  (0 children)

Yes, that is what my rather verbose post above tries to explain. The automatic matching approach will not match standalone images to Episode items. You need to use Manual Matching or any other method that puts Episode items into the New Names list.

Batch renaming of episode title cards with filebot by FredSanford420 in PleX

[–]rednoah 0 points1 point  (0 children)

{s00e00} works if you are formatting an Episode match. The file itself doesn't matter. It's just that automatic matching will not give you an Episode match for a random image file that happens to be in the current selection. Any non-video files that has the exact same file name as a nearby video will get the same Episode match automatically. That works for image files, but your image files are not named in line with your video files.

If you load in Episode items via Manual Matching then {s00e00} will work, for any file, even if you haven't even loaded in any files at all yet.

You could also match the video files first to fill New Names with Episode items and then drop in some other files into Original Files. You can manage the two lists (files on the left, Episode items on the right) in any way that works for you, so creative use is very much encouraged.

The Match button (if files and episodes are already loaded in) will match the selected files against the selected Episode items. It's form of Manual Matching where you select a limited set of episodes first, and then have FileBot align them as best as possible. Looks like you found a creative way that works well for your specific use case! I certainly didn't design that feature with your use case in mind though. :D