Posts: 25
Joined: Dec 2015
Reputation:
0
Hi!
If i use a kodi instance as a "server" it shares on the same network trough UpNp the library, but sadly only as "file"
There is a way to share the library structure? Maybe pointing the mysql database to the kodi that share the library?
Thanks a lot
Posts: 2,771
Joined: Mar 2011
Reputation:
95
Neither for the database. SMB/NFS are for sharing files; UPnP can share files and the database; mysql is just the database (although clients obviously then have to be able to get at the files via the paths stored in the database, so you still need one of the other protocols).
Posts: 2,771
Joined: Mar 2011
Reputation:
95
I believe you can use a host name instead of an IP address in advancedsettings.xml, so that would theoretically take care of the changed address. I presume the same is true of the paths you'd have in the database, because the file paths would also change otherwise - so an NFS path using the host name would be necessary. I don't know that, though.
I'm assuming that your server only has one NIC? Otherwise, you could statically bind the two IP addresses and bridge between them - although you'd probably be better using a different subnet for one, as your server is now effectively acting as a router between the wired and wireless segments. Not really something I've ever played with, though.
You could also look up IP address aliasing, as I think that might allow both IP addresses to be live on the same NIC.