Merge branch 'testing' into refactor-react-migration

This commit is contained in:
Simon 2024-12-20 11:30:36 +07:00
commit dfe8fe2ac0
6 changed files with 21 additions and 24 deletions

View File

@ -295,4 +295,4 @@ CORS_ALLOW_HEADERS = list(default_headers) + [
# TA application settings # TA application settings
TA_UPSTREAM = "https://github.com/tubearchivist/tubearchivist" TA_UPSTREAM = "https://github.com/tubearchivist/tubearchivist"
TA_VERSION = "v0.4.11" TA_VERSION = "v0.4.12"

View File

@ -94,13 +94,10 @@ class YoutubePlaylist(YouTubeItem):
"""get all videos in playlist, match downloaded with ids_found""" """get all videos in playlist, match downloaded with ids_found"""
all_members = [] all_members = []
for idx, entry in enumerate(self.youtube_meta["entries"]): for idx, entry in enumerate(self.youtube_meta["entries"]):
if not entry["channel"]:
continue
to_append = { to_append = {
"youtube_id": entry["id"], "youtube_id": entry["id"],
"title": entry["title"], "title": entry["title"],
"uploader": entry["channel"], "uploader": entry.get("channel"),
"idx": idx, "idx": idx,
"downloaded": entry["id"] in ids_found, "downloaded": entry["id"] in ids_found,
} }

View File

@ -1,13 +1,13 @@
-r requirements.txt -r requirements.txt
black black==24.10.0
codespell codespell==2.3.0
flake8 flake8==7.1.1
ipython ipython==8.30.0
isort isort==5.13.2
pylint pylint-django==2.6.1
pylint-django pylint==3.3.2
pytest pytest-django==4.9.0
pytest-django python-dotenv==1.0.1
python-dotenv pytest==8.3.4
requirementscheck requirementscheck==0.0.4
types-requests types-requests==2.32.0.20241016

View File

@ -1,14 +1,14 @@
apprise==1.9.0 apprise==1.9.1
celery==5.4.0 celery==5.4.0
django-auth-ldap==5.1.0 django-auth-ldap==5.1.0
django-celery-beat==2.7.0 django-celery-beat==2.7.0
django-cors-headers==4.6.0 django-cors-headers==4.6.0
Django==5.1.3 Django==5.1.4
djangorestframework==3.15.2 djangorestframework==3.15.2
Pillow==11.0.0 Pillow==11.0.0
redis==5.2.0 redis==5.2.1
requests==2.32.3 requests==2.32.3
ryd-client==0.0.6 ryd-client==0.0.6
uWSGI==2.0.28 uWSGI==2.0.28
whitenoise==6.8.2 whitenoise==6.8.2
yt-dlp[default]==2024.11.4 yt-dlp[default]==2024.12.13

View File

@ -158,7 +158,7 @@ function sync_docker {
fi fi
echo "latest tags:" echo "latest tags:"
git tag | tail -n 5 | sort -r git tag | sort -rV | head -n 5
printf "\ncreate new version:\n" printf "\ncreate new version:\n"
read -r VERSION read -r VERSION
@ -190,7 +190,7 @@ function sync_docker_old {
fi fi
echo "latest tags:" echo "latest tags:"
git tag | tail -n 5 | sort -r git tag | sort -rV | head -n 5
printf "\ncreate new version:\n" printf "\ncreate new version:\n"
read -r VERSION read -r VERSION

View File

@ -40,7 +40,7 @@ services:
depends_on: depends_on:
- archivist-es - archivist-es
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 container_name: archivist-es
restart: unless-stopped restart: unless-stopped
environment: environment: