Inheritance: MemoryTrackListModel
        public AudioCdTrackInfo (AudioCdDiscModel model, string deviceNode, int index)
        {
            this.model = model;
            this.index_on_disc = index;

            Uri = new SafeUri (String.Format ("cdda://{0}#{1}", index_on_disc + 1, deviceNode));
        }
        public AudioCdTrackInfo(AudioCdDiscModel model, string deviceNode, int index)
        {
            this.model         = model;
            this.index_on_disc = index;

            Uri = new SafeUri(String.Format("cdda://{0}#{1}", index_on_disc + 1, deviceNode));
        }
Example #3
0
 public void Dispose()
 {
     ClearMessages();
     disc_model.MetadataQueryStarted  -= OnMetadataQueryStarted;
     disc_model.MetadataQueryFinished -= OnMetadataQueryFinished;
     disc_model.EnabledCountChanged   -= OnEnabledCountChanged;
     service    = null;
     disc_model = null;
 }
Example #4
0
        public AudioCdSource (AudioCdService service, AudioCdDiscModel discModel)
            : base (Catalog.GetString ("Audio CD"), discModel.Title, 400)
        {
            this.service = service;
            this.disc_model = discModel;

            TypeUniqueId = "";

            Properties.SetString ("TrackView.ColumnControllerXml", String.Format (@"
                <column-controller>
                  <column>
                    <renderer type=""Hyena.Data.Gui.ColumnCellCheckBox"" property=""RipEnabled""/>
                  </column>
                  <add-all-defaults />
                </column-controller>
            "));

            disc_model.MetadataQueryStarted += OnMetadataQueryStarted;
            disc_model.MetadataQueryFinished += OnMetadataQueryFinished;
            disc_model.EnabledCountChanged += OnEnabledCountChanged;
            disc_model.LoadModelFromDisc ();

            SetupGui ();
        }
Example #5
0
        public AudioCdSource(AudioCdService service, AudioCdDiscModel discModel)
            : base(Catalog.GetString("Audio CD"), discModel.Title, 400)
        {
            this.service    = service;
            this.disc_model = discModel;

            TypeUniqueId = "";

            Properties.SetString("TrackView.ColumnControllerXml", String.Format(@"
                <column-controller>
                  <column>
                    <renderer type=""Hyena.Data.Gui.ColumnCellCheckBox"" property=""RipEnabled""/>
                  </column>
                  <add-all-defaults />
                </column-controller>
            "));

            disc_model.MetadataQueryStarted  += OnMetadataQueryStarted;
            disc_model.MetadataQueryFinished += OnMetadataQueryFinished;
            disc_model.EnabledCountChanged   += OnEnabledCountChanged;
            disc_model.LoadModelFromDisc();

            SetupGui();
        }
Example #6
0
 public void Dispose ()
 {
     ClearMessages ();
     disc_model.MetadataQueryStarted -= OnMetadataQueryStarted;
     disc_model.MetadataQueryFinished -= OnMetadataQueryFinished;
     disc_model.EnabledCountChanged -= OnEnabledCountChanged;
     service = null;
     disc_model = null;
 }
 public static void Duplicate (AudioCdDiscModel model)
 {
     if (Supported && model != null && model.Volume != null) {
         ((IDiscDuplicator)duplicator_extension_node.CreateInstance ()).Duplicate (model.Volume);
     }
 }
 public static void Duplicate(AudioCdDiscModel model)
 {
     if (Supported && model != null && model.Volume != null) {
         ((IDiscDuplicator)duplicator_extension_node.CreateInstance ()).Duplicate (model.Volume);
     }
 }