Project

General

Profile

Bug #6299

TVHeadend 4.3~2154 Debian Bookworm No Permissions to open local m3u File

Added by Starfox Starfox about 1 month ago. Updated 4 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
IPTV
Target version:
-
Start date:
2023-08-21
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3~1994 and 4.3~2154
Affected Versions:

Description

Hi,

I installed Debian 12 Bookworm on a Raspberry Pi 4B 64bit and tested TVHeadend 4.3~1994 and 4.3~2154.
With both it does not work to integrate a local file from the "home" directory into the IPTV network.

file:///home/user/Playlists/xy.m3u

The log file always says "Unable to open File xy.m3u no permissions.

This is a new Error in Debian 11 Bullseye this worked fine.

I have tried to set it to 777 Permissions and also changed User of the m3u File to HTS but no luck

History

#1

Updated by Starfox Starfox about 1 month ago

Furthermore, TVHeadend is installed in a directory called "nonexistent" which I believe is related to the error

#2

Updated by Starfox Starfox about 1 month ago

4.3~1994raspianbullseye and 4.3~2154raspianbullseye

Arch:arm64

#3

Updated by saen acro about 1 month ago

Make public directory

sudo mkdir -p /playlists
sudo chmod -R 755 /playlists
sudo chown -R nobody.nobody /playlists

point playlist location to there
file:///playlists/xy.m3u

#4

Updated by Starfox Starfox about 1 month ago

Good Morning from Germany,

Public Directory didnĀ“t work, same Problem no permissions.

I have a Workaround now from Developer of RaspianOS Bookworm Beta Build

sudo -H -u hts bash -c 'ls -l /home/user/playlists/playlist.m3u'

Then this specific playlist works and i can access it from TVHeadend.

#5

Updated by saen acro about 1 month ago

Change also permission to playlist in public folder,
or use local http server to serve playlist.

#6

Updated by Flole Systems about 1 month ago

What's the exact Tvheadend version you are using? Copy the full version string from the about screen. Also check if the user that Tvheadend is running as can access the file.

#7

Updated by Starfox Starfox about 1 month ago

TVHeadend Version : 4.3-2154~gec56067f4

The TVHeadend User is hts.

If i install TVHeadend new to my Raspberry the TVHeadend User hts has no access to the Playlist File.

After adding this line to commandline then User hts have access to the m3u File.

sudo -H -u hts bash -c 'ls -l /home/user/playlists/playlist.m3u'

My OS is Debian 12 Bookworm.

#8

Updated by saen acro about 1 month ago

ps aux | grep tvheadend

this will show user and group
set playlist to same.

Also available in: Atom PDF