Obfuscated filenames + different extensions = errors

All your suggestions, requests and ideas for future development
Post Reply
TerrorFactor
Posts: 4
Joined: 04 Nov 2016, 00:49

Obfuscated filenames + different extensions = errors

Post by TerrorFactor »

Hi all,

I noticed some weird behavior, both using GUI and commandline.
Original filenames:

Code: Select all

Fss5ee1.mkv
Fss5ee1.nfo
Fss5ee1.sfv
where 5 is the season, 1 is the episode number. Episodes went from 1 to 24, season stayed the same.

When using only the mkv (or only the sfv or only the nfo), there was no problem.
However, when using all 3 filetypes together, the mkv's got renamed correctly, but all 2-digit files went bad.

Code: Select all

Fss5ee10.mkv
Fss5ee10.nfo
Fss5ee10.sfv
Fss5ee11.mkv
Fss5ee11.nfo
Fss5ee11.sfv
Fss5ee12.mkv
Fss5ee12.nfo
Fss5ee12.sfv
became

Code: Select all

Show.S5E10.mkv
Show.S5E01.nfo
Show.S5E01.sfv
Show.S5E11.mkv
Show.S5E01.nfo
Show.S5E01.sfv
Show.S5E12.mkv
Show.S5E01.nfo
Show.S5E01.sfv
For some reason, the second digit got ignored on all .nfo and .sfv-files.
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Obfuscated filenames + different extensions = errors

Post by rednoah »

Thanks for the post! Before a real human comes by, please make sure your report has all the following points checked:
  • What are you trying to do achieve? What's not working? What have you tried so far?
  • Include screenshots, logs or filenames (i.e. demonstrate the issue)
  • Include basic information (i.e. sysinfo output)
:idea: Please read How to Request Help and Fix Problems, Report Bugs, Get Features
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Obfuscated filenames + different extensions = errors

Post by rednoah »

Looks good to me. Try the latest revision.

Image
:idea: Please read the FAQ and How to Request Help.
TerrorFactor
Posts: 4
Joined: 04 Nov 2016, 00:49

Re: Obfuscated filenames + different extensions = errors

Post by TerrorFactor »

Thank you for the quick response. It seems that my report was not complete. Screenshot of a quick test I did. It seems that you need a single digit episode (+files) for it to (not) work.
Image

I should be on the last version, as I only downloaded Filebot yesterday. Version that I am using: FileBot 4.7.2 (r4178)

Thank you.
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Obfuscated filenames + different extensions = errors

Post by rednoah »

The latest revision is not the same as the latest stable release:
viewtopic.php?f=7&t=1609

Based on that screenshot I reckon the video files contain additional identifying information that isn't available for non-video files.
:idea: Please read the FAQ and How to Request Help.
TerrorFactor
Posts: 4
Joined: 04 Nov 2016, 00:49

Re: Obfuscated filenames + different extensions = errors

Post by TerrorFactor »

The screenshot was made with dummy files (just an empty file with new name and extension), as the original files were semi-automatically renamed.
There is no issue if you only take all the mkv's, or all the sfv's or all the nfo's, instead of everything together.

Tried it again with 4.7.2 r4487, same result:
Image
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Obfuscated filenames + different extensions = errors

Post by rednoah »

Thanks for testing. I'll need you to post the filenames as text so I can reproduce this issue.

PS: Note that even empty files may have xattr metadata if you have previously renamed them with FileBot. You can check xattr metadata via Filter ► Attributes.
:idea: Please read the FAQ and How to Request Help.
TerrorFactor
Posts: 4
Joined: 04 Nov 2016, 00:49

Re: Obfuscated filenames + different extensions = errors

Post by TerrorFactor »

Attributes are empty. Files were generated via commandline "notepad Fss5ee1.mkv" and then accepting when notepad asks to save the file because it doesn't exist.
Image
Filenames I used for testing:

Code: Select all

Fss5ee1.mkv
Fss5ee1.nfo
Fss5ee1.sfv
Fss5ee10.mkv
Fss5ee10.nfo
Fss5ee10.sfv
Fss5ee11.mkv
Fss5ee11.nfo
Fss5ee11.sfv
Fss5ee12.mkv
Fss5ee12.nfo
Fss5ee12.sfv
Fss5ee2.mkv
Fss5ee2.nfo
Fss5ee2.sfv
Fss5ee3.mkv
Fss5ee3.nfo
Fss5ee3.sfv
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Obfuscated filenames + different extensions = errors

Post by rednoah »

I see. Fixed with r4500.
:idea: Please read the FAQ and How to Request Help.
Post Reply