mirror of
https://github.com/beetbox/beets.git
synced 2026-11-30 23:01:18 -06:00
First, it's best to open the file as binary so the JSON module itself can figure out how to decode it (it will just use UTF-8). Then, we can use `load` instead of `loads` to avoid needing to read the file explicitly ourselves.