Merge pull request #1240 from AirbornePorcine/develop

Use status_delimiter as split character
This commit is contained in:
Nikolai Aleksandrovich Pavlov 2014-12-25 02:55:02 +03:00
commit f9e4d0e440
1 changed files with 1 additions and 1 deletions

View File

@ -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])