(2023-03-15, 07:00)Fuzzard Wrote: Its been commented on that its believed its too niche. Unless theres some other extremely good reason you could give, it probably wont be.
From my view, i dont even understand what you're doing with it. i don't think you've explained the point of it well enough, but maybe thats just me.
HTTP streaming is what 99% (the percentage point may be off by one) of Kodi users utilize. As opposed to trying to convince a single mind that FileCache continues to not work properly for anyone, I've gone back to the simple webserver that works and is the main consumption path. However, the Directory listing for HTTP is very poorly implemented per this bug
https://github.com/xbmc/xbmc/issues/21408 . So, to get a usable solution, I'm using the directory listing from smb (which is better, but still terrible even with stat off), and streaming actual media files via HTTP. Works 100% of the time, doesn't matter the system load, network utilization, if it's windy outside, it just consistently works and I forget I'm on Kodi and not a streaming platform (which, is high praise compared to what's been going on). The feature can also be utilized to enforce correctness, and plenty of other things.
It's 7 lines of code, I'll add tests if that's really a blocker, and the regression surface is 0. I really don't want to use Plex which is why I continue to try and get this working.
Next up is likely the JNI mess and the API not being followed since v1 (it clearly calls out isFinishing which isn't implemented, and Kodi seems to murder itself here for no good reason) which is also harming existing users. After that probably optimizing the smb stat calls so it doesn't take 7 minutes to load a simple 4000 item folder. Besides, maintaining a fork helps no one.