Update Channel module in Local API

This commit is contained in:
Preston 2021-03-04 16:51:56 -05:00
parent 5c9bb5e9fd
commit d4370f25f9
3 changed files with 37 additions and 51 deletions

66
package-lock.json generated
View File

@ -6431,32 +6431,20 @@
"dev": true "dev": true
}, },
"copy-webpack-plugin": { "copy-webpack-plugin": {
"version": "7.0.0", "version": "8.0.0",
"resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-7.0.0.tgz", "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-8.0.0.tgz",
"integrity": "sha512-SLjQNa5iE3BoCP76ESU9qYo9ZkEWtXoZxDurHoqPchAFRblJ9g96xTeC560UXBMre1Nx6ixIIUfiY3VcjpJw3g==", "integrity": "sha512-sqGe2FsB67wV/De+sz5azQklADe4thN016od6m7iK9KbjrSc1SEgg5QZ0LN+jGx5aZR52CbuXbqOhoIbqzzXlA==",
"dev": true, "dev": true,
"requires": { "requires": {
"fast-glob": "^3.2.4", "fast-glob": "^3.2.5",
"glob-parent": "^5.1.1", "glob-parent": "^5.1.1",
"globby": "^11.0.1", "globby": "^11.0.2",
"loader-utils": "^2.0.0",
"normalize-path": "^3.0.0", "normalize-path": "^3.0.0",
"p-limit": "^3.0.2", "p-limit": "^3.1.0",
"schema-utils": "^3.0.0", "schema-utils": "^3.0.0",
"serialize-javascript": "^5.0.1" "serialize-javascript": "^5.0.1"
}, },
"dependencies": { "dependencies": {
"loader-utils": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
"integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
"dev": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"p-limit": { "p-limit": {
"version": "3.1.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
@ -7862,9 +7850,9 @@
} }
}, },
"es-module-lexer": { "es-module-lexer": {
"version": "0.4.0", "version": "0.4.1",
"resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.4.0.tgz", "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.4.1.tgz",
"integrity": "sha512-iuEGihqqhKWFgh72Q/Jtch7V2t/ft8w8IPP2aEN8ArYKO+IWyo6hsi96hCdgyeEDQIV3InhYQ9BlwUFPGXrbEQ==", "integrity": "sha512-ooYciCUtfw6/d2w56UVeqHPcoCFAiJdz5XOkYpv/Txl1HMUozpXjz/2RIQgqwKdXNDPSF1W7mJCFse3G+HDyAA==",
"dev": true "dev": true
}, },
"es-to-primitive": { "es-to-primitive": {
@ -12900,9 +12888,9 @@
} }
}, },
"node-html-parser": { "node-html-parser": {
"version": "2.1.0", "version": "2.2.1",
"resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-2.1.0.tgz", "resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-2.2.1.tgz",
"integrity": "sha512-kbCNfqjrwHAbG+mevL8aqjwVtF0Qv66XurWHoGLOc5G9rPR1L3k602jfeczAUUBldLNnCrdsDmO5G5nqAoMW+g==", "integrity": "sha512-Vccqb62t6t7DkMVwqPQgb0NWO+gUMMDm+1X3LzqbtXLqjilCTtUYTlniKk08yuA1zIhEFVzu/dozpqs5KZbRFQ==",
"requires": { "requires": {
"he": "1.2.0" "he": "1.2.0"
} }
@ -17146,9 +17134,9 @@
"integrity": "sha512-RRQNLT8Mzr8z7eL4p7BtKvRaTSGdCbTy2+Mm5HTJvLGYSSeG9gDzNasJPP/yOYKLy+/cLG/ftrqq5fvkFwBJEw==" "integrity": "sha512-RRQNLT8Mzr8z7eL4p7BtKvRaTSGdCbTy2+Mm5HTJvLGYSSeG9gDzNasJPP/yOYKLy+/cLG/ftrqq5fvkFwBJEw=="
}, },
"vue-style-loader": { "vue-style-loader": {
"version": "4.1.2", "version": "4.1.3",
"resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz",
"integrity": "sha512-0ip8ge6Gzz/Bk0iHovU9XAUQaFt/G2B61bnWa2tCcqqdgfHs1lF9xXorFbE55Gmy92okFT+8bfmySuUOu13vxQ==", "integrity": "sha512-sFuh0xfbtpRlKfm39ss/ikqs9AbKCoXZBpHeVZ8Tx650o0k0q/YCM7FRvigtxpACezfq6af+a7JeqVTWvncqDg==",
"dev": true, "dev": true,
"requires": { "requires": {
"hash-sum": "^1.0.2", "hash-sum": "^1.0.2",
@ -17238,9 +17226,9 @@
"dev": true "dev": true
}, },
"webpack": { "webpack": {
"version": "5.24.2", "version": "5.24.3",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.24.2.tgz", "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.24.3.tgz",
"integrity": "sha512-uxxKYEY4kMNjP+D2Y+8aw5Vd7ar4pMuKCNemxV26ysr1nk0YDiQTylg9U3VZIdkmI0YHa0uC8ABxL+uGxGWWJg==", "integrity": "sha512-x7lrWZ7wlWAdyKdML6YPvfVZkhD1ICuIZGODE5SzKJjqI9A4SpqGTjGJTc6CwaHqn19gGaoOR3ONJ46nYsn9rw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/eslint-scope": "^3.7.0", "@types/eslint-scope": "^3.7.0",
@ -18309,9 +18297,9 @@
} }
}, },
"yt-channel-info": { "yt-channel-info": {
"version": "1.2.2", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/yt-channel-info/-/yt-channel-info-1.2.2.tgz", "resolved": "https://registry.npmjs.org/yt-channel-info/-/yt-channel-info-1.3.0.tgz",
"integrity": "sha512-nhexkiT1GYE8Oeo3vjSmUyT9Z1ymwc6XD9BAddUPIJJRhVpVytxefMhiysAmgo4QSie8It4aNZDaqpT43s+2wA==", "integrity": "sha512-75ML9snDZhXSkaczR3mgcq6EyI2jjPYzjXcz5TV9C9gSRkhCv2gxVhJVPXfeUQuAa0YGySE3F1V0Yz2HyY3zfg==",
"requires": { "requires": {
"axios": "^0.21.1", "axios": "^0.21.1",
"querystring": "^0.2.0" "querystring": "^0.2.0"
@ -18326,9 +18314,9 @@
} }
}, },
"follow-redirects": { "follow-redirects": {
"version": "1.13.2", "version": "1.13.3",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.2.tgz", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.3.tgz",
"integrity": "sha512-6mPTgLxYm3r6Bkkg0vNM0HTjfGrOEtsfbhagQvbxDEsEkpNhw582upBaoRZylzen6krEmxXJgt9Ju6HiI4O7BA==" "integrity": "sha512-DUgl6+HDzB0iEptNQEXLx/KhTmDb8tZUHSeLqpnjpknR70H0nC2t9N73BK6fN4hOvJ84pKlIQVQ4k5FFlBedKA=="
} }
} }
}, },
@ -18350,9 +18338,9 @@
} }
}, },
"follow-redirects": { "follow-redirects": {
"version": "1.13.2", "version": "1.13.3",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.2.tgz", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.3.tgz",
"integrity": "sha512-6mPTgLxYm3r6Bkkg0vNM0HTjfGrOEtsfbhagQvbxDEsEkpNhw582upBaoRZylzen6krEmxXJgt9Ju6HiI4O7BA==" "integrity": "sha512-DUgl6+HDzB0iEptNQEXLx/KhTmDb8tZUHSeLqpnjpknR70H0nC2t9N73BK6fN4hOvJ84pKlIQVQ4k5FFlBedKA=="
} }
} }
}, },

