private bool CheckbinAvailable() { if (!File.Exists(Parameter._ffmpegPath)) { MessageBox.Show("ffmpeg.exe does not exist!"); return(false); } if (!File.Exists(Parameter._m3u8_es_Path)) { DownloadFile d = new DownloadFile(); if (!d.DownloadESM3U8()) { MessageBox.Show("Download RMTV file failed!"); return(false); } } if (!File.Exists(Parameter._m3u8_en_Path)) { DownloadFile d = new DownloadFile(); if (!d.DownloadENM3U8()) { MessageBox.Show("Download RMTV file failed!"); return(false); } } M3U8 m = new M3U8(); if (!m.InitialM3U8List()) { return(false); } return(true); }
public static void InitialM3U8() { M3U8 m = new M3U8(); m.InitialM3U8List(); }