Sort audible match results by duration difference

This commit is contained in:
mikiher 2023-12-09 00:33:06 +02:00
parent b6c789dee6
commit 0282a0521b
5 changed files with 70 additions and 18 deletions

View file

@ -332,6 +332,7 @@ export default {
if (this.isPodcast) return `term=${encodeURIComponent(this.searchTitle)}`
var searchQuery = `provider=${this.provider}&fallbackTitleOnly=1&title=${encodeURIComponent(this.searchTitle)}`
if (this.searchAuthor) searchQuery += `&author=${encodeURIComponent(this.searchAuthor)}`
if (this.libraryItemId) searchQuery += `&id=${this.libraryItemId}`
return searchQuery
},
submitSearch() {