Jump to content

Ignoring specific file in scan


Recommended Posts

allenarissa
Posted

Hello,

I was wondering if there is anyway to ignore specific folder names or extensions in the media scan. I read that I can insert a file called ".ignore" in the folder but I have a program that is creating a folder all over the place. Or, can I exclude a specific extension (.ts) from the scan?

 

Thanks

Allen

Posted

Hi, we don't currently have configuration for this so .ignore will be your best bet. You can also try marking files or folders as hidden. Let us know if this helps. thanks.

allenarissa
Posted

Thank You. I actually made a PowerShell script to monitor my drive and to copy .ignore if the temp folder is created in windows 10. Please let me know if anyone wants to see what I did. I will see how it works.

  • Like 1
  • 4 years later...
Posted
On 7/29/2017 at 1:47 PM, Luke said:

Hi, we don't currently have configuration for this so .ignore will be your best bet. You can also try marking files or folders as hidden. Let us know if this helps. thanks.

Luke, can you describe how to mark something as `hidden`?

Posted

I see. Adding `.ignore` marks it as hidden. 

I have a TV library on a linux box. For a show, I have the episodes in the parent folder and I have some PDFs in a subfolder. Currently, it thinks the subfolder is an extra season. I added '.ignore' to the subfolder, rescanned the library, and updated the meta data. But still the subfolder is showing up as an extra season. Any tips?

rbjtech
Posted

hmm that should work.  Does emby have access to the .ignore file - ie does it have the same read permissions as the other files ?

Posted

I had paid close attention to the permissions, but that didn't help. I solved it my scanning the library and refreshing the meta data from the scheduled tasks area vs the links in the main app.

rbjtech
Posted (edited)
7 minutes ago, vdrover said:

I had paid close attention to the permissions, but that didn't help. I solved it my scanning the library and refreshing the meta data from the scheduled tasks area vs the links in the main app.

ok - I thought that's what you said you did in the first reply ?

Anyway - all sorted.

Edited by rbjtech
Posted

I tried these first without success:

Emby 2022-01-04 at 9.22.11 AM.png

Posted
1 hour ago, vdrover said:

I tried these first without success:

Emby 2022-01-04 at 9.22.11 AM.png

What were you expecting to happen?

Posted

I was expecting the .ignore files to be respected and the extra "seasons" to disappear. When I used the scan/refresh feature from the scheduled tasks area, it worked as expected.

Posted

Yes that is what I would suggest.

Posted

So the links in the library area don't work? Is there a bug report to file?

  • 2 weeks later...
Happy2Play
Posted
7 minutes ago, Luke said:

@Happy2Play are you able to reproduce?

Not sure what to reproduce.

On 1/5/2022 at 4:43 AM, vdrover said:

I was expecting the .ignore files to be respected and the extra "seasons" to disappear. When I used the scan/refresh feature from the scheduled tasks area, it worked as expected.

On 1/6/2022 at 9:34 AM, vdrover said:

So the links in the library area don't work? Is there a bug report to file?

If I understand this correctly this is a page refresh issue, correct?  As adding a .ignore file removes any folder I add it to, but obviously from Item Deatails you have to manually refresh the page.

Posted

@Happy2Play I don't think it's a page refresh issue. For me, if I add the .ignore file to a folder and click `scan library files` from the Series menu, the ignored files remain. I have to use `scan library files` in the scheduled tasks area. 

Happy2Play
Posted
5 hours ago, vdrover said:

@Happy2Play I don't think it's a page refresh issue. For me, if I add the .ignore file to a folder and click `scan library files` from the Series menu, the ignored files remain. I have to use `scan library files` in the scheduled tasks area. 

What are you calling the Series menu?

Can you go over a specific example with exact steps as any method I have tried removes folder items that contain a .ignore.

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...