|
|
@ -358,12 +358,12 @@ Respack.prototype.parseXML = function() { |
|
|
|
if(this.songs.length > 0) |
|
|
|
if(this.songs.length > 0) |
|
|
|
this.parseSongFile(dom); |
|
|
|
this.parseSongFile(dom); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "info": |
|
|
|
case "images": |
|
|
|
if(this.images.length > 0) |
|
|
|
if(this.images.length > 0) |
|
|
|
this.parseInfoFile(dom); |
|
|
|
this.parseImageFile(dom); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "images": |
|
|
|
case "info": |
|
|
|
this.parseImageFile(dom); |
|
|
|
this.parseInfoFile(dom); |
|
|
|
break; |
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|
console.log("XML found with no songs, images or info"); |
|
|
|
console.log("XML found with no songs, images or info"); |
|
|
|