diff --git a/downloader/__init__.py b/downloader/__init__.py index dfb202e..09deafa 100644 --- a/downloader/__init__.py +++ b/downloader/__init__.py @@ -12,7 +12,7 @@ def get_downloader(source_type: str) -> Optional[BaseDownloader]: from .ytdlp_aria2 import YtdlpAria2Downloader return YtdlpAria2Downloader() - elif source_type in ('ani24', 'hls'): + elif source_type in ('ohli24', 'hls'): from .ffmpeg_hls import FfmpegHlsDownloader return FfmpegHlsDownloader() diff --git a/info.yaml b/info.yaml index c45bee1..ae4b2b0 100644 --- a/info.yaml +++ b/info.yaml @@ -1,6 +1,6 @@ title: "GDM" package_name: gommi_downloader_manager -version: '0.2.23' +version: '0.2.24' description: FlaskFarm 범용 다운로더 큐 - YouTube, 애니24, 링크애니, Anilife 지원 developer: projectdx home: https://gitea.yommi.duckdns.org/projectdx/gommi_downloader_manager diff --git a/mod_queue.py b/mod_queue.py index 2e75d07..bdf04fc 100644 --- a/mod_queue.py +++ b/mod_queue.py @@ -394,14 +394,14 @@ class ModuleQueue(PluginModuleBase): if caller_plugin: cp_lower = caller_plugin.lower() if 'anilife' in cp_lower: return 'anilife' - if 'ohli24' in cp_lower or 'ani24' in cp_lower: return 'ani24' + if 'ohli24' in cp_lower or 'ani24' in cp_lower: return 'ohli24' if 'linkkf' in cp_lower: return 'linkkf' if 'youtube' in cp_lower: return 'youtube' # 2. 메타데이터 기반 판단 if meta and meta.get('source'): ms_lower = meta.get('source').lower() - if ms_lower in ['ani24', 'ohli24']: return 'ani24' + if ms_lower in ['ani24', 'ohli24']: return 'ohli24' if ms_lower == 'anilife': return 'anilife' if ms_lower == 'linkkf': return 'linkkf' @@ -409,7 +409,7 @@ class ModuleQueue(PluginModuleBase): if 'youtube.com' in url_lower or 'youtu.be' in url_lower: return 'youtube' elif 'ani24' in url_lower or 'ohli24' in url_lower: - return 'ani24' + return 'ohli24' elif 'linkkf' in url_lower: return 'linkkf' elif 'anilife' in url_lower: diff --git a/templates/gommi_downloader_manager_queue_list.html b/templates/gommi_downloader_manager_queue_list.html index b4d158c..f41de59 100644 --- a/templates/gommi_downloader_manager_queue_list.html +++ b/templates/gommi_downloader_manager_queue_list.html @@ -924,7 +924,7 @@ // Source badge color based on type const sourceColors = { - 'ani24': 'background: linear-gradient(135deg, #f59e0b, #d97706);', + 'ohli24': 'background: linear-gradient(135deg, #f59e0b, #d97706);', 'ohli24': 'background: linear-gradient(135deg, #f59e0b, #d97706);', 'anilife': 'background: linear-gradient(135deg, #ec4899, #be185d);', 'youtube': 'background: linear-gradient(135deg, #ef4444, #b91c1c);',