Commit Graph

285 Commits

Author SHA1 Message Date
878ab6307e fix(precise-volume): replace constructor check for volume slider (#3362) 2025-05-27 14:58:19 +09:00
2dbaecff6e fix(album-actions): update playlist and button selectors (#3367)
* fix(album-actions): update playlist and button selectors

* refactor(album-actions): directly access the last element of NodeList

Co-authored-by: Angelos Bouklis <me@arjix.dev>

* refactor(album-actions): directly access the last element of NodeList

Co-authored-by: Angelos Bouklis <me@arjix.dev>

---------

Co-authored-by: Angelos Bouklis <me@arjix.dev>
2025-05-25 00:18:49 +09:00
51b3f53569 feat: refactor 2025-05-20 14:27:30 +09:00
bb69f31f3a Merge branch 'master' into master 2025-05-12 22:34:51 +09:00
afe5fed760 fix(music-together): fix remove unused SYNC_QUEUE from host 2025-05-12 20:39:23 +09:00
981a7f319e feat(discord): centralize activityInfo creation and simplify elapsedSeconds handling
- Extracted activityInfo object construction into the buildActivityInfo helper to remove code duplication in presence updates.

- Removed unnecessary nullish coalescing (?? 0)
2025-05-12 13:17:13 +02:00
42cb9b0ea8 refactor(discord): centralize Discord logic and improve activity update handling 2025-05-12 03:02:55 +02:00
d9ead78083 fix(music-together): fix data integrity 2025-05-12 08:25:32 +09:00
02bf057fbc fix(music-together): fix infinite loop 2025-05-12 07:36:21 +09:00
98be48bb13 fix(music-together): fix connection disconnect message 2025-05-12 06:31:37 +09:00
3200d088cf fix(music-together): remove debug log 2025-05-12 06:21:28 +09:00
edea7b59e1 fix(music-together): fix user profile in queue 2025-05-12 06:19:36 +09:00
d10c6ec8fc fix(music-together): fix queue index 2025-05-12 03:30:02 +09:00
91a2eb9063 fix(music-together): fix unknown user 2025-05-12 02:34:10 +09:00
dfa427f2ed fix(music-together): Removing a connection on error 2025-05-12 01:46:14 +09:00
6d3ac985b2 fix(music-together): add TURN server
limit: 50kbps
2025-05-12 00:46:55 +09:00
d874fcd117 fix(music-together): fix duplicate queue listener 2025-05-12 00:16:53 +09:00
5158b9cd04 fix(music-together): fix duplicate client issue 2025-05-11 23:19:16 +09:00
efc8038210 fix(music-together): fix profile issue 2025-05-11 22:59:53 +09:00
d88406447e fix(discord): improve activity management and state verification in Discord integration 2025-05-10 22:47:28 +02:00
852933d4d7 feat(plugin): support authenticated proxy (#3175)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: JellyBrick <shlee1503@naver.com>
Co-authored-by: qiye45 <qiye45@users.noreply.github.com>
2025-05-11 02:04:00 +09:00
97a277a192 fix(youtube-music): fix #3296, and macOS traffic lights 2025-05-11 01:56:01 +09:00
079e625c69 fix(album-actions): use playlist shelf for playlist detection (#3306) 2025-05-10 20:52:56 +09:00
0c1d300103 fix(discord): restore Hangul Filler patch for short fields in Rich Presence
Re-added the original workaround that pads title, artist, and album fields with the Hangul Filler character (\u3164) if their length is less than 2. This prevents Discord Rich Presence from displaying empty or missing fields when song info is very short.
2025-05-09 00:39:22 +02:00
e0abc4a43b fix(discord): Improve state verification before sending activity updates
- Enhanced the throttling mechanism to ensure that activity updates are only sent if the song state has not changed.
- Added checks for video ID and pause state to prevent unnecessary updates.
- Improved handling of elapsed time during updates.
2025-05-08 21:34:05 +02:00
de273da85f feat(discord): Enhance activity updates with throttling and state management
- Implemented throttling for Discord activity updates to respect rate limits.
- Added state management for song changes, pause state, and elapsed time.
- Introduced buttons for YouTube Music and GitHub links in activity updates.
- Improved handling of paused state and activity timeout configuration.
2025-05-08 21:01:29 +02:00
8bfcd4a139 fix(music-together): fix event order 2025-04-27 06:57:35 +09:00
00041fd146 fix(music-together): fix reconnect logic 2025-04-27 06:05:59 +09:00
1c76415846 feat(performance-improvement): added "performance improvement" plugin 2025-04-27 04:23:48 +09:00
d83556e9fa feat(tuna-obs): added alternativeTitle and tags to tuna (#3288)
thanks to 3206
2025-04-27 02:37:16 +09:00
f70ae4f7c4 fix(synced-lyrics): fix #3157 2025-04-27 02:35:34 +09:00
268e7be15d fix(api-server): disable api-server as default 2025-04-27 02:30:21 +09:00
accd2bf350 fix(music-together): set connection as reliable, add retry logic 2025-04-27 02:19:01 +09:00
6fac8b409e fix: fix cuted "j" and glow in lyrics (#3277)
* fix cuted "j" and glow in lyrics

* added comment in glow lyrics fix
2025-04-25 22:27:29 +09:00
d513302a9a fix(unobtrusive-player): handle shuffle play (#3247) 2025-04-16 23:18:14 +09:00
53193cda98 feat(Synced-Lyrics): Also search for lyrics with the original title language (#3206)
* Add tags array for song info

* Implement original title and original artist search for LRCBLib

* comment cleanup

* Check if microformat.tags is an array
2025-04-16 23:12:04 +09:00
a581ddf80d fix(mpris): keep MPRIS volume in sync with the actual volume (#3226) 2025-04-13 14:56:36 +09:00
fef3b63581 fix: custom Video/Audio switcher in Plugins menu (#3174)
Related to #3167

Update `setVideoState` function and `switchButtonDiv` event listener to handle transition back to audio mode.

* **Update `setVideoState` function**
  - Correctly handle the transition back to audio mode.
  - Update the `hideVideo` property in the plugin configuration.
  - Use `this.config` instead of `config` to set options and update checkbox state.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/th-ch/youtube-music/issues/3167?shareId=XXXX-XXXX-XXXX-XXXX).
2025-04-08 07:46:51 +09:00
edad53e989 fix(downloader): allow downloads for signed out users (#3145)
* fix(downloader): allow downloads for signed out users

* refactor(downloader): use yt.config_.LOGGED_IN for checking sign in status

* Apply suggestions from code review

---------

Co-authored-by: JellyBrick <shlee1503@naver.com>
2025-03-31 22:48:14 +09:00
8e21a10214 Bump version to 3.8.0 2025-03-26 20:51:20 +09:00
4b35a96778 feat(synced-lyrics): romanization (#2790)
* feat(synced-lyrics): init romanization!

* remove debug logs and add TODO

* feat(synced-lyrics/romanization): Mandarin!

* feat(synced-lyrics/romanization): improve japanese detection

* feat(synced-lyrics/romanization): Korean!

* qol(synced-lyrics/romanization): canonicalize punctuation and symbols

* feat(synced-lyrics/romanization): handle japanese+korean and korean+chinese lyrics

* revert formatting on electron.vite.config.mts

* feat(synced-lyrics/romanization): romanize plain lyrics

* apply fix by @kimjammer

* fix lockfile due to rebase

* feat(synced-lyrics): improve lyric processing and formatting;

* feat(synced-lyrics/romanization): add option to enable/disable romanization

* chore: move default value for --lyrics-duration to the declaration

* update lockfile

* fix: improvement

1. improved language detection logic
2. changed code to work in the renderer process

* fix: fix regression (canonicalize)

---------

Co-authored-by: JellyBrick <shlee1503@naver.com>
2025-03-26 20:29:43 +09:00
19fd0d61c6 feat(plugin): add unobtrusive player plugin (#3104)
* feat(plugin): add unobtrusive player plugin

* fix(plugin): add removeEventListener once unobtrusive-player is disabled

* feat(plugin): prevent player page button animation when changing song

* fix(plugin): add removeEventListener for videodatachange once unobtrusive-player is disabled
2025-03-26 19:36:42 +09:00
Tix
e00c357fae fix: Discord Rich Presence Fix (#3074)
* discord presence fix

* Update src/plugins/discord/main.ts

Co-authored-by: JellyBrick <shlee1503@naver.com>

* variable length support

---------

Co-authored-by: JellyBrick <shlee1503@naver.com>
2025-03-24 13:20:50 +09:00
bcdd24d74b feat: Allow scrobbling using alternative song titles (#3093) 2025-03-16 02:42:58 +09:00
49ac17a40e fix(no-google-login): Remove Library icon removal code (#3010) 2025-02-28 23:42:05 +09:00
4ea8fa2561 fix: Filter for only MusicResponsiveListItem in playlist items (#3022) 2025-02-28 23:25:01 +09:00
61ea104d7b fix(downloader): use the upgrade button to check for premium status (#2987) 2025-02-17 12:42:07 +09:00
f47262d27b fix(album-color-theme): fix Color deps 2025-02-17 01:44:24 +09:00
5de07b9a96 fix(downloader): fix pmd undefined 2025-02-14 21:23:19 +09:00
aa48944212 fix(synced-lyrics): Fix reverse direction of synced lyrics for persian or other rtl languages (#2940)
Add direction auto to synced lyrics to fix reverse direction in rtl languages
2025-02-02 23:55:07 +09:00