private static IStorage CreateStorage(string path) { if (MtpPathInterpreter.IsMtpDevice(path)) { return(new MtpStorage()); } return(new FsStorage()); }
private static IStorage CreateStorage(string optionsPlaylistsPath) { if (MtpPathInterpreter.IsMtpDevice(optionsPlaylistsPath)) { return(new MtpStorage()); } return(new FsStorage()); }