beetbox / beets

music library manager and MusicBrainz tagger
http://beets.io/
MIT License
12.79k stars 1.82k forks source link

Please help, newbie, had it running, but halfway through it keeps stopping #5430

Closed EchoShauf closed 1 week ago

EchoShauf commented 1 week ago

I keep getting "Error: The specified path is invalid while creating \00.mp3", but this happens in the middle of it already working, I got it to import files but somehow it keeps stopping, and I cant find anything that is labeled or close to 00.mp3 or anything that has a file name of that. I have a lot of music that are unsorted, and I just want to have them be imported and sorted by artist, album, title

Edit: another error keeps coming up, "Error: The filename, directory name, or volume label syntax is incorrect while creating C:\Users\Jericho\AppData\Roaming\beets\‪D:"<!-- Describe your problem, feature request, or discussion topic here.

Please fill out this and the "Setup" section below and remember to include enough detail so that other people can reproduce the problem. --> Windows? just trying to import "‪C:\Users\Jericho\Downloads\Music" to "D:\Beets Music"

Problem

Running this config file:

beet import ‪C:\Users\Jericho\Downloads\Music

Led to this problem:

"Error: The specified path is invalid while creating \\00.mp3"
"Error: The filename, directory name, or volume label syntax is incorrect while creating C:\Users\Jericho\AppData\Roaming\beets\‪D:"

Setup

My configuration (output of beet config) is:

plugins: fetchart embedart scrub chroma web
directory: D:\Beets Music
library: D:\Beets Music\Index Library
art_filename: albumart
threaded: yes
original_date: no
per_disc_numbering: no

paths:
    default: $albumartist/$album%aunique{}/$track - $title
    singleton: Non-Album/$artist - $title
    comp: Compilations/$album%aunique{}/$track - $title
    albumtype_soundtrack: Soundtracks/$album/$track $title

import:
    write: yes
    copy: yes
    move: no
    resume: ask
    incremental: yes
    quiet_fallback: skip
    timid: no

lastgenre:
    auto: yes
    source: album

embedart:
    auto: yes

fetchart:
    auto: yes
    cover_names: cover front art album folder

scrub:
    auto: yes

replace:
    '^\.': _
    '[\x00-\x1f]': _
    '[<>:"\?\*\|]': _
    '[\xE8-\xEB]': e
    '[\xEC-\xEF]': i
    '[\xE2-\xE6]': a
    '[\xF2-\xF6]': o
    '[\xF8]': o
    '\.$': _
    '\s+$': ''

web:
    host: 0.0.0.0
    port: 8337
JOJ0 commented 1 week ago

Exact debug log when that happens would be interesting. It looks to me that maybe some metadata can't be found / is missing / a track gets named \00 and that is illegal characters on windows. You have to find out which track exactly causes this and maybe a quickfix is to manually "pre-tag" it, delete it, move it away from beets and handle later. something like this....HTH

EchoShauf commented 1 week ago

Is there a way I can view what track is it? I have 21K songs and if I try different albums instead of the whole library, it still does it. for example, if its music\assorted\album 1, it does the same, if its music\assorted\album 2 it would still give me the same error.

does beets keep a log of what happened?

EchoShauf commented 1 week ago

somehow its doing double for the database directory when creating the library.

{83E886E9-3055-4057-B71D-7E1C8B620539}
JOJ0 commented 1 week ago

duplicate of https://github.com/beetbox/beets/discussions/5431#discussioncomment-10711305