﻿namespace PlaylistCopy.Contract
{
    using System.Collections.Generic;
    using System.IO;

    public interface IPlaylist
    {
        /// <summary>
        /// Gets handled playlist extension.
        /// </summary
        string PlaylistExtension { get; }

        /// <summary>
        /// Gets the music files.
        /// </summary>
        /// <param name="stream">The stream with playlist file content.</param>
        /// <returns>Collection of </returns>
        IEnumerable<string> GetMusicFiles(Stream stream);
    }
}
