mirror of
https://github.com/beetbox/beets.git
synced 2025-12-29 03:52:51 +01:00
player should handle unicode pathnames correctly now
--HG-- extra : convert_revision : svn%3A41726ec3-264d-0410-9c23-a9f1637257cc/trunk%40202
This commit is contained in:
parent
4b7119855e
commit
428a1b61f6
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ class GstPlayer(object):
|
|||
path.
|
||||
"""
|
||||
self.player.set_state(gst.STATE_NULL)
|
||||
self.player.set_property("uri", "file://" + path)
|
||||
self.player.set_property("uri", ("file://" + path).encode('utf-8'))
|
||||
self.player.set_state(gst.STATE_PLAYING)
|
||||
self.playing = True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue