Hi, Just checking in if I’m doing things the “correct” way or if I can improve.
I have 3 devices. A Vero V that handles most of the watching. A Vero 4k+ that used to handle that and now does the minority of playing. And a Vero 4K that sits in with me and does not much.
I use mysql to handle the library. And I’m curious what people normally do for library updates. In my case, I at one point had the vero 4k+ doing this, and thus it has metadata.themoviedb.org.python and metadata.tvdb.com configured as metadata providers, and things who are updating the library just talk to this host.
But this host is … a bit flakey. Sometimes library updates hang and checking the gui shows it is prompting for an answer to a question about whether to delete sources from the library or not (but not giving me a path), and I usually just say “Delete” and it finishes whatever it was doing and deletes god knows what and then I’m able to do library updates again.
So I’m wondering if I should move library duties to the Vero V? Since it’s actually supported. Or the other potential option is running a headless kodi via docker and have that be in charge of library updates and all osmc hosts are then just passive consumers?
I believe last time I tried to switch hosts over to a new one taking over, it ended up nuking my library and setting all episodes back to unwatched, which is likely why I’ve left the k4+ hosting updates and haven’t tried to move it to the V yet. Which is why I’m wondering if I’m doing this in a very odd manner.
If you are getting messages about missing sources then this probably means that your file location is slow to respond or something between Kodi and your files is unreliable. It would be useful to know more details about how exactly you have your setup configured (NAS, USB drive, where/what device is MySQL installed on, Kodi paths/fstab/autofs, etc.)
As far as the library updates go, if you have all of your devices set with identical source paths then it doesn’t matter what machine you use to kick off a library update. It should be fine doing this from whatever device you happen to be using.
It would be useful to know more details about how exactly you have your setup configured (NAS, USB drive, where/what device is MySQL installed on, Kodi paths/fstab/autofs, etc.)
This should be pretty solid. Both file serving and mysql are coming from a FreeBSD host, using NFS for the filesharing and mariadb for the database. The vero hosts are using wifi so it’s possible that’s crapping out a bit. But it doesn’t actually delete anything out of the library when it does this, so I’m not convinced the sources it’s having issues with are the key ones with actual data
As far as the library updates go, if you have all of your devices set with identical source paths then it doesn’t matter what machine you use to kick off a library update. It should be fine doing this from whatever device you happen to be using.
OK that’s what I was hoping was the answer. So theoretically should I just sync a few configs over to all hosts and then trigger a library update on the verov and cross fingers? (will take a library backup out of mysql first of course)
Is there a nice easy way to do this at the config file level? Are these configs stored in one of the XML paths, or are they in a local sqlite db or something?
I’d rather just copy some files if I can and be sure my configs are in sync, rather than performing all the changes in the gui
You just need .../userdata/sources.xml (assuming your not using profiles) to be the same on all clients. This file is platform independent so you can copy any client regardless of OS. The scraping details are stored in the MySQL db so any changes you make there on any client are reflected in all of them.
That message is normally Kodi goes to follow a path, waits a very short period of time, then if it doesn’t have access at that point gives up and stops trying and moves on to the next source. This doesn’t mean the source isn’t working or there is necessarily a problem with it, but rather just Kodi being a bit impatient. This may be able to be worked around by telling kodi to do a WOL call with a small delay or by switching from a Kodi path to autofs which tends to be a bit more reliable with less than perfect sources.
FYI if you’re updating after adding content with a PC you don’t have to actually wait and go to a player to tell it to do an update. You can just use the web UI from any of the clients to tell it to update, use JSON-RPC with a script, set auto update on one of the players, or use Kodi on whatever PC your sitting on to do it.
FYI if you’re updating after adding content with a PC you don’t have to actually wait and go to a player to tell it to do an update. You can just use the web UI from any of the clients to tell it to update, use JSON-RPC with a script, set auto update on one of the players, or use Kodi on whatever PC your sitting on to do it.
Yep, no, I’m not manually updating anything, but things that are triggering updates of course don’t have those updates work once it gets in this state. Kodi gets the rpc call to update library for a new addition, but since it’s currently mid-update and waiting for a reply to a prompt it never does the newer update library until I realise, go turn on that tv, and respond to the “Delete items?” prompt
videoscanner
Options specific to the Video scanner
<videoscanner>
<ignoreerrors>true</ignoreerrors> <!-- Set to true to silently ignore errors while scanning videos. This prevents the error dialogue box, so you don't have to keep hitting "yes" to keep scanning.-->
</videoscanner>