kodi.plugin.video.peertube/resources
Thomas Bétous 1ebb06d271 Pause download when playback stops
Use the add-on's service to monitor when the playback is stopped.
When it occurs, the download of the torrent is paused to have a
behavior similar to streaming.

To be able to pause the torrent, the service needs to use the
torrent handle. The torrent handle is recreated on the service-side
using the URL that was sent to vfs.libtorrent. This URL is sent to
the service before the playback starts using the AddonSignals.
Calling `xbmcvfs.File()` on existing torrent is fast enough for this
solution to be used even on slow devices.
2021-10-10 22:10:43 +02:00
..
language Pause download when playback stops 2021-10-10 22:10:43 +02:00
lib Pause download when playback stops 2021-10-10 22:10:43 +02:00
media Use PeerTube mascot as icon in the notifications 2021-04-28 21:16:20 +00:00
__init__.py Guide the user when libtorrent cannot be imported 2021-04-08 23:25:49 +02:00
icon.png Various small updates before releasing v1.1 2021-04-30 16:35:20 +00:00
settings.xml Notify the user when the service started 2021-04-28 21:02:24 +00:00