How could one filter sfv files?

Support for Windows users
Post Reply
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

How could one filter sfv files?

Post by Biff »

How could one filter sfv files? And also other file extensions? So when I add the entire content of a folder to FileBot how can I manage it that sfv files are not processed for renaming?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

You'll want to only add the files that you actually want to process, rather than the entire folder:
viewtopic.php?t=4222
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

Many thanks for the link.

How / where do I have to add here the filter to not to process sfv files:

Code: Select all

I:\Eigene Dateien\Videos\Filme\{n.replace(':', ' -')} ({y}){tags}{file.path =~ /Kinofassung/ ? '[Theatrical Cut]' : ''}\{n.replace(':', ' -')} ({y}){' Teil '+pi}{'.'+lang}{tags}{file.path =~ /Kinofassung/ ? '[Theatrical Cut]' : ''}{fn.match(/.forced/)}
Could you please add that filter?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

You are confusing format expressions with filter expressions. Those are conceptually very different. I recommend using Option 1 or Option 2:
viewtopic.php?t=4222


:idea: If you want to use Option 3, then you need to create a Preset, set an input folder, and then add a filter which allows you to control which files to select from that folder. Suffice to say, Option 3 is for more advanced users that don't mind spending some time tinkering.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

Very complicated / circuitous. Sorry, I cannot understand. Actually I want to achieve this: sfv files ALWAYS shall be filtered / not be processed when renaming. So when I drag and drop a folder over FileBot I want all of the files contained are processed / renamed besides of sfv files. Without having to do each time special actions to get that managed, to set the filter again or anything like that. So I now want to set a simple filter (without using other / external programs - I want to use only FilleBot) or whatever so that sfv files NEVER will be processed. How could I do it?

So it is an extremely simple setting / thing.
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

The specific setting / thing you're asking for does not currently exist. If there's sufficient demand, I'll look into finding a solution for this particular use case.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

Such a simple setting / filtering not possible to do? Not even with the presets? Very strange.

So when you want to rename 20 movies being in folders with different files, subs, jpgs, pngs, txts, sfvs, samples, etc. you have to separately filter them in an awkward way first?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

Not at all. You load them all, then you match against TheMovieDB, and in that process FileBot will decide what to do with each file. Most likely, all the non-media files will be ignored and not matched to anything. Hence your proposed setting is generally unnecessary for all the typical use cases, as things are handled correctly out of the box.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

Most likely, all the non-media files will be ignored and not matched to anything.
I am not quite sure to understand correctly. The sfv files are not ignored, they are processed. Rar files as well. And many more which should not be processed.
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

Perhaps screenshots would be in order? So that I can see what you see?
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

Sorry, screenshots of what?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

Biff wrote: 15 Dec 2019, 05:19 The sfv files are not ignored, they are processed. Rar files as well. And many more which should not be processed.
A screenshot that illustrates the issue. Feel free to use a shotgun approach and take many screenshots so that perhaps one of them will allow me to understand the problem which doesn't make sense to me at this point.


e.g. here's a screenshot that shows *.sfv and *.jpg files not being matched by default even though they're in the Original Files area:
Image
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

OK, I am not sure how this might help, here it is:

May be you want this also:
Last edited by Biff on 15 Dec 2019, 13:06, edited 1 time in total.
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

I see. In the special case where a companion file is named exactly the same as the primary movie file, then that companion file will be matched to the exact same object as the primary movie file. This particular behaviour is intended and was requested by users.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

How could one avoid this behaviour?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

You can't. There's not setting for that. The workaround is to only drop your video files into FileBot as discussed above, or to batch-delete non-video files in advance.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

But what sense does that make? It would be so easy to just add a simple filter option.
The workaround is to only drop your video files into FileBot as discussed above
It sounds as if that absolutely would not make any sense, manually remove the sfv files (and otheres) or the ones one want to rename? In 20 folders (for example)? One by one? And use another program for such? Very strange concept of FileBot, I would think. What really is the sense of it? I do not understand at all.
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

