Project

General

Profile

Question about tickets

Added by Robert Chinner about 2 years ago

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.


Replies (4)

RE: Question about tickets - Added by Joe User about 2 years ago

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:[email protected]:9981/stream/channelid/320981912

( a quick way to get a list of channel IDs: "wget http://user:[email protected]:9981/playlist" )

RE: Question about tickets - Added by saen acro about 2 years ago

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:[email protected]:9981/stream/channelid/320981912

( a quick way to get a list of channel IDs: "wget http://user:[email protected]:9981/playlist" )

By default is set diggest authentication.

RE: Question about tickets - Added by Bernhard Berger about 2 years ago

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..

RE: Question about tickets - Added by Robert Chinner about 2 years ago

Thanks for the suggestions. "http://user:passwo[email protected]:9981/stream/channelid/mychannel" worked perfectly, just had to change the channel IDs to the ones used before and it was all good.

    (1-4/4)