Replies: 13 comments
-
I'm not sure this is possible? At least not without implementing buffering (I think). Going to close, but if anyone has ideas around how to do this, let me know! I'm open to it, just not sure how to do it without complicating the current proxy functionality. |
Beta Was this translation helpful? Give feedback.
-
Hey mate, is it possible to re-open? Not looking for any local caching or rewind - that could be done on the player. Thanks so much! |
Beta Was this translation helpful? Give feedback.
-
re-opened! 😉 |
Beta Was this translation helpful? Give feedback.
-
I think I've found what's causing it, the following isn't being proxied #EXTINF:-1 catchup="append" catchup-source="?utc=$utc&duration=3600" tvg-name="Channel" tvg-id="ch1" ... |
Beta Was this translation helpful? Give feedback.
-
nice find! I can work with that 😉 I'll let you know when I have something for you to test... |
Beta Was this translation helpful? Give feedback.
-
potential fix in latest P.S. You will need to re-sync the playlist for the |
Beta Was this translation helpful? Give feedback.
-
Hey mate, sadly that didn't work. I have no clue what I'm doing, but dug into this a little. My provider is using Xtream, and the following script shows me which channels are offering catch-up.
Not sure why this is working with proxy disabled, but doesn't when enabled - I'm assuming the API requests from tivimate should work whether proxied or not. But, I've got pretty far understanding how this is working in tivimate with the proxy disabled/provider as source.
Hopefully that's all proxiable! But that's definitely beyond me. Can't thank you enough mate. |
Beta Was this translation helpful? Give feedback.
-
it's probably because of this:
I'm still not fully understanding this though? When we proxy, we're just playing the generated stream URL via The update I made was for the m3u playlist type, so it makes sense why it didn't work. I didn't realize you were using Xtream. That said, I can see the code sample you sent it's using the |
Beta Was this translation helpful? Give feedback.
-
Appreciate it mate. I've sent you a pcap via discord. I spent a long time trying to figure out how Tivimate figures out the {duration}.ts part of the string to request from the provider - I gave up by 2am and hit the hay. m3u4u take the Xtreme codes and spit out an m3u file for tivimate to use - and tivimate is still catch-up aware. Same with m3u-editor, with proxy disabled. I'm wondering if it's possible to proxy those http requests? |
Beta Was this translation helpful? Give feedback.
-
Moving this one to a discussion since it's still ongoing... |
Beta Was this translation helpful? Give feedback.
-
Appreciate your help with this mate. Gone a little further. I've got a solution that kinda works, but has issues because we're optimising for live content. The following snippet in HlsStreamController.php works after line 60.
If I manually seek, it does now work. Takes a while for it to start playing the catch-up footage, sometimes it just continues playing the live stream in a loop. I think this is because m3u continues to serve the cached segments, and that the provider can take 30+ seconds to respond to the timeshift requests. I had to up the ffprobe timeout to 30s. I'm guessing just some optimisations / catch-up logic needs implementing, perhaps for timeshift url's we can skip the ffprobe check? |
Beta Was this translation helpful? Give feedback.
-
Submitted PR. #235 I dropped HLS segment duration and upped the timeout, definitely needs some optimisations. |
Beta Was this translation helpful? Give feedback.
-
Okay, so ofc that last one didn't work - this does. I managed to do it for StreamController, but not Hls, I found the segment cache was wayyy to slow for it to be interactive. I also had to increase the ffmpeg timeout as timeshift content takes much longer to respond - however this is working!! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When the proxy is disabled, I can rewind live tv, and use catch-up functionality by going backwards in the guide, however with proxy enabled, I'm unable to do so.
Is it possible to enable this functionality when the proxy is in use?
Beta Was this translation helpful? Give feedback.
All reactions