Skip to content

Releases: nrednav/youtube-playlist-duration-calculator

v2.2.0

04 Aug 15:20
dc8661d
Compare
Choose a tag to compare

What's Changed

Added

  • Added try-catch error handling to main()
  • Created getPlaylistMetadataElement function
    • The playlist metadata element appears to have a different identifier
      depending on if the user has YouTube premium or not
    • This function will take that into account and use the appropriate selector
      to find the metadata element
  • Added youtubePremium variant to list of playlistMetadata element selectors
  • Added translations for fr locale, thanks to @pifopi
  • Implemented sorting by view count & upload date for fr locale
  • Added tests for the fr locale parsers

Fixed

  • Fixed extension not working for youtube premium layouts

Full Changelog: v2.1.4...v2.2.0

v2.1.4

26 Jul 23:36
c5cdfe4
Compare
Choose a tag to compare

What's Changed

  • Fixed a bug where videos with valid timestamps & titles but empty channel names would prevent the duration from being calculated

Full Changelog: v2.1.3...v2.1.4

v2.1.3

13 Jul 02:50
4123047
Compare
Choose a tag to compare

What's Changed

  • Fixed (hopefully) a rare bug where after navigating between playlists the extension would not calculate the total duration despite the playlist being visible
  • Added several debug logs and the ability to display them by appending ?ytpdc-debug=true or &ytpdc-debug=true to the URL

Full Changelog: v2.1.2...v2.1.3

v2.1.2

16 Apr 00:07
5eb5ce7
Compare
Choose a tag to compare

What's Changed

  • In #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

Full Changelog: v2.1.1...v2.1.2

v2.1.1

13 Apr 10:26
868b94c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.1.1

v2.1.0

07 Apr 03:55
3ae2657
Compare
Choose a tag to compare

What's Changed

  • 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)

Full Changelog: v2.0.5...v2.1.0

Screenshots

320241443-8b46ac9e-9db9-4525-b9c3-e609e866e6d5
320241475-64ce5c46-05e1-4b46-b9b0-2099b2abf3a9
320241517-387b9f0a-99d9-4197-913c-191b5fc25f3a

v2.1.0-beta.8

05 Apr 02:38
Compare
Choose a tag to compare
v2.1.0-beta.8 Pre-release
Pre-release

What's Changed

  • feat: add es translations & es views parser #43
  • refactor: change source of language locale code in #41
  • refactor: update zh_CN translations in #42
  • fix: horizontal overflow of sort dropdown for options with long text

Full Changelog: v2.1.0-beta.7...v2.1.0-beta.8

v2.1.0-beta.7

01 Apr 23:55
f5c64d8
Compare
Choose a tag to compare
v2.1.0-beta.7 Pre-release
Pre-release

What's Changed

  • ✨ feat: add i18n support by @nrednav in #37
    • Added translations for zh_CN
    • image
  • fix: inconsistencies when video is removed from playlist by @nrednav in #34
  • refactor: disable sort by upload date for private playlists by @nrednav in #35
  • refactor: reduce complexity of codebase by @nrednav in #36

Full Changelog: v2.1.0-beta.4...v2.1.0-beta.7

v2.1.0-beta.4

27 Mar 19:13
be0c3db
Compare
Choose a tag to compare
v2.1.0-beta.4 Pre-release
Pre-release

What's Changed

  • ✨ feat: implement sorting playlists by various criteria by @nrednav in #33
  • fix: bug with mutation observer when navigating between playlists
  • build: migrate to pnpm by @nrednav in #30
  • fix: bug with logic that sums all timestamps by @nrednav in #31
  • fix: vulnerabilities reported by pnpm audit by @nrednav in #32 and @dependabot in #28

Note: The above is a summary of the notable changes. There were more minor changes which can be viewed by checking each pull-request linked above.

New Contributors

Full Changelog: v2.0.5...v2.1.0-beta.4

v2.0.5

12 Oct 22:57
f35b8db
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.3...v2.0.5