Un add-on di Kodi per guardare contenuti ospitati su PeerTube. Riprodurre video (compresi i video in diretta) Sfoglia i video su un'istanza Cercare i video su un'istanza Selezionare l'istanza di PeerTube da utilizzare https://peertube.uno
Go to file
Thomas 0efeb9ffdf Support videos when WebTorrent is disabled
The URL of the video is not stored in the same attribute of the response
if WebTorrent is enabled or not.
It caused a bug when trying to play a video which do not use WebTorrent.

Also create a "quality" job to run pylint automatically on merge
requests. The contributing guidelines are updated with this information
and the remaining pylint violations were fixed in the code.

See merge request StCyr/plugin.video.peertube!11 for more information
2021-04-11 21:51:35 +00:00
misc Support videos when WebTorrent is disabled 2021-04-11 21:51:35 +00:00
resources Support videos when WebTorrent is disabled 2021-04-11 21:51:35 +00:00
.gitignore Support videos when WebTorrent is disabled 2021-04-11 21:51:35 +00:00
.gitlab-ci.yml Support videos when WebTorrent is disabled 2021-04-11 21:51:35 +00:00
LICENSE.txt Initial commit. 2018-07-26 11:33:47 +02:00
README.md Create a CI job to release the add-on 2021-04-11 20:40:44 +00:00
addon.xml Release 1.0.0 2021-04-08 22:05:12 +00:00
contributing.md Support videos when WebTorrent is disabled 2021-04-11 21:51:35 +00:00
icon.png icon.png was bad 2018-07-26 22:08:38 +02:00
peertube.py Support videos when WebTorrent is disabled 2021-04-11 21:51:35 +00:00
service.py Support videos when WebTorrent is disabled 2021-04-11 21:51:35 +00:00

README.md

A Kodi add-on for watching content hosted on PeerTube.

This add-on is under development so only basic features work, and you're welcome to improve it.
See contribution guidelines and pending issues to start.

[[TOC]]

Features

  • Browse all videos on a PeerTube instance
  • Search for videos on a PeerTube instance
  • Select the PeerTube instance to use
  • Select the preferred video resolution: the plugin will try to play the select video resolution. If it's not available, it will play the lower resolution that is the closest from your preference. If not available, it will play the higher resolution that is the closest from your preference.

User settings

  • Preferred PeerTube instance
  • Preferred video resolution
  • Number of videos to display per page
  • Sort method to be used when listing videos (Currently, only 'views' and 'likes')
  • Select the filter to use when browsing the videos on an instance:
    • local will only display the videos which are local to the selected instance
    • all-local will only display the videos which are local to the selected instance plus the private and unlisted videos (requires admin privileges)

API

This add-on can be called from other add-ons in Kodi to play videos thanks to the following API:

plugin://plugin.video.peertube/?action=play_video&instance=<instance>&id=<id>

where:

  • <instance> is the base URL of the instance hosting the video
  • <id> is the ID or the UUID of the video on the instance server

For instance to play the video behind the URL https://framatube.org/videos/watch/9c9de5e8-0a1e-484a-b099-e80766180a6d call the add-on with:

plugin://plugin.video.peertube/?action=play_video&instance=framatube.org&id=9c9de5e8-0a1e-484a-b099-e80766180a6d

Limitations

  • This add-on doesn't support Webtorrent yet. So, it cannot download/share from/to regular PeerTube clients.
  • The add-on doesn't delete the downloaded files at the moment. So, it may fill up your disk.

Installation and prerequisites

Please read the wiki for more information.