author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
675,352
09.11.2021 15:17:26
-7,200
72b43980241671bde22a2fe7f48e62f20962d732
lint&fix video-toggle plugin
[ { "change_type": "MODIFY", "old_path": "plugins/video-toggle/front.js", "new_path": "plugins/video-toggle/front.js", "diff": "@@ -20,7 +20,7 @@ module.exports = (_options) => {\nfunction setup() {\n$('ytmusic-player-page').prepend(switchButtonDiv);\n- $('#song-image.ytmusic-player').style.display = ...
JavaScript
MIT License
th-ch/youtube-music
lint&fix video-toggle plugin
675,352
09.11.2021 16:08:40
-7,200
895136af0ad1f4423c7a9bfab11c4d8ac523fcf7
used youtube's videodatachange event
[ { "change_type": "MODIFY", "old_path": "plugins/disable-autoplay/front.js", "new_path": "plugins/disable-autoplay/front.js", "diff": "module.exports = () => {\n- document.addEventListener('apiLoaded', () => {\n- document.querySelector('video').addEventListener('srcChanged', e => {\n- e.target.pause(...
JavaScript
MIT License
th-ch/youtube-music
used youtube's videodatachange event
675,352
09.11.2021 18:15:26
-7,200
6dbed73e6be8e10029faad3e702d9bc1a62d6b0a
fix disable autoplay
[ { "change_type": "MODIFY", "old_path": "plugins/disable-autoplay/front.js", "new_path": "plugins/disable-autoplay/front.js", "diff": "module.exports = () => {\n- document.addEventListener('apiLoaded', e => {\n- document.querySelector('video').addEventListener('srcChanged', () => {\n- e.detail.pauseV...
JavaScript
MIT License
th-ch/youtube-music
fix disable autoplay
675,352
10.11.2021 18:37:16
-7,200
9a7baeac231d7c5e4747eab779facee4b224a569
fix tuna time update
[ { "change_type": "MODIFY", "old_path": "plugins/tuna-obs/back.js", "new_path": "plugins/tuna-obs/back.js", "diff": "-const { ipcRenderer } = require(\"electron\");\n+const { ipcMain } = require(\"electron\");\nconst fetch = require('node-fetch');\nconst registerCallback = require(\"../../providers/s...
JavaScript
MIT License
th-ch/youtube-music
fix tuna time update
675,352
10.11.2021 19:08:19
-7,200
5492afe5f6959940729b1859470c1fc0b8402c36
add catch to fetch
[ { "change_type": "MODIFY", "old_path": "plugins/tuna-obs/back.js", "new_path": "plugins/tuna-obs/back.js", "diff": "@@ -23,7 +23,7 @@ const post = async (data) => {\n'Access-Control-Allow-Origin': '*'\n}\nconst url = `http://localhost:${port}/`;\n- fetch(url, { method: 'POST', headers, body: JSON.st...
JavaScript
MIT License
th-ch/youtube-music
add catch to fetch
675,352
10.11.2021 20:11:45
-7,200
02d5b78f553a1e7257647208dad06e320670697d
add songInfo.album
[ { "change_type": "MODIFY", "old_path": "plugins/shortcuts/back.js", "new_path": "plugins/shortcuts/back.js", "diff": "@@ -68,9 +68,8 @@ function registerShortcuts(win, options) {\nconst player = setupMPRIS();\n- const mprisSeek = p => {\n- player.seeked(p);\n- }\n+ const mprisSeek = player.seeked;\n...
JavaScript
MIT License
th-ch/youtube-music
add songInfo.album
675,352
10.11.2021 20:44:13
-7,200
08fdd07969d2090d20ab8c5358e649fe86faec2d
speed up sponsorblock
[ { "change_type": "MODIFY", "old_path": "plugins/sponsorblock/back.js", "new_path": "plugins/sponsorblock/back.js", "diff": "const fetch = require(\"node-fetch\");\nconst is = require(\"electron-is\");\n+const { ipcMain } = require(\"electron\");\nconst defaultConfig = require(\"../../config/defaults...
JavaScript
MIT License
th-ch/youtube-music
speed up sponsorblock
675,352
10.11.2021 22:06:03
-7,200
87ee7ed83de1523911f82e9861ead7c09ef35f6a
lint video-toggle
[ { "change_type": "MODIFY", "old_path": "plugins/video-toggle/front.js", "new_path": "plugins/video-toggle/front.js", "diff": "@@ -4,7 +4,7 @@ const { setOptions } = require(\"../../config/plugins\");\nfunction $(selector) { return document.querySelector(selector); }\n-let options;\n+let options, pla...
JavaScript
MIT License
th-ch/youtube-music
lint video-toggle
675,352
12.11.2021 16:39:43
-7,200
071799c435dcaa69beaa15d0441c70c02d4e3c3a
fix some shortcuts
[ { "change_type": "MODIFY", "old_path": "providers/song-controls.js", "new_path": "providers/song-controls.js", "diff": "@@ -13,8 +13,8 @@ module.exports = (win) => {\nprevious: () => pressKey(win, \"k\"),\nnext: () => pressKey(win, \"j\"),\nplayPause: () => pressKey(win, \"space\"),\n- like: () => p...
JavaScript
MIT License
th-ch/youtube-music
fix some shortcuts
675,352
12.11.2021 17:46:40
-7,200
cfe719b6bd2db3f15e668930df43a678cbc7c2f6
use native thumbnail without modifiers
[ { "change_type": "MODIFY", "old_path": "plugins/video-toggle/front.js", "new_path": "plugins/video-toggle/front.js", "diff": "@@ -98,6 +98,6 @@ function observeThumbnail() {\nfunction forceThumbnail(img) {\nconst thumbnails = $('#movie_player').getPlayerResponse()?.videoDetails?.thumbnail?.thumbnail...
JavaScript
MIT License
th-ch/youtube-music
use native thumbnail without modifiers
675,352
12.11.2021 18:42:58
-7,200
b27a959c2b4eaf888f73919ece812d8df385e06d
fix video-toggle&precise-volume interaction
[ { "change_type": "MODIFY", "old_path": "plugins/precise-volume/front.js", "new_path": "plugins/precise-volume/front.js", "diff": "@@ -39,13 +39,13 @@ function firstRun(options) {\nfunction injectVolumeHud(noVid) {\nif (noVid) {\nconst position = \"top: 18px; right: 60px; z-index: 999; position: abso...
JavaScript
MIT License
th-ch/youtube-music
fix video-toggle&precise-volume interaction
675,361
12.11.2021 17:58:39
10,800
8da78d50c4d977d218d88dc9c9372a11c84a0125
Exponential Volume Plugin
[ { "change_type": "ADD", "old_path": null, "new_path": "plugins/exponential-volume/front.js", "diff": "+// \"Youtube Music fix volume ratio 0.4\" by Marco Pfeiffer\n+// https://greasyfork.org/en/scripts/397686-youtube-music-fix-volume-ratio/\n+\n+const exponentialVolume = () => {\n+ // manipulation e...
JavaScript
MIT License
th-ch/youtube-music
Exponential Volume Plugin
675,352
14.11.2021 21:59:04
-7,200
93e0664f95dcb7ebd7037e47bd822510d484bd40
fix height & blur of search page item header
[ { "change_type": "MODIFY", "old_path": "plugins/blur-nav-bar/style.css", "new_path": "plugins/blur-nav-bar/style.css", "diff": "-#nav-bar-background, #header.ytmusic-item-section-renderer {\n+#nav-bar-background,\n+#header.ytmusic-item-section-renderer,\n+ytmusic-tabs {\nbackground: rgba(0, 0, 0, 0....
JavaScript
MIT License
th-ch/youtube-music
fix height & blur of search page item header
675,352
14.11.2021 23:43:04
-7,200
6726e2600b3ca3a8d68e3e1b95b50da211fa354d
rework songInfo pause listener
[ { "change_type": "MODIFY", "old_path": "plugins/sponsorblock/back.js", "new_path": "plugins/sponsorblock/back.js", "diff": "@@ -13,7 +13,7 @@ module.exports = (win, options) => {\n...options,\n};\n- ipcMain.on(\"song-info-request\", async (_, data) => {\n+ ipcMain.on(\"video-src-changed\", async (_,...
JavaScript
MIT License
th-ch/youtube-music
rework songInfo pause listener
675,352
21.11.2021 19:44:01
-7,200
185ebbf41792113815dcfcc6dcc654302b0f3150
fix downloader playlist download
[ { "change_type": "MODIFY", "old_path": "plugins/downloader/menu.js", "new_path": "plugins/downloader/menu.js", "diff": "const { existsSync, mkdirSync } = require(\"fs\");\nconst { join } = require(\"path\");\n-const { URL } = require(\"url\");\n-const { dialog } = require(\"electron\");\n+const { di...
JavaScript
MIT License
th-ch/youtube-music
fix downloader playlist download
675,352
22.11.2021 18:20:12
-7,200
92452f804f62f19b12f31bcfbf579191006ce85c
fix song-info-request
[ { "change_type": "MODIFY", "old_path": "providers/song-info-front.js", "new_path": "providers/song-info-front.js", "diff": "@@ -19,16 +19,24 @@ module.exports = () => {\napiEvent.detail.addEventListener('videodatachange', (name, _dataEvent) => {\nif (name !== 'dataloaded') return;\nvideo.dispatchEve...
JavaScript
MIT License
th-ch/youtube-music
fix song-info-request
675,352
22.11.2021 18:33:32
-7,200
abc1712cf7669f21f8faee40adc956a4d34c162e
fix counter prompt
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"@ffmpeg/ffmpeg\": \"^0.10.0\",\n\"async-mutex\": \"^0.3.2\",\n\"browser-id3-writer\": \"^4.4.0\",\n- \"custom-electron-prompt\": \"^1.2.0\",\n+ \"custom-electron-prompt\": \"^1.3.0\",\n\"chokidar\": \"^3.5....
JavaScript
MIT License
th-ch/youtube-music
fix counter prompt
675,352
22.11.2021 18:59:29
-7,200
7ba205cc6c35f1ac9b29350e83d56ce9ec64d08a
fix backquotes in keybind prompt
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"@ffmpeg/ffmpeg\": \"^0.10.0\",\n\"async-mutex\": \"^0.3.2\",\n\"browser-id3-writer\": \"^4.4.0\",\n- \"custom-electron-prompt\": \"^1.3.0\",\n+ \"custom-electron-prompt\": \"^1.3.1\",\n\"chokidar\": \"^3.5....
JavaScript
MIT License
th-ch/youtube-music
fix backquotes in keybind prompt
675,352
22.11.2021 22:52:38
-7,200
c99b95e611c0c36d7577650b6fc2703738af72dc
use `config.plugins.isEnabled`
[ { "change_type": "MODIFY", "old_path": "plugins/shortcuts/mpris.js", "new_path": "plugins/shortcuts/mpris.js", "diff": "@@ -22,14 +22,12 @@ function registerMPRIS(win) {\nconst microToSec = n => Math.round(Number(n) / 1e6);\nconst seekTo = e => win.webContents.send(\"seekTo\", microToSec(e.position)...
JavaScript
MIT License
th-ch/youtube-music
use `config.plugins.isEnabled`
675,352
23.11.2021 18:19:37
-7,200
8c5ac17cdfaaf2d4daeafa2ef35d302e6184df7a
fix multiple songInfo calls on start
[ { "change_type": "MODIFY", "old_path": "providers/song-info-front.js", "new_path": "providers/song-info-front.js", "diff": "@@ -22,21 +22,22 @@ module.exports = () => {\nsendSongInfo();\n})\n- video.addEventListener('pause', e => {\n- ipcRenderer.send(\"playPaused\", { isPaused: true, elapsedSeconds...
JavaScript
MIT License
th-ch/youtube-music
fix multiple songInfo calls on start
675,352
03.12.2021 14:43:30
-7,200
2daee01ff78f01cb87f14748381f0c41191c7cbe
Fix bugs from bad merge conflict solving fix missing songControls use player.seeked directly fix 'seeked' event listener fix e.target instead of e.detail in apiLoaded event fix document.querySelector('video') before apiLoaded setup timeChange Listener if linux+shortcuts enabled
[ { "change_type": "MODIFY", "old_path": "plugins/shortcuts/mpris.js", "new_path": "plugins/shortcuts/mpris.js", "diff": "const mpris = require(\"mpris-service\");\nconst { ipcMain } = require(\"electron\");\nconst registerCallback = require(\"../../providers/song-info\");\n+const getSongControls = re...
JavaScript
MIT License
th-ch/youtube-music
Fix bugs from bad merge conflict solving -fix missing songControls -use player.seeked directly -fix 'seeked' event listener -fix e.target instead of e.detail in apiLoaded event -fix document.querySelector('video') before apiLoaded -setup timeChange Listener if linux+shortcuts enabled
675,352
13.12.2021 01:11:13
-7,200
e1e974800240e0129ab69710f055fe7cd2c128ef
always on useragent
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -197,13 +197,6 @@ app.once(\"browser-window-created\", (event, win) => {\nevent.preventDefault();\n});\n- win.webContents.on(\"will-navigate\", (_, url) => {\n- if (url.startsWith(\"https://accounts.google.com\"))...
JavaScript
MIT License
th-ch/youtube-music
always on useragent
675,352
13.12.2021 20:10:36
-7,200
4fd683ed232c6ed530a1ad5d9412f8ee90d39ab3
update electron & remote module
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "const path = require(\"path\");\nconst electron = require(\"electron\");\n+const remote = require('@electron/remote/main');\n+remote.initialize();\nconst enhanceWebRequest = require(\"electron-better-web-request\").d...
JavaScript
MIT License
th-ch/youtube-music
update electron & remote module
675,352
13.12.2021 21:06:52
-7,200
2fb47933acc7a616141dc057ecf955f3d348e25c
fix useragents
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -165,6 +165,22 @@ function createMainWindow() {\n}\napp.once(\"browser-window-created\", (event, win) => {\n+ // Force user-agent \"Firefox Windows\" for Google OAuth to work\n+ // From https://github.com/firebase...
JavaScript
MIT License
th-ch/youtube-music
fix useragents
675,352
14.12.2021 00:34:10
-7,200
c8ba85be766dc43f7f7a7073f9996769f7fc3dcd
use firefox as falllback useragent
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -165,22 +165,21 @@ function createMainWindow() {\n}\napp.once(\"browser-window-created\", (event, win) => {\n- // Force user-agent \"Firefox Windows\" for Google OAuth to work\n- // From https://github.com/firebas...
JavaScript
MIT License
th-ch/youtube-music
use firefox as falllback useragent
675,352
14.12.2021 00:34:32
-7,200
a273f6f73c057453e88a72825cb133a4bcdfebd8
fix video toggle button appearing when in song mode
[ { "change_type": "MODIFY", "old_path": "plugins/video-toggle/front.js", "new_path": "plugins/video-toggle/front.js", "diff": "@@ -56,7 +56,7 @@ function changeDisplay(showVideo) {\n}\nfunction videoStarted() {\n- if (player.videoMode_) {\n+ if (api.getPlayerResponse().videoDetails.musicVideoType !==...
JavaScript
MIT License
th-ch/youtube-music
fix video toggle button appearing when in song mode
675,352
14.12.2021 19:22:02
-7,200
47ca6e0b1f81a6cca84bdd039f6943d85b4e6203
use `session.webRequest.onBeforeSendHeaders` for useragent
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -166,19 +166,28 @@ function createMainWindow() {\napp.once(\"browser-window-created\", (event, win) => {\n// User agents are from https://developers.whatismybrowser.com/useragents/explore/\n-\n+ const originalUser...
JavaScript
MIT License
th-ch/youtube-music
use `session.webRequest.onBeforeSendHeaders` for useragent
675,343
14.12.2021 23:16:41
-3,600
11429978c95d44add0cf1b5d20854936d760ce27
Add plugin to skip silences
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"electron-unhandled\": \"^3.0.2\",\n\"electron-updater\": \"^4.6.1\",\n\"filenamify\": \"^4.3.0\",\n+ \"hark\": \"^1.2.3\",\n\"md5\": \"^2.3.0\",\n\"mpris-service\": \"^2.1.2\",\n\"node-fetch\": \"^2.6.6\",\...
JavaScript
MIT License
th-ch/youtube-music
Add plugin to skip silences
675,352
16.12.2021 18:01:11
-7,200
3764ce9a7ca79b7142de5ac52af71281832a73b0
update custom-electron-titlebar
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"@electron/remote\": \"^2.0.1\",\n\"@ffmpeg/core\": \"^0.10.0\",\n\"@ffmpeg/ffmpeg\": \"^0.10.0\",\n- \"@rozzzly/custom-electron-titlebar\": \"^3.3.1\",\n\"async-mutex\": \"^0.3.2\",\n\"browser-id3-writer\":...
JavaScript
MIT License
th-ch/youtube-music
update custom-electron-titlebar
675,352
16.12.2021 18:28:49
-7,200
49edbf723f7b119333fc9bbc9bd6a0f435061f5e
fix custom-electron-prompt & remote
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"async-mutex\": \"^0.3.2\",\n\"browser-id3-writer\": \"^4.4.0\",\n\"chokidar\": \"^3.5.2\",\n- \"custom-electron-prompt\": \"^1.3.1\",\n+ \"custom-electron-prompt\": \"^1.4.0\",\n\"custom-electron-titlebar\"...
JavaScript
MIT License
th-ch/youtube-music
fix custom-electron-prompt & remote
675,352
16.12.2021 19:29:09
-7,200
8f2ed3039a5f30eeaf372afc4bcb1105b080bee9
add comment to useragent fix
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -183,6 +183,7 @@ app.once(\"browser-window-created\", (event, win) => {\napp.userAgentFallback = updatedUserAgent;\nwin.webContents.session.webRequest.onBeforeSendHeaders((details, cb) => {\n+ // this will only ha...
JavaScript
MIT License
th-ch/youtube-music
add comment to useragent fix
675,352
18.12.2021 21:03:32
-7,200
02a989ca0770e5220d76b35b689d44f440778c1a
fix unnecessary skips
[ { "change_type": "MODIFY", "old_path": "plugins/skip-silences/front.js", "new_path": "plugins/skip-silences/front.js", "diff": "@@ -6,7 +6,7 @@ module.exports = () => {\ndocument.addEventListener(\"apiLoaded\", (apiEvent) => {\nconst video = document.querySelector(\"video\");\nconst speechEvents = h...
JavaScript
MIT License
th-ch/youtube-music
fix unnecessary skips
675,354
23.12.2021 11:36:11
25,200
5fbc0f8122313e2aec1865ffa93fc57863766d87
Add album art/thumbnail to discord activity
[ { "change_type": "MODIFY", "old_path": "plugins/discord/back.js", "new_path": "plugins/discord/back.js", "diff": "@@ -103,7 +103,7 @@ module.exports = (win, { activityTimoutEnabled, activityTimoutTime, listenAlong\ntype: 2, // Listening, addressed in https://github.com/discordjs/RPC/pull/149\ndetail...
JavaScript
MIT License
th-ch/youtube-music
Add album art/thumbnail to discord activity
675,352
24.12.2021 01:58:15
-7,200
ed7025b4a26146b5d7a477f34552708584a5ee39
fix precise-volume options sync
[ { "change_type": "MODIFY", "old_path": "plugins/precise-volume/front.js", "new_path": "plugins/precise-volume/front.js", "diff": "@@ -34,6 +34,14 @@ function firstRun(options) {\nif (!noVid) {\nsetupVideoPlayerOnwheel(options);\n}\n+\n+ // Change options from renderer to keep sync\n+ ipcRenderer.on(...
JavaScript
MIT License
th-ch/youtube-music
fix precise-volume options sync
675,343
30.12.2021 14:58:21
-3,600
4d4ac5648666ef36cdd2f95713eac93c5b6c6128
Ensure NODE_OPTIONS are unset in dev mode to avoid warning
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "},\n\"scripts\": {\n\"test\": \"jest\",\n- \"start\": \"electron .\",\n+ \"start\": \"NODE_OPTIONS= electron .\",\n\"start:debug\": \"ELECTRON_ENABLE_LOGGING=1 electron .\",\n\"icon\": \"rimraf assets/generat...
JavaScript
MIT License
th-ch/youtube-music
Ensure NODE_OPTIONS are unset in dev mode to avoid warning
675,343
30.12.2021 14:59:11
-3,600
33faa2deb38428903379a7a8286ffdf8a40e2b12
nit: improve comment for shared Array Buffer
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -28,7 +28,7 @@ app.commandLine.appendSwitch(\n// WebAssembly flags\n\"--experimental-wasm-threads\"\n);\n-app.commandLine.appendSwitch('enable-features', \"SharedArrayBuffer\"); // Fix downloader bug\n+app.command...
JavaScript
MIT License
th-ch/youtube-music
nit: improve comment for shared Array Buffer
675,343
30.12.2021 18:46:43
-3,600
8d66735585e7b369673911e1d3cb9220a5f61e05
Add presets to FFmpeg in menu
[ { "change_type": "MODIFY", "old_path": "config/defaults.js", "new_path": "config/defaults.js", "diff": "@@ -36,6 +36,7 @@ const defaultConfig = {\nenabled: false,\nffmpegArgs: [], // e.g. [\"-b:a\", \"192k\"] for an audio bitrate of 192kb/s\ndownloadFolder: undefined, // Custom download folder (abso...
JavaScript
MIT License
th-ch/youtube-music
Add presets to FFmpeg in menu
675,343
30.12.2021 19:39:03
-3,600
c45e4e50fc6aaf30657266ad29206c65fd071519
Bump electron to 16.0.5
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"ytpl\": \"^2.2.3\"\n},\n\"devDependencies\": {\n- \"electron\": \"^16.0.2\",\n+ \"electron\": \"^16.0.5\",\n\"electron-builder\": \"^22.10.5\",\n\"electron-devtools-installer\": \"^3.1.1\",\n\"electron-icon...
JavaScript
MIT License
th-ch/youtube-music
Bump electron to 16.0.5
675,343
02.01.2022 22:31:19
-3,600
4d595f56d5fe35df1e1be0cfb1102190327b625c
Update readme (Spectron -> Playwright)
[ { "change_type": "MODIFY", "old_path": "readme.md", "new_path": "readme.md", "diff": "@@ -138,7 +138,7 @@ Builds the app for macOS, Linux, and Windows, using [electron-builder](https://g\nyarn test\n```\n-Uses [Spectron](https://www.electronjs.org/spectron) to test the app.\n+Uses [Playwright](https...
JavaScript
MIT License
th-ch/youtube-music
Update readme (Spectron -> Playwright)
675,341
04.01.2022 15:18:19
-3,600
75999e9dcfdba9bc7bdb1d1d5626ba612ae31bdd
xesam:artist should be a list
[ { "change_type": "MODIFY", "old_path": "plugins/shortcuts/mpris.js", "new_path": "plugins/shortcuts/mpris.js", "diff": "@@ -67,7 +67,7 @@ function registerMPRIS(win) {\n'mpris:length': secToMicro(songInfo.songDuration),\n'mpris:artUrl': songInfo.imageSrc,\n'xesam:title': songInfo.title,\n- 'xesam:ar...
JavaScript
MIT License
th-ch/youtube-music
xesam:artist should be a list
675,352
03.01.2022 17:21:13
-7,200
98f990fcdd498913a18b6a4ea5e37f36aa1513bc
dont send callback on playPause() if still handling data from new song fix notifications showing thumbnail of last song
[ { "change_type": "MODIFY", "old_path": "providers/song-info.js", "new_path": "providers/song-info.js", "diff": "@@ -86,10 +86,14 @@ const registerCallback = (callback) => {\ncallbacks.push(callback);\n};\n+let handlingData = false;\n+\nconst registerProvider = (win) => {\n// This will be called when...
JavaScript
MIT License
th-ch/youtube-music
dont send callback on playPause() if still handling data from new song fix notifications showing thumbnail of last song
675,343
07.01.2022 22:09:26
-3,600
81dadeddb9f107a7f6c92d39897a94cdd7965317
Disable NODE_OPTIONS in entry file
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -22,6 +22,9 @@ unhandled({\nshowDialog: false,\n});\n+// Disable Node options if the env var is set\n+process.env.NODE_OPTIONS = \"\";\n+\nconst app = electron.app;\napp.commandLine.appendSwitch(\n\"js-flags\",\n"...
JavaScript
MIT License
th-ch/youtube-music
Disable NODE_OPTIONS in entry file
675,352
11.01.2022 20:14:33
-7,200
e8bbc5ec1cd3d60e84fd1f0db1f0ffc2d1f6c879
fix app starting offscreen
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -124,8 +124,15 @@ function createMainWindow() {\nremote.enable(win.webContents);\nif (windowPosition) {\nconst { x, y } = windowPosition;\n+ if(x + win.getSize()[0] < 0 || x - win.getSize()[0] > electron.screen.ge...
JavaScript
MIT License
th-ch/youtube-music
fix app starting offscreen
675,352
11.01.2022 22:44:06
-7,200
5e68d2487ff068ddf21b5562ea1dbaff0faf8f73
allow downloading playlists from popup menu
[ { "change_type": "MODIFY", "old_path": "plugins/downloader/front.js", "new_path": "plugins/downloader/front.js", "diff": "-const { contextBridge } = require(\"electron\");\n+const { ipcRenderer } = require(\"electron\");\nconst { defaultConfig } = require(\"../../config\");\nconst { getSongMenu } = ...
JavaScript
MIT License
th-ch/youtube-music
allow downloading playlists from popup menu
675,352
11.01.2022 22:54:41
-7,200
21c149efc7b4432e111f503e225d92ca88d29262
update ytdl-core
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"mpris-service\": \"^2.1.2\",\n\"node-fetch\": \"^2.6.6\",\n\"node-notifier\": \"^9.0.1\",\n- \"ytdl-core\": \"^4.9.2\",\n+ \"ytdl-core\": \"^4.10.0\",\n\"ytpl\": \"^2.2.3\"\n},\n\"devDependencies\": {\n" ...
JavaScript
MIT License
th-ch/youtube-music
update ytdl-core
675,352
11.01.2022 23:41:17
-7,200
c7e793b66ec734bd08b6012ac67b1435381927ec
fix playback speed slider showing up where it shouldn't
[ { "change_type": "MODIFY", "old_path": "plugins/playback-speed/front.js", "new_path": "plugins/playback-speed/front.js", "diff": "@@ -30,7 +30,7 @@ const observePopupContainer = () => {\nmenu = getSongMenu();\n}\n- if (menu && !menu.contains(slider)) {\n+ if (menu && menu.lastElementChild.lastElemen...
JavaScript
MIT License
th-ch/youtube-music
fix playback speed slider showing up where it shouldn't
675,352
12.01.2022 09:49:27
-7,200
74f61a532d6481683d07c16e739bb3271716e1f4
downloader lint&refactor
[ { "change_type": "MODIFY", "old_path": "plugins/downloader/front.js", "new_path": "plugins/downloader/front.js", "diff": "@@ -45,7 +45,7 @@ global.download = () => {\nlet metadata;\nlet videoUrl = getSongMenu()\n// selector of first button which is always \"Start Radio\"\n- ?.querySelector('ytmusic-...
JavaScript
MIT License
th-ch/youtube-music
downloader lint&refactor
675,352
12.01.2022 14:29:56
-7,200
17a24cbb04fee48975b917f8393a3088e227460e
set badge on downloader playlist
[ { "change_type": "MODIFY", "old_path": "plugins/downloader/menu.js", "new_path": "plugins/downloader/menu.js", "diff": "@@ -8,7 +8,7 @@ const chokidar = require('chokidar');\nconst { setOptions } = require(\"../../config/plugins\");\nconst { sendError } = require(\"./back\");\n-const { defaultMenuDo...
JavaScript
MIT License
th-ch/youtube-music
set badge on downloader playlist
675,352
13.01.2022 14:46:41
-7,200
c2cc3cf7a0c6bea60eaf41a49044bc558448fd2c
fix duplicate mpris session
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -40,6 +40,11 @@ if (config.get(\"options.disableHardwareAcceleration\")) {\napp.disableHardwareAcceleration();\n}\n+if (is.linux() && config.plugins.isEnabled(\"shortcuts\")) {\n+ //stops chromium from launching i...
JavaScript
MIT License
th-ch/youtube-music
fix duplicate mpris session
675,343
16.01.2022 17:29:21
-3,600
40fbf3441a52ed7b8c067077ac7669985513ef49
Backport missing changes for playlist badge
[ { "change_type": "MODIFY", "old_path": "plugins/downloader/menu.js", "new_path": "plugins/downloader/menu.js", "diff": "@@ -121,19 +121,21 @@ async function downloadPlaylist(givenUrl, win, options) {\n);\n}\n- const steps = 1 / playlist.items.length;\n- let progress = 0;\n-\nwin.setProgressBar(2); /...
JavaScript
MIT License
th-ch/youtube-music
Backport missing changes for playlist badge
675,352
16.01.2022 19:52:08
-7,200
68bd691702e463dbcb6844fbec5b8138d32368e1
check if window.y is offscreen
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -122,12 +122,16 @@ function createMainWindow() {\nautoHideMenuBar: config.get(\"options.hideMenu\"),\n});\nremote.enable(win.webContents);\n+\nif (windowPosition) {\nconst { x, y } = windowPosition;\n- if(x + win....
JavaScript
MIT License
th-ch/youtube-music
check if window.y is offscreen
675,348
17.01.2022 11:46:52
-19,080
8cfc8d1ba17a73d3404b23e819b4bef68a4f5cce
support build for arm64 macs
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"build\": \"yarn run clean && electron-builder --win --mac --linux\",\n\"build:linux\": \"yarn run clean && electron-builder --linux\",\n\"build:mac\": \"yarn run clean && electron-builder --mac\",\n+ \"buil...
JavaScript
MIT License
th-ch/youtube-music
support build for arm64 macs
675,352
18.01.2022 18:27:30
-7,200
cb920194ce1c7bcc8cc51521a10c773352ba1c99
filenamify playlist folder name
[ { "change_type": "MODIFY", "old_path": "plugins/downloader/menu.js", "new_path": "plugins/downloader/menu.js", "diff": "@@ -5,6 +5,7 @@ const { dialog, ipcMain } = require(\"electron\");\nconst is = require(\"electron-is\");\nconst ytpl = require(\"ytpl\");\nconst chokidar = require('chokidar');\n+c...
JavaScript
MIT License
th-ch/youtube-music
filenamify playlist folder name
675,352
19.01.2022 19:40:58
-7,200
7fd9d5a971f032161c5d6f48fe19a98f2f017dc3
use -8 insteaf of 0 (often maximized app will have -8,-8 coordinates)
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -127,8 +127,8 @@ function createMainWindow() {\nconst { x, y } = windowPosition;\nconst winSize = win.getSize();\nconst displaySize = electron.screen.getDisplayNearestPoint(windowPosition).bounds;\n- if((x + winSi...
JavaScript
MIT License
th-ch/youtube-music
use -8 insteaf of 0 (often maximized app will have -8,-8 coordinates)
675,352
20.01.2022 23:45:57
-7,200
c8f62f6d19e5d6035bf3c7cf9b15152dd540a730
fix window position save spam (and also window position being forgotten on maximizing)
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -142,22 +142,44 @@ function createMainWindow() {\nwin.on(\"closed\", onClosed);\nwin.on(\"move\", () => {\n+ if (win.isMaximized()) return;\nlet position = win.getPosition();\n- config.set(\"window-position\", { x...
JavaScript
MIT License
th-ch/youtube-music
fix window position save spam (and also window position being forgotten on maximizing)
675,352
21.01.2022 00:01:14
-7,200
a744a2ebde426e1c2ef430d08505b6c8bcfc62f3
fix window position save spam
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -143,21 +143,37 @@ function createMainWindow() {\nwin.on(\"move\", () => {\nlet position = win.getPosition();\n- config.set(\"window-position\", { x: position[0], y: position[1] });\n+ lateSave(\"window-position\"...
JavaScript
MIT License
th-ch/youtube-music
fix window position save spam
675,352
19.01.2022 22:11:49
-7,200
9403804128e2e995b50ceebfa7a078084b21bded
fix multiple monitor calculations
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -127,8 +127,8 @@ function createMainWindow() {\nconst { x, y } = windowPosition;\nconst winSize = win.getSize();\nconst displaySize = electron.screen.getDisplayNearestPoint(windowPosition).bounds;\n- if((x + winSi...
JavaScript
MIT License
th-ch/youtube-music
fix multiple monitor calculations
675,343
22.01.2022 19:47:10
-3,600
90f4c9383f014b53d023c960f4a5cd35aa825937
Release Mac arm64
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"productName\": \"YouTube Music\",\n\"mac\": {\n\"identity\": null,\n+ \"target\": [\n+ {\n+ \"target\": \"dmg\",\n+ \"arch\": [\n+ \"x64\",\n+ \"arm64\"\n+ ]\n+ }\n+ ],\n\"icon\": \"assets/generated/icons/m...
JavaScript
MIT License
th-ch/youtube-music
Release Mac arm64
675,343
22.01.2022 19:57:23
-3,600
89ea66ba2b425a3a797a9429746a83532bf548b2
Simplify off-screen check
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -131,12 +131,19 @@ function createMainWindow() {\nif (windowPosition) {\nconst { x, y } = windowPosition;\nconst winSize = win.getSize();\n- const displaySize = electron.screen.getDisplayNearestPoint(windowPositio...
JavaScript
MIT License
th-ch/youtube-music
Simplify off-screen check
675,343
22.01.2022 20:02:06
-3,600
8dd41cca090e733e8432a617aeaefc00af43ed62
Use v2.6.7 of node-fetch
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"hark\": \"^1.2.3\",\n\"md5\": \"^2.3.0\",\n\"mpris-service\": \"^2.1.2\",\n- \"node-fetch\": \"^3.1.1\",\n+ \"node-fetch\": \"^2.6.7\",\n\"node-notifier\": \"^9.0.1\",\n\"ytdl-core\": \"^4.10.0\",\n\"ytpl\"...
JavaScript
MIT License
th-ch/youtube-music
Use v2.6.7 of node-fetch
675,352
20.01.2022 22:54:19
-7,200
74b67c3d338e80782d940e6b02a19ed00a828817
fix restart app on config change option
[ { "change_type": "MODIFY", "old_path": "config/index.js", "new_path": "config/index.js", "diff": "const defaultConfig = require(\"./defaults\");\nconst plugins = require(\"./plugins\");\nconst store = require(\"./store\");\n+const { restart } = require(\"../providers/app-controls\");\nconst set = (k...
JavaScript
MIT License
th-ch/youtube-music
fix restart app on config change option
675,352
27.01.2022 09:58:50
-7,200
1248f1c8ec96a48402905b40713fcf5735d7821f
add single instance lock option
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -26,6 +26,22 @@ unhandled({\nprocess.env.NODE_OPTIONS = \"\";\nconst app = electron.app;\n+// Prevent window being garbage collected\n+let mainWindow;\n+autoUpdater.autoDownload = false;\n+\n+if(config.get(\"optio...
JavaScript
MIT License
th-ch/youtube-music
add single instance lock option
675,352
27.01.2022 22:16:25
-7,200
03e27519db83161db1dbf539b8554e144d085299
discord set inactivity timeout prompt
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"async-mutex\": \"^0.3.2\",\n\"browser-id3-writer\": \"^4.4.0\",\n\"chokidar\": \"^3.5.2\",\n- \"custom-electron-prompt\": \"^1.4.0\",\n+ \"custom-electron-prompt\": \"^1.4.1\",\n\"custom-electron-titlebar\"...
JavaScript
MIT License
th-ch/youtube-music
discord set inactivity timeout prompt
675,352
23.01.2022 01:05:22
-7,200
02081d82724019a31ba923c19df2b37e0027cbea
fix precise-volume hud positioning
[ { "change_type": "MODIFY", "old_path": "plugins/precise-volume/front.js", "new_path": "plugins/precise-volume/front.js", "diff": "const { ipcRenderer } = require(\"electron\");\nconst { globalShortcut } = require('@electron/remote');\n-const { setOptions } = require(\"../../config/plugins\");\n+cons...
JavaScript
MIT License
th-ch/youtube-music
fix precise-volume hud positioning
675,352
29.01.2022 11:13:53
-7,200
babc50099c75956f84061eb156031fc36cdd18cf
fix lyrics css styling
[ { "change_type": "MODIFY", "old_path": "plugins/lyrics-genius/style.css", "new_path": "plugins/lyrics-genius/style.css", "diff": "text-decoration: none;\n}\n-#contents.genius-lyrics {\n- font-size: 1vw;\n- opacity: 0.9;\n+#contents.genius-lyrics, .description {\n+ font-size: 1.1vw !important;\n+ tex...
JavaScript
MIT License
th-ch/youtube-music
fix lyrics css styling
675,352
29.01.2022 11:14:03
-7,200
900c44d9c0f2dd251e4369667ab8bae67b46935b
fix disabled lyrics tab
[ { "change_type": "MODIFY", "old_path": "plugins/lyrics-genius/front.js", "new_path": "plugins/lyrics-genius/front.js", "diff": "@@ -3,10 +3,15 @@ const is = require(\"electron-is\");\nmodule.exports = () => {\nipcRenderer.on(\"update-song-info\", (_, extractedSongInfo) => {\n- const lyricsTab = docu...
JavaScript
MIT License
th-ch/youtube-music
fix disabled lyrics tab
675,352
29.01.2022 11:35:18
-7,200
60bb5b861dc5b248be31120e03b0a091bee0b0d7
change to new lyrics even if lyrics tab was already selected
[ { "change_type": "MODIFY", "old_path": "plugins/lyrics-genius/front.js", "new_path": "plugins/lyrics-genius/front.js", "diff": "@@ -50,15 +50,32 @@ module.exports = () => {\n};\n}\n+ checkLyricsContainer();\n+\ntabs.lyrics.onclick = () => {\nconst tabContainer = document.querySelector(\"ytmusic-tab-...
JavaScript
MIT License
th-ch/youtube-music
change to new lyrics even if lyrics tab was already selected
675,352
29.01.2022 16:56:55
-7,200
909036108f5039b6d1a3269e2f3c58091bf9006f
reenable lyrics footer
[ { "change_type": "MODIFY", "old_path": "plugins/lyrics-genius/front.js", "new_path": "plugins/lyrics-genius/front.js", "diff": "@@ -76,9 +76,10 @@ module.exports = () => {\nlyricsContainer.innerHTML = `<div id=\"contents\" class=\"style-scope ytmusic-section-list-renderer description ytmusic-descrip...
JavaScript
MIT License
th-ch/youtube-music
reenable lyrics footer
675,352
29.01.2022 17:57:39
-7,200
b042d0a8ca412717e35e03a6589908738fbc1787
use regex on cleanupName()
[ { "change_type": "MODIFY", "old_path": "providers/song-info.js", "new_path": "providers/song-info.js", "diff": "@@ -112,13 +112,12 @@ const suffixesToRemove = [\n\" - topic\",\n\"vevo\",\n\" (performance video)\",\n- \" (official music video)\",\n- \" (official video)\",\n\" (clip officiel)\",\n];\n...
JavaScript
MIT License
th-ch/youtube-music
use regex on cleanupName()
675,352
29.01.2022 18:05:55
-7,200
fc111e251364b320b8b11adffe3e765827324c4c
keep footer out of contents div
[ { "change_type": "MODIFY", "old_path": "plugins/lyrics-genius/front.js", "new_path": "plugins/lyrics-genius/front.js", "diff": "@@ -82,8 +82,8 @@ module.exports = () => {\n`<div id=\"contents\" class=\"style-scope ytmusic-section-list-renderer description ytmusic-description-shelf-renderer genius-ly...
JavaScript
MIT License
th-ch/youtube-music
keep footer out of contents div
675,352
29.01.2022 21:50:12
-7,200
24f694737a9133678c509e11885d1b885bf4bd6d
add new plugins to readme
[ { "change_type": "MODIFY", "old_path": "readme.md", "new_path": "readme.md", "diff": "@@ -34,25 +34,53 @@ You can check out the [latest release](https://github.com/th-ch/youtube-music/re\nInstall the `youtube-music-bin` package from the AUR. For AUR installation instructions, take a look at this [wi...
JavaScript
MIT License
th-ch/youtube-music
add new plugins to readme
675,362
30.01.2022 12:48:15
21,600
e9a670831c3919a2fbdc7bd4f307528503d7c9b1
Add album title to largeImage and change paused icon
[ { "change_type": "MODIFY", "old_path": "plugins/discord/back.js", "new_path": "plugins/discord/back.js", "diff": "@@ -4,8 +4,8 @@ const { dialog, app } = require(\"electron\");\nconst registerCallback = require(\"../../providers/song-info\");\n-// Application ID registered by @semvis123\n-const clie...
JavaScript
MIT License
th-ch/youtube-music
Add album title to largeImage and change paused icon
675,352
30.01.2022 20:43:05
-7,200
9b8d9c490598ec8c0775c4382d712a0b45534143
get album name from DOM
[ { "change_type": "MODIFY", "old_path": "providers/song-info-front.js", "new_path": "providers/song-info-front.js", "diff": "@@ -6,7 +6,8 @@ const config = require(\"../config\");\nglobal.songInfo = {};\n-function $(selector) { return document.querySelector(selector); }\n+const $ = s => document.quer...
JavaScript
MIT License
th-ch/youtube-music
get album name from DOM
675,352
01.02.2022 19:24:43
-7,200
271d5258ca995db021a47373fec149d265be3428
fix interactive notifications icon
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"productName\": \"YouTube Music\",\n\"mac\": {\n\"identity\": null,\n+ \"files\": [\"!plugins/{taskbar-mediacontrol,notifications/snoretoast}${/*}\"],\n\"target\": [\n{\n\"target\": \"dmg\",\n},\n\"win\": {\...
JavaScript
MIT License
th-ch/youtube-music
fix interactive notifications icon
675,352
05.02.2022 15:20:14
-7,200
fef711549fa9862f8ea23301edde747c5802e352
update electron to v17.0.0
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"@ffmpeg/ffmpeg\": \"^0.10.1\",\n\"async-mutex\": \"^0.3.2\",\n\"browser-id3-writer\": \"^4.4.0\",\n- \"chokidar\": \"^3.5.2\",\n+ \"chokidar\": \"^3.5.3\",\n\"custom-electron-prompt\": \"^1.4.0\",\n\"custom...
JavaScript
MIT License
th-ch/youtube-music
update electron to v17.0.0
675,352
05.02.2022 18:24:37
-7,200
766dd21cb72e7e7d3054bf8f52bfbeef5769129d
make useragent override optional
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -192,6 +192,7 @@ function createMainWindow() {\n}\napp.once(\"browser-window-created\", (event, win) => {\n+ if (config.get(\"options.overrideUserAgent\")) {\n// User agents are from https://developers.whatismybro...
JavaScript
MIT License
th-ch/youtube-music
make useragent override optional
675,343
10.02.2022 00:08:40
-3,600
4d890c4941c8844c40b1221009a2527875784ad5
Fix warnings in genius plugin
[ { "change_type": "MODIFY", "old_path": "plugins/lyrics-genius/front.js", "new_path": "plugins/lyrics-genius/front.js", "diff": "@@ -91,7 +91,7 @@ module.exports = () => {\n}\nfunction setTabsOnclick(callback) {\n- for (tab of [tabs.upNext, tabs.discover]) {\n+ for (const tab of [tabs.upNext, tabs.di...
JavaScript
MIT License
th-ch/youtube-music
Fix warnings in genius plugin
675,352
11.02.2022 15:24:42
-7,200
247777bcc44d45f149caac8f7c951317485c4639
remove remote module from prompt-options
[ { "change_type": "MODIFY", "old_path": "providers/prompt-options.js", "new_path": "providers/prompt-options.js", "diff": "@@ -12,7 +12,6 @@ const promptOptions = is.macOS() ? {\n// The following are used for custom titlebar\nframe: false,\ncustomScript: customTitlebarPath,\n- enableRemoteModule: tru...
JavaScript
MIT License
th-ch/youtube-music
remove remote module from prompt-options
675,352
11.02.2022 15:49:33
-7,200
8263918033c2c7363aba13ff9b4b87388bcab3f7
add toggle fullscreen to view menu enables f11 shortcut
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -2,3 +2,4 @@ node_modules\n/dist\n/assets/generated\nelectron-builder.yml\n+.vscode/settings.json\n" }, { "change_type": "MODIFY", "old_path": "menu.js", "new_path": "menu.js", "diff": "@@ ...
JavaScript
MIT License
th-ch/youtube-music
add toggle fullscreen to view menu enables f11 shortcut
675,352
11.02.2022 16:29:11
-7,200
dc928542f868112142699224707e0d65d48d3f7d
lighten up menuItem background color
[ { "change_type": "MODIFY", "old_path": "plugins/in-app-menu/front.js", "new_path": "plugins/in-app-menu/front.js", "diff": "@@ -7,7 +7,7 @@ module.exports = () => {\nlet visible = !config.get(\"options.hideMenu\");\nconst bar = new Titlebar({\nbackgroundColor: Color.fromHex(\"#050505\"),\n- itemBack...
JavaScript
MIT License
th-ch/youtube-music
lighten up menuItem background color
675,343
13.02.2022 11:18:59
-3,600
44300e757fd7a719b5850662a49a3579b66ce632
Add snoretoast custom compile script
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build.yml", "new_path": ".github/workflows/build.yml", "diff": "@@ -35,6 +35,60 @@ jobs:\n- name: Install dependencies\nrun: yarn --frozen-lockfile\n+ ######################\n+ # Patch SnoreToast to fix App ID - see https://github.com/th-ch/y...
JavaScript
MIT License
th-ch/youtube-music
Add snoretoast custom compile script
675,352
13.02.2022 20:40:09
-7,200
1b99cc693094dc7505fc2bed349bb80b16ba23b1
use custom snoretoast on release
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"productName\": \"YouTube Music\",\n\"mac\": {\n\"identity\": null,\n- \"files\": [\"!plugins/{taskbar-mediacontrol,notifications/snoretoast}${/*}\"],\n+ \"files\": [\"!plugins/taskbar-mediacontrol${/*}\"],\...
JavaScript
MIT License
th-ch/youtube-music
use custom snoretoast on release #600
675,343
13.02.2022 22:19:16
-3,600
ea35da52c3811650e9642edf34379bf8292e2b62
Refactor Genius logic into separate util
[ { "change_type": "MODIFY", "old_path": "plugins/lyrics-genius/back.js", "new_path": "plugins/lyrics-genius/back.js", "diff": "@@ -16,25 +16,25 @@ module.exports = async (win) => {\nmetadata.title\n)}`;\n+ event.returnValue = await fetchFromGenius(queryString);\n+ });\n+};\n+\n+const fetchFromGenius ...
JavaScript
MIT License
th-ch/youtube-music
Refactor Genius logic into separate util
675,352
13.02.2022 23:45:53
-7,200
5bd97685b9e07c656e0b57a9e02819afc70af1b1
migrate from remote to ipc
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "const path = require(\"path\");\nconst electron = require(\"electron\");\n-const remote = require('@electron/remote/main');\n-remote.initialize();\nconst enhanceWebRequest = require(\"electron-better-web-request\").d...
JavaScript
MIT License
th-ch/youtube-music
migrate from remote to ipc
675,343
20.02.2022 18:46:50
-3,600
edfa9d2ff5abb854d942702521ec1b404f19fefc
Re-format package.json
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"productName\": \"YouTube Music\",\n\"mac\": {\n\"identity\": null,\n- \"files\": [\"!plugins/taskbar-mediacontrol${/*}\"],\n+ \"files\": [\n+ \"!plugins/taskbar-mediacontrol${/*}\"\n+ ],\n\"target\": [\n{\n...
JavaScript
MIT License
th-ch/youtube-music
Re-format package.json
675,352
23.02.2022 17:15:10
-7,200
47729130c9b4b389567943d615593dc8ae4ff6ee
fix custom titlebar in prompt options
[ { "change_type": "MODIFY", "old_path": "providers/prompt-options.js", "new_path": "providers/prompt-options.js", "diff": "const path = require(\"path\");\nconst is = require(\"electron-is\");\n+const { isEnabled } = require(\"../config/plugins\");\nconst iconPath = path.join(__dirname, \"..\", \"ass...
JavaScript
MIT License
th-ch/youtube-music
fix custom titlebar in prompt options
675,352
24.02.2022 20:41:59
-7,200
704fba9aba9f13e1a4cda92f703cff9cdf3994cb
fix portable app restart
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -13,7 +13,7 @@ const { fileExists, injectCSS } = require(\"./plugins/utils\");\nconst { isTesting } = require(\"./utils/testing\");\nconst { setUpTray } = require(\"./tray\");\nconst { setupSongInfo } = require(\"...
JavaScript
MIT License
th-ch/youtube-music
fix portable app restart
675,352
14.03.2022 22:00:57
-7,200
d5e4f3af4610ae2302d2a1ae12c2dc705f6d470e
fix volumeHud position in miniplayer
[ { "change_type": "MODIFY", "old_path": "plugins/precise-volume/back.js", "new_path": "plugins/precise-volume/back.js", "diff": "+const { injectCSS } = require(\"../utils\");\n+const path = require(\"path\");\n+\n/*\nThis is used to determine if plugin is actually active\n(not if its only enabled in ...
JavaScript
MIT License
th-ch/youtube-music
fix volumeHud position in miniplayer
675,352
21.03.2022 18:17:22
-7,200
7f085796716e0e7a6ef5db1acb9a9a267d52b309
add always-on-top option
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -165,6 +165,10 @@ function createMainWindow() {\nwin.maximize();\n}\n+ if(config.get(\"options.alwaysOnTop\")){\n+ win.setAlwaysOnTop(true);\n+ }\n+\nconst urlToLoad = config.get(\"options.resumeOnStart\")\n? conf...
JavaScript
MIT License
th-ch/youtube-music
add always-on-top option
675,352
06.04.2022 18:26:05
-10,800
f9cf12b7d37dc7e9e8abe85e32033c5b93a0b3c3
[precise-volume] fix expand-volume-slider not updating its value
[ { "change_type": "MODIFY", "old_path": "plugins/precise-volume/front.js", "new_path": "plugins/precise-volume/front.js", "diff": "@@ -189,8 +189,12 @@ function changeVolume(toIncrease, options) {\nfunction updateVolumeSlider(options) {\n// Slider value automatically rounds to multiples of 5\n- $(\"#...
JavaScript
MIT License
th-ch/youtube-music
[precise-volume] fix expand-volume-slider not updating its value
675,352
06.04.2022 19:48:58
-10,800
0d3fa261a7e09f05e90de0ac4d6d04aa7ea572c5
feat: option to force show like buttons
[ { "change_type": "MODIFY", "old_path": "menu.js", "new_path": "menu.js", "diff": "@@ -79,6 +79,9 @@ const mainMenuTemplate = (win) => {\nconfig.setMenuOption(\"options.resumeOnStart\", item.checked);\n},\n},\n+ {\n+ label: \"Visual Tweaks\",\n+ submenu: [\n{\nlabel: \"Remove upgrade button\",\ntype:...
JavaScript
MIT License
th-ch/youtube-music
feat: option to force show like buttons
675,352
06.04.2022 20:15:24
-10,800
d47b03c23debfc561a49f1dc34dbe1572c3f106e
use spread syntax instead of Array.from
[ { "change_type": "MODIFY", "old_path": "plugins/lyrics-genius/front.js", "new_path": "plugins/lyrics-genius/front.js", "diff": "@@ -37,7 +37,7 @@ module.exports = () => {\nconst wrapper = document.createElement(\"div\");\nwrapper.innerHTML = html;\n- const lyrics = Array.from(wrapper.querySelectorAl...
JavaScript
MIT License
th-ch/youtube-music
use spread syntax instead of Array.from
675,343
07.04.2022 20:01:29
-7,200
d2265b59d78143cf51fe4dc3d5dee9da66873cc1
Create first version of picture in picture plugin
[ { "change_type": "ADD", "old_path": null, "new_path": "plugins/picture-in-picture/back.js", "diff": "+const path = require(\"path\");\n+\n+const { app, ipcMain } = require(\"electron\");\n+\n+const { injectCSS } = require(\"../utils\");\n+\n+let isInPiPMode = false;\n+let originalPosition;\n+let ori...
JavaScript
MIT License
th-ch/youtube-music
Create first version of picture in picture plugin
675,343
07.04.2022 20:05:13
-7,200
4ddd2f339b0491b9793b0e3dc98935b64f2b7496
add PiP plugin to readme list
[ { "change_type": "MODIFY", "old_path": "readme.md", "new_path": "readme.md", "diff": "@@ -63,6 +63,8 @@ Install the `youtube-music-bin` package from the AUR. For AUR installation instr\n- **Notifications**: Display a notification when a song starts playing ([interactive notifications](https://user-i...
JavaScript
MIT License
th-ch/youtube-music
add PiP plugin to readme list
675,343
08.04.2022 15:17:26
-7,200
6c93d635d00b8d1aeb3a92193a1cdb4b6bd8374a
Bring back the app in the dock (MacOS) when it was hidden
[ { "change_type": "MODIFY", "old_path": "tray.js", "new_path": "tray.js", "diff": "const path = require(\"path\");\n-const { Menu, nativeImage, Tray } = require(\"electron\");\n+const { app, Menu, nativeImage, Tray } = require(\"electron\");\nconst config = require(\"./config\");\nconst getSongContro...
JavaScript
MIT License
th-ch/youtube-music
Bring back the app in the dock (MacOS) when it was hidden
675,343
09.04.2022 12:10:22
-7,200
296ecb674093f67757125e5613acddf433b40c15
Always inject style
[ { "change_type": "MODIFY", "old_path": "plugins/picture-in-picture/back.js", "new_path": "plugins/picture-in-picture/back.js", "diff": "@@ -15,8 +15,6 @@ const togglePiP = async (win) => {\nisInPiPMode = !isInPiPMode;\nif (isInPiPMode) {\n- injectCSS(win.webContents, path.join(__dirname, \"style.css...
JavaScript
MIT License
th-ch/youtube-music
Always inject style
675,343
09.04.2022 12:11:05
-7,200
f3641f5072cb9ecfd8bc7b31cdaf05f6d96849d5
Set in config when PiP mode is enabled
[ { "change_type": "MODIFY", "old_path": "plugins/picture-in-picture/back.js", "new_path": "plugins/picture-in-picture/back.js", "diff": "@@ -2,6 +2,7 @@ const path = require(\"path\");\nconst { app, ipcMain } = require(\"electron\");\n+const { setOptions } = require(\"../../config/plugins\");\nconst ...
JavaScript
MIT License
th-ch/youtube-music
Set in config when PiP mode is enabled
675,343
09.04.2022 12:13:33
-7,200
e58a580b2b25d4b592b883c36f44a17e8d483c59
Restore fullscreenable after switching to PiP mode
[ { "change_type": "MODIFY", "old_path": "plugins/picture-in-picture/back.js", "new_path": "plugins/picture-in-picture/back.js", "diff": "@@ -25,6 +25,7 @@ const togglePiP = async (win) => {\n// Go fullscreen\n`document.querySelector(\".fullscreen-button\").click()`\n);\n+ win.setFullScreenable(true);...
JavaScript
MIT License
th-ch/youtube-music
Restore fullscreenable after switching to PiP mode
675,343
09.04.2022 12:14:42
-7,200
5ca0c6b8a96ad23121e2a79510674028ca8e7d72
Ensure player is open when going PiP + add class
[ { "change_type": "MODIFY", "old_path": "plugins/picture-in-picture/back.js", "new_path": "plugins/picture-in-picture/back.js", "diff": "@@ -23,7 +23,13 @@ const togglePiP = async (win) => {\nwin.setFullScreenable(false);\nawait win.webContents.executeJavaScript(\n// Go fullscreen\n- `document.queryS...
JavaScript
MIT License
th-ch/youtube-music
Ensure player is open when going PiP + add class
675,343
09.04.2022 12:15:38
-7,200
d37e557f79b9f9800928e475fb8c9c51f4ad9935
Block some shortcuts (esc, f) in PiP
[ { "change_type": "MODIFY", "old_path": "plugins/picture-in-picture/back.js", "new_path": "plugins/picture-in-picture/back.js", "diff": "@@ -20,6 +20,8 @@ const togglePiP = async (win) => {\noriginalPosition = win.getPosition();\noriginalSize = win.getSize();\n+ win.webContents.on(\"before-input-even...
JavaScript
MIT License
th-ch/youtube-music
Block some shortcuts (esc, f) in PiP