diff --git a/backend/config/settings.py b/backend/config/settings.py index 645b4f52..e1fbe152 100644 --- a/backend/config/settings.py +++ b/backend/config/settings.py @@ -295,4 +295,4 @@ CORS_ALLOW_HEADERS = list(default_headers) + [ # TA application settings TA_UPSTREAM = "https://github.com/tubearchivist/tubearchivist" -TA_VERSION = "v0.4.11" +TA_VERSION = "v0.4.12" diff --git a/backend/playlist/src/index.py b/backend/playlist/src/index.py index 3577f1e1..fe990ae6 100644 --- a/backend/playlist/src/index.py +++ b/backend/playlist/src/index.py @@ -94,13 +94,10 @@ class YoutubePlaylist(YouTubeItem): """get all videos in playlist, match downloaded with ids_found""" all_members = [] for idx, entry in enumerate(self.youtube_meta["entries"]): - if not entry["channel"]: - continue - to_append = { "youtube_id": entry["id"], "title": entry["title"], - "uploader": entry["channel"], + "uploader": entry.get("channel"), "idx": idx, "downloaded": entry["id"] in ids_found, } diff --git a/backend/requirements-dev.txt b/backend/requirements-dev.txt index 78959ddc..b2ab1b1b 100644 --- a/backend/requirements-dev.txt +++ b/backend/requirements-dev.txt @@ -1,13 +1,13 @@ -r requirements.txt -black -codespell -flake8 -ipython -isort -pylint -pylint-django -pytest -pytest-django -python-dotenv -requirementscheck -types-requests +black==24.10.0 +codespell==2.3.0 +flake8==7.1.1 +ipython==8.30.0 +isort==5.13.2 +pylint-django==2.6.1 +pylint==3.3.2 +pytest-django==4.9.0 +python-dotenv==1.0.1 +pytest==8.3.4 +requirementscheck==0.0.4 +types-requests==2.32.0.20241016 diff --git a/backend/requirements.txt b/backend/requirements.txt index 41cfea40..b2a3f921 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -1,14 +1,14 @@ -apprise==1.9.0 +apprise==1.9.1 celery==5.4.0 django-auth-ldap==5.1.0 django-celery-beat==2.7.0 django-cors-headers==4.6.0 -Django==5.1.3 +Django==5.1.4 djangorestframework==3.15.2 Pillow==11.0.0 -redis==5.2.0 +redis==5.2.1 requests==2.32.3 ryd-client==0.0.6 uWSGI==2.0.28 whitenoise==6.8.2 -yt-dlp[default]==2024.11.4 +yt-dlp[default]==2024.12.13 diff --git a/deploy.sh b/deploy.sh index 2612c131..aa6817d2 100755 --- a/deploy.sh +++ b/deploy.sh @@ -158,7 +158,7 @@ function sync_docker { fi echo "latest tags:" - git tag | tail -n 5 | sort -r + git tag | sort -rV | head -n 5 printf "\ncreate new version:\n" read -r VERSION @@ -190,7 +190,7 @@ function sync_docker_old { fi echo "latest tags:" - git tag | tail -n 5 | sort -r + git tag | sort -rV | head -n 5 printf "\ncreate new version:\n" read -r VERSION diff --git a/docker-compose.yml b/docker-compose.yml index f7e4dd9b..bbd11302 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,7 +40,7 @@ services: depends_on: - archivist-es archivist-es: - image: bbilly1/tubearchivist-es # only for amd64, or use official es 8.14.3 + image: bbilly1/tubearchivist-es # only for amd64, or use official es 8.16.0 container_name: archivist-es restart: unless-stopped environment: