~ubuntu-branches/ubuntu/lucid/mythplugins/lucid

« back to all changes in this revision

Viewing changes to mythmusic/mythmusic/databasebox.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2009-08-16 00:44:19 UTC
  • mfrom: (1.1.24 upstream)
  • Revision ID: james.westby@ubuntu.com-20090816004419-ftlyfcl4dh08uwrn
Tags: 0.21.0+fixes212161-0ubuntu1
* New upstream -fixes snapshot (212161)
* debian/rules:
  - Parse svn rev # from debian/changelog

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#include <mythtv/lcddevice.h>
18
18
#include <mythtv/uitypes.h>
19
19
#include <mythtv/uilistbtntype.h>
 
20
#include <mythtv/mythmediamonitor.h>
20
21
 
21
22
// mythmusic
22
23
#include "metadata.h"
421
422
        return;
422
423
    }
423
424
 
424
 
    QString scsidev = gContext->GetSetting("CDWriterDevice");
425
 
    if (scsidev.length()==0) 
 
425
    QString scsidev = MediaMonitor::defaultCDWriter();
 
426
    if (scsidev.isEmpty() || scsidev.isNull())
426
427
    {
427
 
        VERBOSE(VB_GENERAL, "We don't have SCSI devices");
 
428
        VERBOSE(VB_GENERAL, "No CD Writer device defined.");
428
429
        return;
429
430
    }
 
431
 
430
432
    // Begin Blanking
431
433
    MythProgressDialog *record_progress;
432
434
    record_progress = new MythProgressDialog(tr("CD-RW Blanking Progress"), 10);