i’m planning to reinstall the two devices due a few problems and redesign
This is my plan, any suggesstions would be greatly appreciated!
- Vero 4k (server) - always on
- Raspi (client) - always on
- NAS storage (24/7), HDDs goes in standby when not in use
Vero 4k → server
- new OSMC installation
- autofs configuration: nfs mount NAS with hostname instead ip-address (/etc/hosts entry)
- I’m planning to replace the storage in the future so i prefer to use host aliases
- I’m unsure about fstab or autofs (nfs performance with large 4k video files)
- sql server installation (mariadb) and configuration
- two profiles: “adults” (password protected) and “kids”
- Amber skin
- backup-addon to backup the config
Raspi 3 → client
- new OSMC installation
- client access to the server (Vero 4k)
What do you think about this configuration?
Performance is the same but autofs seems a bit more straightforward on mounting/dismounting automatically
Should be fine just both PI3(Client) and Vero4k(Client) would need to point to the MySQL server.
thanks for your answer. I’ll install MySQL server on the Vero 4k, so the Vero is server AND client at the same time right?
Correct, just want to highlight that you also need to instruct the Vero to use the MySQL database.
I have installed the mysqlDB on my NAS as it has a better CPU and more resources than any of my mediacenter devices. But then again, my NAS is on 24/7.
that would be an option, unfortunately my NAS ist very old (~10 years) so maybe when I replace the storage I switch the SQL instance to another host.
Do you think that the Vero 4k does not have enough performance to act as server and client?
Oh, The vero 4K definitely has the cpu power. But the memory is the issue.
As I have a large Music DB (I reduced the movie DB), that requires large caches for the DB to be performant.
My mysql instance on my NAS dedicated to Kodi is using 2.2GBytes of ram.
just an update of my “project”:
installed yesterday OSMC from scratch to the Vero 4k, configured MySQL / Autofs and scraped the first movie library.
I have another share on my NAS with “kids” and for that i will use a second profile.
Do I have to pay attention to something regarding database, autofs or special setting? What happens when I clean up the movie library, will this be made separatly for the two profiles?
It depends on exactly how you setup your second profile. If you used a name tag for each profile that is different then the two profiles are using completely isolated databases and any library changes, update or clean, will have to be done on each individually. This is currently what you have to do if you want independent watch status.
If you don’t mind sharing a watch status and only want to restrict what is viewable on the Kids profile then you could instead keep the kids content in a separate location linked to with a separate share and then use locks to hide everything other than that from the kids profile which still having it attached (and thus maintained) to the master users profile. I wrote a guide on this you can find [here] if your interested. Alternatively you can tweak nodes to filter what is shown on the Kids profile without separating off your media but that is a bit more involved and is dependent on what skin your using. The OSMC skin allows for this sort of thing, Kodi’s default Estuary skin does not.
I created a separate share for kids movies, so (with the search in the forum) I modified the advancedsettings.xml for the kids profile to create a separate database. Until now everything works as expected! I still play with different skins (Ace 2, Amber) to optimize the settings.
last question about the client (Raspi3). Copied “advancedsettings.xml” and “sources.xml” from the server (Vero) to the client (Raspi3).
Movies and Series did not show up on the client. Noticed that there was missing “content” on the library settings but the shorcuts was still missing. Then I rescraped all the content also on the client and finally the shortcuts are visbile
What I’m missing on the client configuration that only on the server (Vero) I have to srape the content and automatically will be updated on the client (Raspi) ?
thanks a lot for your help!
Upload logs from Vero and Raspberry so that we have a chance to answer that question.
I just uploaded the logfiles from the two devices
client (Raspi3): https://paste.osmc.tv/lisinomica
server (Vero 4K): https://paste.osmc.tv/iwejewidak
thanks in advance for your help!
There’s a typo in the advancedsettings.xml on the pi:
dvancedsettings> should be
Its resulting in this error in the log:
ERROR: Error loading special://profile/advancedsettings.xml, Line 0
Error document empty.
Thanks for the info! shame on me I’ll try it as soon as possible (busy with family at the moment )
Raspi is working now correctly, thanks aigain Tom for the “typo” info