Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unimported's ignore_subdirectories doesn't work #5130

Closed
ArtemSmaznov opened this issue Feb 28, 2024 · 3 comments · Fixed by #5160
Closed

unimported's ignore_subdirectories doesn't work #5130

ArtemSmaznov opened this issue Feb 28, 2024 · 3 comments · Fixed by #5160

Comments

@ArtemSmaznov
Copy link

Problem

beet unimported

Leads to directories specified in ignore_subdirectories still being listed

Setup

  • OS: Arch Linux
  • Python version: 3.11.7
  • beets version: 1.6.1
  • Turning off plugins made problem go away (yes/no): n/a

My configuration (output of beet config) is:

unimported:
  ignore_extensions: jpg png txt md org mod
  ignore_subdirectories: Unsorted import

ignore_extensions works as expected though

@Dr-Blank
Copy link
Contributor

Dr-Blank commented Mar 22, 2024

post your output of beet -vv unimported

also, the full path of the directory being listed and your full library path

need this to recreate your directory structure to debug

edit: also "Unsorted" and "import" are directory names just to be on the same page

@ArtemSmaznov
Copy link
Author

ArtemSmaznov commented Mar 22, 2024

I don't want to share half of my music collection so I removed most of the tracks and playlists from the output leaving just a few examples.
Full paths to both the music lib and included dirs are in the output
And yes, "Unsorted" and "import" are directory names as you can see below.

beet -vv unimported

user configuration: /home/artem/.config/beets/config.yaml
data directory: /home/artem/.config/beets
plugin paths:
lyrics: Disabling google source: no API key configured.
fetchart: google: Disabling art source due to missing key
fetchart: lastfm: Disabling art source due to missing key
Sending event: pluginload
library database: /home/artem/.config/beets/library.db
library directory: /home/artem/music
Sending event: library_opened
/home/artem/music/import/fjh/FJH_P-Era - SynkaPath v1.mp3
/home/artem/music/import/fjh/Nilow - Chinese Dreams (FJH Dubstep Remix).mp3
/home/artem/music/Pakito/Living on Video.mp3
/home/artem/music/Unsorted/en/Just Another Night.mp3
/home/artem/music/Unsorted/en/Pin-Occhio.mp3
/home/artem/music/Unsorted/en/No More Pain.mp3
/home/artem/music/import/ost/Games/Neverwinter/City Boss Battle (Neverwinter Nights Soundtrack.mp3
/home/artem/music/import/chase-and-status/Chase & Status () - 07 Track 7.mp3
/home/artem/music/Unsorted/en/Playing the villain.mp3
Sending event: cli_exit
playlist: Updating playlist: /home/artem/.config/mpd/playlists/classical.m3u
playlist: Updating playlist: /home/artem/.config/mpd/playlists/instrument-violin.m3u
playlist: Updating playlist: /home/artem/.config/mpd/playlists/instrument-piano.m3u
playlist: Updating playlist: /home/artem/.config/mpd/playlists/jazz.m3u
playlist: Updating playlist: /home/artem/.config/mpd/playlists/lofi-girl.m3u
playlist: Updating playlist: /home/artem/.config/mpd/playlists/cocktail.m3u
playlist: Updating playlist: /home/artem/.config/mpd/playlists/electro-swing.m3u
playlist: Updating playlist: /home/artem/.config/mpd/playlists/chillout.m3u
playlist: Updating playlist: /home/artem/.config/mpd/playlists/christmas.m3u
playlist: Updating playlist: /home/artem/.config/mpd/playlists/lofi.m3u
playlist: Updating playlist: /home/artem/.config/mpd/playlists/smooth-jazz.m3u
playlist: Updating playlist: /home/artem/.config/mpd/playlists/blues.m3u

@Dr-Blank
Copy link
Contributor

I have created a PR for this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants