Skip to content

Tags: nrednav/youtube-playlist-duration-calculator

Tags

v2.2.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release v2.2.0 (#61)

* fix extension for youtube premium users (#58)
* update selector used for playlistMetadata element in youtube premium layouts
* add support for FR locale (#60)
  * add french translations
  * implement sorting by upload date & view count on fr locale

---------
Co-authored-by: pifopi (DOTTEL Gaël) <dottel.gael@gmail.com>

v2.1.4

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release v2.1.4 (#56)

* fix bug with isUnavailableVideo function related to unavailable channel names

v2.1.3

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release v2.1.3 (#54)

* move src/modules/index.js into src/main.js
* update logger debug method to be controlled by URL search param
* fix logic of checkPlaylistReady
* add debug logs
* add function "isElementVisible"
* move setupPage() from processPlaylist() to the start of main()
* update vite-plugin-web-extension to v4.1.6
* add override for del-cli@5.1.0>braces
* update docs/testing

v2.1.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release v2.1.2 (#51)

* Fixed bug with extension on non-playlist pages where it would spam error logs due to not finding a playlist element
* Fixed bug where playlists containing "Upcoming" videos would not calculate a total duration
* Fixed bug where the yt-navigate-finish event listener was not being removed before a new one could be added
* Added browser console logs to indicate when the extension loads & when it cannot find a playlist

v2.1.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release v2.1.1 (#49)

* fix: bug with timestamp parsing
* refactor: ensure all occurences of '\n' are replaced in the timestamp string

v2.1.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release v2.1.0 (#46)

* Added ability to sort playlists by different criteria (index, duration, views, channel name, upload date)
* Fixed several bugs
    * Bug with mutation observer not disconnecting when navigating between playlists
    * Bug where timestamps were not being summed properly
* Migrated to pnpm from npm
* Addressed vulnerabilities reported by pnpm audit and dependabot
* Added i18n support
    * Added translations for english, spanish (es, es-419, es-us), portuguese (pt-PT, pt-BR), chinese (zh-Hans-CN, zh-Hant-TW)
* Refactored several parts of codebase to reduce complexity
* Added & updated documentation (README, testing, adding translations)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v2.1.0-beta.8

fix: horizontal overflow in sort dropdown

v2.1.0-beta.7

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add i18n (#37)

* build: add default_locale to manifest.json
* feat: add i18n support
* feat: add zh_CN as locale, refactor sort by views, re-organize library modules
* build: bump beta version to 7
* docs: update README
* refactor: dry-ify calls to .slice(0, 100) on videos array
* refactor: Array.from -> spread-syntax
* feat: implement locale parsers for sort-by-upload-date
* refactor: remove base view parser
* refactor: move sort strategy selection within PlaylistSorter construction
* feat: add more zh_CN translations
* feat: open more playlist types in new tabs during dev mode (for testing)
* refactor: update en translations
* feat: add more zh_CN translations
* refactor: implementation of countUnavailableVideos()
* refactor: move more selectors into elementSelectors object
* refactor: re-organize file & folder structure
* fix: reset global state in onYoutubeNavigationFinished

v2.1.0-beta.4

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: implement sorting playlists by various criteria (#33)

* refactor: move most inline style definitions to a main.css stylesheet
* build: bump beta version to 4
* feat: implement library/sorting via strategy design pattern
* refactor: re-organize * rename modules
* style: fix naming, add comments
* docs: update readme, update screenshots

v2.0.5

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
v2.0.5: add build process + minor tweaks to code structure (#25)

* update package.json + remove eslint-airbnb
* feat: add & setup prettier code formatting
* feat: add & setup husky + lint-staged
* refactor: sync changes introduced in 2.0.4
* feat: cleanup content.js + update manifest.json
* fix issues with vite.config.js not being able to read env variables
* docs: update README
* style: cleanup
* remove old files

---------

Co-authored-by: Californ1a <rk_california@yahoo.com>