Posts: 16
Joined: Jul 2013
Reputation:
0
Same idea but not exactly
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Kodi's internal sql database is sqlite which is single user. Mysql is an extremely easy and effective solution, just do it !
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 3,575
Joined: Mar 2011
Reputation:
194
2017-05-21, 02:01
(This post was last modified: 2017-05-21, 02:02 by trogggy.)
I know what mysql is - I use it.
What I don't understand is how what you want is different from upnp sharing. The library's on one machine, you view it on all your machines. Isn't that what you describe in post #1?
It might not do everything mysql does, I haven't used it in a while so not sure what the current state is. I tried them both a few years ago and thought mysql was better.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
You could install mysql on one of those kodi machines (depending what OS they are running). Or your NAS (many people do despite your misgivings) or just get pi 3 or an odroid xu4.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 16
Joined: Jul 2013
Reputation:
0
2017-05-21, 04:43
(This post was last modified: 2017-05-21, 04:45 by wfalcon.)
My NAS is tuned right up. Not touching it. Already blew that one up once years ago screwing around. Not doing that one again.
I have known for years that I could add other machines. That's the solution I was hoping to avoid by requesting a feature. It seems like something that could come in handy to quite a few since a lot of people who use Kodi nowadays have multiple machines in the same household. I have been considering replacing one of my Linux machines with another Nvidia Shield TV (I love love love my 2 current Shields) which would free it up to act as a MySQL server quite nicely, but again, I was suggesting a future feature request that would be a nice-to-have.
Again, this is not a question of skill or looking for advice on a problem. I already know the solution. This is a feature request with the goal of improving the product in the future.
Posts: 10,518
Joined: Oct 2011
Reputation:
637
jjd-uk
Team-Kodi Member
Posts: 10,518
UPnP is for exactly this purpose.
Posts: 10,518
Joined: Oct 2011
Reputation:
637
jjd-uk
Team-Kodi Member
Posts: 10,518
There is also a wiki page for library sharing via UPnP that troggy has already posted, either can be used for same purpose, the main advantage of MySQL is the libraries can be kept on an always on machine completely separate from the Kodi installs whereas in a Master/Slave UPnP configuration the Master install must be on so the slaves can access the database.
Posts: 16
Joined: Jul 2013
Reputation:
0
What I am looking for as a feature request is to have the MySQL solution built into a future version. I really am not looking for help on how to set things up. I have already researched this before (not on this forum) and everyone agreed that MySQL was the way to go when you have a NAS. I am just suggesting that it would be nice if it could be done within the Kodi framework instead of having to set up a separate MySQL Server, editing the Advanced Settings and so on. I think it would be elegant it there was perhaps a Linux server edition that already came with MySQL built it, and that the other Kodi installs could simply be told to access the database at 192.168.xxx.xxx without having to edit the advanced settings.
Posts: 3,575
Joined: Mar 2011
Reputation:
194
It sounds like a lot of work to add something most people won't use and that a user can easily add anyway.
But I'm not a dev so my opinion means nothing here.