New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test file cache changes revert #25021
base: master
Are you sure you want to change the base?
Conversation
Bug reporter says has tried all cache settings, even cache disabled for all sources:
So why revert We can be repeat this test with only revert Even if this works why the solution is revert and not investigate this add-on? (all others add-ons works) Example: P.S. Is not necessary create a PR for test random reversion code changes.... you can build in Jenkins any cloned kodi repo/branch from other repo that contains any modification. |
I’m not proposing any revert. Just simply trying to whittle down the number of commits that might be causing the problem. The PR doesn’t build anyway, due to some ffmpeg build issue which is unrelated. I tried to build the branch from my repo on Jenkins first but did not work, so I tried this. IMHO, we should only be fixing this forward. If we are to fix the addon we would need to figure out what that fix should be. I don’t know where to start on that, so will need some of your help. |
Can you test this diff in the add-on instead? diff --git a/src/lib/tsreader/FileReader.cpp b/src/lib/tsreader/FileReader.cpp
index 358b05f..0d87bea 100644
--- a/src/lib/tsreader/FileReader.cpp
+++ b/src/lib/tsreader/FileReader.cpp
@@ -125,7 +125,7 @@ namespace MPTV
do
{
kodi::Log(ADDON_LOG_INFO, "FileReader::OpenFile() %s.", m_fileName.c_str());
- if (m_hFile.OpenFile(m_fileName, READ_CHUNKED))
+ if (m_hFile.OpenFile(m_fileName, READ_NO_CACHE))
{
break;
} |
If this works, I think the final version should contain more flags:
|
Thanks so much! I've build the original suggestion here: kodi-pvr/pvr.mediaportal.tvserver#206. Will ask users to test, and if it works will update it to this. |
The first one didn’t work. But we’ll try the second one anyway. |
Description
Testing reverting the following PRs to fix root cause for kodi-pvr/pvr.mediaportal.tvserver#200. We need a win64 test build for users to try:
@thexai and @fuzzard FYI
Motivation and context
How has this been tested?
What is the effect on users?
Screenshots (if appropriate):
Types of change
Checklist: