diff options
author | Matthias Kortstiege <mkortstiege@kodi.tv> | 2015-03-20 16:02:55 +0100 |
---|---|---|
committer | Matthias Kortstiege <mkortstiege@kodi.tv> | 2015-04-01 21:26:26 +0200 |
commit | a6ab9685b9904df1f5c5f8ea7bef623f3cc61c89 (patch) | |
tree | 9fe1374d55697531bfe4502b300e3f16e270f1ff /system | |
parent | 56af059d497f02a0ebec1fcbb4952200bde05a40 (diff) |
[musicdb] enable the library via xml
Diffstat (limited to 'system')
22 files changed, 152 insertions, 0 deletions
diff --git a/system/library/music/albums.xml b/system/library/music/albums.xml new file mode 100644 index 0000000000..17c87c6380 --- /dev/null +++ b/system/library/music/albums.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="3" type="filter" visible="Library.HasContent(Music)"> + <label>132</label> + <icon>DefaultMusicAlbums.png</icon> + <content>albums</content> +</node> diff --git a/system/library/music/artists.xml b/system/library/music/artists.xml new file mode 100644 index 0000000000..a8a7651e69 --- /dev/null +++ b/system/library/music/artists.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="2" type="filter" visible="Library.HasContent(Music)"> + <label>133</label> + <icon>DefaultMusicArtists.png</icon> + <content>artists</content> +</node> diff --git a/system/library/music/compilations.xml b/system/library/music/compilations.xml new file mode 100644 index 0000000000..38de92e212 --- /dev/null +++ b/system/library/music/compilations.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="10" type="folder" visible="Library.HasContent(Compilations)"> + <label>521</label> + <icon>DefaultMusicCompilations.png</icon> + <path>musicdb://compilations/</path> +</node> diff --git a/system/library/music/genres.xml b/system/library/music/genres.xml new file mode 100644 index 0000000000..25ded7bd4e --- /dev/null +++ b/system/library/music/genres.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="1" type="filter" visible="Library.HasContent(Music)"> + <label>135</label> + <icon>DefaultMusicGenres.png</icon> + <content>artists</content> + <group>genres</group> +</node> diff --git a/system/library/music/musicvideos/albums.xml b/system/library/music/musicvideos/albums.xml new file mode 100644 index 0000000000..45cae4f99d --- /dev/null +++ b/system/library/music/musicvideos/albums.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="5" type="filter"> + <label>132</label> + <icon>DefaultMusicAlbums.png</icon> + <content>musicvideos</content> + <group>albums</group> +</node> diff --git a/system/library/music/musicvideos/artists.xml b/system/library/music/musicvideos/artists.xml new file mode 100644 index 0000000000..4588728f02 --- /dev/null +++ b/system/library/music/musicvideos/artists.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="4" type="filter"> + <label>133</label> + <icon>DefaultMusicArtists.png</icon> + <content>musicvideos</content> + <group>artists</group> +</node> diff --git a/system/library/music/musicvideos/directors.xml b/system/library/music/musicvideos/directors.xml new file mode 100644 index 0000000000..d53263534f --- /dev/null +++ b/system/library/music/musicvideos/directors.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="6" type="filter"> + <label>20348</label> + <icon>DefaultDirector.png</icon> + <content>musicvideos</content> + <group>directors</group> +</node> diff --git a/system/library/music/musicvideos/genres.xml b/system/library/music/musicvideos/genres.xml new file mode 100644 index 0000000000..751703ab68 --- /dev/null +++ b/system/library/music/musicvideos/genres.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="1" type="filter"> + <label>135</label> + <icon>DefaultGenre.png</icon> + <content>musicvideos</content> + <group>genres</group> +</node> diff --git a/system/library/music/musicvideos/index.xml b/system/library/music/musicvideos/index.xml new file mode 100644 index 0000000000..90e2c49b5d --- /dev/null +++ b/system/library/music/musicvideos/index.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="11" visible="Library.HasContent(MusicVideos)"> + <label>20389</label> + <icon>DefaultMusicVideos.png</icon> +</node> diff --git a/system/library/music/musicvideos/studios.xml b/system/library/music/musicvideos/studios.xml new file mode 100644 index 0000000000..d63ff7d916 --- /dev/null +++ b/system/library/music/musicvideos/studios.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="7" type="filter"> + <label>20388</label> + <icon>DefaultStudios.png</icon> + <content>musicvideos</content> + <group>studios</group> +</node> diff --git a/system/library/music/musicvideos/tags.xml b/system/library/music/musicvideos/tags.xml new file mode 100644 index 0000000000..0b96db68ac --- /dev/null +++ b/system/library/music/musicvideos/tags.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="8" type="filter"> + <label>20459</label> + <icon>DefaultTags.png</icon> + <content>musicvideos</content> + <group>tags</group> +</node> diff --git a/system/library/music/musicvideos/titles.xml b/system/library/music/musicvideos/titles.xml new file mode 100644 index 0000000000..4bea08ab20 --- /dev/null +++ b/system/library/music/musicvideos/titles.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="2" type="filter"> + <label>369</label> + <icon>DefaultMusicVideoTitle.png</icon> + <content>musicvideos</content> + <order direction="ascending">title</order> +</node> diff --git a/system/library/music/musicvideos/years.xml b/system/library/music/musicvideos/years.xml new file mode 100644 index 0000000000..4586495247 --- /dev/null +++ b/system/library/music/musicvideos/years.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="3" type="filter"> + <label>562</label> + <icon>DefaultYear.png</icon> + <content>musicvideos</content> + <group>years</group> +</node> diff --git a/system/library/music/playlists.xml b/system/library/music/playlists.xml new file mode 100644 index 0000000000..9672d0ed31 --- /dev/null +++ b/system/library/music/playlists.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="13" type="folder"> + <label>136</label> + <icon>DefaultMusicPlaylists.png</icon> + <path>special://musicplaylists/</path> +</node> diff --git a/system/library/music/recentlyaddedalbums.xml b/system/library/music/recentlyaddedalbums.xml new file mode 100644 index 0000000000..549d1c2fd4 --- /dev/null +++ b/system/library/music/recentlyaddedalbums.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="8" type="folder" visible="Library.HasContent(Music)"> + <label>359</label> + <icon>DefaultMusicRecentlyAdded.png</icon> + <path>musicdb://recentlyaddedalbums/</path> +</node> diff --git a/system/library/music/recentlyplayedalbums.xml b/system/library/music/recentlyplayedalbums.xml new file mode 100644 index 0000000000..8774f4b2cd --- /dev/null +++ b/system/library/music/recentlyplayedalbums.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="9" type="folder" visible="Library.HasContent(Music)"> + <label>517</label> + <icon>DefaultMusicRecentlyPlayed.png</icon> + <path>musicdb://recentlyplayedalbums/</path> +</node> diff --git a/system/library/music/singles.xml b/system/library/music/singles.xml new file mode 100644 index 0000000000..0457194a91 --- /dev/null +++ b/system/library/music/singles.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="4" type="folder" visible="Library.HasContent(Singles)"> + <label>1050</label> + <icon>DefaultMusicSongs.png</icon> + <path>musicdb://singles/</path> +</node> diff --git a/system/library/music/songs.xml b/system/library/music/songs.xml new file mode 100644 index 0000000000..4f24e55002 --- /dev/null +++ b/system/library/music/songs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="5" type="filter" visible="Library.HasContent(Music)"> + <label>134</label> + <icon>DefaultMusicSongs.png</icon> + <content>songs</content> +</node> diff --git a/system/library/music/top100/index.xml b/system/library/music/top100/index.xml new file mode 100644 index 0000000000..18546f4d8f --- /dev/null +++ b/system/library/music/top100/index.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="7" type="folder" visible="Library.HasContent(Music)"> + <label>271</label> + <icon>DefaultMusicTop100.png</icon> +</node> diff --git a/system/library/music/top100/top100albums.xml b/system/library/music/top100/top100albums.xml new file mode 100644 index 0000000000..3f5b8fbdd6 --- /dev/null +++ b/system/library/music/top100/top100albums.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="2" type="filter" visible="Library.HasContent(Music)"> + <label>10505</label> + <icon>DefaultMusicTop100Albums.png</icon> + <content>albums</content> + <match>all</match> + <rule field="playcount" operator="greaterthan"> + <value>0</value> + </rule> + <limit>100</limit> + <order direction="descending">playcount</order> +</node> diff --git a/system/library/music/top100/top100songs.xml b/system/library/music/top100/top100songs.xml new file mode 100644 index 0000000000..7db386c853 --- /dev/null +++ b/system/library/music/top100/top100songs.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="1" type="filter" visible="Library.HasContent(Music)"> + <label>10504</label> + <icon>DefaultMusicTop100Songs.png</icon> + <content>songs</content> + <match>all</match> + <rule field="playcount" operator="greaterthan"> + <value>0</value> + </rule> + <limit>100</limit> + <order direction="descending">playcount</order> +</node> diff --git a/system/library/music/years.xml b/system/library/music/years.xml new file mode 100644 index 0000000000..9b9fd45b35 --- /dev/null +++ b/system/library/music/years.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="6" type="filter" visible="Library.HasContent(Music)"> + <label>652</label> + <icon>DefaultMusicYears.png</icon> + <content>albums</content> + <group>years</group> +</node> |