Bug #6299
TVHeadend 4.3~2154 Debian Bookworm No Permissions to open local m3u File
0%
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
Updated by Starfox Starfox about 1 year ago
Furthermore, TVHeadend is installed in a directory called "nonexistent" which I believe is related to the error
Updated by Starfox Starfox about 1 year ago
4.3~1994raspianbullseye and 4.3~2154raspianbullseye
Arch:arm64
Updated by saen acro about 1 year 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
Updated by Starfox Starfox about 1 year 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.
Updated by saen acro about 1 year ago
Change also permission to playlist in public folder,
or use local http server to serve playlist.
Updated by Flole Systems about 1 year 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.
Updated by Starfox Starfox about 1 year 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.
Updated by saen acro about 1 year ago
ps aux | grep tvheadend
this will show user and group
set playlist to same.
Updated by Starfox Starfox about 1 year ago
I have installed TVHeadend from official Raspian OS Repo
http://deb.debian.org/debian bookworm InRelease
It´s Version TVHeadend 4.3-2155~gfe4df311d
ps aux | grep tvheadend
Shows User hts and Group video
If i change owner from playlist.m3u to hts and group video then I still don't have access to the m3u file (tvheadend.log shows: [ ERROR]:iptv: unable to open file '/home/user/TVPlaylists/playlist.m3u': Keine Berechtigung)
I have tried set it to 755, tried the above command line : sudo -H -u hts bash -c 'ls -l /home/user/playlists/playlist.m3u'
But all without success
Updated by saen acro about 1 year ago
Don't use chmod use chown.
Make folder away from /home/user.
Make it accessible from all users.
Updated by Starfox Starfox about 1 year ago
Ah yes that works
If i store it in /home/TVPlaylists i have it accessible from all users