Commit Graph

18 Commits

Author SHA1 Message Date
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
Booteille 8eca34b755
Add support for Invidious 2019-02-17 20:07:50 +01:00
Ealhad 8c24a4383f Update version and dependencies 2018-11-22 16:17:33 +01:00
Ealhad 186f1d4fe2 Update README and version 2018-11-12 17:08:51 +01:00
Booteille c676af242a
Redirect before calling Youtube
Add the ability to call Invidious API and use it to prevent any call to youtube servers.
Refactor some methods and move them in util.js.
2018-11-11 16:29:38 +01:00
Ealhad 4ca19de083 Update version 2018-11-09 17:09:19 +01:00
Ealhad 7b4d0db96d Update version 2018-11-09 14:44:52 +01:00
Ealhad f4f2f9ef4a Update version and dependencies 2018-11-09 14:40:58 +01:00
Ealhad bb34f11308 Update dependencies and version 2018-11-09 11:29:38 +01:00
Ealhad 8602c34825 Enable webpack code splitting to drastically reduce package size
4x lodash was a bit too much, I think.
2018-11-04 09:06:02 +01:00
Ealhad f197253e52 Add the possibility to display a link when on another PeerTube instance 2018-09-15 18:31:00 +02:00
Ealhad 59027cb927 Update dependencies and version 2018-08-28 23:38:24 +02:00
Ealhad d396a42abf Update version 2018-08-28 23:15:39 +02:00
Ealhad 1683cc2480 Increment version 2018-08-14 12:45:21 +02:00
Ealhad 462eded1ae Add icons to manifest 2018-08-14 12:42:49 +02:00
Ealhad 66f9b3a391 Add options page 2018-08-11 23:48:55 +02:00
Ealhad f9cfbcd451 Bump version to 0.2.1 2018-08-11 00:34:47 +02:00
Ealhad 7d97eb5885 v0.2: use webpack, and DOM mutations to properly handle YT navigation 2018-08-10 15:45:07 +02:00