diff options
author | phunkyfish <phunkyfish@gmail.com> | 2024-10-16 12:09:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-16 12:09:03 +0100 |
commit | 410c628c828ba9941479391cd1f80452da3ac574 (patch) | |
tree | 5df516c04c5c356bc62504f1434aff16be11869c | |
parent | e79d0ce8ea6ea75daa4cacd108794f3762b5ad20 (diff) | |
parent | 553a17fd3738756f27a413543d31e59ff9ad0d4d (diff) |
Merge pull request #25834 from phunkyfish/addon-read-nobuffer
[addons] add missing flag to filesystem translation from binary add-ons
-rw-r--r-- | xbmc/addons/interfaces/Filesystem.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xbmc/addons/interfaces/Filesystem.cpp b/xbmc/addons/interfaces/Filesystem.cpp index 9f22b67ecc..eb35cb7b54 100644 --- a/xbmc/addons/interfaces/Filesystem.cpp +++ b/xbmc/addons/interfaces/Filesystem.cpp @@ -151,8 +151,11 @@ unsigned int Interface_Filesystem::TranslateFileReadBitsToKodi(unsigned int addo kodiFlags |= READ_AUDIO_VIDEO; if (addonFlags & ADDON_READ_AFTER_WRITE) kodiFlags |= READ_AFTER_WRITE; - if (addonFlags & READ_REOPEN) + 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; } |