Esempio n. 1
0
        public bool LoadFromFile(string filepath)
        {
            Playlist loadedPlaylist = PlaylistParser.ReadFromFile(filepath);

            if (loadedPlaylist == null)
            {
                return(false);
            }
            loadNewItemCollection(loadedPlaylist._items);
            return(true);
        }
Esempio n. 2
0
 public bool SaveToFile(string filepath)
 {
     return(PlaylistParser.WriteToFile(this, filepath));
 }