namespace DragonVideoPlayer
{
    public class MpvTrack
    {
        public int id { get; set; }
        public string type { get; set; }
        public string lang { get; set; }
        public string title { get; set; }

        public string DisplayName
            => title ?? lang ?? $"{type}:{id}";
    }
}
