mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 01:25:47 +01:00
Fix #1686: thumbnails using unicode paths
This commit is contained in:
parent
f891184f0a
commit
a18506f471
2 changed files with 3 additions and 2 deletions
|
|
@ -39,8 +39,8 @@ from beets.util.artresizer import ArtResizer, has_IM, has_PIL
|
|||
|
||||
|
||||
BASE_DIR = os.path.join(BaseDirectory.xdg_cache_home, "thumbnails")
|
||||
NORMAL_DIR = os.path.join(BASE_DIR, "normal")
|
||||
LARGE_DIR = os.path.join(BASE_DIR, "large")
|
||||
NORMAL_DIR = util.bytestring_path(os.path.join(BASE_DIR, "normal"))
|
||||
LARGE_DIR = util.bytestring_path(os.path.join(BASE_DIR, "large"))
|
||||
|
||||
|
||||
class ThumbnailsPlugin(BeetsPlugin):
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ Fixes:
|
|||
* :doc:`plugins/fetchart`: Fix a bug where a database reference to a
|
||||
non-existent album art file would prevent the command from fetching new art.
|
||||
:bug:`1126`
|
||||
* :doc:`/plugins/thumbnails`: Fix a crash with Unicode paths. :bug:`1686`
|
||||
|
||||
|
||||
1.3.15 (October 17, 2015)
|
||||
|
|
|
|||
Loading…
Reference in a new issue