summaryrefslogtreecommitdiffstats
path: root/juk/playermanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/playermanager.cpp')
-rw-r--r--juk/playermanager.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/juk/playermanager.cpp b/juk/playermanager.cpp
index b60c7af5..9f784822 100644
--- a/juk/playermanager.cpp
+++ b/juk/playermanager.cpp
@@ -443,6 +443,17 @@ void PlayerManager::back()
stop();
}
+void PlayerManager::forwardAlbum()
+{
+ m_playlistInterface->playNextAlbum();
+ FileHandle file = m_playlistInterface->currentFile();
+
+ if(!file.isNull())
+ play(file);
+ else
+ stop();
+}
+
void PlayerManager::volumeUp()
{
if(!player() || !m_sliderAction || !m_sliderAction->volumeSlider())