v1.1.5: lost some artists while browsing artists
See original GitHub issueHi
I lost three artists in my artist view (when from 5550 to 547 artists). I only was browsing some detailed info in the artist tab. Saw this error in the log:
This error originated from a custom integration.
Logger: aiohttp.server
Source: custom_components/mass/panel.py:89
Integration: Music Assistant (documentation, issues)
First occurred: 12:04:41 (4 occurrences)
Last logged: 12:04:59
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 79, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 219, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
result = await result
File "/config/custom_components/mass/panel.py", line 89, in get
data = await mass.metadata.get_thumbnail(url, size=size)
File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/metadata/__init__.py", line 231, in get_thumbnail
thumbnail = await create_thumbnail(self.mass, path, size)
File "/usr/local/lib/python3.9/site-packages/music_assistant/helpers/images.py", line 37, in create_thumbnail
raise FileNotFoundError(f"Image not found: {path}")
FileNotFoundError: Image not found: /media/MP3_normalized/Various/Typisch - Tachtig! CD4/Mp3/Typisch - 17 - Adam
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
U.S. Patterns of Arts Participation: A Full Report from the 2017 ...
Thus, through creating a music playlist, browsing a museum's collection online, or streaming an opera performance, Americans increasingly have ...
Read more >Available Plugins - MusicBrainz Picard
Name Version
Abbreviate artist‑sort 0.4.1 Download
AcousticBrainz Tags 2.2.2 Download
AcousticBrainz Tonal‑Rhythm 1.1.5 Download
Read more >Friday Night Funkin' VS Hypno's Lullaby 2.0 FULL WEEK (FNF ...
Friday Night Funkin' VS Hypno's Lullaby x Pokemon The Lost Silver x MissingNo x Dawn x Red x Gold FULL WEEK for the...
Read more >AI-Generated Art Won a Prize. Artists Aren't Happy.
An A.I.-Generated Picture Won an Art Prize. Artists Aren't Happy. “I won, and I didn't break any rules,” the artwork's creator says.
Read more >FNF: Hypno's Lullaby v2 (Psych Engine) | Friday Night Funkin'
Join Girlfriend as she goes out looking for Boyfriend, who is missing late at night, and encounter some of the most horrific Creepypasta ......
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
Keep an eye on this one for a few days. Thx!
Ouch this was a stupid mistake. When you open the details page of an artist or album it will fetch the full details including metadata if that has never been done before. At that point (and only if you have multiple music providers active) it could overwrite the “in library” property. For example the artist is on disk so considered “in library” but not a favorite on Spotify. There’s no predicted order in which music providers are ordered so if Spotify comes last, that wins.
I’m going to adjust the logic so that metadata refreshes may never overwrite the “in library” preference