aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorksooo <3226626+ksooo@users.noreply.github.com>2023-08-31 14:14:38 +0200
committerksooo <3226626+ksooo@users.noreply.github.com>2023-09-11 08:14:15 +0200
commit60761e12ba8390272ae120d8e18575b8e91577fe (patch)
tree07a38b4d1df52728aec83d5660436c5cd41dd71c
parent085a40300fa8c0d20e9591ea224241b9c5a8eee5 (diff)
[PVR] Fix CPVRRecordingsPath path directory/params parsing.
-rw-r--r--xbmc/pvr/recordings/PVRRecordingsPath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/pvr/recordings/PVRRecordingsPath.cpp b/xbmc/pvr/recordings/PVRRecordingsPath.cpp
index 85883ea8fb..29bb7cff22 100644
--- a/xbmc/pvr/recordings/PVRRecordingsPath.cpp
+++ b/xbmc/pvr/recordings/PVRRecordingsPath.cpp
@@ -46,7 +46,7 @@ CPVRRecordingsPath::CPVRRecordingsPath(const std::string& strPath)
strVarPath.append("/");
else
{
- size_t paramStart = m_path.find(", TV");
+ size_t paramStart = strVarPath.find(", TV");
if (paramStart == std::string::npos)
m_directoryPath = strVarPath.substr(GetDirectoryPathPosition());
else