diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 02482c5..a19dade 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.3.1 +current_version = 0.3.0 commit = True tag = True diff --git a/pyproject.toml b/pyproject.toml index 96ab12a..c743a17 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ucast" -version = "0.3.1" +version = "0.3.0" description = "YouTube to Podcast converter" authors = ["Theta-Dev "] packages = [ diff --git a/ucast/__init__.py b/ucast/__init__.py index 521568f..c975108 100644 --- a/ucast/__init__.py +++ b/ucast/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.3.1" +__version__ = "0.3.0" def template_context(request): diff --git a/ucast/templates/ucast/downloads_items.html b/ucast/templates/ucast/downloads_items.html index 86f5b28..860ab82 100644 --- a/ucast/templates/ucast/downloads_items.html +++ b/ucast/templates/ucast/downloads_items.html @@ -1,5 +1,5 @@
- {{ n_tasks }} Tasks + {{ n_downloading_videos }} Videos
diff --git a/ucast/templates/ucast/search.html b/ucast/templates/ucast/search.html index a6c6b07..c8d5228 100644 --- a/ucast/templates/ucast/search.html +++ b/ucast/templates/ucast/search.html @@ -35,16 +35,10 @@
-
- -   {{ video.channel.name }} - - +   {{ video.published|date:"SHORT_DATE_FORMAT" }} -
diff --git a/ucast/views.py b/ucast/views.py index 415dd9f..ec7dcfd 100644 --- a/ucast/views.py +++ b/ucast/views.py @@ -171,7 +171,7 @@ def downloads(request: http.HttpRequest): { "failed_jobs": failed_jobs, "downloading_videos": downloading_videos, - "n_tasks": queue.get_queue().count, + "n_downloading_videos": 1, }, )