8#include <QCoreApplication>
54 std::chrono::milliseconds
length { 0 };
68 QVector<RipTrack*> *tracks,
int quality);
74 void run(
void)
override;
102 bool Create(
void)
override;
126 void setAlbum(
const QString& album);
127 void setGenre(
const QString& genre);
219 QVector<RipTrack*> *tracks,
int quality)
224 bool Create(
void)
override;
CDEjectorThread(Ripper *ripper)
void run() override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
QVector< RipTrack * > * m_tracks
~CDRipperThread() override
bool isCancelled(void) const
QString m_musicStorageDir
Q_DECLARE_TR_FUNCTIONS(CDRipperThread)
long int m_totalSectorsDone
void run(void) override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
int ripTrack(QString &cddevice, Encoder *encoder, int tracknum)
CDRipperThread(RipStatus *parent, QString device, QVector< RipTrack * > *tracks, int quality)
void run() override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
CDScannerThread(Ripper *ripper)
This is a wrapper around QThread that does several additional things.
Screen in which all other widgets are contained and rendered.
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Image widget, displays a single image or multiple images in sequence.
A text entry and edit widget.
All purpose text widget, displays a text string.
static const Type kOverallStartEvent
static const Type kTrackPercentEvent
static const Type kOverallProgressEvent
static const Type kCopyEndEvent
static const Type kTrackTextEvent
static const Type kOverallPercentEvent
~RipStatusEvent() override=default
static const Type kStatusTextEvent
static const Type kTrackStartEvent
static const Type kFinishedEvent
RipStatusEvent(Type type, int val)
static const Type kOverallTextEvent
static const Type kCopyStartEvent
static const Type kTrackProgressEvent
static const Type kEncoderErrorEvent
RipStatusEvent(Type type, QString val)
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
RipStatus(MythScreenStack *parent, QString device, QVector< RipTrack * > *tracks, int quality)
MythUIProgressBar * m_overallProgress
MythUIText * m_overallText
bool Create(void) override
MythUIText * m_statusText
CDRipperThread * m_ripperThread
MythUIText * m_overallPctText
void customEvent(QEvent *event) override
~RipStatus(void) override
MythUIProgressBar * m_trackProgress
MythUIText * m_trackPctText
QVector< RipTrack * > * m_tracks
MythUITextEdit * m_yearEdit
MythUICheckBox * m_compilationCheck
MythUIButton * m_searchArtistButton
bool m_somethingwasripped
MythUIButton * m_switchTitleArtist
void metadataChanged(void)
void setArtist(const QString &artist)
MythUIButton * m_searchAlbumButton
void chooseBackend(void) const
bool deleteExistingTrack(RipTrack *track)
QString m_musicStorageDir
void ShowConflictMenu(RipTrack *track)
void updateTrackLengths(void)
MythUITextEdit * m_artistEdit
void ShowMenu(void) override
void setSaveHost(const QString &host)
MythUIButtonList * m_trackList
void switchTitlesAndArtists()
void searchAlbum(void) const
MythUIButton * m_searchGenreButton
CDScannerThread * m_scanThread
void updateTrackList(void)
bool m_mediaMonitorActive
MythUIButton * m_ripButton
MythUITextEdit * m_genreEdit
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
void setGenre(const QString &genre)
bool Create(void) override
bool somethingWasRipped() const
void deleteAllExistingTracks(void)
MythUITextEdit * m_albumEdit
MythUIButton * m_scanButton
CDEjectorThread * m_ejectThread
void showEditMetadataDialog(void)
void toggleTrackActive(MythUIButtonListItem *item)
MythUIButtonList * m_qualityList
void setAlbum(const QString &album)
void searchArtist(void) const
void customEvent(QEvent *event) override
void compilationChanged(bool state)
void RipComplete(bool result)
QVector< RipTrack * > * m_tracks
Ripper(MythScreenStack *parent, QString device)
Q_DECLARE_METATYPE(std::chrono::seconds)
std::chrono::milliseconds length