public MetadataWindowViewModel(RadioEntry entry)
        {
            if (entry.IsEmpty) return;

            _metadata = new ObservableCollection<string>();

            var meta = entry.Metadata;
            foreach (var item in meta)
            {
                _metadata.Add(String.Format("{0}={1}", item, meta[item]));
            }
        }
        public RadioEntry CreateRadio(string name, out bool created)
        {
            bool temp;
            var entry = _radios.AddEntry(name, out created);
            var quality = _qualitys.AddEntry(name, out temp);

            var temp2 = new RadioEntry(new Metadatascope(new RadioDatabaseInterface(entry, quality)));

            if (!created) return temp2;

            if (_bulkMode) _bulks.Add(temp2);
            else OnRadioAdded(new RadioCreatedEventArgs(temp2));

            return temp2;
        }
 public PlayRadioEventArgs(RadioQuality quality, RadioEntry radio)
 {
     Radio = radio;
     Quality = quality;
 }
 public RadioQualityFactory(RadioEntry baseEntry)
 {
     _baseScope = baseEntry.Metadata;
 }
        public MetadataWindow(RadioEntry entry)
        {
            DataContext = new MetadataWindowViewModel(entry);

            InitializeComponent();
        }
 public RadioCreatedEventArgs(RadioEntry radioEntry)
 {
     RadioEntry = radioEntry;
 }