1
0
mirror of https://gitlab.com/Cha_deL/peertubeify synced 2025-02-19 21:10:42 +01:00
Ealhad 208e39ebd4 Fix bugs deleting all saved time entries use ResumeManager class
The first one is a stupid mistake due to the fact I was only testing with one
video at a time, so I didn't notice that the first item of the list was getting
deleted if the entry wasn't found.

The second one: I didn't like the `setInterval`, because I couldn't stop it, but
I didn't think of another solution first. Now the function calls itself with a
`setTimeout`, only when it knows the video hasn't ended yet — no infinite calls
anymore. And each time we get a new video, we `runResume()`, whith the
ResumeManager class handling the preferences.

This code can clearly be improved, but bug's fixed.
2019-02-19 13:49:42 +01:00
2018-08-10 02:15:35 +02:00
2018-08-14 12:42:49 +02:00
2018-08-11 23:47:10 +02:00
2018-11-12 17:08:51 +01:00

Peertubeify

PeerTubeify is a browser extension to help discovering which YouTube videos are also available on PeerTube, by displaying a link and a thumbnail below the video title, when watching a video on YouTube.

If you choose to automatically redirect from YouTube to PeerTube, it uses Invidious to get the video information without making any requests to YouTube from your browser, for added privacy.

It also allows you to choose a preferred PeerTube instance; when you watch a video on another instance, a link to the same video in your preferred instance is displayed.

PeerTube is a federated video streaming platform.

PeerTubeify is not affiliated with PeerTube.

Get it on Firefox or Chrome/Chromium.

How does it work?

Most videos have the same title on YouTube and PeerTube. Hence — for now? — PeerTubeify uses the /search/videos endpoint of the PeerTube API to check if a video with the same title exists.

Contributing

Yes please!

License

PeerTubeify is released under the GNU GPL version 3. See COPYING.

Thanks

  • @Nutomic for hosting peertube.video, the default instance used by PeerTubeify
  • @Booteille for having implemented the Individious feature
  • Omar Roth for letting us use Invidious
Description
PeerTubeify è un'estensione per il browser che aiuta a scoprire quali video di YouTube sono disponibili anche su PeerTube, visualizzando un link e una miniatura sotto il titolo del video quando si guarda un video su YouTube.
https://peertube.uno Readme 178 KiB
Languages
TypeScript 85.4%
HTML 7.4%
JavaScript 5.3%
Makefile 1.9%