NikkelM / Random-YouTube-Video

A browser extension that allows you to truly randomly shuffle videos from any YouTube channel, offering many customization options.
https://chromewebstore.google.com/detail/random-youtube-video/kijgnjhogkjodpakfmhgleobifempckf
GNU Lesser General Public License v3.0
17 stars 3 forks source link

Save the playlist if a non-fatal error is encountered #251

Closed NikkelM closed 8 months ago

NikkelM commented 8 months ago

Closes #244

Some errors can be classified as 'Bad Request', e.g. bad shuffle filters for the current channel. In these cases, the playlist that was fetched is still valid, so we can save it locally/upload it to the database.

coveralls commented 8 months ago

Pull Request Test Coverage Report for Build 7070909213


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/shuffleVideo.js 97 103 94.17%
<!-- Total: 102 108 94.44% -->
Totals Coverage Status
Change from base Build 7070755235: -0.04%
Covered Lines: 1352
Relevant Lines: 1440

💛 - Coveralls