Biff wrote: 15 Dec 2019, 12:39 It sounds as if that absolutely would not make any sense, manually remove the sfv files (and otheres) or the ones one want to rename? In 20 folders (for example)? One by one? And use another program for such? Very strange concept of FileBot, I would think. What really is the sense of it? I do not understand at all.
Well, FileBot has more than one user, so perhaps some features make more sense for some users, and less so for others. It makes sense because processing non-video files has been specifically requested by a number of users, and AFAIK there's only one user who complains about it.


:idea: A smart user would immediately automate the process of batch deleting certain files, with scripts or 3rd party tools that cater to your specific needs and purposes, and of course not do it manually.


:idea: That reminds me, you can use the DELETE key on your keyboard to remove list items, so you could delete non-video files from the Original Files list before matching. Somewhat manual, but quite efficient on the keyboard. Maybe that'll alleviate the issue for you.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

Well, FileBot has more than one user, so perhaps some features make more sense for some users, and less so for others.
Well, well, that is why a program offers different features, so for most ones then there are needful features available. A simple filter, a basic option, easily could manage that.

If I only were a smart user. As I am not one I use FileBot obviously.
:idea: That reminds me, you can use the DELETE key on your keyboard to remove list items, so you could delete non-video files from the Original Files list before matching. Somewhat manual, but quite efficient on the keyboard. Maybe that'll alleviate the issue for you.
Actually I would not think so. I am wondering why FileBot cannot do it. Yes yes, of course, that great delete key, very nice one (one of my favirite keys). But removing (for example) 10, 20 sfv files (and others) from the list does not sound that convenient. And it gets less convenient as one obviously has to mark each item in the list manually and after directly remove it, one by one, one cannot mark altogether, one after the other and then remove all of them together.
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

Well, it's not how I'd do it, but it is the most simple way to do it.

Personally, I'd create a Preset. Set a pre-defined input folder (i.e. where all your new folders come in) and adjust the filter to only select the files I want (i.e. f.video assuming I only want to select video files). It's quite simple really, and thanks to it's programmable nature, it's applicable to a wide variety of users and use cases.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

Alright, could you make one for me to exclude sfv files and rar files?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

Certainly. I'm glad you asked. Here's a screenshot to illustrate. ;)


Exclude sfv and rar files:

Code: Select all

!(ext =~ /sfv|rar/)
Image


:idea: Personally, I think it's better to think it terms of what you want, rather than what you don't want, and so the include filter can be expressed the other way around, i.e. include files that are video files, or files that are nfo/jpg files:

Code: Select all

f.video || ext =~ /nfo|jpg/
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

Thank you very much for both variations. Sorry, I didn't make it. The result:
Image

The folders:
Image

And:
Image

What is wrong?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

Did you click on your custom "Ohne sfv, rar" button to apply your custom Preset?
Image
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

When I click it (after having added the folder(s) this is shown (the circle goes on rotating, nothing more happens for a long time):
Image

And suddenly there are...ah, now I see, one does not have to drag and drop a folder to FileBot, it does it automatically when clicking the preset.

I then close FileBot to stop that rotating circle (is there another way to stop that process?) and start it again.

So it seems to work now, will do some tries (in everyday life).
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

Yes, the preset encompasses all parts of the process, from loading input to matching. So as you click on your custom preset, it'll load all files from the configured input folder, which can take a while if this input folder is large and/or a remote file system.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

Alright, thank you very much!

How could FileBot always show the entire menu instead a part of it(?):
Image
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

IDK. It's a Windows 10 bug. The task bar should be behind always-on-top popup windows. I'll see if I can find a workaround. You could try to report the issue to Microsoft.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

Sorry, what does IDK mean? So a bug existing for years on my system already? Effecting FileBot only? Cannot remember to have seen that using other programs. Many thanks for trying fo find a workaround!

And, by the way, I am just remembering: the FileBot processing window (e.g. when processing a renaming) is in front of all the other open programs and I cannot move it behind the other windows here, it is very annoying, how could I make Filebot to move it behind another program when I click another program?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

Biff wrote: 16 Dec 2019, 07:54 Sorry, what does IDK mean? So a bug existing for years on my system already? Effecting FileBot only? Cannot remember to have seen that using other programs.
I Don't Know. Perhaps. Popup windows are displayed on top of the task bar on my machine. Newer revisions try to detect the location of the task bar and display the popup outside the task bar bounds.


Biff wrote: 16 Dec 2019, 07:54 And, by the way, I am just remembering: the FileBot processing window (e.g. when processing a renaming) is in front of all the other open programs and I cannot move it behind the other windows here, it is very annoying, how could I make Filebot to move it behind another program when I click another program?
IDK what "processing window" refers to. A screenshot would probably make it unambiguously clear. ;)
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

