Esempio n. 1
0
        public TrackVirtual(MetaData metaData, bool isOnlyMetaData) : base(metaData)
        {
            IsOnlyMetaData = isOnlyMetaData;

            PlayableOnline        = !IsOnlyMetaData;
            PlayableOffline       = false;
            SupportedMediaPlayers = SupportedMediaPlayersConverter.GetDefaultOnlinePlayer();
        }
Esempio n. 2
0
        public TrackLocal(MusicFileProperties musicFileProperties, MetaData metaData = null, MetaDataExtended metaDataExtended = null) : base(metaData)
        {
            if (metaDataExtended != null)
            {
                MetaDataExtended = metaDataExtended;
            }
            else
            {
                MetaDataExtended = new MetaDataExtended();
            }

            MusicFileProperties = musicFileProperties;

            PlayableOnline        = false;
            PlayableOffline       = true;
            SupportedMediaPlayers = SupportedMediaPlayersConverter.GetOfflinePlayersWhichSupportFormat(MusicFileProperties.FileExtension);

            MatchCandidates          = new List <TrackVirtual>();
            ActiveCandidateMBTrackID = null;
        }