mried / beetsplug

Some plugins for beets - the music geek's media organizer
MIT License
13 stars 1 forks source link

autosingleton improvement for subdirectory #7

Open eharris opened 5 months ago

eharris commented 5 months ago

I would suggest improving the autosingleton subdirectory test to only consider it a singleton if any subdirectory contains audio files, and not just if a subdirectory exists.

Often, subdirectories are used to separare pdf or images or other data content, so this would incorrectly consider those albums to be singletons.

mried commented 5 months ago

This is a good addition in my opinion. Not sure if I can work on this, so in case you are interested, I'm happy to merge a PR 😃