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"
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
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
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()