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