aboutsummaryrefslogtreecommitdiff
path: root/system/library
diff options
context:
space:
mode:
authorDaveTBlake <oak99sky@yahoo.co.uk>2015-10-15 19:28:02 +0100
committerDaveTBlake <oak99sky@yahoo.co.uk>2016-01-17 08:01:47 +0000
commitb7cee6072de901e67d50690a10cbc588df86fceb (patch)
treeffd02091df5d1960936b51c047cf78f2658cb9c5 /system/library
parentbc9e99241324ba6ab0662649822f45bf3966151d (diff)
Handling of tags giving people that contribute to the recording e.g.
Composer, Conductor, Lyricist, Mixer etc. including TIPL and TMCL held as vector of artist name and role in CMusicInfoTag and CSong. Contributors are held in library as artists with role in song_artist and role tables determining which tag was source of data. Remove JoinPhrase and boolFeatured as unused elsewhere, artist string now stored rather than built. Queries changed to generally access only standard artists not other roles Contributors included in both JSON and Info Labels Add example/default role nodes and modified SongInfoDialog so data visible.
Diffstat (limited to 'system/library')
-rw-r--r--system/library/music/musicroles/Arrangers.xml6
-rw-r--r--system/library/music/musicroles/Composers.xml6
-rw-r--r--system/library/music/musicroles/Conductors.xml6
-rw-r--r--system/library/music/musicroles/DJMixers.xml6
-rw-r--r--system/library/music/musicroles/Lyricists.xml6
-rw-r--r--system/library/music/musicroles/Orchestras.xml6
-rw-r--r--system/library/music/musicroles/Remixers.xml6
-rw-r--r--system/library/music/musicroles/index.xml5
8 files changed, 47 insertions, 0 deletions
diff --git a/system/library/music/musicroles/Arrangers.xml b/system/library/music/musicroles/Arrangers.xml
new file mode 100644
index 0000000000..0118e2a2fd
--- /dev/null
+++ b/system/library/music/musicroles/Arrangers.xml
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<node order="5" type="folder" visible="Library.HasContent(Role, Arranger)">
+ <label>Arrangers</label>
+ <icon>DefaultMusicGenres.png</icon>
+ <path>musicdb://artists/?role=Arranger</path>
+</node>
diff --git a/system/library/music/musicroles/Composers.xml b/system/library/music/musicroles/Composers.xml
new file mode 100644
index 0000000000..d73742435f
--- /dev/null
+++ b/system/library/music/musicroles/Composers.xml
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<node order="1" type="folder" visible="Library.HasContent(Role, Composer)">
+ <label>Composers</label>
+ <icon>DefaultMusicGenres.png</icon>
+ <path>musicdb://artists/?role=Composer</path>
+</node>
diff --git a/system/library/music/musicroles/Conductors.xml b/system/library/music/musicroles/Conductors.xml
new file mode 100644
index 0000000000..7cf445256e
--- /dev/null
+++ b/system/library/music/musicroles/Conductors.xml
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<node order="2" type="folder" visible="Library.HasContent(Role, Conductor)">
+ <label>Conductors</label>
+ <icon>DefaultMusicGenres.png</icon>
+ <path>musicdb://artists/?role=Conductor</path>
+</node>
diff --git a/system/library/music/musicroles/DJMixers.xml b/system/library/music/musicroles/DJMixers.xml
new file mode 100644
index 0000000000..3afe2d3269
--- /dev/null
+++ b/system/library/music/musicroles/DJMixers.xml
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<node order="6" type="folder" visible="Library.HasContent(Role, DJMixer)">
+ <label>DJ Mixers</label>
+ <icon>DefaultMusicGenres.png</icon>
+ <path>musicdb://artists/?role=DJMixer</path>
+</node>
diff --git a/system/library/music/musicroles/Lyricists.xml b/system/library/music/musicroles/Lyricists.xml
new file mode 100644
index 0000000000..19e324b407
--- /dev/null
+++ b/system/library/music/musicroles/Lyricists.xml
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<node order="4" type="folder" visible="Library.HasContent(Role, Lyricist)">
+ <label>Lyricists</label>
+ <icon>DefaultMusicGenres.png</icon>
+ <path>musicdb://artists/?role=Lyricist</path>
+</node>
diff --git a/system/library/music/musicroles/Orchestras.xml b/system/library/music/musicroles/Orchestras.xml
new file mode 100644
index 0000000000..ed90d31af0
--- /dev/null
+++ b/system/library/music/musicroles/Orchestras.xml
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<node order="3" type="folder" visible="Library.HasContent(Role, Orchestra)">
+ <label>Orchestras</label>
+ <icon>DefaultMusicGenres.png</icon>
+ <path>musicdb://artists/?role=Orchestra</path>
+</node>
diff --git a/system/library/music/musicroles/Remixers.xml b/system/library/music/musicroles/Remixers.xml
new file mode 100644
index 0000000000..1dd4f6c12f
--- /dev/null
+++ b/system/library/music/musicroles/Remixers.xml
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<node order="7" type="folder" visible="Library.HasContent(Role, Remixer)">
+ <label>Remixers</label>
+ <icon>DefaultMusicGenres.png</icon>
+ <path>musicdb://artists/?role=Remixer</path>
+</node>
diff --git a/system/library/music/musicroles/index.xml b/system/library/music/musicroles/index.xml
new file mode 100644
index 0000000000..c6743751ac
--- /dev/null
+++ b/system/library/music/musicroles/index.xml
@@ -0,0 +1,5 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<node order="15" type="folder" visible="Library.HasContent(Music)">
+ <label>Roles</label>
+ <icon>DefaultMusicSongs.png</icon>
+</node>