mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
librespot: use utf-8 encoding in Python when parsing librespot
This commit is contained in:
parent
8f3d1051d8
commit
40027a4237
@ -1,3 +1,6 @@
|
||||
128
|
||||
- Python: fix Librespot output is utf-8
|
||||
|
||||
127
|
||||
- Update to 0.1.6
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
PKG_NAME="librespot"
|
||||
PKG_VERSION="0.1.6"
|
||||
PKG_SHA256="7506b4448d3ae0eba063cd711baebdc23444c706c87d0551d5a4cbc623e70f30"
|
||||
PKG_REV="127"
|
||||
PKG_REV="128"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://github.com/librespot-org/librespot/"
|
||||
|
@ -119,7 +119,8 @@ class Librespot(xbmc.Player):
|
||||
env=ADDON_ENVT,
|
||||
stderr=subprocess.STDOUT,
|
||||
stdout=subprocess.PIPE,
|
||||
text=True)
|
||||
text=True,
|
||||
encoding='utf-8')
|
||||
log('librespot started')
|
||||
with self.librespot.stdout:
|
||||
for line in self.librespot.stdout:
|
||||
|
Loading…
x
Reference in New Issue
Block a user