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)
 
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 ( QObject *  parent = nullptr)
explicit

Member Function Documentation

void MediaPlaylist::shuffle ( int  idx)
void MediaPlaylist::skipBackward ( )
void MediaPlaylist::skipForward ( )

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