mirror of
https://github.com/powerline/powerline.git
synced 2025-07-12 08:24:52 +02:00
Merge pull request #1240 from AirbornePorcine/develop
Use status_delimiter as split character
This commit is contained in:
commit
f9e4d0e440
@ -437,7 +437,7 @@ class RDIOPlayerSegment(PlayerSegment):
|
|||||||
now_playing = asrun(pl, ascript)
|
now_playing = asrun(pl, ascript)
|
||||||
if not now_playing:
|
if not now_playing:
|
||||||
return
|
return
|
||||||
now_playing = now_playing.split('\n')
|
now_playing = now_playing.split(status_delimiter)
|
||||||
if len(now_playing) != 6:
|
if len(now_playing) != 6:
|
||||||
return
|
return
|
||||||
state = _convert_state(now_playing[5])
|
state = _convert_state(now_playing[5])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user