Implemented getMediaFolders

This commit is contained in:
Deluan
2016-02-24 19:14:48 -05:00
parent 59b541e45d
commit 2f3c9a7603
5 changed files with 52 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
package responses
import "encoding/xml"
type MusicFolder struct {
XMLName xml.Name `xml:"musicFolder"`
Id string `xml:"id,attr"`
Name string `xml:"name,attr"`
}
type MusicFolders struct {
XMLName xml.Name `xml:"musicFolders"`
Folders []MusicFolder `xml:"musicFolders"`
}