Miam-Player  0.8.0
A nice music player
MediaPlaylist Class Reference

The MediaPlaylist class has been created to have a custom Random mode. More...

#include <mediaplaylist.h>

Inheritance diagram for MediaPlaylist:

Public Member Functions

 MediaPlaylist (QObject *parent=nullptr)
 
virtual ~MediaPlaylist ()
 
void setTitle (const QString &title)
 
QString title () const
 
void shuffle (int idx)
 
void skipBackward ()
 
void skipForward ()
 

Detailed Description

The MediaPlaylist class has been created to have a custom Random mode.

Default Random mode doesn't keep in memory which tracks that were played. It can be very confusing to press 'Next' and to listen the track that just has been played before. Now, it's impossible to have the same track beein played twice unless all other tracks were played once. Moreover if one skips a track, it's still possible to rewind and play the latter.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

◆ MediaPlaylist()

MediaPlaylist::MediaPlaylist ( QObject *  parent = nullptr)
explicit

◆ ~MediaPlaylist()

MediaPlaylist::~MediaPlaylist ( )
virtual

Member Function Documentation

◆ setTitle()

void MediaPlaylist::setTitle ( const QString &  title)
inline

◆ shuffle()

void MediaPlaylist::shuffle ( int  idx)

◆ skipBackward()

void MediaPlaylist::skipBackward ( )

◆ skipForward()

void MediaPlaylist::skipForward ( )

◆ title()

QString MediaPlaylist::title ( ) const
inline

The documentation for this class was generated from the following files: