Filesystem provider parse_album errors out
See original GitHub issueWhat version of Music Assistant has the issue?
2022.7.0
The problem
filesystem provider errors out likely due to spaces in the filename (not in the parent folder name) as it seems
How to reproduce
create path structure as indicated in the below logs and sync
Relevant log output
2022-07-23 11:46:19 ERROR (MainThread) [music_assistant.music.file] Error processing /mnt/music/Kabah/La Vuelta Al Mundo/02 Florecitas.mp3 - not enough values to unpack (expected 2, got 1)
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/filesystem.py", line 234, in sync_library
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/filesystem.py", line 501, in _parse_track
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/filesystem.py", line 738, in _parse_album
2022-07-23 11:46:20 ERROR (MainThread) [music_assistant.music.file] Error processing /mnt/music/Kabah/La Vuelta Al Mundo/03 El Complot.mp3 - not enough values to unpack (expected 2, got 1)
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/filesystem.py", line 234, in sync_library
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/filesystem.py", line 501, in _parse_track
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/filesystem.py", line 738, in _parse_album
Additional information
music mounted via nfs from synology
What version of Home Assistant Core are your running
2022.7.6
What type of installation are you running?
Home Assistant Supervised
On what type of hardware are you running?
Linux
Issue Analytics
- State:
- Created a year ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Unable to resolve filesystem provider with relative file path ...
The .ipynb file exists and can be opened in a separate editor. Logs. No Jupyter logs. Error shows up in Log (Window).
Read more >Copy-item FileSystem provider error - Server Fault
I'm running Powershell V4.0 on Windows 7, and my server is running on Windows server 2012 r2 with powershell V4.0 also. I want...
Read more >PowerShell : Attempting to perform the InitializeDefaultDrives ...
... regular PowerShell shell, I see an error Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem' provider failed.
Read more >BEE Plugin Tech Docs | File System Provider errors
Error Codes ; 3100, Something went wrong accessing backend filesystem, 503 Service Unavailable, Default generic Error ; 3200, Resource not found, 404 Not...
Read more >Filesystem error handling - Dan Luu
Since the error status of the address space is cleared by this function, callers are responsible for checking the return value and handling...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is a real edgecase. So you have no ID3 tags in your files and then it falls back to parsing the artist and title from the filename except in that case it kind of expects a filename like this “artist - title.mp3”
I will fix the bad error so it ignores these files. I strongly suggest you to either use proper ID3 tags on your files or rename them to have the common/standard filename of “artist - album”.
My apologies, it was only because it was the exact same issue I was seeing. Will try 2022.7.2 and if I still have issues will log a fresh issue.