Пример #1
0
 def __init__( self ):
     self._album = {}
     self._artist = {}
     self._tracks = {}
     
     if get_ffmpeg_cmd() == "ffmpeg" :
         self.__ffprobe_cmd = "ffprobe"
     elif get_ffmpeg_cmd() == "avconv" :
         self.__ffprobe_cmd = "avprobe"        
Пример #2
0
    def __init__(self):
        self._album = {}
        self._artist = {}
        self._tracks = {}
        self._disk_nr = []

        if get_ffmpeg_cmd() == "ffmpeg":
            self.__ffprobe_cmd = "ffprobe"
            self.__scan_file = self.scan_file_ffprobe
        elif get_ffmpeg_cmd() == "avconv":
            self.__ffprobe_cmd = "avprobe"
            self.__scan_file = self.scan_file_avprobe

        self.__scan_file = self.scan_file_orig
Пример #3
0
 def __init__( self ):
     self._album = {}
     self._artist = {}
     self._tracks = {}
     self._disk_nr = []
     
     if get_ffmpeg_cmd() == "ffmpeg" :
         self.__ffprobe_cmd = "ffprobe"
         self.__scan_file = self.scan_file_ffprobe
     elif get_ffmpeg_cmd() == "avconv" :
         self.__ffprobe_cmd = "avprobe"
         self.__scan_file = self.scan_file_avprobe
         
     self.__scan_file = self.scan_file_orig
Пример #4
0
    def __init__(self):

        self.__ffmpeg_cmd = get_ffmpeg_cmd()

        if sys.platform.startswith('win'):
            self.__cmd = ".\\decoder\\%s " % self.get_cmd()
        else:
            self.__cmd = "%s " % self.get_cmd()
Пример #5
0
 def __init__(self):
     
     self.__ffmpeg_cmd = get_ffmpeg_cmd()
     
     if sys.platform.startswith('win'):
         self.__cmd = ".\\decoder\\%s " % self.get_cmd()
     else:
         self.__cmd = "%s " % self.get_cmd()