-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Can't Remove a File Path from the Beets DB #2450
Comments
That's certainly strange. Does the file show up in Also, it's doubly strange that I also notice you have the |
This is what I see with
Interestingly enough there are 5 items in the directory but beets only has a record of 3 of them... I don't know exactly what was done to get it into this state... Possibly renamed them manually or tried to use Removing
Heh, maybe
Strange, the problem appears to have disappeared... Something to note additionally is that I repeatedly run |
Huh, how about that! The thing about |
Problem
I have an erroneous file path that is stuck in the beets db:
Running this command in verbose (
-vv
) mode:$ beet -vv stats -e user configuration: /Users/aaron/.config/beets/config.yaml data directory: /Users/aaron/.config/beets plugin paths: Sending event: pluginload inline: adding item field initial inline: adding item field disc_and_track library database: /Volumes/Drobo Vol 1/Music/beets/musiclibrary.db library directory: /Volumes/Drobo Vol 1/Music/beets/music Sending event: library_opened could not get size of /Volumes/Drobo Vol 1/Music/beets/music/_/Misconduct/00.1.mp3: [Errno 2] No such file or directory: '/Volumes/Drobo Vol 1/Music/beets/music/_/Misconduct/00.1.mp3' Tracks: 8990 Total time: 2.6 weeks (1562021.03 seconds) Total size: 45.3 GiB (48671997103 bytes) Artists: 492 Albums: 938 Album artists: 389 Sending event: cli_exit $
An attempt at removing the non-existant file path with beet remove doesn't work:
Nether does a
beet update
:You'll need a file with almost no meta data in it, add it to the library and then move it (a mere rename seems like it would do the trick too) without notifying beets of the move. (At least I think that is what happened.)
Here is a link to download an archive of the directory of interest: https://dl.dropboxusercontent.com/u/17804136/Misconduct.zip
Setup
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: