If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
[Announce] Exclude Files and Folders (aka. IgnoreDirREManager)
[Announce] Exclude Files and Folders (aka. IgnoreDirREManager)
The little "Exclude Files and Folders" plugin allows you to define a regular expression to filter out files and folders during scans or while browsing the music folder. This can be useful to eg. hide all those "@eaDir" items your beloved NAS creates inside your music folders.
Please be careful with what you do: by defining a generous regex you could easily hide large parts of your music collection :-).
The possibility to exclude items based on a regex is not new. It's been there for more than a decade! Alas: there was no way to define that regex other than manipulating the prefs file. Which probably nobody ever did. This plugin therefore only exposes hat variable to you and does some very basic validation. Therefore please do NOT ask for more features which are not purely UI related...
Michael
"It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
(LMS: Settings/Information)
The little "Exclude Files and Folders" plugin allows you to define a regular expression to filter out files and folders during scans or while browsing the music folder. This can be useful to eg. hide all those "@eaDir" items your beloved NAS creates inside your music folders.
Please be careful with what you do: by defining a generous regex you could easily hide large parts of your music collection :-).
The possibility to exclude items based on a regex is not new. It's been there for more than a decade! Alas: there was no way to define that regex other than manipulating the prefs file. Which probably nobody ever did. This plugin therefore only exposes hat variable to you and does some very basic validation. Therefore please do NOT ask for more features which are not purely UI related...
I tried excluding a folder by entering the full path under linux but regex101 shows errors using forward slashes. How should I specify the path I want ignored?
Put a backslash in front of the slash to escape it.
Thanks. that eliminated the errors shown at regex101, but I am still able to browse the folder in question both through "Music Folder" and Custom Browse by artist. I guess I do not understand how this plugin functions. I did a full clear and rescan first
Logitech Media Server Version: 8.4.0 - 1678519305 @ Sat 11 Mar 2023 08:54:37 AM CET
Operating system: Debian - EN - utf8
Platform Architecture: x86_64-linux
Perl Version: 5.34.0 - x86_64-linux-gnu-thread-multi
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
> so if I enter the full path or just the folder name it makes no
> difference. Afraid I don't understand how to use this plugin
What did you enter? What did you try to match? What did you expect this
to do?
--
Michael
I thought it would exclude folders from view and hopefully from play . I first entered the path to the folder
Code:
\/mnt\/Music\/Flac\/ROCK\/John, Elton\/06 - Songs From the West Coast 2001
and did a rescan.
Then I tried just the folder name
Code:
\/06 - Songs From the West Coast 2001
EDIT: I see if I remove the \/ from the second attempt it works. Will this remove the item from playlists and MusicIp or just from viewing when opening the artist folder?
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment