Open privatissimo opened 2 years ago
This is not so easy as you think. Srefs starting with 4097 are normally external stream links (IPTV) and not local files.
If so, why that's how is implemented and works in modern UI?
The modern ui is also wrong here.
If so, why that's how is implemented and works in modern UI?
The modern header where the OSD was almost completely rewritten (very) recently
If so, why that's how is implemented and works in modern UI?
The modern header where the OSD was almost completely rewritten (very) recently
And if this is finished, we can port this to the classic UI.
The modern ui is also wrong here.
I believe I process for URL safety with the channel name and event name, but may have overlooked files
When viewing a mkv recording/file, using classic interface the stream buttons on the left top of the page (osdicon div) are not inserted/shown when stream type is 4097, it works using modern interface. Looking at and vti-responsive.js and openwebif.js, the issue is in line 771 of openwebif.js, where
currently "} else if (sref.indexOf("1:0:0") !== -1) {"
should be "} else if ( (sref.indexOf("4097:0:0") !== -1) || (sref.indexOf("1:0:0") !== -1)) {"