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 | 07.02.2021 18:29:35 | -3,600 | 024ed9085c9c8e3b58fdbfa26f781bc6d4ae2c56 | Allow custom shortcuts in plugin | [
{
"change_type": "MODIFY",
"old_path": "plugins/shortcuts/back.js",
"new_path": "plugins/shortcuts/back.js",
"diff": "@@ -15,14 +15,35 @@ function _registerLocalShortcut(win, shortcut, action) {\n});\n}\n-function registerShortcuts(win) {\n- const { playPause, next, previous, search } = getSongContr... | JavaScript | MIT License | th-ch/youtube-music | Allow custom shortcuts in plugin |
675,343 | 24.02.2021 20:53:41 | -3,600 | 5842a6d42f242a6093b1e2c0d5fc6bb965014e7b | Handle uncaught errors | [
{
"change_type": "MODIFY",
"old_path": "index.js",
"new_path": "index.js",
"diff": "@@ -3,6 +3,7 @@ const path = require(\"path\");\nconst electron = require(\"electron\");\nconst is = require(\"electron-is\");\n+const unhandled = require(\"electron-unhandled\");\nconst { autoUpdater } = require(\"e... | JavaScript | MIT License | th-ch/youtube-music | Handle uncaught errors |
675,343 | 24.02.2021 21:08:25 | -3,600 | 70973b22817059e8d81f1d3db288d0d0a77c04c5 | Clear cache after 20s if option is enabled | [
{
"change_type": "MODIFY",
"old_path": "index.js",
"new_path": "index.js",
"diff": "@@ -209,8 +209,14 @@ app.on(\"activate\", () => {\napp.on(\"ready\", () => {\nif (config.get(\"options.autoResetAppCache\")) {\n- // Clear cache\n+ // Clear cache after 20s\n+ const clearCacheTimeout = setTimeout(() ... | JavaScript | MIT License | th-ch/youtube-music | Clear cache after 20s if option is enabled |
675,358 | 04.03.2021 14:14:49 | -3,600 | 9aaae7b2d93feaefeebebc30b06f92fc232e784e | rocket: Added function to toggle resuming of last song when app starts | [
{
"change_type": "MODIFY",
"old_path": "config/defaults.js",
"new_path": "config/defaults.js",
"diff": "@@ -14,6 +14,7 @@ const defaultConfig = {\nrestartOnConfigChanges: false,\ntrayClickPlayPause: false,\nautoResetAppCache: false,\n+ resumeSongOnStart: true\n},\nplugins: {\n// Enabled plugins\n"
... | JavaScript | MIT License | th-ch/youtube-music | :rocket: Added function to toggle resuming of last song when app starts |
675,343 | 04.03.2021 21:29:37 | -3,600 | 796a7aaaf1ecaf80b2ef113137f2222499803e29 | Fix download/speed menu item | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/front.js",
"new_path": "plugins/downloader/front.js",
"diff": "const { contextBridge } = require(\"electron\");\n+const { getSongMenu } = require(\"../../providers/dom-elements\");\nconst { ElementFromFile, templatePath, triggerAction } = re... | JavaScript | MIT License | th-ch/youtube-music | Fix download/speed menu item |
675,343 | 04.03.2021 22:47:53 | -3,600 | eaa957168ff015157efc62887c8f45bdfac262d4 | Add plugin to disable autoplay | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "plugins/disable-autoplay/front.js",
"diff": "+let videoElement = null;\n+\n+const observer = new MutationObserver((mutations, observer) => {\n+ if (!videoElement) {\n+ videoElement = document.querySelector(\"video\");\n+ }\n+\n+ if (videoElement... | JavaScript | MIT License | th-ch/youtube-music | Add plugin to disable autoplay |
675,343 | 04.03.2021 23:09:01 | -3,600 | f50bd32fa3b4223da0efc6f6fdb3952e56005817 | Fix resumeOnStart option | [
{
"change_type": "MODIFY",
"old_path": "config/defaults.js",
"new_path": "config/defaults.js",
"diff": "@@ -14,7 +14,7 @@ const defaultConfig = {\nrestartOnConfigChanges: false,\ntrayClickPlayPause: false,\nautoResetAppCache: false,\n- resumeSongOnStart: true\n+ resumeOnStart: true,\n},\nplugins: {\... | JavaScript | MIT License | th-ch/youtube-music | Fix resumeOnStart option |
675,338 | 17.03.2021 10:22:19 | -3,600 | ca8d62d4e26d28927c5b6c552578eb6a8a639c7e | Added Discord timeout | [
{
"change_type": "MODIFY",
"old_path": "config/defaults.js",
"new_path": "config/defaults.js",
"diff": "@@ -35,6 +35,10 @@ const defaultConfig = {\nffmpegArgs: [], // e.g. [\"-b:a\", \"192k\"] for an audio bitrate of 192kb/s\ndownloadFolder: undefined, // Custom download folder (absolute path)\n},\n... | JavaScript | MIT License | th-ch/youtube-music | Added Discord timeout |
675,338 | 18.03.2021 17:48:56 | -3,600 | d852029d25e2af919adeef1461139398903209cb | Improved songinfo provider, by using the data from the '/player' request | [
{
"change_type": "MODIFY",
"old_path": "plugins/discord/back.js",
"new_path": "plugins/discord/back.js",
"diff": "@@ -22,7 +22,10 @@ module.exports = (win) => {\ndetails: songInfo.title,\nstate: songInfo.artist,\nlargeImageKey: \"logo\",\n- largeImageText: songInfo.views + \" - \" + songInfo.likes,\... | JavaScript | MIT License | th-ch/youtube-music | Improved songinfo provider, by using the data from the '/player' request |
675,343 | 18.03.2021 22:02:19 | -3,600 | 8cce3f4503989e6d64961cbd0722b733cc0e2937 | Add view/navigation menu | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -165,6 +165,38 @@ const mainMenuTemplate = (win) => [\n},\n],\n},\n+ {\n+ label: \"View\",\n+ submenu: [\n+ { role: \"reload\" },\n+ { role: \"forceReload\" },\n+ { type: \"separator\" },\n+ { role: \"zoomIn\" },\n+... | JavaScript | MIT License | th-ch/youtube-music | Add view/navigation menu |
675,343 | 18.03.2021 22:12:18 | -3,600 | c926db7f130c6a293f8c07af91dfa62902a353a3 | Increase top margin for MacOS | [
{
"change_type": "MODIFY",
"old_path": "youtube-music.css",
"new_path": "youtube-music.css",
"diff": "@@ -17,11 +17,11 @@ a {\n/* custom style for navbar */\nytmusic-app-layout {\n- --ytmusic-nav-bar-height: 85px;\n+ --ytmusic-nav-bar-height: 90px;\n}\nytmusic-search-box.ytmusic-nav-bar {\n- margin-... | JavaScript | MIT License | th-ch/youtube-music | Increase top margin for MacOS |
675,338 | 19.03.2021 21:32:33 | -3,600 | 4747050b60b2a6c35253123c8bcd106ed478c677 | Added working lastfm support
currently only played songs are added | [
{
"change_type": "MODIFY",
"old_path": "config/defaults.js",
"new_path": "config/defaults.js",
"diff": "@@ -35,6 +35,12 @@ const defaultConfig = {\nffmpegArgs: [], // e.g. [\"-b:a\", \"192k\"] for an audio bitrate of 192kb/s\ndownloadFolder: undefined, // Custom download folder (absolute path)\n},\n... | JavaScript | MIT License | th-ch/youtube-music | Added working lastfm support
currently only played songs are added |
675,338 | 19.03.2021 22:00:00 | -3,600 | 42e3d48cafa1e1d32199d5e0012909e11b5ff8bc | Added now playing to last-fm | [
{
"change_type": "MODIFY",
"old_path": "plugins/last-fm/back.js",
"new_path": "plugins/last-fm/back.js",
"diff": "@@ -15,12 +15,12 @@ const createFormData = (params) => {\n}\nconst createQueryString = (params, api_sig) => {\n// creates a querystring\n- const queryData = []\n- params.api_sig = api_si... | JavaScript | MIT License | th-ch/youtube-music | Added now playing to last-fm |
675,338 | 21.03.2021 14:14:26 | -3,600 | 204f384d0106b6accd3ad1836b8a19f6fdbc540e | fetch highest resolution image instead of lowest resolution | [
{
"change_type": "MODIFY",
"old_path": "providers/song-info.js",
"new_path": "providers/song-info.js",
"diff": "@@ -44,11 +44,11 @@ const songInfo = {\n};\nconst handleData = async (_event, responseText) => {\n- data = JSON.parse(responseText);\n+ let data = JSON.parse(responseText);\nsongInfo.title... | JavaScript | MIT License | th-ch/youtube-music | fetch highest resolution image instead of lowest resolution |
675,338 | 21.03.2021 18:47:16 | -3,600 | 2bb67db888ea1da9f8f05a73dddb7617d85e894b | Fixed backwards compatibility | [
{
"change_type": "MODIFY",
"old_path": "plugins/last-fm/back.js",
"new_path": "plugins/last-fm/back.js",
"diff": "@@ -5,6 +5,13 @@ const axios = require('axios');\nconst { setOptions } = require('../../config/plugins');\nconst getSongInfo = require('../../providers/song-info');\n+const defaultSettin... | JavaScript | MIT License | th-ch/youtube-music | Fixed backwards compatibility |
675,352 | 21.03.2021 20:08:07 | -7,200 | 2c13ef40e28b7dd73a7b557dc01e25512df2c352 | taskbar-mediacontrol plugin
Add UI Control to windows taskbar preview | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "plugins/taskbar-mediacontrol/back.js",
"diff": "+const getSongControls = require(\"../../providers/song-controls\");\n+const getSongInfo = require(\"../../providers/song-info\");\n+const path = require('path');\n+\n+module.exports = win => {\n+ ... | JavaScript | MIT License | th-ch/youtube-music | taskbar-mediacontrol plugin
Add UI Control to windows taskbar preview |
675,338 | 21.03.2021 22:28:05 | -3,600 | 1355b692b927deec4e1fdc641f7bad645ab01667 | Remove the - Topic for more matches | [
{
"change_type": "MODIFY",
"old_path": "plugins/last-fm/back.js",
"new_path": "plugins/last-fm/back.js",
"diff": "@@ -94,7 +94,7 @@ const addScrobble = async (songInfo, config) => {\nawait getAndSetSessionKey(config);\ndata = {\ntrack: songInfo.title,\n- artist: songInfo.artist,\n+ artist: songInfo.... | JavaScript | MIT License | th-ch/youtube-music | Remove the - Topic for more matches |
675,352 | 22.03.2021 01:26:20 | -7,200 | 41796aec060258e77e4461e1983c67c10366cb5a | Tray Break Thumbar Fix
using win.minimize()
and win.setSkipTaskbar(bool)
instead of win.hide() / win.show() | [
{
"change_type": "MODIFY",
"old_path": "index.js",
"new_path": "index.js",
"diff": "@@ -286,7 +286,8 @@ app.on(\"ready\", () => {\n// Hide the window instead of quitting (quit is available in tray options)\nif (!forceQuit) {\nevent.preventDefault();\n- mainWindow.hide();\n+ mainWindow.minimize()\n+ ... | JavaScript | MIT License | th-ch/youtube-music | Tray Break Thumbar Fix
using win.minimize()
and win.setSkipTaskbar(bool)
instead of win.hide() / win.show() |
675,352 | 22.03.2021 03:01:46 | -7,200 | df8c77cd3e0ecd0fb3876e36ea84937110d99720 | Wait for song to start before setting thumbar | [
{
"change_type": "MODIFY",
"old_path": "plugins/taskbar-mediacontrol/back.js",
"new_path": "plugins/taskbar-mediacontrol/back.js",
"diff": "@@ -8,9 +8,12 @@ module.exports = win => {\n// If the page is ready, register the callback\nwin.on(\"ready-to-show\", () => {\n- // Register the callback\nregis... | JavaScript | MIT License | th-ch/youtube-music | Wait for song to start before setting thumbar |
675,352 | 23.03.2021 02:46:13 | -7,200 | b8c5c87cfa0d9e3920570ef650b9a4ebe0ca8197 | Styled Bars [Titlebar + Scrollbar] | [
{
"change_type": "MODIFY",
"old_path": "index.js",
"new_path": "index.js",
"diff": "@@ -99,7 +99,7 @@ function createMainWindow() {\n}\n: undefined),\n},\n- frame: !is.macOS(),\n+ frame: !is.macOS() && !config.plugins.isEnabled(\"styled-bars\"),\ntitleBarStyle: is.macOS() ? \"hiddenInset\" : \"defau... | JavaScript | MIT License | th-ch/youtube-music | Styled Bars [Titlebar + Scrollbar] |
675,352 | 23.03.2021 02:51:12 | -7,200 | 8727a2e2996258a1fa0ebfaf2c9270acb876414d | separate plugins to different branches | [
{
"change_type": "DELETE",
"old_path": "plugins/taskbar-mediacontrol/back.js",
"new_path": null,
"diff": "-const getSongControls = require('../../providers/song-controls');\n-const getSongInfo = require('../../providers/song-info');\n-const path = require('path');\n-\n-module.exports = win => {\n- w... | JavaScript | MIT License | th-ch/youtube-music | separate plugins to different branches |
675,352 | 23.03.2021 15:07:31 | -7,200 | f1dbe4ab6c9c65331f8d7b30a5c350dbc11cad2f | Allow hide menu options (uses Escape key) | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/back.js",
"new_path": "plugins/styled-bars/back.js",
"diff": "const {injectCSS} = require('../utils');\nconst {Menu} = require('electron');\nconst path = require('path');\n-\n+const electronLocalshortcut = require(\"electron-localshortcut\"... | JavaScript | MIT License | th-ch/youtube-music | Allow hide menu options (uses Escape key) |
675,352 | 23.03.2021 16:17:50 | -7,200 | c1f176fa21edf76c1e1188637e4d143a6540f364 | Fixed MenuItem roles + add restart+quit button | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/back.js",
"new_path": "plugins/styled-bars/back.js",
"diff": "@@ -5,7 +5,7 @@ const electronLocalshortcut = require(\"electron-localshortcut\");\nconst is = require('electron-is');\nconst {getAllPlugins} = require('../../plugins/utils');\nc... | JavaScript | MIT License | th-ch/youtube-music | Fixed MenuItem roles + add restart+quit button |
675,352 | 23.03.2021 19:29:07 | -7,200 | a12d5a982fbef621c897dc9a2f18d8335e9963e7 | fix library UI bug | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/style.css",
"new_path": "plugins/styled-bars/style.css",
"diff": "@@ -3,6 +3,15 @@ ytmusic-nav-bar {\n-webkit-app-region : unset;\n}\n+.center-content.ytmusic-nav-bar {\n+ background: black;\n+}\n+yt-page-navigation-progress, #progress.yt-p... | JavaScript | MIT License | th-ch/youtube-music | fix library UI bug |
675,352 | 23.03.2021 19:47:47 | -7,200 | f9c66ead507ff4b208e017b5426674f16606df79 | css color fix | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/style.css",
"new_path": "plugins/styled-bars/style.css",
"diff": "@@ -3,14 +3,22 @@ ytmusic-nav-bar {\n-webkit-app-region : unset;\n}\n+ytmusic-app-layout {\n+ --ytmusic-nav-bar-height: 120px;\n+}\n+\n+ytmusic-search-box.ytmusic-nav-bar {\n... | JavaScript | MIT License | th-ch/youtube-music | css color fix |
675,352 | 23.03.2021 22:15:16 | -7,200 | 5fd11bf0099edffbdedbc3c055213f804d39510d | fixed search page header height | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/style.css",
"new_path": "plugins/styled-bars/style.css",
"diff": "@@ -9,7 +9,7 @@ ytmusic-app-layout {\n}\nytmusic-search-box.ytmusic-nav-bar {\n- margin-top: 30px;\n+ margin-top: 29px;\n}\n.center-content.ytmusic-nav-bar {\n@@ -21,6 +21,9 ... | JavaScript | MIT License | th-ch/youtube-music | fixed search page header height |
675,352 | 24.03.2021 00:13:38 | -7,200 | d3337c7d3ce95c58b32fcc390f989f75a85e1d69 | titlebar dragArea fix + refactor | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/style.css",
"new_path": "plugins/styled-bars/style.css",
"diff": "/* remove window dragging for nav bar (conflict with titlebar drag) */\n-ytmusic-nav-bar {\n+ytmusic-nav-bar,\n+.tab-titleiron-icon,\n+ytmusic-pivot-bar-item-renderer {\n-web... | JavaScript | MIT License | th-ch/youtube-music | titlebar dragArea fix + refactor |
675,352 | 24.03.2021 19:38:45 | -7,200 | 2fb4cbcf0239fac52b4b933a4aa73c99a90313d0 | move icons to 'assets' folder | [
{
"change_type": "RENAME",
"old_path": "plugins/taskbar-mediacontrol/backward.png",
"new_path": "plugins/taskbar-mediacontrol/assets/backward.png",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "plugins/taskbar-mediacontrol/forward.png",
"new_path": "plugins/taskbar-mediacontr... | JavaScript | MIT License | th-ch/youtube-music | move icons to 'assets' folder |
675,343 | 24.03.2021 21:36:17 | -3,600 | fd518e39ff6397e1c7f68883a6455e195bc1c7df | Add getOptions in plugin util | [
{
"change_type": "MODIFY",
"old_path": "config/plugins.js",
"new_path": "config/plugins.js",
"diff": "@@ -24,6 +24,10 @@ function setOptions(plugin, options) {\n});\n}\n+function getOptions(plugin) {\n+ return store.get(\"plugins\")[plugin];\n+}\n+\nfunction enable(plugin) {\nsetOptions(plugin, { en... | JavaScript | MIT License | th-ch/youtube-music | Add getOptions in plugin util |
675,343 | 24.03.2021 21:44:48 | -3,600 | 84142ab27e23dd58aa58785c36ac2ef787056b97 | Mutex in ffmpeg conversion (only supports one command at a time) | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@ffmpeg/core\": \"^0.8.5\",\n\"@ffmpeg/ffmpeg\": \"^0.9.7\",\n\"YoutubeNonStop\": \"git://github.com/lawfx/YoutubeNonStop.git#v0.8.1\",\n+ \"async-mutex\": \"^0.3.1\",\n\"browser-id3-writer\": \"^4.4.0\",\n... | JavaScript | MIT License | th-ch/youtube-music | Mutex in ffmpeg conversion (only supports one command at a time) |
675,343 | 24.03.2021 21:40:12 | -3,600 | b1089b66c3b500f195167339577ddbca4d179a6a | Add menu customization in plugin system | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "+const { existsSync } = require(\"fs\");\n+const path = require(\"path\");\n+\nconst { app, Menu } = require(\"electron\");\nconst is = require(\"electron-is\");\nconst { getAllPlugins } = require(\"./plugins/utils\");... | JavaScript | MIT License | th-ch/youtube-music | Add menu customization in plugin system |
675,343 | 24.03.2021 21:41:16 | -3,600 | 9dad31775c1d9d03dda5438f421e74a067bee53b | Add ytpl package (playlist info) | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"electron-updater\": \"^4.3.6\",\n\"filenamify\": \"^4.2.0\",\n\"node-fetch\": \"^2.6.1\",\n- \"ytdl-core\": \"^4.4.5\"\n+ \"ytdl-core\": \"^4.4.5\",\n+ \"ytpl\": \"^2.0.5\"\n},\n\"devDependencies\": {\n\"el... | JavaScript | MIT License | th-ch/youtube-music | Add ytpl package (playlist info) |
675,343 | 24.03.2021 21:42:23 | -3,600 | ebc3f1659705175dfdcd885b48d3925ab9638f7e | Handle ffmpeg metadata flags when metadata is not present | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/youtube-dl.js",
"new_path": "plugins/downloader/youtube-dl.js",
"diff": "@@ -138,10 +138,8 @@ const getFFmpegMetadataArgs = (metadata) => {\n}\nreturn [\n- \"-metadata\",\n- `title=${metadata.title}`,\n- \"-metadata\",\n- `artist=${metadata.... | JavaScript | MIT License | th-ch/youtube-music | Handle ffmpeg metadata flags when metadata is not present |
675,343 | 24.03.2021 21:42:44 | -3,600 | 7edca44ed80257a588effc028ccfbefde0f021f5 | Only use artist in file name if present | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/youtube-dl.js",
"new_path": "plugins/downloader/youtube-dl.js",
"diff": "@@ -107,7 +107,7 @@ const toMP3 = async (\nconst folder = options.downloadFolder || downloadsFolder();\nconst name = metadata\n- ? `${metadata.artist} - ${metadata.titl... | JavaScript | MIT License | th-ch/youtube-music | Only use artist in file name if present |
675,343 | 24.03.2021 21:47:38 | -3,600 | 6bcf5efb656374cd4afaf8fa364a6bb1a31ef88a | Handle image not present in metadata util | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/back.js",
"new_path": "plugins/downloader/back.js",
"diff": "@@ -45,8 +45,9 @@ function handle(win) {\nlet fileBuffer = songBuffer;\ntry {\n- const coverBuffer = metadata.image.toPNG();\nconst writer = new ID3Writer(songBuffer);\n+ if (metad... | JavaScript | MIT License | th-ch/youtube-music | Handle image not present in metadata util |
675,343 | 24.03.2021 21:49:55 | -3,600 | 4146ae60bc27d2dd05d8df57c00f5137a1306e42 | Add downloader utils (getFolder and default menu label) | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "plugins/downloader/utils.js",
"diff": "+const downloadsFolder = require(\"downloads-folder\");\n+\n+module.exports.getFolder = (customFolder) => customFolder || downloadsFolder();\n+module.exports.defaultMenuDownloadLabel = \"Download playlist\"... | JavaScript | MIT License | th-ch/youtube-music | Add downloader utils (getFolder and default menu label) |
675,343 | 24.03.2021 21:51:11 | -3,600 | bee2da567bd63bd3b8e6190aa52f08ce68ec06a9 | Add listener to download playlist | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/youtube-dl.js",
"new_path": "plugins/downloader/youtube-dl.js",
"diff": "@@ -13,7 +13,7 @@ const filenamify = require(\"filenamify\");\nconst FFmpeg = require(\"@ffmpeg/ffmpeg/dist/ffmpeg.min\");\nconst ytdl = require(\"ytdl-core\");\n-const... | JavaScript | MIT License | th-ch/youtube-music | Add listener to download playlist |
675,343 | 24.03.2021 21:52:12 | -3,600 | e72915c5d09f9da30e750cf58f635e5d5bcea918 | Add custom menu in downloader plugin ("download playlist" item) | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "plugins/downloader/menu.js",
"diff": "+const { existsSync, mkdirSync } = require(\"fs\");\n+const { join } = require(\"path\");\n+const { URL } = require(\"url\");\n+\n+const { ipcMain } = require(\"electron\");\n+const is = require(\"electron-i... | JavaScript | MIT License | th-ch/youtube-music | Add custom menu in downloader plugin ("download playlist" item) |
675,343 | 24.03.2021 21:55:53 | -3,600 | 587a093aff6b51fb69756f23ae4113822e07f915 | Only set the "enable" item in menu if plugin not enabled | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -27,6 +27,10 @@ const mainMenuTemplate = (win) => [\n...getAllPlugins().map((plugin) => {\nconst pluginPath = path.join(__dirname, \"plugins\", plugin, \"menu.js\");\n+ if (!config.plugins.isEnabled(plugin)) {\n+ re... | JavaScript | MIT License | th-ch/youtube-music | Only set the "enable" item in menu if plugin not enabled |
675,343 | 24.03.2021 23:06:35 | -3,600 | b1665c880b1a18eff7f20c434b148ccfd5001c04 | Navigation plugin: inject HTML once CSS is loaded | [
{
"change_type": "MODIFY",
"old_path": "plugins/navigation/back.js",
"new_path": "plugins/navigation/back.js",
"diff": "@@ -4,7 +4,10 @@ const { injectCSS, listenAction } = require(\"../utils\");\nconst { ACTIONS, CHANNEL } = require(\"./actions.js\");\nfunction handle(win) {\n- injectCSS(win.webCon... | JavaScript | MIT License | th-ch/youtube-music | Navigation plugin: inject HTML once CSS is loaded |
675,352 | 25.03.2021 01:00:06 | -7,200 | 5218b80cabbde71b427496d0640fde224465d953 | preparation for plugin menu update | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/back.js",
"new_path": "plugins/styled-bars/back.js",
"diff": "const {injectCSS} = require('../utils');\nconst {Menu , app} = require('electron');\n+const { existsSync } = require(\"fs\");\nconst path = require('path');\nconst electronLocals... | JavaScript | MIT License | th-ch/youtube-music | preparation for plugin menu update |
675,352 | 25.03.2021 02:18:23 | -7,200 | 95c3f04c107d12eb5731947197298c3c8d1f3a04 | more fixes for plugin options menu | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/back.js",
"new_path": "plugins/styled-bars/back.js",
"diff": "@@ -21,6 +21,15 @@ const pluginEnabledMenu = (plugin, label = \"\") => ({\n},\n});\n+var enabled = !config.get('options.hideMenu');\n+\n+//override Menu.setApplicationMenu to als... | JavaScript | MIT License | th-ch/youtube-music | more fixes for plugin options menu |
675,352 | 25.03.2021 07:51:06 | -7,200 | eb32c98b764daa4560fc4798db4553297be78351 | fix tray option radio selection | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/back.js",
"new_path": "plugins/styled-bars/back.js",
"diff": "@@ -21,8 +21,6 @@ const pluginEnabledMenu = (plugin, label = \"\") => ({\n},\n});\n-var enabled = !config.get('options.hideMenu');\n-\n//override Menu.setApplicationMenu to also ... | JavaScript | MIT License | th-ch/youtube-music | fix tray option radio selection |
675,352 | 25.03.2021 16:43:01 | -7,200 | c9f172ef21e4ec270d6bb1a59a531d78a233b955 | fix scrollbar clash with nav bar | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/style.css",
"new_path": "plugins/styled-bars/style.css",
"diff": ".menubar-menu-container{\noverflow-y: visible !important;\n}\n+/* fixes scrollbar positioning relative to nav bar */\n+#nav-bar-background.ytmusic-app-layout {\n+ right: 15px... | JavaScript | MIT License | th-ch/youtube-music | fix scrollbar clash with nav bar |
675,338 | 25.03.2021 20:15:43 | -3,600 | bffbcb229d54f64bf84f77f373bb7bc1f8447426 | Made the suffixes configurable and added VEVO suffix to remove | [
{
"change_type": "MODIFY",
"old_path": "config/defaults.js",
"new_path": "config/defaults.js",
"diff": "@@ -40,6 +40,7 @@ const defaultConfig = {\napi_root: \"http://ws.audioscrobbler.com/2.0/\",\napi_key: \"04d76faaac8726e60988e14c105d421a\", // api key registered by @semvis123\nsecret: \"a5d2a36fd... | JavaScript | MIT License | th-ch/youtube-music | Made the suffixes configurable and added VEVO suffix to remove |
675,338 | 25.03.2021 21:11:55 | -3,600 | f253a69656aeafa88bcca224d5fcbdc78cace647 | added comment for the added function | [
{
"change_type": "MODIFY",
"old_path": "plugins/last-fm/back.js",
"new_path": "plugins/last-fm/back.js",
"diff": "@@ -14,6 +14,7 @@ const defaultSettings = {\n}\nconst cleanupArtistName = (config, artist) => {\n+ // removes the suffixes of the artist name for more recognition by last.fm\nlet { suffi... | JavaScript | MIT License | th-ch/youtube-music | added comment for the added function |
675,338 | 25.03.2021 21:27:33 | -3,600 | bd82bd224968238f46b4aca6a22da0f569fe7d92 | added extra comments and corrected existing ones | [
{
"change_type": "MODIFY",
"old_path": "plugins/last-fm/back.js",
"new_path": "plugins/last-fm/back.js",
"diff": "@@ -27,7 +27,7 @@ const cleanupArtistName = (config, artist) => {\nreturn artist\n}\n-const createFormData = (params) => {\n+const createFormData = params => {\n// creates the body for i... | JavaScript | MIT License | th-ch/youtube-music | added extra comments and corrected existing ones |
675,352 | 25.03.2021 23:13:54 | -7,200 | 13ff5f26a2b677d441611d29c86cff41e9102b69 | Plugin doesn't create a new menu anymore
instead it modifies the original menu | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/back.js",
"new_path": "plugins/styled-bars/back.js",
"diff": "const {injectCSS} = require('../utils');\n-const {Menu , app} = require('electron');\n-const { existsSync } = require(\"fs\");\n+const {Menu} = require('electron');\nconst path =... | JavaScript | MIT License | th-ch/youtube-music | Plugin doesn't create a new menu anymore
instead it modifies the original menu |
675,343 | 25.03.2021 22:15:39 | -3,600 | 88cd1651c3ce5f7ac571ec3e4bb5f740c2468487 | Clean metadata + apply pngcrush on images in taskbar plugin | [
{
"change_type": "MODIFY",
"old_path": "plugins/taskbar-mediacontrol/assets/backward.png",
"new_path": "plugins/taskbar-mediacontrol/assets/backward.png",
"diff": "Binary files a/plugins/taskbar-mediacontrol/assets/backward.png and b/plugins/taskbar-mediacontrol/assets/backward.png differ\n"
},
... | JavaScript | MIT License | th-ch/youtube-music | Clean metadata + apply pngcrush on images in taskbar plugin |
675,352 | 26.03.2021 00:23:28 | -7,200 | 33d4c1a60e4aadcd7c5840177aaa8de9f68633f3 | Refactor into switchMenuVisibility | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/back.js",
"new_path": "plugins/styled-bars/back.js",
"diff": "@@ -19,38 +19,38 @@ mainMenuTemplate = function (winHook) {\nlet win;\n//check that menu doesn't get created twice\n-let isFixed = false;\n+let done = false;\nmodule.exports = wi... | JavaScript | MIT License | th-ch/youtube-music | Refactor into switchMenuVisibility |
675,352 | 26.03.2021 00:24:03 | -7,200 | 09d2feb15bdcfaadeb94a648d1980088b8245cc9 | Add quit + restart button to main menu ) | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -219,6 +219,14 @@ const mainMenuTemplate = (win) => [\n}\n},\n},\n+ {\n+ label: 'Restart App',\n+ click: () => {app.relaunch(); app.quit();}\n+ } ,\n+ {\n+ label: 'Quit App',\n+ click: () => {app.quit();}\n+ }\n],\n... | JavaScript | MIT License | th-ch/youtube-music | Add quit + restart button to main menu ) |
675,352 | 26.03.2021 04:07:45 | -10,800 | fe8f048571b3386117880b85adab9c43704d9b56 | add Download Folder Chooser | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/menu.js",
"new_path": "plugins/downloader/menu.js",
"diff": "@@ -9,6 +9,8 @@ const ytpl = require(\"ytpl\");\nconst { sendError } = require(\"./back\");\nconst { defaultMenuDownloadLabel, getFolder } = require(\"./utils\");\n+const { setOpti... | JavaScript | MIT License | th-ch/youtube-music | add Download Folder Chooser |
675,352 | 26.03.2021 05:25:46 | -10,800 | ea3d19872368eff438ac21cbf76cd1f704c882ac | in tray, delete quit button from submenu
also delete useless nonfunctional view submenu | [
{
"change_type": "MODIFY",
"old_path": "tray.js",
"new_path": "tray.js",
"diff": "@@ -32,7 +32,7 @@ module.exports.setUpTray = (app, win) => {\n}\n});\n- const trayMenu = Menu.buildFromTemplate([\n+ let template = [\n{\nlabel: \"Play/Pause\",\nclick: () => {\n@@ -64,6 +64,13 @@ module.exports.setUpT... | JavaScript | MIT License | th-ch/youtube-music | in tray, delete quit button from submenu
also delete useless nonfunctional view submenu |
675,352 | 26.03.2021 17:41:12 | -10,800 | a7087aaa38496ed93790be9613ea80f548e4ed6b | uses getFolder() now | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/menu.js",
"new_path": "plugins/downloader/menu.js",
"diff": "@@ -67,10 +67,10 @@ module.exports = (win, options, refreshMenu) => [\nclick: () => {\nlet result = dialog.showOpenDialogSync({\nproperties: ['openDirectory', 'createDirectory'],\n... | JavaScript | MIT License | th-ch/youtube-music | uses getFolder() now |
675,352 | 26.03.2021 17:52:23 | -10,800 | 33fa9f8f5073857d0bc3dc52a3b557b7f6ed145e | fix array input + use getFolder() | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/menu.js",
"new_path": "plugins/downloader/menu.js",
"diff": "@@ -67,11 +67,11 @@ module.exports = (win, options, refreshMenu) => [\nclick: () => {\nlet result = dialog.showOpenDialogSync({\nproperties: ['openDirectory', 'createDirectory'],\n... | JavaScript | MIT License | th-ch/youtube-music | fix array input + use getFolder() |
675,343 | 28.03.2021 21:16:33 | -7,200 | b06583afce1967a71a0b70c30f170ed0f0d92a6f | Bundle imports + prettier | [
{
"change_type": "MODIFY",
"old_path": "providers/song-info.js",
"new_path": "providers/song-info.js",
"diff": "-const { ipcMain } = require(\"electron\");\n-const { nativeImage } = require(\"electron\");\n+const { ipcMain, nativeImage } = require(\"electron\");\nconst fetch = require(\"node-fetch\"... | JavaScript | MIT License | th-ch/youtube-music | Bundle imports + prettier |
675,343 | 28.03.2021 21:53:50 | -7,200 | 221ee0be050a6716a3007f9a201f3df42440b083 | Order deps in menu file in downloader plugin (+ prettier) | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/menu.js",
"new_path": "plugins/downloader/menu.js",
"diff": "@@ -2,15 +2,14 @@ const { existsSync, mkdirSync } = require(\"fs\");\nconst { join } = require(\"path\");\nconst { URL } = require(\"url\");\n-const { ipcMain } = require(\"electro... | JavaScript | MIT License | th-ch/youtube-music | Order deps in menu file in downloader plugin (+ prettier) |
675,343 | 28.03.2021 21:54:21 | -7,200 | f01ef5d95510ba494fa9caed74a691ff145f7f88 | Ensure filename is not empty in downloader plugin | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/youtube-dl.js",
"new_path": "plugins/downloader/youtube-dl.js",
"diff": "@@ -120,7 +120,7 @@ const toMP3 = async (\n);\nconst folder = getFolder(options.downloadFolder);\n- const name = metadata\n+ const name = metadata.title\n? `${metadata.... | JavaScript | MIT License | th-ch/youtube-music | Ensure filename is not empty in downloader plugin |
675,343 | 28.03.2021 22:17:57 | -7,200 | 64c2b32b247ddd1a6a391e72eccb8179e0cc6c10 | Add url to song info | [
{
"change_type": "MODIFY",
"old_path": "providers/song-info.js",
"new_path": "providers/song-info.js",
"diff": "@@ -39,6 +39,7 @@ const songInfo = {\nisPaused: true,\nsongDuration: 0,\nelapsedSeconds: 0,\n+ url: \"\",\n};\nconst handleData = async (_event, responseText) => {\n@@ -50,6 +51,7 @@ const... | JavaScript | MIT License | th-ch/youtube-music | Add url to song info |
675,369 | 28.03.2021 23:23:45 | -7,200 | 8dc18bbe5e917a438f632db22f83fed7c1f2f165 | Add configurable notification urgency | [
{
"change_type": "MODIFY",
"old_path": "config/defaults.js",
"new_path": "config/defaults.js",
"diff": "@@ -39,6 +39,10 @@ const defaultConfig = {\nactivityTimoutEnabled: true, // if enabled, the discord rich presence gets cleared when music paused after the time specified below\nactivityTimoutTime:... | JavaScript | MIT License | th-ch/youtube-music | Add configurable notification urgency |
675,369 | 28.03.2021 23:33:10 | -7,200 | 1a338fb9e5de625d6cb7d7866fcfc96ccba6eee7 | Add advanced configuration menu for notifications | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "plugins/notifications/menu.js",
"diff": "+const {urgencyLevels, setUrgency} = require(\"./utils\");\n+\n+module.exports = (win, options) => [\n+ {\n+ label: \"Notification Priority\",\n+ submenu: urgencyLevels.map(level => ({\n+ label: level.nam... | JavaScript | MIT License | th-ch/youtube-music | Add advanced configuration menu for notifications |
675,343 | 29.03.2021 21:33:07 | -7,200 | 7ac9fda1eb370ffdd2e52375c3c2f39f73efdf74 | Send back metadata to front | [
{
"change_type": "MODIFY",
"old_path": "providers/song-info.js",
"new_path": "providers/song-info.js",
"diff": "@@ -42,7 +42,7 @@ const songInfo = {\nurl: \"\",\n};\n-const handleData = async (_event, responseText) => {\n+const handleData = async (responseText, win) => {\nlet data = JSON.parse(respo... | JavaScript | MIT License | th-ch/youtube-music | Send back metadata to front |
675,343 | 29.03.2021 21:33:33 | -7,200 | 05eee7cb0f10c2a3503e15f7eeb2a77d6f50df9c | Store metadata in front | [
{
"change_type": "MODIFY",
"old_path": "providers/song-info-front.js",
"new_path": "providers/song-info-front.js",
"diff": "const { ipcRenderer } = require(\"electron\");\n+global.songInfo = {};\n+\n+ipcRenderer.on(\"update-song-info\", (_, extractedSongInfo) => {\n+ global.songInfo = JSON.parse(ext... | JavaScript | MIT License | th-ch/youtube-music | Store metadata in front |
675,343 | 29.03.2021 21:59:45 | -7,200 | ebe8755613e94000850877a786005ae172e51ec6 | Song provider: call callbacks when data is updated | [
{
"change_type": "MODIFY",
"old_path": "providers/song-info.js",
"new_path": "providers/song-info.js",
"diff": "@@ -79,10 +79,12 @@ const registerProvider = (win) => {\n});\n// This will be called when the song-info-front finds a new request with song data\n- ipcMain.on(\n- \"song-info-request\",\n-... | JavaScript | MIT License | th-ch/youtube-music | Song provider: call callbacks when data is updated |
675,343 | 29.03.2021 22:00:49 | -7,200 | 640f14637305a244f347bfb2968b2d2b9749253d | Use metadata URL in downloader (fallback to current URL) | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/front.js",
"new_path": "plugins/downloader/front.js",
"diff": "@@ -35,7 +35,7 @@ const reinit = () => {\n// contextBridge.exposeInMainWorld(\"downloader\", {\n// download: () => {\nglobal.download = () => {\n- const videoUrl = window.locatio... | JavaScript | MIT License | th-ch/youtube-music | Use metadata URL in downloader (fallback to current URL) |
675,352 | 30.03.2021 02:00:35 | -10,800 | ae7def23130fb62661ddb367958f995e0b4ded97 | Rename variables and function for clarity | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/back.js",
"new_path": "plugins/styled-bars/back.js",
"diff": "@@ -11,7 +11,7 @@ mainMenuTemplate = function (winHook) {\n//get template\nlet template = originTemplate(winHook);\n//fix checkbox and roles\n- fixCheck(template);\n+ fixMenu(tem... | JavaScript | MIT License | th-ch/youtube-music | Rename variables and function for clarity |
675,352 | 30.03.2021 02:18:02 | -10,800 | ba42a8b269dfda0234b3c38cfd3230f21b6fc98f | increase font size for menu and menuItems | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/style.css",
"new_path": "plugins/styled-bars/style.css",
"diff": "+/* increase font size for menu and menuItems */\n+.titlebar, .menubar-menu-container .action-label{\n+ font-size: 14px !important;\n+}\n+\n/* allow submenu's to show correct... | JavaScript | MIT License | th-ch/youtube-music | increase font size for menu and menuItems |
675,343 | 31.03.2021 20:15:55 | -7,200 | 5671b99b7ec24dd4148c3cf04462af61b617813a | Format new menu items | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -220,13 +220,18 @@ const mainMenuTemplate = (win) => [\n},\n},\n{\n- label: 'Restart App',\n- click: () => {app.relaunch(); app.quit();}\n+ label: \"Restart App\",\n+ click: () => {\n+ app.relaunch();\n+ app.quit();... | JavaScript | MIT License | th-ch/youtube-music | Format new menu items |
675,343 | 31.03.2021 20:17:12 | -7,200 | 36864b4c2f87de3fa6db883ecca01bc947ccf95c | Format custom menu plugin | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/back.js",
"new_path": "plugins/styled-bars/back.js",
"diff": "-const { injectCSS } = require('../utils');\n-const { Menu } = require('electron');\n-const path = require('path');\n+const { injectCSS } = require(\"../utils\");\n+const { Menu ... | JavaScript | MIT License | th-ch/youtube-music | Format custom menu plugin |
675,343 | 31.03.2021 20:18:20 | -7,200 | 400a2a9bab1b05bcabe0ff6609370cdac225a5e4 | Add option to menu to render without roles | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -20,7 +20,7 @@ const pluginEnabledMenu = (plugin, label = \"\") => ({\n},\n});\n-const mainMenuTemplate = (win) => [\n+const mainMenuTemplate = (win, withRoles = true) => [\n{\nlabel: \"Plugins\",\nsubmenu: [\n@@ -1... | JavaScript | MIT License | th-ch/youtube-music | Add option to menu to render without roles |
675,343 | 31.03.2021 20:23:10 | -7,200 | f9f3482bf11813c56516332fc11a1cfc6e9d0c17 | Pass callback in menu builder | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -20,7 +20,7 @@ const pluginEnabledMenu = (plugin, label = \"\") => ({\n},\n});\n-const mainMenuTemplate = (win, withRoles = true) => [\n+const mainMenuTemplate = (win, withRoles = true, clickCb = () => {}) => [\n{\n... | JavaScript | MIT License | th-ch/youtube-music | Pass callback in menu builder |
675,343 | 31.03.2021 20:25:27 | -7,200 | 0d2b61472c1e9bc3f6511eb35ec742c8f5571be1 | Use template builder in custom menu plugin | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/back.js",
"new_path": "plugins/styled-bars/back.js",
"diff": "@@ -5,24 +5,10 @@ const electronLocalshortcut = require(\"electron-localshortcut\");\nconst config = require(\"../../config\");\nvar { mainMenuTemplate } = require(\"../../menu\"... | JavaScript | MIT License | th-ch/youtube-music | Use template builder in custom menu plugin |
675,343 | 31.03.2021 21:15:52 | -7,200 | a8cfe399b3a5b1b9ecee5304792925e7203f2ccc | Rename bar var | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/front.js",
"new_path": "plugins/styled-bars/front.js",
"diff": "@@ -3,19 +3,19 @@ const { remote, ipcRenderer } = require(\"electron\");\nconst customTitlebar = require(\"custom-electron-titlebar\");\nmodule.exports = () => {\n- const myBar... | JavaScript | MIT License | th-ch/youtube-music | Rename bar var |
675,343 | 31.03.2021 21:18:31 | -7,200 | 3fe793cd4da55135fc3fba73f3eacf03ba8611c6 | CSS: border radius compatibility | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/style.css",
"new_path": "plugins/styled-bars/style.css",
"diff": "@@ -42,6 +42,8 @@ ytmusic-header-renderer.ytmusic-search-page {\n::-webkit-scrollbar {\nwidth: 12px;\nbackground-color: #030303;\n+ border-radius: 100px;\n+ -moz-border-radiu... | JavaScript | MIT License | th-ch/youtube-music | CSS: border radius compatibility |
675,343 | 31.03.2021 22:35:01 | -7,200 | be651ebb4b6bc23fe46b8fc522e6590b6da57074 | Parameter in menu builder for tray | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -20,7 +20,12 @@ const pluginEnabledMenu = (plugin, label = \"\") => ({\n},\n});\n-const mainMenuTemplate = (win, withRoles = true, clickCb = () => {}) => [\n+const mainMenuTemplate = (\n+ win,\n+ withRoles = true,\n... | JavaScript | MIT License | th-ch/youtube-music | Parameter in menu builder for tray |
675,343 | 31.03.2021 22:37:12 | -7,200 | c09de4315402fe0604def6bba41164a43d5884a4 | Rename plugin to `in-app-menu` + hidden titleBarStyle | [
{
"change_type": "MODIFY",
"old_path": "index.js",
"new_path": "index.js",
"diff": "@@ -75,6 +75,7 @@ function createMainWindow() {\nconst windowSize = config.get(\"window-size\");\nconst windowMaximized = config.get(\"window-maximized\");\nconst windowPosition = config.get(\"window-position\");\n+ ... | JavaScript | MIT License | th-ch/youtube-music | Rename plugin to `in-app-menu` + hidden titleBarStyle |
675,352 | 01.04.2021 17:44:40 | -10,800 | a3ec9b7b78c4677d31f7281d842bf623275e4ee5 | add `notification on unpause` option | [
{
"change_type": "MODIFY",
"old_path": "config/defaults.js",
"new_path": "config/defaults.js",
"diff": "@@ -41,7 +41,8 @@ const defaultConfig = {\n},\nnotifications: {\nenabled: false,\n- urgency: \"normal\"\n+ urgency: \"normal\",\n+ unpauseNotification: false\n}\n},\n};\n"
},
{
"change_typ... | JavaScript | MIT License | th-ch/youtube-music | add `notification on unpause` option |
675,352 | 01.04.2021 18:10:08 | -10,800 | 58481e3133dfe5b256633bc61125c3f816a6ce85 | Refresh menu on plugin enable/disable | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -7,7 +7,7 @@ const is = require(\"electron-is\");\nconst { getAllPlugins } = require(\"./plugins/utils\");\nconst config = require(\"./config\");\n-const pluginEnabledMenu = (plugin, label = \"\") => ({\n+const plug... | JavaScript | MIT License | th-ch/youtube-music | Refresh menu on plugin enable/disable |
675,352 | 01.04.2021 19:02:39 | -10,800 | adc0d145c320e745f7dc05baf59085741318fae3 | update styled-bars to support
all changes permantly | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/back.js",
"new_path": "plugins/styled-bars/back.js",
"diff": "@@ -5,16 +5,16 @@ const electronLocalshortcut = require(\"electron-localshortcut\");\nconst config = require('../../config');\nvar { mainMenuTemplate } = require(\"../../menu\");... | JavaScript | MIT License | th-ch/youtube-music | update styled-bars to support
all changes permantly |
675,352 | 01.04.2021 19:21:21 | -10,800 | 02d45bed7489dd497d80aa6aad29b1422b2b1b9d | only refresh if plugin has a menu.js | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -7,7 +7,7 @@ const is = require(\"electron-is\");\nconst { getAllPlugins } = require(\"./plugins/utils\");\nconst config = require(\"./config\");\n-const pluginEnabledMenu = (win, plugin, label = \"\") => ({\n+const... | JavaScript | MIT License | th-ch/youtube-music | only refresh if plugin has a menu.js |
675,352 | 01.04.2021 21:09:31 | -10,800 | 5670a6d1b4c042c05bb35000e32290b309fb0413 | cleanup styled-bars code | [
{
"change_type": "MODIFY",
"old_path": "plugins/styled-bars/back.js",
"new_path": "plugins/styled-bars/back.js",
"diff": "@@ -3,9 +3,9 @@ const { Menu } = require('electron');\nconst path = require('path');\nconst electronLocalshortcut = require(\"electron-localshortcut\");\nconst config = require('... | JavaScript | MIT License | th-ch/youtube-music | cleanup styled-bars code |
675,352 | 01.04.2021 21:24:11 | -10,800 | e66db051a975f86510f392dd88954d5a69fe9fd1 | remove 'shortcuts'+'discord' from default plugins | [
{
"change_type": "MODIFY",
"old_path": "config/defaults.js",
"new_path": "config/defaults.js",
"diff": "@@ -21,21 +21,22 @@ const defaultConfig = {\nnavigation: {\nenabled: true,\n},\n- shortcuts: {\n- enabled: true,\n- },\nadblocker: {\nenabled: true,\ncache: true,\nadditionalBlockLists: [], // Add... | JavaScript | MIT License | th-ch/youtube-music | remove 'shortcuts'+'discord' from default plugins |
675,343 | 02.04.2021 21:20:50 | -7,200 | 77393c5324a67fb43dd73506dc0e636cfdd37119 | Replace click callback by override in custom menu | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -20,12 +20,7 @@ const pluginEnabledMenu = (plugin, label = \"\") => ({\n},\n});\n-const mainMenuTemplate = (\n- win,\n- withRoles = true,\n- isTray = false,\n- clickCb = () => {}\n-) => [\n+const mainMenuTemplate = ... | JavaScript | MIT License | th-ch/youtube-music | Replace click callback by override in custom menu |
675,352 | 03.04.2021 05:38:21 | -10,800 | 832ff19e513f83c17f2bf94b270cc423f30e520d | allows downloading song that aren't playing | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/front.js",
"new_path": "plugins/downloader/front.js",
"diff": "@@ -31,11 +31,16 @@ const reinit = () => {\n}\n};\n+const baseUrl = \"https://music.youtube.com\";\n// TODO: re-enable once contextIsolation is set to true\n// contextBridge.expo... | JavaScript | MIT License | th-ch/youtube-music | allows downloading song that aren't playing |
675,343 | 03.04.2021 11:34:23 | -7,200 | fecb193ded813862338c3c6d8464aa4ac9b976be | Re-use default config to get base url in downloader | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/front.js",
"new_path": "plugins/downloader/front.js",
"diff": "const { contextBridge } = require(\"electron\");\n+const { defaultConfig } = require(\"../../config\");\nconst { getSongMenu } = require(\"../../providers/dom-elements\");\nconst... | JavaScript | MIT License | th-ch/youtube-music | Re-use default config to get base url in downloader |
675,343 | 03.04.2021 11:34:55 | -7,200 | 533b8a8cb7468d79a24416a75c5823a257dd5c81 | Metadata: call getImage in front | [
{
"change_type": "MODIFY",
"old_path": "providers/song-info-front.js",
"new_path": "providers/song-info-front.js",
"diff": "const { ipcRenderer } = require(\"electron\");\n+const { getImage } = require(\"./song-info\");\n+\nglobal.songInfo = {};\n-ipcRenderer.on(\"update-song-info\", (_, extractedSo... | JavaScript | MIT License | th-ch/youtube-music | Metadata: call getImage in front |
675,343 | 03.04.2021 11:35:31 | -7,200 | b5c60ee6a90311a1409331044076b89e1616942a | Re-format front metadata lib | [
{
"change_type": "MODIFY",
"old_path": "providers/song-info-front.js",
"new_path": "providers/song-info-front.js",
"diff": "@@ -13,19 +13,20 @@ const injectListener = () => {\nvar oldXHR = window.XMLHttpRequest;\nfunction newXHR() {\nvar realXHR = new oldXHR();\n- realXHR.addEventListener(\"readysta... | JavaScript | MIT License | th-ch/youtube-music | Re-format front metadata lib |
675,343 | 03.04.2021 12:01:31 | -7,200 | d5a2c1cad686c025dd13d8bd5250736c3fbc5119 | Format front downloader | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/front.js",
"new_path": "plugins/downloader/front.js",
"diff": "@@ -42,7 +42,9 @@ global.download = () => {\n.querySelector(\"ytmusic-menu-navigation-item-renderer\")\n.querySelector(\"#navigation-endpoint\")\n.getAttribute(\"href\");\n- vide... | JavaScript | MIT License | th-ch/youtube-music | Format front downloader |
675,343 | 03.04.2021 12:04:49 | -7,200 | 1e59301c0efb2636f776d2d4c77327145c566e6b | Write metadata in front + pass it along (useful if the song is changed) | [
{
"change_type": "MODIFY",
"old_path": "plugins/downloader/back.js",
"new_path": "plugins/downloader/back.js",
"diff": "-const { writeFileSync } = require(\"fs\");\nconst { join } = require(\"path\");\n-const ID3Writer = require(\"browser-id3-writer\");\n-const { dialog, ipcMain } = require(\"electr... | JavaScript | MIT License | th-ch/youtube-music | Write metadata in front + pass it along (useful if the song is changed) |
675,343 | 03.04.2021 12:20:48 | -7,200 | 61e7124516571a63c7155937e827ba95dc34b9cb | Support proxy in advanced options | [
{
"change_type": "MODIFY",
"old_path": "config/defaults.js",
"new_path": "config/defaults.js",
"diff": "@@ -15,6 +15,7 @@ const defaultConfig = {\ntrayClickPlayPause: false,\nautoResetAppCache: false,\nresumeOnStart: true,\n+ proxy: \"\",\n},\nplugins: {\n// Enabled plugins\n"
},
{
"change_t... | JavaScript | MIT License | th-ch/youtube-music | Support proxy in advanced options |
675,352 | 03.04.2021 15:30:33 | -10,800 | 216205200c68c1168b2bfcd256f973ac258a65e3 | fix in-app-menu navbar opacity + scrollbar color | [
{
"change_type": "MODIFY",
"old_path": "plugins/in-app-menu/style.css",
"new_path": "plugins/in-app-menu/style.css",
"diff": ".menubar-menu-container {\noverflow-y: visible !important;\n}\n+\n/* fixes scrollbar positioning relative to nav bar */\n#nav-bar-background.ytmusic-app-layout {\nright: 15px... | JavaScript | MIT License | th-ch/youtube-music | fix in-app-menu navbar opacity + scrollbar color |
675,352 | 03.04.2021 15:47:32 | -10,800 | 2b3a20c5ffd438eeb6b144ed1ca8c55316b83d36 | Minimalize tray menu
doesnt include main menu template anymore | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -23,18 +23,16 @@ const pluginEnabledMenu = (win, plugin, label = \"\", hasSubmenu = false) => ({\n},\n});\n-const mainMenuTemplate = (win, withRoles = true, isTray = false) => [\n+const mainMenuTemplate = (win, with... | JavaScript | MIT License | th-ch/youtube-music | Minimalize tray menu
-doesnt include main menu template anymore |
675,352 | 03.04.2021 19:20:56 | -10,800 | 5524a14c871ccf47a2f4237468eb5cdc0c678b21 | move advanced options to dedicated submenu +
add "Use Proxy" checkbox | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -47,13 +47,6 @@ const mainMenuTemplate = (win) => [\nreturn pluginEnabledMenu(win, plugin);\n}),\n- { type: \"separator\" },\n- {\n- label: \"Advanced options\",\n- click: () => {\n- config.edit();\n- },\n- },\n],\n... | JavaScript | MIT License | th-ch/youtube-music | move advanced options to dedicated submenu +
add "Use Proxy" checkbox |
675,352 | 03.04.2021 20:15:48 | -10,800 | ec3adff70676f2b9f5fe94f7bd0ed670f6373bb4 | fix bug when loading window with no connection | [
{
"change_type": "MODIFY",
"old_path": "plugins/in-app-menu/back.js",
"new_path": "plugins/in-app-menu/back.js",
"diff": "@@ -36,6 +36,8 @@ module.exports = (winImport) => {\ndone = true;\nsetApplicationMenu(win);\n+ //fix bug when loading window with no internet connection\n+ switchMenuVisibility()... | JavaScript | MIT License | th-ch/youtube-music | fix bug when loading window with no connection |
675,352 | 03.04.2021 21:51:35 | -10,800 | 061e4a9e5f0e8d6743f933df14aefa6685bbb8ed | add 'electron-prompt' and use it for setting proxy | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -6,11 +6,13 @@ const is = require(\"electron-is\");\nconst { getAllPlugins } = require(\"./plugins/utils\");\nconst config = require(\"./config\");\n+const prompt = require('electron-prompt');\nconst pluginEnabledMe... | JavaScript | MIT License | th-ch/youtube-music | add 'electron-prompt' and use it for setting proxy |
675,352 | 03.04.2021 21:53:39 | -10,800 | 317521bba618dadb20304596766a360a9b897462 | fix memory leak +
in-app-menu updates menu only if needed | [
{
"change_type": "MODIFY",
"old_path": "index.js",
"new_path": "index.js",
"diff": "@@ -152,7 +152,13 @@ function createMainWindow() {\nreturn win;\n}\n+let createdWindow = false;\napp.on(\"browser-window-created\", (event, win) => {\n+ //Ensure listeners aren't registered when creating input dialog... | JavaScript | MIT License | th-ch/youtube-music | fix memory leak +
in-app-menu updates menu only if needed |
675,352 | 03.04.2021 22:04:40 | -10,800 | 70b03b71e4bfa45df6cb70130bf896dd0ec8d755 | refactor and stylecheck | [
{
"change_type": "MODIFY",
"old_path": "menu.js",
"new_path": "menu.js",
"diff": "@@ -147,7 +147,6 @@ const mainMenuTemplate = (win) => [\nlabel: \"Proxy\",\ntype: \"checkbox\",\nchecked: !!config.get(\"options.proxy\"),\n- //fixed: true, //skip in-app-menu click() override\nclick: (item) => {\nsetP... | JavaScript | MIT License | th-ch/youtube-music | refactor and stylecheck |
675,352 | 03.04.2021 22:34:12 | -10,800 | 1cae35a62b5c4aa687eb66cd9449cb3351947498 | fix in-app-menu hideMenu on launch | [
{
"change_type": "MODIFY",
"old_path": "plugins/in-app-menu/back.js",
"new_path": "plugins/in-app-menu/back.js",
"diff": "@@ -38,17 +38,15 @@ module.exports = (winImport) => {\ndone = true;\nsetApplicationMenu(win);\n- //fix bug when loading window with no internet connection\n- switchMenuVisibility... | JavaScript | MIT License | th-ch/youtube-music | fix in-app-menu hideMenu on launch |
675,352 | 03.04.2021 22:59:20 | -10,800 | 8b6c60bb178e3bc22c8c917f650153a960ea9ae6 | fix Connection Error when using in-app-menu | [
{
"change_type": "MODIFY",
"old_path": "index.js",
"new_path": "index.js",
"diff": "@@ -93,6 +93,7 @@ function createMainWindow() {\ncontextIsolation: false,\npreload: path.join(__dirname, \"preload.js\"),\nnodeIntegrationInSubFrames: true,\n+ nodeIntegration: true,\nnativeWindowOpen: true, // windo... | JavaScript | MIT License | th-ch/youtube-music | fix Connection Error when using in-app-menu |
675,352 | 04.04.2021 02:37:19 | -10,800 | 8291cdfc12d37b4902cc1bd2b32af975ba6d49f3 | disable dev tools on electron-prompt | [
{
"change_type": "MODIFY",
"old_path": "index.js",
"new_path": "index.js",
"diff": "@@ -37,7 +37,9 @@ if (config.get(\"options.proxy\")) {\n}\n// Adds debug features like hotkeys for triggering dev tools and reload\n-require(\"electron-debug\")();\n+require(\"electron-debug\")({\n+ showDevTools: fal... | JavaScript | MIT License | th-ch/youtube-music | disable dev tools on electron-prompt |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.