mirror of
https://github.com/beetbox/beets.git
synced 2025-12-27 11:02:43 +01:00
Thumbnails: unicode → bytes filename
This commit is contained in:
parent
f41ec9bbf6
commit
2e5803cfad
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ class ThumbnailsPlugin(BeetsPlugin):
|
|||
"""
|
||||
uri = self.get_uri(path)
|
||||
hash = md5(uri).hexdigest()
|
||||
return "{0}.png".format(hash)
|
||||
return b"{0}.png".format(hash)
|
||||
|
||||
def add_tags(self, album, image_path):
|
||||
"""Write required metadata to the thumbnail
|
||||
|
|
|
|||
Loading…
Reference in a new issue