- Moderator
- #41
If there is no regression, it is also a necessary test.I would be prepared to trial your new implementation, but although I am a "tester", I use none of the extensions that @ajs has been concerned about, and have only a single-seat installation, so my testing would be very "one-dimensional".
1: You want to have 1 central database for all mediaportal clients in your house?
The pictures and folder databases already don't have auto-increment for the primary keys. I understand your concern, but MP has a very low database hit-rate compared to other products. Therefore, I estimated that, to get multi-user capability as well as multi-threading to work, we would have to have the primary keys generated up-front. It's not a new idea - Oracle uses the same technique by storing the primary keys in a sequence table. I tried that but was prevented from using that technique by the multi-threading in MP - due to database thrashing.To me it sounds a bit risky to remove autoincrement prim.keys (who's responsible for them than?) and have more than one instance of MP sharing the same sqlitefile... (even within mediaportal itself) but perhaps I don't have enough experience with sqlite to be sure this couldn't cause database corruption.
And as for caching... I think one of the hardest things ofcourse is cache invalidation
That's true, but anyone in the household can delete a file using MP at any time. MP relies on people working together to avoid doing that.Well, I could think of a scenario where there are some local videos/pictures/whatever ending up in the shared database...
(F.e. when you insert a dvd or attach a usb-stick with pictures in your htpc...)
Edit: or multiple users watching the same video on different htpcs and stopping at different times.... brr...
Edit2: regarding used plugins: I use mpsync