aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphunkyfish <phunkyfish@gmail.com>2024-10-15 16:42:00 +0100
committerphunkyfish <phunkyfish@gmail.com>2024-10-15 17:32:21 +0100
commit553a17fd3738756f27a413543d31e59ff9ad0d4d (patch)
tree5df516c04c5c356bc62504f1434aff16be11869c
parent2aba1fc4723e908fe75cbc261e71d6e313744c2b (diff)
[addons] add missing flag to filesystem translation from binary add-ons
-rw-r--r--xbmc/addons/interfaces/Filesystem.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/addons/interfaces/Filesystem.cpp b/xbmc/addons/interfaces/Filesystem.cpp
index 1056807056..eb35cb7b54 100644
--- a/xbmc/addons/interfaces/Filesystem.cpp
+++ b/xbmc/addons/interfaces/Filesystem.cpp
@@ -153,6 +153,9 @@ unsigned int Interface_Filesystem::TranslateFileReadBitsToKodi(unsigned int addo
kodiFlags |= READ_AFTER_WRITE;
if (addonFlags & ADDON_READ_REOPEN)
kodiFlags |= READ_REOPEN;
+ //! @todo Add ADDON_READ_NO_BUFFER to filesystem.h in the binary addon devkit
+ if (addonFlags & READ_NO_BUFFER)
+ kodiFlags |= READ_NO_BUFFER;
return kodiFlags;
}