mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 10:51:05 -05:00
diabolical
This commit is contained in:
@@ -20,12 +20,12 @@ logger = logging.getLogger("VideoArchiver")
|
||||
# Import components after logging is configured
|
||||
#try:
|
||||
# Try relative imports first
|
||||
from .ffmpeg_manager import FFmpegManager
|
||||
from .video_analyzer import VideoAnalyzer
|
||||
from .gpu_detector import GPUDetector
|
||||
from .encoder_params import EncoderParams
|
||||
from .ffmpeg_downloader import FFmpegDownloader
|
||||
from .exceptions import (
|
||||
from ffmpeg_manager import FFmpegManager
|
||||
from video_analyzer import VideoAnalyzer
|
||||
from gpu_detector import GPUDetector
|
||||
from encoder_params import EncoderParams
|
||||
from ffmpeg_downloader import FFmpegDownloader
|
||||
from exceptions import (
|
||||
FFmpegError,
|
||||
DownloadError,
|
||||
VerificationError,
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -7,15 +7,15 @@ from typing import Dict, Optional
|
||||
|
||||
#try:
|
||||
# Try relative imports first
|
||||
from .exceptions import (
|
||||
from exceptions import (
|
||||
FFmpegError,
|
||||
DownloadError,
|
||||
VerificationError,
|
||||
PermissionError,
|
||||
FFmpegNotFoundError
|
||||
)
|
||||
from .ffmpeg_downloader import FFmpegDownloader
|
||||
from .verification_manager import VerificationManager
|
||||
from ffmpeg_downloader import FFmpegDownloader
|
||||
from verification_manager import VerificationManager
|
||||
#except ImportError:
|
||||
# Fall back to absolute imports if relative imports fail
|
||||
# from videoarchiver.ffmpeg.exceptions import (
|
||||
|
||||
@@ -6,7 +6,7 @@ from typing import Dict, Any
|
||||
|
||||
#try:
|
||||
# Try relative imports first
|
||||
from .exceptions import CompressionError, QualityError, BitrateError
|
||||
from exceptions import CompressionError, QualityError, BitrateError
|
||||
#except ImportError:
|
||||
# Fall back to absolute imports if relative imports fail
|
||||
# from videoarchiver.ffmpeg.exceptions import CompressionError, QualityError, BitrateError
|
||||
|
||||
@@ -18,7 +18,7 @@ import lzma
|
||||
|
||||
# try:
|
||||
# Try relative imports first
|
||||
from .exceptions import DownloadError
|
||||
from exceptions import DownloadError
|
||||
|
||||
# except ImportError:
|
||||
# Fall back to absolute imports if relative imports fail
|
||||
|
||||
@@ -8,13 +8,13 @@ from typing import Dict, Any, Optional
|
||||
|
||||
# try:
|
||||
# Try relative imports first
|
||||
from .exceptions import FFmpegError, AnalysisError, FFmpegNotFoundError
|
||||
from .gpu_detector import GPUDetector
|
||||
from .video_analyzer import VideoAnalyzer
|
||||
from .encoder_params import EncoderParams
|
||||
from .process_manager import ProcessManager
|
||||
from .verification_manager import VerificationManager
|
||||
from .binary_manager import BinaryManager
|
||||
from exceptions import FFmpegError, AnalysisError, FFmpegNotFoundError
|
||||
from gpu_detector import GPUDetector
|
||||
from video_analyzer import VideoAnalyzer
|
||||
from encoder_params import EncoderParams
|
||||
from process_manager import ProcessManager
|
||||
from verification_manager import VerificationManager
|
||||
from binary_manager import BinaryManager
|
||||
|
||||
# except ImportError:
|
||||
# Fall back to absolute imports if relative imports fail
|
||||
|
||||
Reference in New Issue
Block a user