diff options
author | ronie <ronie@users.noreply.github.com> | 2016-06-20 09:24:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-20 09:24:42 +0200 |
commit | 0b62b8c890bebbc2bcc125ac0985b4f2a4c9c316 (patch) | |
tree | c52e1203e468fcd40fb2e1d736adbf53607553f2 | |
parent | e49eb4afc2f65b6005ff8c15e8f1bc646b62ee56 (diff) | |
parent | cd7f10cd68e6397d968651916efef3e7002e0f66 (diff) |
Merge pull request #9926 from ronie/musicaddons
add MusicAddons as a library xml node
-rw-r--r-- | system/library/music/addons.xml | 6 | ||||
-rw-r--r-- | xbmc/music/GUIViewStateMusic.cpp | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/system/library/music/addons.xml b/system/library/music/addons.xml new file mode 100644 index 0000000000..9f5f10b674 --- /dev/null +++ b/system/library/music/addons.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> +<node order="22" type="folder"> + <label>1038</label> + <icon>DefaultAddonMusic.png</icon> + <path>addons://sources/audio/</path> +</node> diff --git a/xbmc/music/GUIViewStateMusic.cpp b/xbmc/music/GUIViewStateMusic.cpp index 4d8adaea1f..495a760630 100644 --- a/xbmc/music/GUIViewStateMusic.cpp +++ b/xbmc/music/GUIViewStateMusic.cpp @@ -61,7 +61,6 @@ std::string CGUIViewStateWindowMusic::GetExtensions() VECSOURCES& CGUIViewStateWindowMusic::GetSources() { - AddAddonsSource("audio", g_localizeStrings.Get(1038), "DefaultAddonMusic.png"); return CGUIViewState::GetSources(); } |