Irregular update 08/02 (#378)
This commit is contained in:
parent
0161a6063a
commit
7230ecb080
25 changed files with 617 additions and 472 deletions
|
@ -272,7 +272,7 @@ const app = new Vue({
|
|||
},
|
||||
methods: {
|
||||
songLinkShare(amUrl) {
|
||||
notyf.open({type: "info", message: "Getting song.link share URL..."})
|
||||
notyf.open({type: "info", message: app.getLz('term.song.link.generate')})
|
||||
let self = this
|
||||
httpRequest = new XMLHttpRequest();
|
||||
httpRequest.open('GET', `https://api.song.link/v1-alpha.1/links?url=${amUrl}&userCountry=US`, true);
|
||||
|
@ -285,7 +285,7 @@ const app = new Vue({
|
|||
self.copyToClipboard(response.pageUrl)
|
||||
} else {
|
||||
console.log('There was a problem with the request.');
|
||||
notyf.error("There was a problem with the request.")
|
||||
notyf.error(app.getLz('term.requestError'))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2284,7 +2284,7 @@ const app = new Vue({
|
|||
this.mk.addToLibrary(id).then((data) => {
|
||||
self.getLibrarySongsFull(true)
|
||||
})
|
||||
notyf.success('Added to library.');
|
||||
notyf.success(app.getLz('action.addToLibrary.success'));
|
||||
},
|
||||
removeFromLibrary(kind, id) {
|
||||
let self = this
|
||||
|
@ -2296,7 +2296,7 @@ const app = new Vue({
|
|||
}).then((data) => {
|
||||
self.getLibrarySongsFull(true)
|
||||
})
|
||||
notyf.success('Removed from library.')
|
||||
notyf.success(app.getLz('action.removeFromLibrary.success'))
|
||||
},
|
||||
|
||||
async losslessBadge() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue