diff options
author | Kai Sommerfeld <3226626+ksooo@users.noreply.github.com> | 2023-09-11 18:14:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-11 18:14:25 +0200 |
commit | 2121090d7cbb40c3777f0bdd89a9e3082d4a3105 (patch) | |
tree | 07a38b4d1df52728aec83d5660436c5cd41dd71c | |
parent | 085a40300fa8c0d20e9591ea224241b9c5a8eee5 (diff) | |
parent | 60761e12ba8390272ae120d8e18575b8e91577fe (diff) |
Merge pull request #23751 from ksooo/pvr-fix-recordingspath-parse
[PVR] Fix CPVRRecordingsPath path directory/params parsing.
-rw-r--r-- | xbmc/pvr/recordings/PVRRecordingsPath.cpp | 2 |
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 |