Project

General

Profile

Actions

Bug #6160

open

Recordings for other users not returned by HTSP despite "view all"

Added by Claudio M. about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
HTSP
Target version:
-
Start date:
2022-04-10
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-2010~g3b1d7a928
Affected Versions:

Description

Context: https://github.com/kodi-pvr/pvr.hts/issues/581
Reporting this here as requested by the Kodi addon maintainer

Using the Kodi TVheadend addon, when I record something using an admin user ("admin"), my Kodi user ("user") cannot see the recording until I switch owners from admin to user despite having set "View all" in the user's "Video recorder" settings.

Once the recording is listed, it remains playable even if I switch its ownership back to the admin user (because of View all); the recording is not playable anymore if I remove "View all" (WAI).

From the web UI everything works as expected; I used a python wrapper to call the HTTP API and that works correctly as well. This seems to be related directly to HTSP, but I'm not a C/C++ developer so I have no idea where this issue could actually be.

Please let me know if there's any other details you need or anything else I can try (I'm happy to spin up a VM and compile a patched version if you need me to test something).

Thanks!

System info:

root@tvheadend:~# uname -a
Linux tvheadend 5.13.19-6-pve #1 SMP PVE 5.13.19-15 (Tue, 29 Mar 2022 15:59:50 +0200) x86_64 GNU/Linux
root@tvheadend:~# lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:    bullseye
root@tvheadend:~# /usr/bin/tvheadend --version
/usr/bin/tvheadend: version 4.3-2010~g3b1d7a928
Actions

Also available in: Atom PDF