losnoco / Cog

Cog - A Free and Open Source Audio Player for macOS 10.13+
https://cog.losno.co
GNU General Public License v2.0
695 stars 45 forks source link

Bug: Adds non-music files #398

Open nicekiwi opened 2 months ago

nicekiwi commented 2 months ago

Describe I accidentally dragged an angular project folder into cog and it added lots of non-music files from the node_modules files into the current playlist.

To Reproduce (delete if not applicable) Steps to reproduce the behavior:

  1. Drag a node_modules folder of non-music files into a playlist.

Expected behavior Probably go slow while indexing the folder added, but then only add sound files it found, rather than all .gz, .map, .zip, .zvg, .idx files in the folder.

Screenshots CleanShot 2024-09-10 at 09 50 48@2x CleanShot 2024-09-10 at 09 55 46@2x CleanShot 2024-09-10 at 09 56 37@2x

**Version information:***

Additional context Add any other context about the issue here.