Compare commits

...

2 commits

Author SHA1 Message Date
297daaa51b Bump version: 0.3.0 → 0.3.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-27 23:41:06 +02:00
5a76eb0559 show number of running tasks
show channel name in search items
2022-06-27 23:40:48 +02:00
6 changed files with 12 additions and 6 deletions

View file

@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.3.0
current_version = 0.3.1
commit = True
tag = True

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "ucast"
version = "0.3.0"
version = "0.3.1"
description = "YouTube to Podcast converter"
authors = ["Theta-Dev <t.testboy@gmail.com>"]
packages = [

View file

@ -1,4 +1,4 @@
__version__ = "0.3.0"
__version__ = "0.3.1"
def template_context(request):

View file

@ -1,5 +1,5 @@
<div class="mb-4">
<a class="subtitle">{{ n_downloading_videos }} Videos</a>
<a class="subtitle">{{ n_tasks }} Tasks</a>
</div>
<div class="mb-4 overflow-x">
<table class="table">

View file

@ -35,10 +35,16 @@
<div class="video-card-content">
<div class="level">
<div style="max-width: 80%; overflow: hidden">
<span class="tag">
<i
class="fas fa-user"></i>&nbsp; <a href="{% url 'videos' video.channel.slug %}">{{ video.channel.name }}</a>
</span>
<span class="tag">
<i
class="fas fa-calendar"></i>&nbsp; {{ video.published|date:"SHORT_DATE_FORMAT" }}
</span>
</div>
<div class="field has-addons">
<div class="control">

View file

@ -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,
},
)