Jump to content

Are .ignore files ignored in 4.0.0.2?


Recommended Posts

maximumentropy
Posted

I'm seeing lots of files showing up in 4.0.0.2 which were previously ignored due to the presence of .ignore files.  Is this an expected behavior change?

 

Posted

Hi there, can you please go over an example? thanks.

Posted

Hi, for some reason folders which contain .ignore files will now be recognised on scans.

Posted (edited)

Having the same issue.

I've previously placed .ignore files into directories which per the wiki here https://github.com/MediaBrowser/Wiki/wiki/Excluding-files-&-folders says will have emby ignore the contents of a folder.

This was working on 3.5 previously before the update to 4.0, and I found today that Emby has scanned and added all files regardless of the presence of a .ignore file in the directory.

Edited by Chorca
Posted

Hi, for some reason folders which contain .ignore files will now be recognised on scans.

 

@@Happy2Play are you able to reproduce this?

Posted

Having the same issue.

I've previously placed .ignore files into directories which per the wiki here https://github.com/MediaBrowser/Wiki/wiki/Excluding-files-&-folders says will have emby ignore the contents of a folder.

This was working on 3.5 previously before the update to 4.0, and I found today that Emby has scanned and added all files regardless of the presence of a .ignore file in the directory.

Hi there, can you please go over an example? thanks.

Posted (edited)

I have a folder structure 

 

 

Movies -> Movie 1 -> Movie1.mkv

                 Movie 2 -> Movie2.mkv

                 Movie 3 -> .ignore

                                   Movie3.mkv

                 Movie 4 -> Movie4.mkv

 

In this layout, Movie 3 should be ignored by Emby and not be scanned/looked up/available in the library. I commonly use this for extras and temporary folders which I do not want to be scanned and put into the database.

In 3.5, Emby would correctly detect the .ignore file and not scan the movie.

In 4.0, Emby is not taking this into account, and scans all files/folders regardless of the presence of the .ignore file.

Edited by Chorca
  • Like 1
FrostByte
Posted (edited)

It's still working for me, at least for season folders with episodes as I don't have any ignore files in movies.  There are ~5 shows where the next season has an ignore file and none of them are showing.

 

Structure:

TV Shows\Game of Thrones\Season 8\.ignore

 

In that folder I have the ignore file and the new trailer in that folder and Emby doesn't show me anything in that folder nor the Season 8 folder either.

 

 

 

Running server 4.0.0.2

Edited by FrostByte
Posted

It's still working for me, at least for season folders with episodes as I don't have any ignore files in movies.  There are ~5 shows where the next season has an ignore file and none of them are showing.

 

Looks like it's the same here, .ignore files are being honored for shows but not movie folders.

  • Like 1
FrostByte
Posted

Ya, I just tried a movie and it's definitely not working for movies me either

Posted

Thanks for the report. We'll take a look.

  • Like 2
Happy2Play
Posted

Hi, for some reason folders which contain .ignore files will now be recognised on scans.

 

What is the content type of the library you are seeing this issue?

 

@@Happy2Play are you able to reproduce this?

 

With a quick test I only see this on Mixed Content library.  note tested on beta 4.1.0.0.

Happy2Play
Posted (edited)

Will report in this topic instead of the other, there other variables that need looked. 

 

What is the content type of the library?

 

Where are you placing the .ignore file?

 

 

 

Only failed tests from Mixed Content Movie (item folder).   Removing entire sub-folders works, but not a movie.

 

Movie content did not have any issue putting file in movie folder and it being ignored

TV content did not have any issue putting file in series folder and it being ignored

Edited by Happy2Play
Merged discussion
Posted (edited)

@Happy2Play

 

Issue on one movie library and one mixed content library. Series library seems to work correctly.

Edited by Bamb
FrostByte
Posted (edited)

My movie structure of type Movie

 

Movies\Movie Name (Year)\

 

Added a test folder Aquaman (2018) which contained an Aquaman.mp4 and an .ignore file

 

Emby added movie during scan along with all the images, metadata, etc

 

Series works as already noted

 

server 4.0.0.2-1 on Synology NAS

 

Edit: I'll test 4.1 beta when/if it comes to Synology server

Edited by FrostByte
Posted

My movie structure of type Movie

 

Movies\Movie Name (Year)\

 

Added a test folder Aquaman (2018) which contained an Aquaman.mp4 and an .ignore file

 

Emby added movie during scan along with all the images, metadata, etc

 

Series works as already noted

 

server 4.0.0.2-1 on Synology NAS

 

Edit: I'll test 4.1 beta when/if it comes to Synology server

 

Thanks, i will test this scenario.

  • Like 1
jimbobjones
Posted

Noticed this as well - been using .ignore files for years and suddenly all these films reappeared :huh:

Posted

Thanks, I'm looking into it.

FrostByte
Posted

Just loaded maintenance release 4.0.1.0-1 on Synology NAS and this appears to be working now.  Tested library types Photos, Movies, and TV Shows and the ignore file worked for all 3 types.

 

Thanks

  • Like 1
Happy2Play
Posted (edited)

Haven't tested 4.0.1.0 but tested a beta and only quirks noticed where nested mixed content libraries.  All other library level item ignores should work.

 

More discussion here

Edited by Happy2Play
  • Like 1
Posted

Thanks for the feedback. @@Happy2Play has discovered at least one situation still having a problem and we will get to those for an upcoming update. thanks.

  • Like 1
jimbobjones
Posted

I'm assuming it wasn't meant to be fixed in 4.0.1.0.

Posted

I'm assuming it wasn't meant to be fixed in 4.0.1.0.

 

Hi @@jimbobjones, what do you mean by that exactly? Thanks !

jimbobjones
Posted (edited)

Hi @@jimbobjones, what do you mean by that exactly? Thanks !

 

Oh, when I saw there was an update 4.0.1.0 I thought this issue might be one of the things that was to be resolved, but the .ignore files are still not working as they should.  So I am guessing this fix is still to come.  Will you let us know in this thread when it's going to be pushed through or whatever?

Edited by jimbobjones
Posted

Did you run a library scan? If you have run a scan and folders are still not ignored then please discuss an example. Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...