I Don't Know. Perhaps. Popup windows are displayed on top of the task bar on my machine. Newer revisions try to detect the location of the task bar and display the popup outside the task bar bounds.
OK, NIS. Actually I should have the newest revision. VS.

IDK what "processing window" refers to. A screenshot would probably make it unambiguously clear. ;)
Well, well, there is only one window shown while FileBot renames files showing the execution of renaming / moving (that cannot be moved behind other programs). So I would think it must be unambiguously clear, very sorry. What other windows might be confused with it?
Image
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

I see, the progress dialog. Users have reported that this dialog sometimes appears hidden behind other windows, so I've made it always-on-top to make sure it's always visible when it pops up. Loosely related to the task bar issue actually. You can't hide it, that's a con. But it's never hidden, so that's a pro. A compromise of sorts.

Oddly enough, this isn't the dialog I'd expect to appear on Windows. On Windows there's a special implementation that uses the native Windows Shell Move & Copy dialog.

Which shortcut are you using to launch FileBot? The one called FileBot or the one called FileBot (platform)? The former enables all the best features, the latter is for fail-safe compatibility settings, but is less integrated into the OS.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

I see, the progress dialog. Users have reported that this dialog sometimes appears hidden behind other windows, so I've made it always-on-top to make sure it's always visible when it pops up. Loosely related to the task bar issue actually. You can't hide it, that's a con. But it's never hidden, so that's a pro. A compromise of sorts.
I wouldn't say a "compromise" at all, simply very annoying. Why not make an option to show or not to show it?
Oddly enough, this isn't the dialog I'd expect to appear on Windows.
The progress dialog?
Which shortcut are you using to launch FileBot?
I do not use one, I click on an icon / button starting J:\FileBot\filebot.launcher.exe ("launcher" sounds like it should be used to start / launch FileBot). Where / how can / should I create such shortcut? Respectively where can I find that one called FileBot (and the other one)? And what features are available of the better integrated one (not available in the worse integreated)?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

1.
Why not have an option for everything you can think of? Simple, it's about simplicity. The options that we do have (format, presets, etc) can't be helped, the pros far outweigh the cons in terms of customization there. As for customizing window priority? You're the first to ask for configuration options there, but I'll consider it if it turns into a popular request.


2.
I see. You're using the portable zip. Nevermind, it's working as expected then. The MSI installer package that most Windows users are using, will install FileBot, and thus has the opportunity to integrate into Windows a little bit better. Various subtle ways, taskbar grouping, taskbar launcher, Windows Shell integration, etc. I don't know exactly.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

Why not have an option for everything you can think of?
Well, yes, sounds good, might get a very comprehensive program then.
As for customizing window priority?
Well, well, if there were programs showing a window on top over all of the other windows all the time without the option to close it / hide it while the program / a process was running, it just was unusable, a sync program showing a window on top all the time or such? When I rename / move 100 movies (lasts very long here) or even more with FileBot there always is the annoying processing window of FileBot shown on top, really very annoying. And it absolutely makes no sense at all, I would think.

2.
So there are more benefits with an installed FileBot. And so there is no more advantaged method to start it than I do?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 24671
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one filter sfv files?

Post by rednoah »

1.
I see. I guess it could be an annoyance for some users. I'll put it on the list. If other users report this as an issue as well, then we'll look into finding a good solution for everyone.


2.
Indeed, some benefits are only available in the installed version, and are not available in the portable edition. As for your particular use case, I think maybe you'll be more happy with the installed edition. Your choice though. ;)
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one filter sfv files?

Post by Biff »

Alright, many thanks.
Newest portable, stable FileBot, Windows 10 Home, 64bit
Post Reply