2021-04-09 00:05:12 +02:00
|
|
|
A Kodi add-on for watching content hosted on [PeerTube](http://joinpeertube.org/).
|
2018-07-27 11:05:13 +02:00
|
|
|
|
2021-04-11 22:40:44 +02:00
|
|
|
This add-on is under development so only basic features work, and you're
|
|
|
|
welcome to improve it.
|
2021-04-24 16:55:31 +02:00
|
|
|
If you want to contribute, please start with the
|
|
|
|
[contribution guidelines](contributing.md) and the
|
|
|
|
[pending issues](https://framagit.org/StCyr/plugin.video.peertube/-/issues).
|
2021-04-09 00:05:12 +02:00
|
|
|
|
2021-04-29 22:38:14 +02:00
|
|
|
---
|
|
|
|
|
2021-04-09 00:05:12 +02:00
|
|
|
[[_TOC_]]
|
2018-07-27 11:05:13 +02:00
|
|
|
|
2021-04-29 22:38:14 +02:00
|
|
|
# Installation and prerequisites
|
|
|
|
|
|
|
|
Please read the
|
|
|
|
[wiki](https://framagit.org/StCyr/plugin.video.peertube/-/wikis/home)
|
|
|
|
for more information.
|
|
|
|
|
2021-04-08 23:04:46 +02:00
|
|
|
# Features
|
2018-07-31 11:43:38 +02:00
|
|
|
|
2021-04-24 16:55:31 +02:00
|
|
|
* Play videos (including live videos)
|
|
|
|
* Browse the videos on a PeerTube instance
|
2021-04-08 23:04:46 +02:00
|
|
|
* Search for videos on a PeerTube instance
|
2021-04-11 10:44:18 +02:00
|
|
|
* Select the PeerTube instance to use
|
2021-04-24 16:55:31 +02:00
|
|
|
* Select the preferred video resolution: the plugin will try to play the
|
|
|
|
preferred video resolution.
|
2021-03-31 23:58:10 +02:00
|
|
|
If it's not available, it will play the lower resolution that is the closest
|
2021-04-24 16:55:31 +02:00
|
|
|
to your preference.
|
2021-03-31 23:58:10 +02:00
|
|
|
If not available, it will play the higher resolution that is the closest from
|
|
|
|
your preference.
|
2018-07-31 11:43:38 +02:00
|
|
|
|
2021-05-14 13:13:17 +02:00
|
|
|
The following languages are available:
|
|
|
|
* English
|
|
|
|
* French
|
|
|
|
* German
|
|
|
|
|
2021-04-29 22:38:14 +02:00
|
|
|
If you want to help translating the add-on in your language, check
|
|
|
|
[here](contributing.md#translation).
|
|
|
|
|
|
|
|
# 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. You may delete manually the downloaded files in the folder
|
|
|
|
`<kodi_home>/temp/plugin.video.peertube/` (more information about
|
|
|
|
`<kodi_home>` [here](https://kodi.wiki/view/Kodi_data_folder#Location)).
|
|
|
|
|
2018-07-31 11:43:38 +02:00
|
|
|
# User settings
|
|
|
|
|
2021-04-28 23:02:24 +02:00
|
|
|
* Preferred PeerTube instance
|
|
|
|
* Display (or not) a notification when the service starts: the notification
|
|
|
|
lets the user know that the videos can be played which may be useful on slow
|
|
|
|
devices (when the service takes some time to start)
|
2021-04-27 22:24:24 +02:00
|
|
|
* Browsing/Searching:
|
|
|
|
* Number of items to show per page (max 100)
|
|
|
|
* Field used to sort items when listing/searching videos:
|
|
|
|
* `views`: sort by number of views (ascending only)
|
|
|
|
* `likes`: sort by number of likes (ascending only)
|
|
|
|
* Select the filter to use when browsing and searching 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)**
|
|
|
|
* Video playback:
|
|
|
|
* Preferred video resolution
|
2018-07-31 11:43:38 +02:00
|
|
|
|
2021-03-31 23:58:10 +02:00
|
|
|
# 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`
|