Compare commits

...

4 Commits

Author SHA1 Message Date
49cd84f3e5 chore: bump version 2026-06-02 20:59:42 +02:00
e46759347e backup 2026-06-02 20:59:13 +02:00
75f743e6cc fix: fetch series name from provider when scanning
Avoid 'Series name cannot be empty' error when a Serie is loaded
from a serie_file with an empty name by fetching the title from the
provider after year-fetching in the scan() method.

fix #?
2026-06-02 20:57:27 +02:00
4dc5ffa19e copy version to docker file 2026-06-02 20:53:11 +02:00
5 changed files with 24 additions and 2 deletions

View File

@@ -17,6 +17,9 @@ __pycache__/
# Docker files (not needed inside the image) # Docker files (not needed inside the image)
Docker/ Docker/
# Exception: VERSION is needed by Dockerfile.app
!Docker/VERSION
# Test and dev files # Test and dev files
tests/ tests/
Temp/ Temp/

View File

@@ -20,6 +20,7 @@ COPY src/ ./src/
COPY run_server.py . COPY run_server.py .
COPY pyproject.toml . COPY pyproject.toml .
COPY data/config.json ./data/config.json COPY data/config.json ./data/config.json
COPY Docker/VERSION ./Docker/VERSION
# Create runtime directories # Create runtime directories
RUN mkdir -p /app/data/config_backups /app/logs RUN mkdir -p /app/data/config_backups /app/logs

View File

@@ -1 +1 @@
v1.3.3 v1.3.4

View File

@@ -1,6 +1,6 @@
{ {
"name": "aniworld-web", "name": "aniworld-web",
"version": "1.3.3", "version": "1.3.4",
"description": "Aniworld Anime Download Manager - Web Frontend", "description": "Aniworld Anime Download Manager - Web Frontend",
"type": "module", "type": "module",
"scripts": { "scripts": {

View File

@@ -454,6 +454,24 @@ class SerieScanner:
str(e) str(e)
) )
# Fetch series name from provider if not already set
if not serie.name:
try:
fetched_name = self.loader.get_title(serie.key)
if fetched_name:
serie.name = fetched_name
logger.info(
"Fetched name from provider: %s (name=%s)",
serie.key,
serie.name
)
except Exception as e:
logger.warning(
"Could not fetch name for %s: %s",
serie.key,
str(e)
)
# Delegate the provider to compare local files with # Delegate the provider to compare local files with
# remote metadata, yielding missing episodes per # remote metadata, yielding missing episodes per
# season. Results are saved back to disk so that both # season. Results are saved back to disk so that both