View File

@ -28,7 +28,7 @@
"markdown": "^0.5.0", "markdown": "^0.5.0",
"material-design-icons": "^3.0.1", "material-design-icons": "^3.0.1",
"nedb": "^1.8.0", "nedb": "^1.8.0",
"opml-to-json": "1.0.1", "opml-to-json": "^1.0.1",
"rss-parser": "^3.12.0", "rss-parser": "^3.12.0",
"socks-proxy-agent": "^5.0.0", "socks-proxy-agent": "^5.0.0",
"video.js": "7.10.2", "video.js": "7.10.2",
@ -47,10 +47,10 @@
"xml2json": "^0.12.0", "xml2json": "^0.12.0",
"youtube-chat": "^1.1.0", "youtube-chat": "^1.1.0",
"youtube-suggest": "^1.1.0", "youtube-suggest": "^1.1.0",
"yt-channel-info": "^1.2.2", "yt-channel-info": "^1.3.0",
"yt-comment-scraper": "^3.0.1", "yt-comment-scraper": "^3.0.1",
"yt-dash-manifest-generator": "1.1.0", "yt-dash-manifest-generator": "1.1.0",
"yt-trending-scraper": "1.1.0", "yt-trending-scraper": "^1.1.0",
"yt-xml2vtt": "^1.2.0", "yt-xml2vtt": "^1.2.0",
"ytdl-core": "^4.5.0", "ytdl-core": "^4.5.0",
"ytpl": "^2.0.5", "ytpl": "^2.0.5",
@ -68,10 +68,10 @@
"acorn": "^8.0.5", "acorn": "^8.0.5",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2", "babel-loader": "^8.2.2",
"copy-webpack-plugin": "7.0.0", "copy-webpack-plugin": "8.0.0",
"css-loader": "^5.1.1", "css-loader": "^5.1.1",
"devtron": "^1.4.0", "devtron": "^1.4.0",
"electron": "12.0.0", "electron": "^12.0.0",
"electron-builder": "^22.10.5", "electron-builder": "^22.10.5",
"electron-builder-squirrel-windows": "^22.10.5", "electron-builder-squirrel-windows": "^22.10.5",
"electron-debug": "^3.2.0", "electron-debug": "^3.2.0",
@ -103,10 +103,10 @@
"vue-devtools": "^5.1.4", "vue-devtools": "^5.1.4",
"vue-eslint-parser": "^7.6.0", "vue-eslint-parser": "^7.6.0",
"vue-loader": "^15.9.6", "vue-loader": "^15.9.6",
"vue-style-loader": "^4.1.2", "vue-style-loader": "^4.1.3",
"vue-template-compiler": "^2.6.12", "vue-template-compiler": "^2.6.12",
"webpack": "5.24.2", "webpack": "^5.24.3",
"webpack-cli": "4.5.0", "webpack-cli": "^4.5.0",
"webpack-dev-server": "^3.11.2" "webpack-dev-server": "^3.11.2"
}, },
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",

View File

@ -56,8 +56,7 @@ export default Vue.extend({
], ],
playlistSelectValues: [ playlistSelectValues: [
'last', 'last',
'newest', 'newest'
'oldest'
] ]
} }
}, },
@ -121,8 +120,7 @@ export default Vue.extend({
playlistSelectNames: function () { playlistSelectNames: function () {
return [ return [
this.$t('Channel.Playlists.Sort Types.Last Video Added'), this.$t('Channel.Playlists.Sort Types.Last Video Added'),
this.$t('Channel.Playlists.Sort Types.Newest'), this.$t('Channel.Playlists.Sort Types.Newest')
this.$t('Channel.Playlists.Sort Types.Oldest')
] ]
}, },