diff --git a/_scripts/build.js b/_scripts/build.js index 21e167cf..9303aa74 100644 --- a/_scripts/build.js +++ b/_scripts/build.js @@ -69,6 +69,12 @@ const config = { icon: '_icons/icon.svg', target: ['deb', 'zip', 'apk', 'rpm', 'AppImage', 'pacman'], }, + // See the following issues for more information + // https://github.com/jordansissel/fpm/issues/1503 + // https://github.com/jgraph/drawio-desktop/issues/259 + rpm: { + fpm: [`--rpm-rpmbuild-define=_build_id_links none`] + }, deb: { depends: [ "libgtk-3-0", diff --git a/package-lock.json b/package-lock.json index 1a0c9fda..cae5c0a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "freetube", - "version": "0.13.0", + "version": "0.13.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -7548,9 +7548,9 @@ "dev": true }, "dns-packet": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.1.tgz", - "integrity": "sha512-0UxfQkMhYAUaZI+xrNZOz/as5KgDU0M/fQ9b6SpkyLbk3GEswDi6PADJVaYJradtRVsRIlF1zLyOodbcTCDzUg==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.4.tgz", + "integrity": "sha512-BQ6F4vycLXBvdrJZ6S3gZewt6rcrks9KBgM9vrhW+knGRqc8uEdT7fuCwloc7nny5xNoMJ17HGH0R/6fpo8ECA==", "dev": true, "requires": { "ip": "^1.1.0", @@ -19537,9 +19537,9 @@ } }, "ytdl-core": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-4.8.0.tgz", - "integrity": "sha512-LFhhwqFojReoaME17VpsFeiamygM0W/YNG8O02mrmS2O6Em5LjCPiJYdq7Af3CmJtBEOCdptSZ3Ql+3LGWDGvg==", + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-4.8.2.tgz", + "integrity": "sha512-O3n++YcgZawaXJwbPmnRDgfN6b4kU0DpNdkI9Na5yM3JAdfJmoq5UHc8v9Xjgjr1RilQUUh7mhDnRRPDtKr0Kg==", "requires": { "m3u8stream": "^0.8.3", "miniget": "^4.0.0", @@ -19547,18 +19547,18 @@ }, "dependencies": { "m3u8stream": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/m3u8stream/-/m3u8stream-0.8.3.tgz", - "integrity": "sha512-0nAcdrF8YJKUkb6PzWdvGftTPyCVWgoiot1AkNVbPKTeIGsWs6DrOjifrJ0Zi8WQfQmD2SuVCjkYIOip12igng==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/m3u8stream/-/m3u8stream-0.8.4.tgz", + "integrity": "sha512-sco80Db+30RvcaIOndenX6E6oQNgTiBKeJbFPc+yDXwPQIkryfboEbCvXPlBRq3mQTCVPQO93TDVlfRwqpD35w==", "requires": { "miniget": "^4.0.0", "sax": "^1.2.4" } }, "miniget": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/miniget/-/miniget-4.2.0.tgz", - "integrity": "sha512-IzTOaNgBw/qEpzkPTE7X2cUVXQfSKbG8w52Emi93zb+Zya2ZFrbmavpixzebuDJD9Ku4ecbaFlC7Y1cEESzQtQ==" + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/miniget/-/miniget-4.2.1.tgz", + "integrity": "sha512-O/DduzDR6f+oDtVype9S/Qu5hhnx73EDYGyZKwU/qN82lehFZdfhoa4DT51SpsO+8epYrB3gcRmws56ROfTIoQ==" }, "sax": { "version": "1.2.4", diff --git a/package.json b/package.json index e02635af..e97537f3 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "yt-comment-scraper": "^4.0.3", "yt-dash-manifest-generator": "1.1.0", "yt-trending-scraper": "^2.0.0", - "ytdl-core": "^4.8.0", + "ytdl-core": "^4.8.2", "ytpl": "^2.2.1", "ytsr": "^3.5.0" }, @@ -147,5 +147,5 @@ "test": "run-s rebuild:node pack:workers jest", "test:watch": "run-s rebuild:node pack:workers jest:watch" }, - "version": "0.13.0" + "version": "0.13.1" } diff --git a/src/renderer/store/modules/ytdl.js b/src/renderer/store/modules/ytdl.js index 5d6bceb9..b4227d1b 100644 --- a/src/renderer/store/modules/ytdl.js +++ b/src/renderer/store/modules/ytdl.js @@ -200,9 +200,9 @@ const actions = { if (searchSettings.duration !== '') { let filterValue = null if (searchSettings.duration === 'short') { - filterValue = 'Short (< 4 minutes)' + filterValue = 'Under 4 minutes' } else if (searchSettings.duration === 'long') { - filterValue = 'Long (> 20 minutes)' + filterValue = 'Over 20 minutes' } filterUrl = filter.get('Duration').get(filterValue).url @@ -216,7 +216,7 @@ const actions = { switch (searchSettings.time) { case 'hour': - filterValue = 'Last Hour' + filterValue = 'Last hour' break case 'today': filterValue = 'Today'