-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[musicdb] enable the library via xml #6772
Conversation
jenkins build this please. |
Is there any documentation on how this could be used? |
@SpaceAgeHero correct, this will allow you to create custom (smartplaylist-based) nodes. See http://kodi.wiki/view/Video_nodes for more information. Please create a forum thread in case you have more questions. |
Looks good AFAICT. Now we only need the unification of library and files view for music and it should be much closer to the video library ;-) |
Hehe, one at a time. I still wonder myself that i touched the music library ;p |
@MilhouseVH mind adding this to your builds so we get some pre-testing before merging? |
Sure no problem, will be in the next build. |
@zag: the |
Sweet! Yeh <content>artists</content> works. Thanks! |
@mkortstiege regarding the first letter filter, I think we would need sub nodes for that to be useful. Not sure if that is possible yet? So it would be: Artists >> A >> Artist list beginning with "A" |
@zag2me possible but i'd like to have it dynamic instead of creating a to z nodes ;) |
You can group nodes into directories as we already do it for the video library. But right now having these alphabetically grouped nodes would require an XML per character so not very easy to handle. That reminds me: Doesn't top 100 contain two sub-nodes? Why aren't they represented with XML files? IMO we should provide an XML file for every "virtual" node. Another thing that I wanted to try for a while now is use a single root smartplaylist which contains the sub-nodes as virtual folders (which in turn are smartplaylists again). That way we could provide a set of default smartplaylists which reference each other to build the library structure. That way users could edit any of these sub-nodes using the smartplaylist editor and adjust it to their liking. But obviously that's something for another day/week/month. It e.g. doesn't support icons or normal paths like "special://musicplaylists/". |
Jep, that's what i meant with i'd like to have it dynamic. Will check |
f225065
to
da60366
Compare
Updated. |
Yup looks better now. |
4a5eb28
to
01d55a2
Compare
Updated. Added |
bca83ae
to
a9928ca
Compare
Files node needs to be removed if we decide to get this in before removing the library/files toggle (which i would prefer). |
This needs a small rebase after abc968a |
189d881
to
ea733ee
Compare
Updated and rebased. I've removed the |
Just tested latest build and seems to work as expected. I still can't get additional sub nodes working though. Tried adding a folder called "T" with an xml inside, but nothing shows up. EDIT: ahh works now, needs the index.xml |
Updated. |
jenkins build this please |
If no one objects I will merge this one the other day. |
+1 from me. Working well and a pretty huge feature for us with larger music collections. I'll get started on the documentation for this soon on the Wiki. |
Rebased. jenkins build and merge. |
with xbmc#6772 DefaultMusicSearch.png was made usless. See xbmc@b9e4783
with xbmc#6772 DefaultMusicSearch.png was made usless. See xbmc@b9e4783
with xbmc#6772 DefaultMusicSearch.png was made usless. See xbmc@b9e4783
with xbmc#6772 DefaultMusicSearch.png was made usless. See xbmc@b9e4783
with xbmc#6772 DefaultMusicSearch.png was made usless. See xbmc@b9e4783
with xbmc#6772 DefaultMusicSearch.png was made usless. See xbmc@b9e4783
with xbmc#6772 DefaultMusicSearch.png was made usless. See xbmc@b9e4783
with xbmc#6772 DefaultMusicSearch.png was made usless. See xbmc@b9e4783
with xbmc#6772 DefaultMusicSearch.png was made usless. See xbmc@b9e4783
with xbmc#6772 DefaultMusicSearch.png was made usless. See xbmc@b9e4783
with xbmc#6772 DefaultMusicSearch.png was made usless. See xbmc@b9e4783
with xbmc#6772 DefaultMusicSearch.png was made usless. See xbmc@b9e4783
This enables the the music library nodes to be defined via xml just as we're already doing for the video library.
@Montellese for review please. Btw, I could need some smart playlist help so we can group by first letter. It's not really related to this PR but would come handy to have something like a flat and full blown library to choose from ;)