Channels now have Channel.channel_downloads. A Channel can have many Downloads.

This commit is contained in:
Roland 2024-06-25 22:12:13 -06:00
parent 91d4d0d15b
commit 50d95dad19
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
43 changed files with 1401 additions and 658 deletions

View file

@ -12,7 +12,7 @@ import re
from difflib import SequenceMatcher
from typing import List, Generator, Optional, Dict
from modules.videos import Video, Channel
from modules.videos.models import Video, Channel
from modules.videos.lib import parse_video_file_name
from wrolpi.common import get_relative_to_media_directory, chain
from wrolpi.db import get_db_curs, get_db_session