well 2 providers*2 servers*2vpns is a lot of combinations to check
In the end, I would expect that if headers are wrong that you at least get consistent errors and not one day a 302 and the other a 400.
As a (very) last resort you could check the headers that vlc sends and mimic them in the tvserver, but that's a pretty long shot.
intermittent errors are indeed the most annoying to debug and fix.
To get back at your cache thing: As far as I know there isn't anything cached on disk, only thing cached is possibly something in-memory, but nothing a restart of the tvservice wouldn't cure.
Partly related question: do you use onlinevideos? That also uses MPUrlSourceSplitter as a download-plugin, and could eliminate at least some (tvservice/tvserver) variables here.
If so (and if you indeed wish to test it that way) I can create a siteutil where you can speficy url and optional headers to be used. Its a bit more flexible to tweak than tvservice, so that might help?
In the end, I would expect that if headers are wrong that you at least get consistent errors and not one day a 302 and the other a 400.
As a (very) last resort you could check the headers that vlc sends and mimic them in the tvserver, but that's a pretty long shot.
intermittent errors are indeed the most annoying to debug and fix.
To get back at your cache thing: As far as I know there isn't anything cached on disk, only thing cached is possibly something in-memory, but nothing a restart of the tvservice wouldn't cure.
Partly related question: do you use onlinevideos? That also uses MPUrlSourceSplitter as a download-plugin, and could eliminate at least some (tvservice/tvserver) variables here.
If so (and if you indeed wish to test it that way) I can create a siteutil where you can speficy url and optional headers to be used. Its a bit more flexible to tweak than tvservice, so that might help?