Use status_delimiter as split character

Newlines are not being used as a status delimiter in the applescript above, so don't use them.
This commit is contained in:
Paul Kirby 2014-12-23 16:43:11 -07:00
parent f34ab66ea2
commit 7cfe347f2b
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ class RDIOPlayerSegment(PlayerSegment):
now_playing = asrun(pl, ascript)
if not now_playing:
return
now_playing = now_playing.split('\n')
now_playing = now_playing.split(status_delimiter)
if len(now_playing) != 6:
return
state = _convert_state(now_playing[5])