[GH-ISSUE #114] Allow for excluding of directories within music directory #79

Closed
opened 2026-02-26 02:32:04 +03:00 by kerem · 5 comments
Owner

Originally created by @Cyberuben on GitHub (Dec 19, 2015).
Original GitHub issue: https://github.com/koel/koel/issues/114

I'd like to have an option to exclude certain folders to prevent from being indexed into Koel. I'm currently using BitTorrent Sync to make sure all my music is on both my laptop and desktop, and it creates a .sync folder. This folder contains an archive of changes, meaning that if I change the ID3 tags of a song, it'll store a backup of the old file in the .sync folder. To prevent duplicates, I think it would be wise to allow for exclusion of user specified folders.

Originally created by @Cyberuben on GitHub (Dec 19, 2015). Original GitHub issue: https://github.com/koel/koel/issues/114 I'd like to have an option to exclude certain folders to prevent from being indexed into Koel. I'm currently using BitTorrent Sync to make sure all my music is on both my laptop and desktop, and it creates a .sync folder. This folder contains an archive of changes, meaning that if I change the ID3 tags of a song, it'll store a backup of the old file in the .sync folder. To prevent duplicates, I think it would be wise to allow for exclusion of user specified folders.
kerem closed this issue 2026-02-26 02:32:04 +03:00
Author
Owner

@phanan commented on GitHub (Dec 19, 2015):

Not very high on my list TBH.

<!-- gh-comment-id:165934611 --> @phanan commented on GitHub (Dec 19, 2015): Not very high on my list TBH.
Author
Owner

@Cyberuben commented on GitHub (Dec 19, 2015):

I have done some digging, it seems like it is possible to exclude directories from being found by just using the Symfony's Finder exclude function.

http://api.symfony.com/3.0/Symfony/Component/Finder/Finder.html#method_exclude

I might try to implement this myself and submit a pull request once done

<!-- gh-comment-id:165935285 --> @Cyberuben commented on GitHub (Dec 19, 2015): I have done some digging, it seems like it is possible to exclude directories from being found by just using the Symfony's Finder `exclude` function. http://api.symfony.com/3.0/Symfony/Component/Finder/Finder.html#method_exclude I might try to implement this myself and submit a pull request once done
Author
Owner

@phanan commented on GitHub (Dec 19, 2015):

I have done some digging, it seems like it is possible to exclude directories from being found by just using the Symfony's Finder exclude function.

How to exclude directories when scanning is not a problem. The interface and other logics are.

I might try to implement this myself and submit a pull request once done

Pure awesomeness.

<!-- gh-comment-id:165935384 --> @phanan commented on GitHub (Dec 19, 2015): > I have done some digging, it seems like it is possible to exclude directories from being found by just using the Symfony's Finder exclude function. How to exclude directories when scanning is not a problem. The interface and other logics are. > I might try to implement this myself and submit a pull request once done Pure awesomeness.
Author
Owner

@Cyberuben commented on GitHub (Dec 19, 2015):

@phanan Could you maybe elaborate on what you mean by "and other logics"?

<!-- gh-comment-id:165935488 --> @Cyberuben commented on GitHub (Dec 19, 2015): @phanan Could you maybe elaborate on what you mean by "and other logics"?
Author
Owner

@phanan commented on GitHub (Dec 19, 2015):

One example might be where to save the "exclude" settings.

On Sat, Dec 19, 2015 at 10:03 AM, Ruben Rutten notifications@github.com
wrote:

@phanan https://github.com/phanan Could you maybe elaborate on what you
mean by "and other logics"?


Reply to this email directly or view it on GitHub
https://github.com/phanan/koel/issues/114#issuecomment-165935488.

<!-- gh-comment-id:165936841 --> @phanan commented on GitHub (Dec 19, 2015): One example might be where to save the "exclude" settings. On Sat, Dec 19, 2015 at 10:03 AM, Ruben Rutten notifications@github.com wrote: > @phanan https://github.com/phanan Could you maybe elaborate on what you > mean by "and other logics"? > > — > Reply to this email directly or view it on GitHub > https://github.com/phanan/koel/issues/114#issuecomment-165935488.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#79
No description provided.