From d287a862b57bfe56fe8bebf03ca019bbbc0f1c5c Mon Sep 17 00:00:00 2001 From: Akhil Gupta Date: Sat, 30 Jan 2021 16:36:50 +0530 Subject: [PATCH] to append podcast number to file name --- client/episodes.html | 7 ++++++ client/index.html | 29 +++++++++++++++++-------- client/settings.html | 45 +++++++++++++++++++++++++++++++++------ controllers/pages.go | 9 ++++---- controllers/podcast.go | 2 +- db/dbfunctions.go | 20 +++++++++++++++++ db/podcast.go | 9 ++++---- service/podcastService.go | 16 ++++++++++++-- 8 files changed, 111 insertions(+), 26 deletions(-) diff --git a/client/episodes.html b/client/episodes.html index 9b2dae1..f575f7e 100644 --- a/client/episodes.html +++ b/client/episodes.html @@ -139,6 +139,13 @@

+ {{else}} +
+

+ Click here to add + a new podcast to start downloading. +

+
{{end}}
diff --git a/client/index.html b/client/index.html index 256f2c5..8473ee5 100644 --- a/client/index.html +++ b/client/index.html @@ -68,8 +68,7 @@
- {{if .LastEpisode}} - Last Ep : {{ formatDate .LastEpisode }} + {{if .LastEpisode}} Last Ep : {{ formatDate .LastEpisode }} {{end}}
{{$downloading:= .DownloadingEpisodesCount}} @@ -79,9 +78,9 @@ {{if gt $downloading 0}} {{$downloading}} episodes in queue {{end}} " > - - {{if gt $downloading 0}} ({{$downloading}})/{{end}}{{.DownloadedEpisodesCount}}/{{.AllEpisodesCount}} episodes - + {{if gt $downloading 0}} + ({{$downloading}})/{{end}}{{.DownloadedEpisodesCount}}/{{.AllEpisodesCount}} + episodes