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,343
12.04.2020 13:24:40
-7,200
59bba8e5905a017444a3dd1acced01239470fb6f
Disable RDP access to AppVeyor build workers
[ { "change_type": "MODIFY", "old_path": "appveyor.yml", "new_path": "appveyor.yml", "diff": "@@ -22,9 +22,10 @@ install:\n# Install dependencies\n- yarn --frozen-lockfile\n-on_finish:\n- # Enable RDP to the build worker (using APPVEYOR_RDP_PASSWORD env var)\n- - ps: $blockRdp = $true; iex ((new-objec...
JavaScript
MIT License
th-ch/youtube-music
Disable RDP access to AppVeyor build workers
675,343
12.04.2020 13:25:23
-7,200
6e45e7b2cb9b4ec5df3502decbcb8b6a06daf032
No rust/cargo install in build workers (not needed anymore)
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -27,11 +27,6 @@ before_cache:\n- rm -rf $HOME/.cache/electron-builder\nbefore_install:\n- rm -rf node_modules\n- # Install Rust and Cargo\n- - curl https://sh.rustup.rs -sSf > /tmp/rustup.sh\n- - sh /tmp/rus...
JavaScript
MIT License
th-ch/youtube-music
No rust/cargo install in build workers (not needed anymore)
675,343
12.04.2020 14:17:38
-7,200
f25eb48f795cafd63045b05ace75de2f63dfa51e
Generate the adblocker engine only once (by using built-in caching)
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"build\": \"yarn run clean && build --win --mac --linux\",\n\"build:mac\": \"yarn run clean && build --mac\",\n\"build:win\": \"yarn run clean && build --win\",\n- \"plugins\": \"yarn run plugin:autoconfirm\...
JavaScript
MIT License
th-ch/youtube-music
Generate the adblocker engine only once (by using built-in caching)
675,343
12.04.2020 15:11:47
-7,200
3999b991fa5c78789557705db1f967c376ac8baa
Bump minor version (for this PR and new features to come)
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "{\n\"name\": \"youtube-music\",\n\"productName\": \"YouTube Music\",\n- \"version\": \"1.2.0\",\n+ \"version\": \"1.3.0\",\n\"description\": \"YouTube Music Desktop App - including custom plugins\",\n\"licens...
JavaScript
MIT License
th-ch/youtube-music
Bump minor version (for this PR and new features to come)
675,343
12.04.2020 15:29:36
-7,200
8d375070ace957faef7a9edf01a66df42a34c4ad
Upgrade electron-debug
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"dependencies\": {\n\"@cliqz/adblocker-electron\": \"^1.14.1\",\n\"YoutubeNonStop\": \"git://github.com/lawfx/YoutubeNonStop.git#v0.7.1\",\n- \"electron-debug\": \"^2.2.0\",\n+ \"electron-debug\": \"^3.0.1\"...
JavaScript
MIT License
th-ch/youtube-music
Upgrade electron-debug
675,343
12.04.2020 18:52:07
-7,200
1c56e7fea641c069e75a80ba1255c58cac5b3764
Add options in store (tray, app visible, auto-update)
[ { "change_type": "MODIFY", "old_path": "store/index.js", "new_path": "store/index.js", "diff": "@@ -9,13 +9,25 @@ const store = new Store({\n},\nurl: \"https://music.youtube.com\",\nplugins: [\"navigation\", \"shortcuts\", \"adblocker\"],\n+ options: {\n+ tray: false,\n+ appVisible: true,\n+ autoUpd...
JavaScript
MIT License
th-ch/youtube-music
Add options in store (tray, app visible, auto-update)
675,343
12.04.2020 18:52:43
-7,200
1de6f3e2edf2fa4fe21e39814ce8a761e4bb7419
Add options to menu, export menu config
[ { "change_type": "MODIFY", "old_path": "menu.js", "new_path": "menu.js", "diff": "const { app, Menu } = require(\"electron\");\n-const { isPluginEnabled, enablePlugin, disablePlugin } = require(\"./store\");\nconst { getAllPlugins } = require(\"./plugins/utils\");\n+const {\n+ isPluginEnabled,\n+ en...
JavaScript
MIT License
th-ch/youtube-music
Add options to menu, export menu config
675,343
12.04.2020 18:57:40
-7,200
edfd5be6a2334ac4fa57ee4c21059af49378a580
Add youtube-music util to interact with the window
[ { "change_type": "ADD", "old_path": null, "new_path": "utils/youtube-music.js", "diff": "+const clickInYoutubeMusic = (win, selector) => {\n+ win.webContents.executeJavaScript(\n+ `document.querySelector(\"${selector}\").click();`,\n+ true\n+ );\n+};\n+\n+module.exports = { clickInYoutubeMusic };\n"...
JavaScript
MIT License
th-ch/youtube-music
Add youtube-music util to interact with the window
675,343
12.04.2020 18:59:14
-7,200
477202bf24d3a4ff99eaded19d5c9cc43869289b
Setup tray (based on options)
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -5,9 +5,14 @@ const electron = require(\"electron\");\nconst is = require(\"electron-is\");\nconst { autoUpdater } = require(\"electron-updater\");\n-const { getEnabledPlugins, store } = require(\"./store\");\ncon...
JavaScript
MIT License
th-ch/youtube-music
Setup tray (based on options)
675,343
12.04.2020 18:59:41
-7,200
e051c4a9a225474ea1da2a0250969b84ffcb6f7a
Only checked for updates if configured in options
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -7,6 +7,7 @@ const { autoUpdater } = require(\"electron-updater\");\nconst { setApplicationMenu } = require(\"./menu\");\nconst {\n+ autoUpdate,\ngetEnabledPlugins,\nisAppVisible,\nstore,\n@@ -149,8 +150,9 @@ app....
JavaScript
MIT License
th-ch/youtube-music
Only checked for updates if configured in options
675,343
12.04.2020 19:33:45
-7,200
69f88ed8403d9d2fa44d61a8a52b8e86514c9c66
Force user agent for Google OAuth to work
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -60,7 +60,12 @@ function createMainWindow() {\nwin.maximize();\n}\n- win.webContents.loadURL(store.get(\"url\"));\n+ // Force user-agent \"Firefox Windows\" for Google OAuth to work\n+ // From https://github.com/f...
JavaScript
MIT License
th-ch/youtube-music
Force user agent for Google OAuth to work
675,343
12.04.2020 21:54:35
-7,200
3bbab525c6c7ebcb2ca8cd1ff0d7b59495f945ea
Only set user-agent on accounts.google.com (affects preload scripts otherwise)
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -60,12 +60,7 @@ function createMainWindow() {\nwin.maximize();\n}\n- // Force user-agent \"Firefox Windows\" for Google OAuth to work\n- // From https://github.com/firebase/firebase-js-sdk/issues/2478#issuecomment...
JavaScript
MIT License
th-ch/youtube-music
Only set user-agent on accounts.google.com (affects preload scripts otherwise)
675,343
12.04.2020 21:57:13
-7,200
26dd7c5f713afea7aefa829c85289ef7d509853b
Format blocker file + use window session in adblocker
[ { "change_type": "MODIFY", "old_path": "plugins/adblocker/back.js", "new_path": "plugins/adblocker/back.js", "diff": "const { loadAdBlockerEngine } = require(\"./blocker\");\n-module.exports = () => loadAdBlockerEngine(true);\n+module.exports = (win) => loadAdBlockerEngine(win.webContents.session);\...
JavaScript
MIT License
th-ch/youtube-music
Format blocker file + use window session in adblocker
675,343
26.04.2020 16:10:13
-7,200
430687f4d6d301aaeaeeaa11ae34d971ac3280df
Hide the app (no quit) on close if tray enabled
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -10,6 +10,7 @@ const {\nautoUpdate,\ngetEnabledPlugins,\nisAppVisible,\n+ isTrayEnabled,\nstore,\n} = require(\"./store\");\nconst { fileExists, injectCSS } = require(\"./plugins/utils\");\n@@ -187,12 +188,16 @@ a...
JavaScript
MIT License
th-ch/youtube-music
Hide the app (no quit) on close if tray enabled
675,343
26.04.2020 16:25:37
-7,200
058371ace8fbd3d9f126454fdc7dbff86df05506
Show/hide window when clicking on tray
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -166,7 +166,10 @@ app.on(\"activate\", () => {\napp.on(\"ready\", () => {\nsetApplicationMenu();\nmainWindow = createMainWindow();\n- setUpTray(app, mainWindow);\n+ const tray = setUpTray(app, mainWindow);\n+ tray...
JavaScript
MIT License
th-ch/youtube-music
Show/hide window when clicking on tray
675,343
27.04.2020 12:25:24
-7,200
4824dda5d52565deb5cd6ef4b51d2d742677a154
Move tray click callback in setUpTray
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -166,10 +166,7 @@ app.on(\"activate\", () => {\napp.on(\"ready\", () => {\nsetApplicationMenu();\nmainWindow = createMainWindow();\n- const tray = setUpTray(app, mainWindow);\n- tray.on(\"click\", () => {\n- mainW...
JavaScript
MIT License
th-ch/youtube-music
Move tray click callback in setUpTray
675,343
01.05.2020 18:33:43
-7,200
bce5b7d8ebd96886d462a3c999d72e6c69b6f807
Add jest config and test environment to launch app
[ { "change_type": "ADD", "old_path": null, "new_path": "jest.config.js", "diff": "+module.exports = {\n+ globals: {\n+ __APP__: undefined, // A different app will be launched in each test environment\n+ },\n+ testEnvironment: \"./tests/environment\",\n+ testTimeout: 30000, // 30s\n+};\n" }, { ...
JavaScript
MIT License
th-ch/youtube-music
Add jest config and test environment to launch app
675,343
01.05.2020 18:34:23
-7,200
692b6b22aaf90ebbae57709bdaa8c5e500f9c185
Enable nodeIntegration in test env (required by Spectron)
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -14,6 +14,7 @@ const {\nstore,\n} = require(\"./store\");\nconst { fileExists, injectCSS } = require(\"./plugins/utils\");\n+const { isTesting } = require(\"./utils/testing\");\nconst { setUpTray } = require(\"./t...
JavaScript
MIT License
th-ch/youtube-music
Enable nodeIntegration in test env (required by Spectron)
675,343
01.05.2020 18:58:08
-7,200
e84f04520165076fbe246b922ba3c2c3a712fc73
Add simple test to ensure app launches properly
[ { "change_type": "ADD", "old_path": null, "new_path": "tests/index.test.js", "diff": "+describe(\"YouTube Music App\", () => {\n+ const app = global.__APP__;\n+\n+ test(\"With default settings, app is launched and visible\", async () => {\n+ expect(app.isRunning()).toBe(true);\n+\n+ const win = app....
JavaScript
MIT License
th-ch/youtube-music
Add simple test to ensure app launches properly
675,343
01.05.2020 18:59:00
-7,200
ab0c93d443e347caa5f7f5f869265b7da4818a4a
Test script in package.json
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "}\n},\n\"scripts\": {\n- \"test\": \"xo\",\n+ \"test\": \"jest\",\n\"start\": \"electron .\",\n\"icon\": \"rimraf assets/generated && electron-icon-maker --input=assets/youtube-music.png --output=assets/gener...
JavaScript
MIT License
th-ch/youtube-music
Test script in package.json
675,343
03.05.2020 11:44:59
-7,200
57d35457013a03f36dd84b7aa29b21d16e410bbd
Launch tests in CI
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -9,6 +9,8 @@ jobs:\nosx_image: xcode11.3\n- os: linux\ndist: xenial\n+ services:\n+ - xvfb\ncache:\nyarn: false\n@@ -18,6 +20,7 @@ cache:\nscript:\n- |\n+ yarn test\nif [ \"$TRAVIS_OS_NAME\" == \"linux\" ]; ...
JavaScript
MIT License
th-ch/youtube-music
Launch tests in CI
675,343
12.07.2020 21:05:34
-7,200
408aa9bb598fa8e8e427b8e8dd2232e863e91e91
Option to start at login
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -12,6 +12,7 @@ const {\nisAppVisible,\nisTrayEnabled,\nstore,\n+ startAtLogin,\n} = require(\"./store\");\nconst { fileExists, injectCSS } = require(\"./plugins/utils\");\nconst { isTesting } = require(\"./utils/t...
JavaScript
MIT License
th-ch/youtube-music
Option to start at login
675,343
04.10.2020 15:06:52
-7,200
8d74a0a9b52c5b5a04b0986e5fbec9b47a35823e
Navigation plugin: fix arrow style
[ { "change_type": "MODIFY", "old_path": "plugins/navigation/templates/back.html", "new_path": "plugins/navigation/templates/back.html", "diff": "role=\"tab\"\nonclick=\"goToPreviousPage()\"\n>\n- <div\n- class=\"tab-icon style-scope ytmusic-pivot-bar-item-renderer yt-icon-container\"\n- >\n- <svg\n- ...
JavaScript
MIT License
th-ch/youtube-music
Navigation plugin: fix arrow style
675,343
04.10.2020 17:16:56
-7,200
1b3e4df1b237c765c5ce06ac084248abb2081639
Tests: get electron path using require
[ { "change_type": "MODIFY", "old_path": "tests/environment.js", "new_path": "tests/environment.js", "diff": "@@ -2,6 +2,7 @@ const path = require(\"path\");\nconst getPort = require(\"get-port\");\nconst NodeEnvironment = require(\"jest-environment-node\");\n+const electronPath = require(\"electron\"...
JavaScript
MIT License
th-ch/youtube-music
Tests: get electron path using require
675,343
04.10.2020 18:08:15
-7,200
f239ec32329c0e903278d5731aa28d821c56e9e8
Force yargs-parser version to fix vulnerability
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"spectron\": \"^12.0.0\",\n\"xo\": \"^0.33.1\"\n},\n+ \"resolutions\": {\n+ \"yargs-parser\": \"18.1.3\"\n+ },\n\"xo\": {\n\"envs\": [\n\"node\",\n" }, { "change_type": "MODIFY", "old_path": "yar...
JavaScript
MIT License
th-ch/youtube-music
Force yargs-parser version to fix vulnerability
675,343
04.10.2020 18:23:30
-7,200
855d8007a76185dcb899111994b002c85ed7a9d9
Add plugin to hide video player
[ { "change_type": "ADD", "old_path": null, "new_path": "plugins/hide-video-player/back.js", "diff": "+const { injectCSS } = require(\"../utils\");\n+const path = require(\"path\");\n+\n+module.exports = win => {\n+ injectCSS(win.webContents, path.join(__dirname, \"style.css\"));\n+};\n" }, { ...
JavaScript
MIT License
th-ch/youtube-music
Add plugin to hide video player
675,343
18.10.2020 17:02:12
-7,200
3e97e9307cf0991adc5584a603c292b03bc6202d
Option to toggle devtools
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -168,8 +168,8 @@ app.on(\"activate\", () => {\n});\napp.on(\"ready\", () => {\n- setApplicationMenu();\nmainWindow = createMainWindow();\n+ setApplicationMenu(mainWindow);\nsetUpTray(app, mainWindow);\n// Autostar...
JavaScript
MIT License
th-ch/youtube-music
Option to toggle devtools
675,343
19.10.2020 22:44:39
-7,200
023f5b6bc3b3693fedd671dc0631bc2c57ac8ec4
Block alert if leaving page when playing (onbeforeunload event)
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -92,6 +92,10 @@ function createMainWindow() {\nwin.webContents.loadFile(path.join(__dirname, \"error.html\"));\n});\n+ win.webContents.on(\"will-prevent-unload\", (event) => {\n+ event.preventDefault();\n+ });\n+\...
JavaScript
MIT License
th-ch/youtube-music
Block alert if leaving page when playing (onbeforeunload event)
675,343
11.11.2020 11:35:58
-3,600
bcff6e51348645395549c206717225fb16a29cda
Add notifications plugin (notify of song on play event)
[ { "change_type": "ADD", "old_path": null, "new_path": "plugins/notifications/actions.js", "diff": "+const { triggerAction } = require(\"../utils\");\n+\n+const CHANNEL = \"notification\";\n+const ACTIONS = {\n+ NOTIFICATION: \"notification\",\n+};\n+\n+function notify(info) {\n+ triggerAction(CHANNE...
JavaScript
MIT License
th-ch/youtube-music
Add notifications plugin (notify of song on play event)
675,343
11.11.2020 12:16:01
-3,600
9bc81da6f2c7f5f35769489e179851bdd80a7da8
Plugins/event handlers in each window
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -41,6 +41,25 @@ function onClosed() {\nmainWindow = null;\n}\n+function loadPlugins(win) {\n+ injectCSS(win.webContents, path.join(__dirname, \"youtube-music.css\"));\n+ win.webContents.on(\"did-finish-load\", () ...
JavaScript
MIT License
th-ch/youtube-music
Plugins/event handlers in each window
675,343
21.11.2020 22:50:33
-3,600
e197087a5027af1ca71ecde7bbdf6351137555b9
Add downloader (video -> mp3) plugin (in music menu)
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -19,6 +19,11 @@ const { isTesting } = require(\"./utils/testing\");\nconst { setUpTray } = require(\"./tray\");\nconst app = electron.app;\n+app.commandLine.appendSwitch(\n+ \"js-flags\",\n+ // WebAssembly flags\n...
JavaScript
MIT License
th-ch/youtube-music
Add downloader (video -> mp3) plugin (in music menu)
675,343
21.11.2020 23:38:04
-3,600
fc4754a1709e6eb70d662f89eafd360aa4a77aa2
GH action to build/release
[ { "change_type": "ADD", "old_path": null, "new_path": ".github/workflows/build.yml", "diff": "+name: Build YouTube Music\n+\n+on:\n+ push:\n+ branches:\n+ - master\n+ pull_request:\n+ branches:\n+ - master\n+\n+jobs:\n+ build:\n+ name: Build YouTube Music\n+ runs-on: ${{ matrix.os }}\n+ strategy:\n+...
JavaScript
MIT License
th-ch/youtube-music
GH action to build/release
675,343
21.11.2020 23:53:36
-3,600
27255dc4776fec0c677080bd39b3ce8665873c94
Add GH token env var from secret
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build.yml", "new_path": ".github/workflows/build.yml", "diff": "@@ -32,15 +32,21 @@ jobs:\n- name: Build on Mac\nif: startsWith(matrix.os, 'macOS')\n+ env:\n+ GH_TOKEN: ${{ secrets.GH_TOKEN }}\nrun: |\nyarn run release:mac\n- name: Build on L...
JavaScript
MIT License
th-ch/youtube-music
Add GH token env var from secret
675,343
22.11.2020 00:13:46
-3,600
3da76020b1995852678dc9aa177da0b29a4e9484
Bump version (new release through GH actions)
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "{\n\"name\": \"youtube-music\",\n\"productName\": \"YouTube Music\",\n- \"version\": \"1.6.1\",\n+ \"version\": \"1.6.2\",\n\"description\": \"YouTube Music Desktop App - including custom plugins\",\n\"licens...
JavaScript
MIT License
th-ch/youtube-music
Bump version (new release through GH actions)
675,343
22.11.2020 00:14:28
-3,600
941dd90d77a5c46ed5505918374693fcd892af1f
Delete AppVeyor/Travis CI integration
[ { "change_type": "DELETE", "old_path": ".travis.yml", "new_path": null, "diff": "-language: node_js\n-node_js: \"12\"\n-env:\n- - ELECTRON_CACHE=$HOME/.cache/electron ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder\n-\n-jobs:\n- include:\n- - os: osx\n- osx_image: xcode11.3\n- - os: linux\n- di...
JavaScript
MIT License
th-ch/youtube-music
Delete AppVeyor/Travis CI integration
675,343
22.11.2020 00:24:57
-3,600
235150a0cc3e39d9f987b4f71d100a87ba5f56f0
Update build badge (GitHub Actions)
[ { "change_type": "MODIFY", "old_path": "readme.md", "new_path": "readme.md", "diff": "[![GitHub release](https://img.shields.io/github/release/th-ch/youtube-music.svg)](https://GitHub.com/th-ch/youtube-music/releases/)\n[![GitHub license](https://img.shields.io/github/license/th-ch/youtube-music.svg...
JavaScript
MIT License
th-ch/youtube-music
Update build badge (GitHub Actions)
675,343
22.11.2020 00:40:47
-3,600
3441a6f215b7b8319a33d7182086fd867e675ae3
Link build badge to releases
[ { "change_type": "MODIFY", "old_path": "readme.md", "new_path": "readme.md", "diff": "[![GitHub release](https://img.shields.io/github/release/th-ch/youtube-music.svg)](https://GitHub.com/th-ch/youtube-music/releases/)\n[![GitHub license](https://img.shields.io/github/license/th-ch/youtube-music.svg...
JavaScript
MIT License
th-ch/youtube-music
Link build badge to releases
675,343
22.11.2020 10:23:20
-3,600
4d4aadfdfc597015db62e0e2e9948aa63d7ec2ff
Re-init download button in case of error
[ { "change_type": "MODIFY", "old_path": "plugins/downloader/front.js", "new_path": "plugins/downloader/front.js", "diff": "@@ -19,6 +19,14 @@ const observer = new MutationObserver((mutations, observer) => {\n}\n});\n+const reinit = () => {\n+ if (!progress) {\n+ console.warn(\"Cannot update progress\...
JavaScript
MIT License
th-ch/youtube-music
Re-init download button in case of error
675,343
23.11.2020 22:52:00
-3,600
9b0259176760b3639077c9ff9bf055d95dec134d
Test that menu bar is visible
[ { "change_type": "MODIFY", "old_path": "tests/index.test.js", "new_path": "tests/index.test.js", "diff": "@@ -6,6 +6,9 @@ describe(\"YouTube Music App\", () => {\nconst win = app.browserWindow;\n+ const isMenuVisible = await win.isMenuBarVisible();\n+ expect(isMenuVisible).toBe(true);\n+\nconst isVi...
JavaScript
MIT License
th-ch/youtube-music
Test that menu bar is visible
675,343
23.11.2020 23:16:54
-3,600
002469a98d086c1009b978a7f1541091336ed327
Bump adblocker
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"npm\": \"Please use yarn and not npm\"\n},\n\"dependencies\": {\n- \"@cliqz/adblocker-electron\": \"^1.18.4\",\n+ \"@cliqz/adblocker-electron\": \"^1.18.6\",\n\"@ffmpeg/core\": \"^0.8.4\",\n\"@ffmpeg/ffmpeg...
JavaScript
MIT License
th-ch/youtube-music
Bump adblocker
675,343
24.11.2020 00:06:59
-3,600
4b0e79345f026eca6a19178a4a58b9db3194a22f
Fail fast (Can only re-run all jobs, not just one)
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build.yml", "new_path": ".github/workflows/build.yml", "diff": "@@ -8,7 +8,7 @@ jobs:\nname: Build YouTube Music\nruns-on: ${{ matrix.os }}\nstrategy:\n- fail-fast: false\n+ fail-fast: true\nmatrix:\nos: [macos-latest, ubuntu-latest, windows-...
JavaScript
MIT License
th-ch/youtube-music
Fail fast (Can only re-run all jobs, not just one)
675,343
24.11.2020 00:12:55
-3,600
0fd49330d3218ec5f1bc62b72ace28e79d02bc93
CI: cache yarn directory
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build.yml", "new_path": ".github/workflows/build.yml", "diff": "@@ -20,6 +20,18 @@ jobs:\nwith:\nnode-version: \"12.x\"\n+ - name: Get yarn cache directory path\n+ id: yarn-cache-dir-path\n+ run: echo \"::set-output name=dir::$(yarn cache dir...
JavaScript
MIT License
th-ch/youtube-music
CI: cache yarn directory
675,343
27.11.2020 21:39:15
-3,600
4bac3ace186c5be2cb9409d2b703f960bd662145
Option to hide menu (win/linux)
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -9,6 +9,7 @@ const { setApplicationMenu } = require(\"./menu\");\nconst {\nautoUpdate,\ngetEnabledPlugins,\n+ hideMenu,\nisAppVisible,\nisTrayEnabled,\nstore,\n@@ -85,6 +86,7 @@ function createMainWindow() {\n},\n...
JavaScript
MIT License
th-ch/youtube-music
Option to hide menu (win/linux)
675,343
28.11.2020 18:13:41
-3,600
ae5b85d8d748659f2e23d417560026f24ab8ce9c
Autoupdate modal: add download/disable updates buttons
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -11,6 +11,7 @@ const {\ngetEnabledPlugins,\nisAppVisible,\nisTrayEnabled,\n+ setOptions,\nstore,\nstartAtLogin,\n} = require(\"./store\");\n@@ -196,15 +197,29 @@ app.on(\"ready\", () => {\nif (!is.dev() && autoUpd...
JavaScript
MIT License
th-ch/youtube-music
Autoupdate modal: add download/disable updates buttons
675,357
29.11.2020 23:45:07
-19,080
2b33d4e8575b7c1bf0fb4b92a985b88fad0eff8c
Reflect Arch Linux package name change Package name has been changed to youtube-music-bin.
[ { "change_type": "MODIFY", "old_path": "readme.md", "new_path": "readme.md", "diff": "@@ -20,7 +20,7 @@ You can check out the [latest release](https://github.com/th-ch/youtube-music/re\n**Arch Linux**\n-Install the `youtube-music` package from the AUR. For AUR installation instructions, take a look ...
JavaScript
MIT License
th-ch/youtube-music
Reflect Arch Linux package name change Package name has been changed to youtube-music-bin.
675,343
02.12.2020 21:16:12
-3,600
9a97436cd8a3a94c08cf89c5f3246608f88ae77c
Allow up to 3 retries in downloader
[ { "change_type": "MODIFY", "old_path": "plugins/downloader/youtube-dl.js", "new_path": "plugins/downloader/youtube-dl.js", "diff": "@@ -29,6 +29,7 @@ const downloadVideoToMP3 = (videoUrl, sendFeedback, sendError, reinit) => {\nfilter: \"audioonly\",\nquality: \"highestaudio\",\nhighWaterMark: 32 * 1...
JavaScript
MIT License
th-ch/youtube-music
Allow up to 3 retries in downloader
675,343
02.12.2020 21:16:39
-3,600
33a11efe9acad234e41ad9044ae9e67fd573b7f4
Update ytdl-core to 4.1.1
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"electron-updater\": \"^4.3.5\",\n\"filenamify\": \"^4.2.0\",\n\"node-fetch\": \"^2.6.1\",\n- \"ytdl-core\": \"^4.0.3\"\n+ \"ytdl-core\": \"^4.1.1\"\n},\n\"devDependencies\": {\n\"electron\": \"^10.1.3\",\n"...
JavaScript
MIT License
th-ch/youtube-music
Update ytdl-core to 4.1.1
675,343
02.12.2020 22:07:15
-3,600
ef9cd8cd2460007f8fae9afa534dcc20fedab582
Add option to disable hardware acceleration
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -8,6 +8,7 @@ const { autoUpdater } = require(\"electron-updater\");\nconst { setApplicationMenu } = require(\"./menu\");\nconst {\nautoUpdate,\n+ disableHardwareAcceleration,\ngetEnabledPlugins,\nhideMenu,\nisAppV...
JavaScript
MIT License
th-ch/youtube-music
Add option to disable hardware acceleration
675,343
02.12.2020 22:22:05
-3,600
1b54b19f3f14224eecce3e262800abd7c47d2418
Add "build:linux" script
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"postinstall\": \"yarn run icon && yarn run plugins\",\n\"clean\": \"rimraf dist\",\n\"build\": \"yarn run clean && electron-builder --win --mac --linux\",\n+ \"build:linux\": \"yarn run clean && electron-bu...
JavaScript
MIT License
th-ch/youtube-music
Add "build:linux" script
675,343
03.12.2020 18:16:37
-3,600
8ab2da0482b6211b6b6d43423ec06daed48dac4f
Refactor config for simpler use and advanced options in plugins
[ { "change_type": "ADD", "old_path": null, "new_path": "config/defaults.js", "diff": "+const defaultConfig = {\n+ \"window-size\": {\n+ width: 1100,\n+ height: 550,\n+ },\n+ url: \"https://music.youtube.com\",\n+ options: {\n+ tray: false,\n+ appVisible: true,\n+ autoUpdates: true,\n+ hideMenu: false...
JavaScript
MIT License
th-ch/youtube-music
Refactor config for simpler use and advanced options in plugins
675,343
03.12.2020 18:25:08
-3,600
a5130c1d3f190bc02c660d89bcfd34c50a497d15
Move migrations into separate const
[ { "change_type": "MODIFY", "old_path": "config/store.js", "new_path": "config/store.js", "diff": "@@ -3,10 +3,7 @@ const Store = require(\"electron-store\");\nconst defaults = require(\"./defaults\");\n-module.exports = new Store({\n- defaults,\n- clearInvalidConfig: false,\n- migrations: {\n+const ...
JavaScript
MIT License
th-ch/youtube-music
Move migrations into separate const
675,343
03.12.2020 18:25:31
-3,600
f4fe5c2a58e1ad555c321f27c00d2d78184fc687
Allow editing config (advanced)
[ { "change_type": "MODIFY", "old_path": "config/index.js", "new_path": "config/index.js", "diff": "@@ -12,5 +12,6 @@ const get = (key) => {\nmodule.exports = {\nget,\nset,\n+ edit: () => store.openInEditor(),\nplugins,\n};\n" }, { "change_type": "MODIFY", "old_path": "menu.js", "new_p...
JavaScript
MIT License
th-ch/youtube-music
Allow editing config (advanced)
675,343
03.12.2020 18:31:01
-3,600
e5ec79e345cd0169e05622a24940ecae011202f1
Watch changes in config and update menu
[ { "change_type": "MODIFY", "old_path": "config/index.js", "new_path": "config/index.js", "diff": "@@ -13,5 +13,6 @@ module.exports = {\nget,\nset,\nedit: () => store.openInEditor(),\n+ watch: (cb) => store.onDidAnyChange(cb),\nplugins,\n};\n" }, { "change_type": "MODIFY", "old_path": "in...
JavaScript
MIT License
th-ch/youtube-music
Watch changes in config and update menu
675,343
03.12.2020 20:42:58
-3,600
4d4a1f038b4b0c6ca942bc7a98572ecc0178302d
Custom plugin options
[ { "change_type": "MODIFY", "old_path": "config/defaults.js", "new_path": "config/defaults.js", "diff": "@@ -13,6 +13,7 @@ const defaultConfig = {\ndisableHardwareAcceleration: false,\n},\nplugins: {\n+ // Enabled plugins\nnavigation: {\nenabled: true,\n},\n@@ -21,6 +22,14 @@ const defaultConfig = {\...
JavaScript
MIT License
th-ch/youtube-music
Custom plugin options
675,343
03.12.2020 18:55:27
-3,600
7b20b9339deb004fbbbbc004a21f7072e1ced158
Download plugin - advanced options (folder, FFmpeg args)
[ { "change_type": "MODIFY", "old_path": "plugins/downloader/front.js", "new_path": "plugins/downloader/front.js", "diff": "@@ -7,6 +7,7 @@ let progress = null;\nconst downloadButton = ElementFromFile(\ntemplatePath(__dirname, \"download.html\")\n);\n+let pluginOptions = {};\nconst observer = new Muta...
JavaScript
MIT License
th-ch/youtube-music
Download plugin - advanced options (folder, FFmpeg args)
675,343
03.12.2020 19:02:43
-3,600
b94d0d4e8bd3a92bbb5e012a63fa782baa774be7
Adblocker - advanced options (caching or not, additional lists)
[ { "change_type": "MODIFY", "old_path": "plugins/adblocker/back.js", "new_path": "plugins/adblocker/back.js", "diff": "const { loadAdBlockerEngine } = require(\"./blocker\");\n-module.exports = (win) => loadAdBlockerEngine(win.webContents.session);\n+module.exports = (win, options) =>\n+ loadAdBlocke...
JavaScript
MIT License
th-ch/youtube-music
Adblocker - advanced options (caching or not, additional lists)
675,343
03.12.2020 20:26:15
-3,600
4dcbd2e7f0aec17934c4a6068d9758dfbffd6a2a
Add plugin options in migration
[ { "change_type": "MODIFY", "old_path": "config/store.js", "new_path": "config/store.js", "diff": "-const { dialog } = require(\"electron\");\nconst Store = require(\"electron-store\");\nconst defaults = require(\"./defaults\");\n@@ -11,9 +10,22 @@ const migrations = {\nreturn;\n}\n- const plugins = ...
JavaScript
MIT License
th-ch/youtube-music
Add plugin options in migration
675,343
03.12.2020 22:29:46
-3,600
fd97576611ae80b959ffe7984e88ddc8d28a1ffc
Option to restart the app on config changes
[ { "change_type": "MODIFY", "old_path": "config/defaults.js", "new_path": "config/defaults.js", "diff": "@@ -11,6 +11,7 @@ const defaultConfig = {\nhideMenu: false,\nstartAtLogin: false,\ndisableHardwareAcceleration: false,\n+ restartOnConfigChanges: false,\n},\nplugins: {\n// Enabled plugins\n" },...
JavaScript
MIT License
th-ch/youtube-music
Option to restart the app on config changes
675,360
05.12.2020 08:07:17
0
d21220693b9ffa26e05fe1963376b636b40b9952
Add AUR tag + beautify tags
[ { "change_type": "MODIFY", "old_path": "readme.md", "new_path": "readme.md", "diff": "# YouTube Music\n-[![GitHub release](https://img.shields.io/github/release/th-ch/youtube-music.svg)](https://GitHub.com/th-ch/youtube-music/releases/)\n-[![GitHub license](https://img.shields.io/github/license/th-c...
JavaScript
MIT License
th-ch/youtube-music
Add AUR tag + beautify tags
675,343
05.12.2020 12:31:14
-3,600
a67bf5ea435baf28d47fbacca5b42a3d93ab087f
Readme: add link to releases
[ { "change_type": "MODIFY", "old_path": "readme.md", "new_path": "readme.md", "diff": "[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=for-the-badge)](https://github.com/sindresorhus/xo)\n[![Build status](https://img.shields.io/github/workflow/status/th-ch/youtube-music/...
JavaScript
MIT License
th-ch/youtube-music
Readme: add link to releases
675,343
05.12.2020 12:33:26
-3,600
3022facbead40ccd81629c37b870ab33ce7fa106
Readme: add youtube-music logo to badges
[ { "change_type": "MODIFY", "old_path": "readme.md", "new_path": "readme.md", "diff": "<div align=\"center\">\n-[![GitHub release](https://img.shields.io/github/release/th-ch/youtube-music.svg?style=for-the-badge)](https://github.com/th-ch/youtube-music/releases/)\n+[![GitHub release](https://img.shi...
JavaScript
MIT License
th-ch/youtube-music
Readme: add youtube-music logo to badges
675,343
06.12.2020 17:55:51
-3,600
467171a17e648331d63f166c2da2f3134e95b37f
Bugfix: only use cache with no additional blocklists
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "{\n\"name\": \"youtube-music\",\n\"productName\": \"YouTube Music\",\n- \"version\": \"1.7.1\",\n+ \"version\": \"1.7.2\",\n\"description\": \"YouTube Music Desktop App - including custom plugins\",\n\"licens...
JavaScript
MIT License
th-ch/youtube-music
Bugfix: only use cache with no additional blocklists
675,343
08.12.2020 21:40:03
-3,600
22c7f70c938566a9db9c4d46a57224cfdee43df0
Adblocker: add option to disable default lists
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "{\n\"name\": \"youtube-music\",\n\"productName\": \"YouTube Music\",\n- \"version\": \"1.7.2\",\n+ \"version\": \"1.7.3\",\n\"description\": \"YouTube Music Desktop App - including custom plugins\",\n\"licens...
JavaScript
MIT License
th-ch/youtube-music
Adblocker: add option to disable default lists
675,343
10.12.2020 18:40:31
-3,600
79c795927a3be96456a2f45159285c64166a29b8
Add uBlock Origin filters to default sources
[ { "change_type": "MODIFY", "old_path": "plugins/adblocker/blocker.js", "new_path": "plugins/adblocker/blocker.js", "diff": "@@ -6,6 +6,9 @@ const fetch = require(\"node-fetch\");\nconst SOURCES = [\n\"https://raw.githubusercontent.com/kbinani/adblock-youtube-ads/master/signed.txt\",\n+ // uBlock Ori...
JavaScript
MIT License
th-ch/youtube-music
Add uBlock Origin filters to default sources
675,343
10.12.2020 18:42:00
-3,600
49497d0efb28ee0be5b16d0f1c3660efafcd289c
Bump adblocker dependency
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"npm\": \"Please use yarn and not npm\"\n},\n\"dependencies\": {\n- \"@cliqz/adblocker-electron\": \"^1.18.6\",\n+ \"@cliqz/adblocker-electron\": \"^1.18.8\",\n\"@ffmpeg/core\": \"^0.8.4\",\n\"@ffmpeg/ffmpeg...
JavaScript
MIT License
th-ch/youtube-music
Bump adblocker dependency
675,343
12.12.2020 22:37:04
-3,600
a47c5144ac622be59bf7d9fcb00b1e816716cdff
Additional linux targets
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"linux\": {\n\"icon\": \"assets/generated/icons/png\",\n\"category\": \"AudioVideo\",\n- \"target\": [\"AppImage\", \"deb\", \"rpm\"]\n+ \"target\": [\"AppImage\", \"snap\", \"freebsd\", \"deb\", \"rpm\"]\n}...
JavaScript
MIT License
th-ch/youtube-music
Additional linux targets
675,343
13.12.2020 16:15:30
-3,600
01fc9651705f457da63615ff774f00957f783d3d
Web folder for readme assets + new svg animation
[ { "change_type": "MODIFY", "old_path": "readme.md", "new_path": "readme.md", "diff": "</div>\n-![Screenshot](screenshot.jpg \"Screenshot\")\n+![Screenshot](web/screenshot.jpg \"Screenshot\")\n+\n+<div align=\"center\">\n+ <a href=\"https://github.com/th-ch/youtube-music/releases/latest\">\n+ <img sr...
JavaScript
MIT License
th-ch/youtube-music
Web folder for readme assets + new svg animation
675,338
16.12.2020 19:44:26
-3,600
3ea859de0988c705c7b228ea2c17a1662cf73168
Added song image
[ { "change_type": "MODIFY", "old_path": "plugins/touchbar/back.js", "new_path": "plugins/touchbar/back.js", "diff": "const {\n- TouchBar\n+ TouchBar, nativeImage\n} = require('electron');\nconst {\nTouchBarButton,\n@@ -8,10 +8,14 @@ const {\nTouchBarSegmentedControl,\nTouchBarScrubber\n} = TouchBar;\...
JavaScript
MIT License
th-ch/youtube-music
Added song image
675,338
16.12.2020 20:10:05
-3,600
ba3779db0769556b11b8b4c6bf6db386753c323d
Updated comment - touchbar plugin
[ { "change_type": "MODIFY", "old_path": "plugins/touchbar/back.js", "new_path": "plugins/touchbar/back.js", "diff": "@@ -16,7 +16,7 @@ const titleSelector = '.title.style-scope.ytmusic-player-bar';\n// This selects the song image\nconst imageSelector = '#layout > ytmusic-player-bar > div.middle-contr...
JavaScript
MIT License
th-ch/youtube-music
Updated comment - touchbar plugin
675,343
20.12.2020 20:16:35
-3,600
fbdae0452c50ed47f0529e63a57385a027ba47f0
Add touchbar plugin to list
[ { "change_type": "MODIFY", "old_path": "readme.md", "new_path": "readme.md", "diff": "@@ -43,6 +43,7 @@ Install the `youtube-music-bin` package from the AUR. For AUR installation instr\n- **Auto confirm when paused**: when the \"Continue Watching?\" modal appears, automatically click \"Yes\"\n- **Hi...
JavaScript
MIT License
th-ch/youtube-music
Add touchbar plugin to list
675,338
21.12.2020 21:11:00
-3,600
ee239da64740861f9acb14483d048bf98fe4fb4e
removed unnecessary await keyword
[ { "change_type": "MODIFY", "old_path": "plugins/songInfo/back.js", "new_path": "plugins/songInfo/back.js", "diff": "@@ -70,7 +70,7 @@ const getPausedStatus = async win => {\n// This variable will be filled with the callbacks once they register\nconst callbacks = [];\n-module.exports = async win => {...
JavaScript
MIT License
th-ch/youtube-music
removed unnecessary await keyword
675,338
21.12.2020 21:35:02
-3,600
5bffdbd6285a6816749c467d6e912d14748f9959
Simplifies the notification plugin to use the globalized song info
[ { "change_type": "DELETE", "old_path": "plugins/notifications/actions.js", "new_path": null, "diff": "-const { triggerAction } = require(\"../utils\");\n-\n-const CHANNEL = \"notification\";\n-const ACTIONS = {\n- NOTIFICATION: \"notification\",\n-};\n-\n-function notify(info) {\n- triggerAction(CHA...
JavaScript
MIT License
th-ch/youtube-music
Simplifies the notification plugin to use the globalized song info
675,338
21.12.2020 22:11:23
-3,600
588e0019d69d5478a98a78d5a1773bf013c3bdc9
Changed function style in notifications
[ { "change_type": "MODIFY", "old_path": "plugins/notifications/back.js", "new_path": "plugins/notifications/back.js", "diff": "const {Notification} = require('electron');\n-function notify(info) {\n+const notify = info => {\nlet notificationImage = 'assets/youtube-music.png';\nif (info.image) {\n@@ -...
JavaScript
MIT License
th-ch/youtube-music
Changed function style in notifications
675,343
08.01.2021 22:29:25
-3,600
6a100c8cb16c36f567439523004dde9bae41213d
Allow custom audio extensions in downloader
[ { "change_type": "MODIFY", "old_path": "plugins/downloader/youtube-dl.js", "new_path": "plugins/downloader/youtube-dl.js", "diff": "@@ -73,6 +73,7 @@ const toMP3 = async (\noptions\n) => {\nconst safeVideoName = randomBytes(32).toString(\"hex\");\n+ const extension = options.extension || \"mp3\";\nt...
JavaScript
MIT License
th-ch/youtube-music
Allow custom audio extensions in downloader
675,343
10.01.2021 12:29:12
-3,600
1ba166a172b630dbf933a8714cc698e42533011e
Bump electron to v11
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -75,12 +75,18 @@ function createMainWindow() {\nbackgroundColor: \"#000\",\nshow: false,\nwebPreferences: {\n- nodeIntegration: isTesting(), // Only necessary when testing with Spectron\npreload: path.join(__dirna...
JavaScript
MIT License
th-ch/youtube-music
Bump electron to v11
675,343
10.01.2021 14:10:16
-3,600
945a61fafd2239731fe5a345d9ba60a86fb6efd7
Remove warning by setting contextIsolation
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -75,6 +75,7 @@ function createMainWindow() {\nbackgroundColor: \"#000\",\nshow: false,\nwebPreferences: {\n+ contextIsolation: true,\npreload: path.join(__dirname, \"preload.js\"),\nnodeIntegrationInSubFrames: tru...
JavaScript
MIT License
th-ch/youtube-music
Remove warning by setting contextIsolation
675,338
10.01.2021 20:31:55
-3,600
5d8904388441bff8656dda1bac47eb77718f1b0e
fixed typo, plugins/songInfo/back.js
[ { "change_type": "MODIFY", "old_path": "plugins/songInfo/back.js", "new_path": "plugins/songInfo/back.js", "diff": "@@ -81,7 +81,7 @@ module.exports = win => {\nimage: null,\nisPaused: true\n};\n- // The song control funcions\n+ // The song control functions\nglobal.songControls = {\nprevious: () =>...
JavaScript
MIT License
th-ch/youtube-music
fixed typo, plugins/songInfo/back.js Co-authored-by: th-ch <th-ch@users.noreply.github.com>
675,338
10.01.2021 21:37:50
-3,600
3a5d9bd973bdd67e77f8a7687c1430245a9490bd
Loads providers before plugins
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -28,6 +28,8 @@ if (config.get(\"options.disableHardwareAcceleration\")) {\n// Adds debug features like hotkeys for triggering dev tools and reload\nrequire(\"electron-debug\")();\n+// these are the providers for t...
JavaScript
MIT License
th-ch/youtube-music
Loads providers before plugins
675,338
12.01.2021 20:16:49
-3,600
a8ce87f2ccb4f0fdbd36676883e6a0497bebc263
Added Discord rich presence and added extra properties to songinfo provider
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"linux\": {\n\"icon\": \"assets/generated/icons/png\",\n\"category\": \"AudioVideo\",\n- \"target\": [\"AppImage\", \"snap\", \"freebsd\", \"deb\", \"rpm\"]\n+ \"target\": [\n+ \"AppImage\",\n+ \"snap\",\n+ ...
JavaScript
MIT License
th-ch/youtube-music
Added Discord rich presence and added extra properties to songinfo provider
675,343
12.01.2021 21:17:08
-3,600
0743034de0443e889ec11d7ea83727ff4fb96599
Split providers in 2
[ { "change_type": "ADD", "old_path": null, "new_path": "providers/song-controls.js", "diff": "+// This is used for to control the songs\n+const pressKey = (window, key) => {\n+ window.webContents.sendInputEvent({\n+ type: \"keydown\",\n+ keyCode: key,\n+ });\n+};\n+\n+module.exports = (win) => {\n+ r...
JavaScript
MIT License
th-ch/youtube-music
Split providers in 2
675,343
12.01.2021 21:17:40
-3,600
9110e79c16d25a3fd1989d1839b758e661a4a9c2
Use refactored providers in touchbar plugin
[ { "change_type": "MODIFY", "old_path": "plugins/touchbar/back.js", "new_path": "plugins/touchbar/back.js", "diff": "@@ -7,6 +7,9 @@ const {\nTouchBarScrubber,\n} = TouchBar;\n+const getSongInfo = require(\"../../providers/song-info\");\n+const getSongControls = require(\"../../providers/song-control...
JavaScript
MIT License
th-ch/youtube-music
Use refactored providers in touchbar plugin
675,343
12.01.2021 21:18:05
-3,600
de1e4196d9dd841f9344ad8bcaf2b30b03836589
Use refactored provider in notification plugin
[ { "change_type": "MODIFY", "old_path": "plugins/notifications/back.js", "new_path": "plugins/notifications/back.js", "diff": "const { Notification } = require(\"electron\");\n-const notify = info => {\n- let notificationImage = 'assets/youtube-music.png';\n+const getSongInfo = require(\"../../provid...
JavaScript
MIT License
th-ch/youtube-music
Use refactored provider in notification plugin
675,343
12.01.2021 21:18:32
-3,600
87d2693e2b021d109c1ca6dd4b4466bfb40d3ef3
Use refactored provider in shortcuts plugin
[ { "change_type": "MODIFY", "old_path": "plugins/shortcuts/back.js", "new_path": "plugins/shortcuts/back.js", "diff": "const { globalShortcut } = require(\"electron\");\nconst electronLocalshortcut = require(\"electron-localshortcut\");\n-const {\n- playPause,\n- nextTrack,\n- previousTrack,\n- start...
JavaScript
MIT License
th-ch/youtube-music
Use refactored provider in shortcuts plugin
675,343
12.01.2021 21:19:01
-3,600
f7cbf2c221dc817e754cb569d3191db8b12750a3
No autoloading of providers (loaded on demand in plugins)
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -28,8 +28,6 @@ if (config.get(\"options.disableHardwareAcceleration\")) {\n// Adds debug features like hotkeys for triggering dev tools and reload\nrequire(\"electron-debug\")();\n-// these are the providers for t...
JavaScript
MIT License
th-ch/youtube-music
No autoloading of providers (loaded on demand in plugins)
675,343
12.01.2021 21:28:26
-3,600
18df1223af830acdac3b66ac6bcdd6b4d171be6e
Add portable target to windows builds
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"icon\": \"assets/generated/icons/mac/icon.icns\"\n},\n\"win\": {\n- \"icon\": \"assets/generated/icons/win/icon.ico\"\n+ \"icon\": \"assets/generated/icons/win/icon.ico\",\n+ \"target\": [\"nsis\", \"portab...
JavaScript
MIT License
th-ch/youtube-music
Add portable target to windows builds
675,343
12.01.2021 22:52:21
-3,600
79e8fc2fac69858321f6ad3f2b922e650eaeaefb
Fix downloader plugin with context isolation
[ { "change_type": "MODIFY", "old_path": "plugins/downloader/front.js", "new_path": "plugins/downloader/front.js", "diff": "+const { contextBridge } = require(\"electron\");\n+\nconst { ElementFromFile, templatePath, triggerAction } = require(\"../utils\");\nconst { ACTIONS, CHANNEL } = require(\"./ac...
JavaScript
MIT License
th-ch/youtube-music
Fix downloader plugin with context isolation
675,343
12.01.2021 22:54:04
-3,600
9ad1dad6dfb68cdf73c08e73bcbfed3b7fbf1270
Use contextBridge in preload script + update navigation plugin
[ { "change_type": "MODIFY", "old_path": "plugins/navigation/actions.js", "new_path": "plugins/navigation/actions.js", "diff": "-const { triggerAction } = require('../utils');\n+const { triggerAction } = require(\"../utils\");\nconst CHANNEL = \"navigation\";\nconst ACTIONS = {\nNEXT: \"next\",\n- BAC...
JavaScript
MIT License
th-ch/youtube-music
Use contextBridge in preload script + update navigation plugin
675,343
13.01.2021 21:28:42
-3,600
39c8031cd758f94192097eb347202aa4f08657c5
Disable context isolation (to load ffmpeg wasm)
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -86,7 +86,9 @@ function createMainWindow() {\nbackgroundColor: \"#000\",\nshow: false,\nwebPreferences: {\n- contextIsolation: true,\n+ // TODO: re-enable contextIsolation once it can work with ffmepg.wasm\n+ // P...
JavaScript
MIT License
th-ch/youtube-music
Disable context isolation (to load ffmpeg wasm)
675,343
13.01.2021 21:36:16
-3,600
b54c501eeb779cda30243f76b0cc744e02e1f409
Downloader plugin: log audio bitrate
[ { "change_type": "MODIFY", "old_path": "plugins/downloader/youtube-dl.js", "new_path": "plugins/downloader/youtube-dl.js", "diff": "@@ -54,7 +54,12 @@ const downloadVideoToMP3 = (\n.on(\"info\", (info, format) => {\nvideoName = info.videoDetails.title.replace(\"|\", \"\").toString(\"ascii\");\nif (i...
JavaScript
MIT License
th-ch/youtube-music
Downloader plugin: log audio bitrate
675,343
13.01.2021 22:22:22
-3,600
aec542e95e2837f54bf19de675f311444789ea4e
Update discord plugin for new provider + wait for ready
[ { "change_type": "MODIFY", "old_path": "plugins/discord-rpc/back.js", "new_path": "plugins/discord-rpc/back.js", "diff": "-const Discord = require('discord-rpc');\n+const Discord = require(\"discord-rpc\");\n+\n+const getSongInfo = require(\"../../providers/song-info\");\n+\nconst rpc = new Discord....
JavaScript
MIT License
th-ch/youtube-music
Update discord plugin for new provider + wait for ready
675,343
14.01.2021 23:01:26
-3,600
2861473097d73ca6f1a7c2aedd83f2980998aba9
Set title/artist metadata in downloader
[ { "change_type": "MODIFY", "old_path": "plugins/downloader/actions.js", "new_path": "plugins/downloader/actions.js", "diff": "const CHANNEL = \"downloader\";\nconst ACTIONS = {\nERROR: \"error\",\n+ METADATA: \"metadata\",\n};\nmodule.exports = {\n" }, { "change_type": "MODIFY", "old_pat...
JavaScript
MIT License
th-ch/youtube-music
Set title/artist metadata in downloader
675,343
14.01.2021 23:09:04
-3,600
ed09304ed7323fab4dbd3a341a22506ab30c8a31
Refactor tray to use provider + play/pause on click
[ { "change_type": "MODIFY", "old_path": "config/defaults.js", "new_path": "config/defaults.js", "diff": "@@ -12,6 +12,7 @@ const defaultConfig = {\nstartAtLogin: false,\ndisableHardwareAcceleration: false,\nrestartOnConfigChanges: false,\n+ trayClickPlayPause: false,\n},\nplugins: {\n// Enabled plugi...
JavaScript
MIT License
th-ch/youtube-music
Refactor tray to use provider + play/pause on click
675,343
15.01.2021 22:31:46
-3,600
227902b7cc1d6d9d014c439097a2e6d77161e9f1
Add shortcuts to provider
[ { "change_type": "MODIFY", "old_path": "providers/song-controls.js", "new_path": "providers/song-controls.js", "diff": "// This is used for to control the songs\n-const pressKey = (window, key) => {\n+const pressKey = (window, key, modifiers = []) => {\nwindow.webContents.sendInputEvent({\ntype: \"k...
JavaScript
MIT License
th-ch/youtube-music
Add shortcuts to provider
675,343
18.01.2021 21:58:18
-3,600
e19964edf6a389160f6b6dfef5e569addf5837e6
GH page: fix canvas size
[ { "change_type": "MODIFY", "old_path": "docs/index.html", "new_path": "docs/index.html", "diff": "<section class=\"hero text-center text-light\">\n<div class=\"hero-bg\"></div>\n<div class=\"hero-particles-container\">\n- <canvas\n- id=\"hero-particles\"\n- width=\"2558\"\n- height=\"1478\"\n- style...
JavaScript
MIT License
th-ch/youtube-music
GH page: fix canvas size
675,338
01.02.2021 20:18:16
-3,600
c1ee58b47f033f0e94b57bc9aade0619be9b4910
Reuse the same notifcation, instead of creating a new notification each time.
[ { "change_type": "MODIFY", "old_path": "plugins/notifications/back.js", "new_path": "plugins/notifications/back.js", "diff": "@@ -2,7 +2,7 @@ const { Notification } = require(\"electron\");\nconst getSongInfo = require(\"../../providers/song-info\");\n-const notify = (info) => {\n+const notify = (in...
JavaScript
MIT License
th-ch/youtube-music
Reuse the same notifcation, instead of creating a new notification each time.
675,343
06.02.2021 22:15:57
-3,600
3976d1c8627c5ca184f49296023f4dfe2a44ce5e
Add option to reset cache
[ { "change_type": "MODIFY", "old_path": "config/defaults.js", "new_path": "config/defaults.js", "diff": "@@ -13,6 +13,7 @@ const defaultConfig = {\ndisableHardwareAcceleration: false,\nrestartOnConfigChanges: false,\ntrayClickPlayPause: false,\n+ autoResetAppCache: false,\n},\nplugins: {\n// Enabled ...
JavaScript
MIT License
th-ch/youtube-music
Add option to reset cache
675,343
06.02.2021 22:22:49
-3,600
da61621a62953f476bb68a53e4ae05e14c5b82f2
Check updates after 2s
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -217,7 +217,10 @@ app.on(\"ready\", () => {\n});\nif (!is.dev() && config.get(\"options.autoUpdates\")) {\n+ const updateTimeout = setTimeout(() => {\nautoUpdater.checkForUpdatesAndNotify();\n+ clearTimeout(update...
JavaScript
MIT License
th-ch/youtube-music
Check updates after 2s
675,343
07.02.2021 11:46:57
-3,600
f7f31850d3d9879002dc47326e4f6ec9a52c25a1
Add plugin to control playback speed like in YouTube (from 0.25 to 2)
[ { "change_type": "ADD", "old_path": null, "new_path": "plugins/playback-speed/front.js", "diff": "+const { watchDOMElement } = require(\"../../providers/dom-elements\");\n+const { ElementFromFile, templatePath } = require(\"../utils\");\n+\n+const slider = ElementFromFile(templatePath(__dirname, \"s...
JavaScript
MIT License
th-ch/youtube-music
Add plugin to control playback speed like in YouTube (from 0.25 to 2)
675,343
07.02.2021 13:25:01
-3,600
980090f108d865ad224867493fc46a0574510535
Remember window position
[ { "change_type": "MODIFY", "old_path": "index.js", "new_path": "index.js", "diff": "@@ -67,6 +67,7 @@ function loadPlugins(win) {\nfunction createMainWindow() {\nconst windowSize = config.get(\"window-size\");\nconst windowMaximized = config.get(\"window-maximized\");\n+ const windowPosition = confi...
JavaScript
MIT License
th-ch/youtube-music
Remember window position
675,343
07.02.2021 14:43:37
-3,600
5b8d5d5ee41cff82585262d45f58e68691a0ebbc
Do not run the app after Windows install
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"icon\": \"assets/generated/icons/win/icon.ico\",\n\"target\": [\"nsis\", \"portable\"]\n},\n+ \"nsis\": {\n+ \"runAfterFinish\": false\n+ },\n\"linux\": {\n\"icon\": \"assets/generated/icons/png\",\n\"categ...
JavaScript
MIT License
th-ch/youtube-music
Do not run the app after Windows install