relative import
This commit is contained in:
parent
e962469858
commit
722ad8c650
@ -2,7 +2,7 @@
|
|||||||
custom audio filter, which get loaded automatically
|
custom audio filter, which get loaded automatically
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ffplayout.utils import get_float, stdin_args
|
from ..utils import get_float, stdin_args
|
||||||
|
|
||||||
|
|
||||||
# pylint: disable=unused-argument
|
# pylint: disable=unused-argument
|
||||||
|
@ -5,7 +5,7 @@ custom video filter, which get loaded automatically
|
|||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from ffplayout.utils import lower_third
|
from ..utils import lower_third
|
||||||
|
|
||||||
|
|
||||||
def filter_link(node):
|
def filter_link(node):
|
||||||
|
@ -23,11 +23,11 @@ import os
|
|||||||
from subprocess import PIPE, Popen
|
from subprocess import PIPE, Popen
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
|
|
||||||
from ffplayout.folder import GetSourceFromFolder, MediaStore, MediaWatcher
|
from ..folder import GetSourceFromFolder, MediaStore, MediaWatcher
|
||||||
from ffplayout.playlist import GetSourceFromPlaylist
|
from ..playlist import GetSourceFromPlaylist
|
||||||
from ffplayout.utils import (ff_proc, ffmpeg_stderr_reader, log, lower_third,
|
from ..utils import (ff_proc, ffmpeg_stderr_reader, log, lower_third,
|
||||||
messenger, playlist, pre, pre_audio_codec,
|
messenger, playlist, pre, pre_audio_codec, stdin_args,
|
||||||
stdin_args, terminate_processes)
|
terminate_processes)
|
||||||
|
|
||||||
_WINDOWS = os.name == 'nt'
|
_WINDOWS = os.name == 'nt'
|
||||||
COPY_BUFSIZE = 1024 * 1024 if _WINDOWS else 65424
|
COPY_BUFSIZE = 1024 * 1024 if _WINDOWS else 65424
|
||||||
|
@ -25,10 +25,10 @@ from glob import iglob
|
|||||||
from subprocess import PIPE, Popen
|
from subprocess import PIPE, Popen
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
|
|
||||||
from ffplayout.folder import GetSourceFromFolder, MediaStore, MediaWatcher
|
from ..folder import GetSourceFromFolder, MediaStore, MediaWatcher
|
||||||
from ffplayout.playlist import GetSourceFromPlaylist
|
from ..playlist import GetSourceFromPlaylist
|
||||||
from ffplayout.utils import (ff_proc, ffmpeg_stderr_reader, get_date, log,
|
from ..utils import (ff_proc, ffmpeg_stderr_reader, get_date, log, messenger,
|
||||||
messenger, playlist, playout, stdin_args, sync_op,
|
playlist, playout, stdin_args, sync_op,
|
||||||
terminate_processes)
|
terminate_processes)
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,11 +23,11 @@ import os
|
|||||||
from subprocess import PIPE, Popen
|
from subprocess import PIPE, Popen
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
|
|
||||||
from ffplayout.folder import GetSourceFromFolder, MediaStore, MediaWatcher
|
from ..folder import GetSourceFromFolder, MediaStore, MediaWatcher
|
||||||
from ffplayout.playlist import GetSourceFromPlaylist
|
from ..playlist import GetSourceFromPlaylist
|
||||||
from ffplayout.utils import (ff_proc, ffmpeg_stderr_reader, get_date, log,
|
from ..utils import (ff_proc, ffmpeg_stderr_reader, get_date, log, lower_third,
|
||||||
lower_third, messenger, playlist, playout, pre,
|
messenger, playlist, playout, pre, pre_audio_codec,
|
||||||
pre_audio_codec, stdin_args, terminate_processes)
|
stdin_args, terminate_processes)
|
||||||
|
|
||||||
_WINDOWS = os.name == 'nt'
|
_WINDOWS = os.name == 'nt'
|
||||||
COPY_BUFSIZE = 1024 * 1024 if _WINDOWS else 65424
|
COPY_BUFSIZE = 1024 * 1024 if _WINDOWS else 65424
|
||||||
|
Loading…
x
Reference in New Issue
Block a user