Fweep 12 Posted yesterday at 03:03 AM Posted yesterday at 03:03 AM I have folders named .hidden in which I previously had empty files named .ignore. This was sufficient to hide the entire folder from Emby. The folders reappeared due to the changes in 4.9, so I renamed the .ignore files to .embyignore and put an asterisk in each one. I rescanned my files but the .hidden folders are still showing up in Emby. For example, I have folders: TV/Programs/Girl Code (2015)/.hidden TV/Programs/Girl Code (2015)/Specials TV/Programs/Girl Code (2015)/Season 1 TV/Programs/Girl Code (2015)/Season 2 TV/Programs/Girl Code (2015)/Season 3 TV/Programs/Girl Code (2015)/Season 4 Inside .hidden is the .embyignore file along with some conversion notes and scripts—no playable content. Emby (web & Roku) shows .hidden as a "season" of the TV show, with no content. What's the trick to getting rid of it again?
Happy2Play 9797 Posted 21 hours ago Posted 21 hours ago (edited) Think you have to change the content of the embyignore file as the wildcard only ignores the files not the folder Quote To ignore all files in a folder, place an .embyignore file containing a * in the folder that is to be ignored. Where you want to ignore the folder also Quote To ignore a folder private-vids and all files and folders below it, place an .embyignore file containing private_vids/* in the root folder of the library. .embyignore containing .hidden/* in Girl Code (2015) folder Excluding Files & Folders | Emby Documentation Edited 21 hours ago by Happy2Play
Fweep 12 Posted 19 hours ago Author Posted 19 hours ago (edited) That does not work, probably because the show's folder is not the root folder of the library. If I put .embyignore in the library's appropriate root folder, and then reference the .hidden folder(s) relative to that location, then it works: */.hidden */*/.hidden */*/*/.hidden This seems less than ideal though. There seems to be no way to ignore the folder containing .embyignore like the old system did. If you are going to have * ignore all the files, why not also ignore the folder itself? Or if the containing folder must be explicitly mentioned, give us a way to do it from within the file, e.g. using a dot (.) or slash dot (/.). Or for a root-level .embyignore, give us a way to easily match a pattern at any depth. Edited 19 hours ago by Fweep
Luke 42146 Posted 10 hours ago Posted 10 hours ago You could also just do: .hidden And it will hide folders of that name at any level underneath.
Fweep 12 Posted 4 hours ago Author Posted 4 hours ago Ah, that simplifies the content of .embyignore. Thanks, Luke. Unfortunately, this still means I have to put the .embyignore files up one level from the folder I want to hide… but of course, not any higher than the library root folders. It seems rather a shortcoming of this new system that it no longer supports any way for a folder to designate itself as ignored. Consider it a feature request, I guess. 1
Luke 42146 Posted 1 hour ago Posted 1 hour ago 3 hours ago, Fweep said: Ah, that simplifies the content of .embyignore. Thanks, Luke. Unfortunately, this still means I have to put the .embyignore files up one level from the folder I want to hide… but of course, not any higher than the library root folders. It seems rather a shortcoming of this new system that it no longer supports any way for a folder to designate itself as ignored. Consider it a feature request, I guess. Thanks for the feedback !
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now