Test temporary search fix
This commit is contained in:
parent
3b9938c530
commit
a7cd21b7ad
File diff suppressed because it is too large
Load Diff
|
@ -48,7 +48,7 @@
|
||||||
"yt-xml2vtt": "^1.1.2",
|
"yt-xml2vtt": "^1.1.2",
|
||||||
"ytdl-core": "^3.3.0",
|
"ytdl-core": "^3.3.0",
|
||||||
"ytpl": "^1.0.1",
|
"ytpl": "^1.0.1",
|
||||||
"ytsr": "^1.0.4"
|
"ytsr": "github:TimeForANinja/node-ytsr#wip-api-adjustments"
|
||||||
},
|
},
|
||||||
"description": "A private YouTube client",
|
"description": "A private YouTube client",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
background-color: black;
|
background-color: rgba(0, 0, 0, 0.8);
|
||||||
border-radius: 2px;
|
border-radius: 20px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 120%;
|
line-height: 120%;
|
||||||
|
|
|
@ -122,7 +122,9 @@ export default Vue.extend({
|
||||||
}
|
}
|
||||||
|
|
||||||
const returnData = result.items.filter((item) => {
|
const returnData = result.items.filter((item) => {
|
||||||
|
if (typeof item !== 'undefined') {
|
||||||
return item.type === 'video' || item.type === 'channel' || item.type === 'playlist'
|
return item.type === 'video' || item.type === 'channel' || item.type === 'playlist'
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const returnDataInvidious = []
|
const returnDataInvidious = []
|
||||||
|
|
|
@ -396,7 +396,7 @@ export default Vue.extend({
|
||||||
console.log(err)
|
console.log(err)
|
||||||
const errorMessage = this.$t('Invidious API Error (Click to copy)')
|
const errorMessage = this.$t('Invidious API Error (Click to copy)')
|
||||||
this.showToast({
|
this.showToast({
|
||||||
message: `${errorMessage}: ${err.responseText}`,
|
message: `${errorMessage}: ${err}`,
|
||||||
time: 10000,
|
time: 10000,
|
||||||
action: () => {
|
action: () => {
|
||||||
navigator.clipboard.writeText(err)
|
navigator.clipboard.writeText(err)
|
||||||
|
|
Loading…
Reference in New Issue