How about a Graph Database?
What do you think about a Graph DB. It will be easier to manage these relations. These is already a project https://github.com/google/cayley that makes use of BoltDB as a graph database.
@evnix let me take a look at that! Could be useful. How do you think it would improve MuLi?
@evnix I been taking a look at Cayley. Here are my thoughts:
1- It could allow searches in the structure. 2- It would improve the relations between Playlists and Songs (in the Artist tree and the Playlist tree). 3- It could allow to add more information about the Songs (year, genre, etc..).
Regarding the first idea, I think that since this is a FileSystem, the OS or the Shell should care about how the data is accessed from the user. I mean if the user wants to perform a search, he should use the shell tools to do that.
The second Idea looks interesting but it would add an extra complexity and size to the project and maybe it is not the time yet to do that kind of things. I can take some ideas from Cayley to improve the connections between Playlists and Songs, I think it would be a good improvement in that area.
The third point can also be added in other ways. I still don’t know about having that much information about the songs and everything. I have been looking other similar projects (also projects that enable searches using the directory structure) and they look like they add all the extra complexity that I am trying to avoid with MuLi. It has to be an easier way to add this extra information.
What do you think? Do you have any other inputs?