BtbN / vlc-htsp-plugin

Plugin for VLC to access TVHeadend via HTSP.
GNU Lesser General Public License v2.1
58 stars 32 forks source link

Feature Request: Is timeshifting possible? #1

Closed virtualdj closed 11 years ago

virtualdj commented 11 years ago

In the recent TVHeadend versions, it is not possible anymore to pause a channel live HTTP stream because TVHeadend closes it. This is bad because you cannot pause a live event if you're not recording it.

Using your plugin is it possible to use the timeshifting features of TVHeadend to pause the stream from VLC by using HTSP protocol?

I'm using VLC v2.0.5 under Windows 7 (and later I will have to figure out how to compile it under Windows). Thanks.

BtbN commented 11 years ago

I just implemented basic support for timeshifting. Only Pause if working for now, with no way to return back to live without stopping and re-opening the stream. I'll look into Forward/Rewind, but it seems more complicated to do, als VLC handles stuff a bit diffrent than TVH.

You can get compiled binarys from Jenkins: http://ci.btbn.de/job/vlc-htsp-plugin/

virtualdj commented 11 years ago

Thanks, I tried the compiled version and it's working well. Congratulations!

The Pause command when using HTSP at least keeps the TVHeadend stream opened, so you can really pause a live channel (with HTTP it's no more possible, unfortunately). Having FF/RW too would be perfect.

BtbN commented 11 years ago

You can freely skip in the stream by clicking in the progress bar, just no fast forward/rewind.

BtbN commented 11 years ago

But you need today's git snapshot of tvh for skip support, as absolute skipping just got implemented today.

virtualdj commented 11 years ago

Thanks!

virtualdj commented 11 years ago

I've just published a tutorial for your wonderful plugin on the QNAP forums for other users that would like to use it in conjuction with TVHeadend running on the NAS.

Thanks again!

BtbN commented 11 years ago

Great, thanks for making this a little bit more public :) Just a few things: The plugin offers a full channel list as service discovery, you don't need to search for the channel IDs manualy. On the left side of VLC, unter the Local Network categroy, there's a HTS TVHeadend entry. You have to configure your server in the VLC settings for this to work. Just open the settings, switch to advanced mode and type HTSP in the search box. After a VLC restart the Service discovery schould work. At least if you entered the correct server details.

And the plugin belongs to .../vlcdir/plugins/access, but that shouldn't make any difference.

TRPB commented 8 years ago

I can't seem to get this to work. Is there any documentation for this? Pause works, however if I try to rewind/fast-forward does not.

I've tried using playback > jump forward/backward/skip to position. They make the video pause for a second and then resume where they left off. Is there anything I need to configure to get this working?

I've enabled timeshift in both VLC and TVHeadened.