Project

General

Profile

How configure users to access playlist in local network without authentification

Added by Jozef Pažin about 7 years ago

Hi,
I've been trying to create basic user without password (get playlist, play channell, browse settings... everything except admin access) for several hours, but without success. Server is up and running. I have no superuser configured. Default osmc / osmc login was changed to new password, channells was configured... no others changes. My actual user and password configuration looks like this:

I want to create free tv server in my local network. So playlist should remain fixed (with fixed links for channels), accessible without authentification.
I think this is possible with url http://projekt:9981/playlist/channels, but can I create url to exact channell without ticket? My actual playlist item looks like http://projekt:9981/stream/channelid/2343741?ticket=FB128F7DB26EBF72D6CB5942D6D211B8049421B2&profile=pass but I want to reach something like: http://projekt:9981/stream/1 or http://projekt:9981/stream/channelname I dont know if this is possible.

Second part, to user on local network with access to play any channel without authentification I can not solve or bypass. Any configuration I try, I always get "login password window" after access on web or after play channel with vlc.

Can you give me a minimal example how to configure tvheadend to enable this free access for local users? I am no longer able to test different user combinations, orders, passwords enabling / disabling, change user names... after every try I restart raspberry and test, but nothing helps me.

Many thanks


Replies (6)

RE: How configure users to access playlist in local network without authentification - Added by saen acro about 7 years ago

To bypass login in LAN
on user "*" add network ex. 192.168.0.0/24
disable
administrator
web
(dvr options)
allow
streaming

RE: How configure users to access playlist in local network without authentification - Added by Jozef Pažin about 7 years ago

Thanks for reply, but this is not working for me.
New settings for user * in tvheadend web frontent is on next image (web and admin disabled, streaming all enabled):

restart kodi...

Access from PC VLC on lan, ip address 192.168.1.100.
After open http://projekt:9981/playlist/channels in VLC, it ask for HTTP authentification: login and password.
I also checked different order of the users, * user first, but no success :(

Any other idea?
I'm starting to think that these two things (fixed channels url and anonymous users) are not possible with tvheadend (I thought that this are two basic things, at least anonymous access, that need many tvheadend users, but I'm not able to solve it).

RE: How configure users to access playlist in local network without authentification - Added by Jozef Pažin about 7 years ago

Ok, I changed Allowed networks for both users. In both cases changed to 192.168.0.0/24, then reboot.
It was only change but now I can not create screenshot, because it is not possible to log in using web access after this change.
Until this change I have no problem to log in, now, it is not possible.
After open http://projekt:9981/playlist/channels in VLC, VLC require HTTP authentification to play any stream (my original name and login is not accepted now).

So, now I need to create superuser account, or remove entire configuration. I thnk it is not good for this software that is not possible find working configuration for anonymous access (maybe it is specific parameters combination, but it is not simple to find this parameters)
It would be a problem to add new global configuration parameter like "Networks allowed without authentification" and set 192.168.0.0/24 here instead of try and set parameters combination that is impossible to find in any documentation? I'm sorry, I apologize, but I'm disappointed.

Any other tip?

RE: How configure users to access playlist in local network without authentification - Added by Jozef Pažin about 7 years ago

Saen acro, many thanks.
Set exactly like on your screenshot to networks 127.x and 192.x..: 127.0.0.0/24,192.168.0.0/16
And now authentification works as I excepted. I can login as osmc but everyone can play playlist.
Thank you very much again.

Do you know how to create url for channels without tickets?

I see url on play icons in Configuration -> Channel / EPG -> Channels. Maybe I can use this links as immutable urls. I will try.

RE: How configure users to access playlist in local network without authentification - Added by saen acro about 7 years ago

Remove via text editor.
There is a lot of issues about playlist export setting, but still not result.

    (1-6/6)