Robert Chinner I am correct in assuming that the ticket in the stream URLs (Example: http://192.168.1.1:9981/play/ticket/stream/channel/996d3cebecdbfe8265e2164618d07213 ?title=ChannelName) dynamically changes over time and will become invalid? If so, is there a way to disable the need for this authorization? I ask because I use my own scripts for watching/recording and the channel URL will remain static stored inside a file. It was originally made for MuMuDVB and has been working with it for months but I've been having issues with that software and want to try adapting it for Tvheadend.
Joe User If you want to disable ALL authorization for tvheadend (even web access) you can start it with the "--noacl" option. But probably not a good idea for security reasons. Then use something like: http://192.168.1.1:9981/stream/channelid/320981912 Or better, don't use --noacl and just add a username and password to the url: http://user:password@192.168.1.1:9981/stream/channelid/320981912 ( a quick way to get a list of channel IDs: "wget http://user:password@192.168.1.1:9981/playlist" )
Saen Acro Joe User wrote: > If you want to disable ALL authorization for tvheadend (even web access) you can start it with the "--noacl" option. But probably not a good idea for security reasons. > Then use something like: http://192.168.1.1:9981/stream/channelid/320981912 > > Or better, don't use --noacl and just add a username and password to the url: http://user:password@192.168.1.1:9981/stream/channelid/320981912 > > ( a quick way to get a list of channel IDs: "wget http://user:password@192.168.1.1:9981/playlist" ) By default is set diggest authentication.
Bernhard Berger I think you can add a "permanent auth" for a user and add that to the url instead of the basic auth. From what I remember this should ve like an API key. Not sure if it works for streams though..
Robert Chinner Thanks for the suggestions. "http://user:password@192.168.1.1:9981/stream/channelid/mychannel" worked perfectly, just had to change the channel IDs to the ones used before and it was all good.