forked from upstream/IPod-Shuffle-4g
fix crash when filename contains '='
This commit is contained in:
parent
ec1dd8f989
commit
2fb13188ac
1 changed files with 1 additions and 1 deletions
|
|
@ -373,7 +373,7 @@ class Playlist(Record):
|
|||
def populate_pls(self, data):
|
||||
sorttracks = []
|
||||
for i in data:
|
||||
dataarr = i.strip().split("=")
|
||||
dataarr = i.strip().split("=", 1)
|
||||
if dataarr[0].lower().startswith("file"):
|
||||
num = int(dataarr[0][4:])
|
||||
filename = urllib.unquote(dataarr[1]).strip()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue