Processing error. Bit_rate
See original GitHub issueWhat version of Music Assistant has the issue?
2022.7.0b0
The problem
Had errors on start as per other issue but MA did appear to start. During what appear to be the initial scan I saw the error below in the log.
How to reproduce
Initial scan
Relevant log output
Logger: music_assistant.music.file
Source: /usr/local/lib/python3.9/site-packages/music_assistant/music_providers/filesystem.py:199
First occurred: 8:59:36 AM (5 occurrences)
Last logged: 8:59:40 AM
Error processing /media/nasMusic/Coldplay/Live 2003/04. Coldplay - Daylight (Live 2003).flac - 'bit_rate'
Error processing /media/nasMusic/Coldplay/Live 2003/13. Coldplay - The Scientist (Live 2003).flac - 'bit_rate'
Error processing /media/nasMusic/Coldplay/Live 2003/17. Coldplay - Life is for Living (Live 2003).flac - 'bit_rate'
Error processing /media/nasMusic/Coldplay/Live 2003/05. Coldplay - Trouble (Live 2003).flac - 'bit_rate'
Error processing /media/nasMusic/Coldplay/Live 2003/07. Coldplay - Dont Panic (Live 2003).flac - 'bit_rate'
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/music_assistant/music_providers/filesystem.py", line 190, in sync_library
if track := await self._parse_track(entry.path):
File "/usr/local/lib/python3.9/site-packages/music_assistant/music_providers/filesystem.py", line 481, in _parse_track
tags = await parse_tags(track_path)
File "/usr/local/lib/python3.9/site-packages/music_assistant/helpers/tags.py", line 199, in parse_tags
return AudioTags.parse(json.loads(res))
File "/usr/local/lib/python3.9/site-packages/music_assistant/helpers/tags.py", line 165, in parse
bit_rate=int(raw["format"]["bit_rate"]),
KeyError: 'bit_rate'
Additional information
No response
What version of Home Assistant Core are your running
2022.6.6
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Bit error rate - Wikipedia
Bit error ratio is a unitless performance measure, often expressed as a percentage. The bit error probability pe is the expected value of...
Read more >USART receiving bitrate error tolerance
Hello everybody, What's the maximum bitrate error tolerance when receiving data over asynchronous AUSART? Yes, I know, it looks trivial - 5% ...
Read more >iMovie audio bitrate error message - Apple Community
Open your video in Handbrake and check the audio bitrate. If it's under 96 kbps change the bitrate and convert it out to...
Read more >TCAN4550: CAN error occurs at high bitrate - Interface forum
This means that it detected an error in the transmitted, received bits and that the expected values were incorrect per the CAN protocol. ......
Read more >Understanding bitrates in video files - Encoding.com Help
If you are having problems getting the bitrate you need, try using a lower value in the bitrate tag. If that doesn't work,...
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
I am now on HA 2022.7.0 and still see this error in the logs.
@marcelveldt that should be pretty much impossible. I’ve just pushed all my music through beets and have had it save the imported, sorted and tagged music into a new folder which I have mounted via CIFS to /media/nas-music/
Let me add another similar looking error logs entry to your list which seems not associated to any particular music file.