Skip to content

Commit

Permalink
Merge pull request #195 from alex-taylor/issue-193-r22
Browse files Browse the repository at this point in the history
Changed file-open mode from 'chunked' to 'no buffer' to match new behaviour in Kodi 22
  • Loading branch information
phunkyfish authored Dec 22, 2024
2 parents e7b8329 + 700a630 commit fb91179
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pvr.argustv/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.argustv"
version="22.2.0"
version="22.3.0"
name="ARGUS TV client"
provider-name="Fred Hoogduin, Marcel Groothuis">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
3 changes: 3 additions & 0 deletions pvr.argustv/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v22.3.0
- Updated file-open mode to ADDON_READ_NO_BUFFER for compatibility with Kodi 22

v22.2.0
- PVR Add-on API v9.2.0

Expand Down
2 changes: 1 addition & 1 deletion src/lib/tsreader/FileReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ long FileReader::OpenFile()
do
{
kodi::Log(ADDON_LOG_INFO, "FileReader::OpenFile() %s.", m_fileName.c_str());
if (m_file.OpenFile(m_fileName, ADDON_READ_CHUNKED))
if (m_file.OpenFile(m_fileName, ADDON_READ_NO_BUFFER))
{
break;
}
Expand Down

0 comments on commit fb91179

Please sign in to comment.