Hi
I vent to the Github and saw this code:
@@ -772,7 +772,7 @@ function _parseFileListResponse($resp)
$browseMode = TRUE;
while ($plistLine) {
// list ( $element, $value ) = explode(": ",$plistLine);
- if (!strpos($plistLine,'@eaDir')) list ($element, $value) = explode(': ', $plistLine);
+ if (!strpos($plistLine,'@eaDir')) list ($element, $value) = explode(': ', $plistLine, 2);
if ($element === 'file' OR $element === 'playlist') {
$plCounter++;
$browseMode = FALSE;
@@ -817,7 +817,7 @@ function _parseStatusResponse($resp)
$plistFile = "";
$plCounter = -1;
while ($plistLine) {
- list ($element, $value) = explode(": ", $plistLine);
+ list ($element, $value) = explode(": ", $plistLine, 2);
$plistArray[$element] = $value;
$plistLine = strtok("\n");
}
I asume that "-" lines is the wrong line and "+" lines is the good ones?
I would like to add in, if there is a "|", in the "plistLine", the text after should go to line 3.
eg:
"Senest spillet: When I Fall In Love | Jackie McLean Quartet"
Will show in RuneAudion display as
"Senest spillet: When I Fall In Love"
"Jackie McLean Quartet"
I'm not a linux programmer, but would like to learn
Thanks in advance
Bjarne