Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 19 22:13
    GitLab | Luis Fernandes pushed 2 commits to TvhClient
  • Jul 07 23:09
    GitLab | Luis Fernandes pushed 2 commits to TvhClient
  • Jul 07 12:58
    GitLab | Luis Fernandes pushed 3 commits to TvhClient
  • Jul 06 18:11
    GitLab | Luis Fernandes pushed 1 commits to TvhClient
  • Jul 06 17:22
    GitLab | Luis Fernandes pushed 1 commits to TvhClient
  • Jul 06 17:19
    GitLab | Luis Fernandes pushed 1 commits to TvhClient
  • Jul 06 15:49
    GitLab | Luis Fernandes pushed 1 commits to TvhClient
  • Jul 01 21:33
    GitLab | Luis Fernandes pushed 3 commits to TvhClient-TV
  • Jul 01 00:17
    GitLab | Luis Fernandes pushed 1 commits to TvhClient
  • Jul 01 00:17
    GitLab | Luis Fernandes pushed 5 commits to TvhClient
  • Jun 21 23:58
    GitLab | Luis Fernandes pushed to TvhClient
  • Jun 21 23:58
    GitLab | Luis Fernandes pushed 1 commits to TvhClient
  • Feb 20 22:06
    GitLab | Luis Fernandes pushed 2 commits to TvhClient-TV
  • Feb 12 11:59
    GitLab | Luis Fernandes pushed 2 commits to TvhClient-TV
  • Jan 04 00:58
    hawflakes starred zipleen/tvheadend-ios-lib
  • Jan 04 00:57
  • Dec 21 2018 16:00
  • Nov 22 2018 01:31
    zipleen closed #239
  • Nov 22 2018 01:31
    zipleen commented #239
Luis Fernandes
@zipleen
What version of tvheadend are you using? Maybe something changed.. the only thing that causes that is normally the Digest option. If you have admin access it should not be an issue though
Are you using an admin user with the admin option enabled?
Flole998
@Flole998
Latest master, I am using digest and no admin access, is that the reason it's not working?
Luis Fernandes
@zipleen
Did you deselect the option "user is admin"?
Flole998
@Flole998
Yes, that option is not selected
Luis Fernandes
@zipleen
In theory it should work, that option basically uses the token system to create the playback url. This means you won't see the user and pass but you'll see the token in the end of the url
Flole998
@Flole998
Ah so I should select that option?
Luis Fernandes
@zipleen
This should mean you'll be able to watch the stream. If not then something might have changed. I don't use the latest master for tvheadend
You should only select that option is you're an admin
Flole998
@Flole998
That user is not an admin, so I didn't select it
Luis Fernandes
@zipleen
Another way to make this work is enable both "digest+basic"
Flole998
@Flole998
Are you not using /play/ticket/stream/channel/<channelid> to get a ticket for a normal user?
Luis Fernandes
@zipleen
I don't think I ever used /ticket/ if I recall
But I would need to check the code
Authentication type:
Both plain and digest
If you set this one then it won't matter because it will use the basic http auth scheme - but in order to "trick" this you need to select "user is admin" I think..
(If I remember correctly, a non admin user can't check this option so the user will never know if I can use basic or fallback to ticket, hence I always default to a ticket for a non admin user)
Luis Fernandes
@zipleen
Checked the code. I download the m3u playlist and extract the full url from it
Flole998
@Flole998
Let me capture the traffic again and see whats going on there......
Flole998
@Flole998
Enabling "user is admin" even though the user is not an admin user has fixed it! Thanks!
Luis Fernandes
@zipleen
Then it's the digest issue. I wonder why the ticket was not working on your case...
Flole998
@Flole998
It didnt pass the ticket to the server, thats why
It requested /playlist/channel/<channelid>?profile=<profile> at first, it didnt get a ticket back there though
Luis Fernandes
@zipleen
And it should have
I wonder when that ticket url was introduced and when this playlist thing stopped working...
Or maybe playlist only has ticket on specific conditions which I did not correctly understand
Flole998
@Flole998
Yeah you need to request /playlist/ticket/channel....... now
The keyword "ticket" has to be part of the URL
Could you check if on your server it still works if you add /ticket somewhere in the URL? Then you can safely add it if it doesnt cause any issues for you
Luis Fernandes
@zipleen
That must be new .. which breaks shit for me :/
Yeah one more call on every play request
Flole998
@Flole998
You are calling /playlist/channel/<channelid>?profile=<profile> at the moment
Luis Fernandes
@zipleen
Thanks for the help, I'll try to add that in and deploy it in a TestFlight
Flole998
@Flole998
You need to call /playlist/ticket/channel/<channelid>?profile=<profile> instead now, I am not sure what happens in older versions
Luis Fernandes
@zipleen
Yeah but if older ones don't understand the new /ticket/, it will break compatibility with old versions
Flole998
@Flole998
And they dont ignore it?
Luis Fernandes
@zipleen
Didn't test :p I'm on the phone, will need to investigate further
Flole998
@Flole998
Could be that you could just add it and it gets ignored, at least I hope its that way :D
You could implement a "switch" between those URLs, if the .../ticket/.... URL returns an error, activate compatibility mode and you use the one without ticket, if that one returns a URL without ticket cause someone upgraded you disable compatibility mode and request the ticket URL again
Luis Fernandes
@zipleen
Of course :p
xswqaz
@xswqaz
It will be able to resume ts file?
recorded file
Luis Fernandes
@zipleen
that's a question for VLC. vlc does not seem to handle files recorded on a server that keep changing their size. because of that vlc will end the stream
but that's expected... the server keeps changing it's mind on the file size and vlc needs to keep re-doing the calculations?
maybe there's some sort of parameter to ignore the file size for TS streams.. but I do not know about it. if anyone can figure out which --parameter would make vlc work for TS files on disk that keep growing, do let me know
xswqaz
@xswqaz
Thank you for reply
ts file resume is supported with kodi, player is not vlc maybe
xswqaz
@xswqaz
Here is plugin for save and restore the position of the last played files
http://vlcsrposplugin.sourceforge.net/
Luis Fernandes
@zipleen
Huh? Save and restore position of playback of recordings? That's a feature that has been working for 2 years now. However, you need to be able to seek to the position, which means TS files are not supported.. there's been long conversations about this in this channel.
You should have received a notice the first time you playback a TS recording, didn't you read it?
Although the beta version is able to seek.. but timestamps are not reported back, so seeking to a specific time does not work