Project

General

Profile

persistent auth tokens and playing recordings

Added by Paul M almost 5 years ago

I created a user called webby and set appropriate permissions and got the persistent auth token.

If I try and play a channel and save it as an m3u file, I see a URL in the form:

http://tvh.example.com:9981/stream/channel/aaaaaaaaaaaaaaa2b9aea0865a8bd009c?auth=AAAAAAAAAAAAAAAAAAAAAAAAAAAA

and I can play this in vlc without needing a username/password. brilliant!!

If I try and play a recording, I get a playlist file with a URL in this form:

http://tvh.example.com:9981/dvrfile/55555555555555555555555555555555?ticket=tttttttttttttttttttttttttttttttttttttttttt

and vlc will play this for a while until the ticket expires. however, don't want to make this expire, but if I change ?ticket= to ?auth= then it doesn't work.

is this actually possible, to make recording work with the persistent authentication token?

also, how do I generate the ticket token using the API so I can refresh the URL?

thanks
Paul


Replies (1)

RE: persistent auth tokens and playing recordings - Added by Paul M almost 5 years ago

I raised a bug because persistent token doesn't allow playing recordings.
https://tvheadend.org/issues/5781

    (1-1/1)