diff --git a/PeerTubeScript.js b/PeerTubeScript.js index c0afa0e..6313cf8 100644 --- a/PeerTubeScript.js +++ b/PeerTubeScript.js @@ -126,7 +126,7 @@ source.enable = function (conf) { source.getHome = function () { return getVideoPager('/api/v1/videos', { - sort: "best" + sort: "-publishedAt" }, 0); }; diff --git a/icon.png b/icon.png new file mode 100644 index 0000000..8ec3f5e Binary files /dev/null and b/icon.png differ diff --git a/index.html b/index.html index c945688..f410d71 100644 --- a/index.html +++ b/index.html @@ -1 +1,26 @@ -Install + + + Libre Solutions Network PT Plugin for Grayjay + + + +

Libre Solutions Network

+

Peertube Plugin for Grayjay

+ +

See the

+ + + + \ No newline at end of file diff --git a/readme.md b/readme.md index b8f0ba9..b0f8e89 100644 --- a/readme.md +++ b/readme.md @@ -6,6 +6,7 @@ I forked the official [peertube plugin](https://gitlab.futo.org/videostreaming/p My solution isn't very elegant, I'm not familiar with typescript, but this plugin will allow you to browse videos within the network for the [Libre Solutions Network PeerTube](https://peertube.libresolutions.network.) ## Changes made: +- Changing from trending peertube videos to most recent - Setting the baseURL to `peertube.libresolutions.network` - To allow remote videos to load, i had to hardcode `getVideoPager` url parameter with: ```url: "https://peertube.libresolutions.network"+ v.url.substring(v.url.search("/videos/")),```