mirror of
https://github.com/beetbox/beets.git
synced 2026-01-06 16:02:53 +01:00
In the end, after all of this, it turns out that we basically need to abandon the temptation of dealing with unicode paths altogether. The POSIX filesystem API has no notion of unicode and is very much a bytes-only interface. This means that undecodable pathnames are a reality we must deal with. This new approach stores all paths as buffers (blobs) in SQLite and -- as transparently as possible -- presents them as str objects to the Python code. Legacy databases will have their paths automatically encoded into str objects, and will lazily have their unicodes in the database replaced with buffers. |
||
|---|---|---|
| .. | ||
| rsrc | ||
| __init__.py | ||
| test_albumify.py | ||
| test_art.py | ||
| test_autotag.py | ||
| test_db.py | ||
| test_files.py | ||
| test_mb.py | ||
| test_mediafile.py | ||
| test_mediafile_basic.py | ||
| test_player.py | ||
| test_query.py | ||
| test_ui.py | ||
| testall.py | ||