|
|
@ -185,7 +185,7 @@
|
|
|
|
<a
|
|
|
|
<a
|
|
|
|
v-if="item.DownloadPath"
|
|
|
|
v-if="item.DownloadPath"
|
|
|
|
class="button"
|
|
|
|
class="button"
|
|
|
|
:href="removeStartingSlash(item.DownloadPath)"
|
|
|
|
:href="downloadFromServer(item)"
|
|
|
|
download
|
|
|
|
download
|
|
|
|
title="Download episode file"
|
|
|
|
title="Download episode file"
|
|
|
|
><i class="fas fa-download"></i
|
|
|
|
><i class="fas fa-download"></i
|
|
|
@ -422,6 +422,9 @@ var app = new Vue({
|
|
|
|
getEpisodeImage(item){
|
|
|
|
getEpisodeImage(item){
|
|
|
|
return "/podcastitems/"+item.ID+"/image"
|
|
|
|
return "/podcastitems/"+item.ID+"/image"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
downloadFromServer(item){
|
|
|
|
|
|
|
|
return "/podcastitems/"+item.ID+"/file"
|
|
|
|
|
|
|
|
},
|
|
|
|
changePlayedStatus(item){
|
|
|
|
changePlayedStatus(item){
|
|
|
|
changePlayedStatus(item.ID,!item.IsPlayed,()=>item.IsPlayed=!item.IsPlayed)
|
|
|
|
changePlayedStatus(item.ID,!item.IsPlayed,()=>item.IsPlayed=!item.IsPlayed)
|
|
|
|
},
|
|
|
|
},
|
|
|
|