mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 02:41:06 -05:00
Changed FFmpeg binary download location from /tmp/ffmpeg to videoarchiver/bin for better organization and persistence
This commit is contained in:
@@ -18,8 +18,9 @@ logger = logging.getLogger("VideoArchiver")
|
|||||||
class FFmpegManager:
|
class FFmpegManager:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
"""Initialize FFmpeg manager"""
|
"""Initialize FFmpeg manager"""
|
||||||
# Set up base directory in /tmp for Docker compatibility
|
# Set up base directory in videoarchiver/bin
|
||||||
self.base_dir = Path("/tmp/ffmpeg")
|
module_dir = Path(__file__).parent.parent
|
||||||
|
self.base_dir = module_dir / "bin"
|
||||||
|
|
||||||
# Initialize downloader
|
# Initialize downloader
|
||||||
self.downloader = FFmpegDownloader(
|
self.downloader = FFmpegDownloader(
|
||||||
|
|||||||
Reference in New Issue
Block a user