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

Songs with extended ascii characters fail to upload #3

Open
AELovelace opened this issue Oct 4, 2024 · 3 comments
Open

Songs with extended ascii characters fail to upload #3

AELovelace opened this issue Oct 4, 2024 · 3 comments

Comments

@AELovelace
Copy link
Contributor

i have a lot of music with titles that have stylized ascii characters and they cause the upload to fail. If it fails on the first track, it creates an album that has nothing for a track list that can't be deleted unless you delete it manually in sql.

Let me know what logs and information you would need to troubleshoot this issue,
Thanks

@eilefsen
Copy link
Owner

Very sorry for the late reply!!

Im assuming the issue occurs on the backend, as the frontend is not concerned with metadata.

Let me check the code related to metadata parsing, and i will get back to you.

@eilefsen
Copy link
Owner

Ok so i havent identified any obvious cause, but the logs you are looking for exist in two places:

first of all, replicate the problem in your browser with the devtools open, and find the error message in the api response, it is likely a 500 status code.

It should contain the literal error text returned by whatever failed in the backend. This may or may not be helpful depending on how specific that error message is.

The second is to check your dotify log on the server, likely via journalctl if you set dotify up as a systemd service. They should all be prefixed with "uploadAudioFiles".

Somehow i messed up and wrote some of the error logs as debug logs. I will have to fix this later (maybe tomorrow if i remember).

Debug logs are currently disabled, but you may enable them yourself by changing the log level (from info to debug) in the source code and compiling a new binary. i should add a variable to let the user configure this.

@eilefsen
Copy link
Owner

also, just to confirm: by extended ASCII do you mean unicode? utf-8?

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

No branches or pull requests

2 participants