summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/mediaplayer.cpp
Unidiff
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayer.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayer.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.cpp b/noncore/multimedia/opieplayer2/mediaplayer.cpp
index 0ab0124..38ba08f 100644
--- a/noncore/multimedia/opieplayer2/mediaplayer.cpp
+++ b/noncore/multimedia/opieplayer2/mediaplayer.cpp
@@ -66,31 +66,24 @@ void MediaPlayer::setPlaying( bool play ) {
66 mediaPlayerState->setPaused( FALSE ); 66 mediaPlayerState->setPaused( FALSE );
67 return; 67 return;
68 } 68 }
69 69
70 const DocLnk *playListCurrent = playList->current(); 70 const DocLnk *playListCurrent = playList->current();
71 if ( playListCurrent != NULL ) { 71 if ( playListCurrent != NULL ) {
72 currentFile = playListCurrent; 72 currentFile = playListCurrent;
73 } 73 }
74 74
75 audioUI->setTickerText( currentFile->file( ) ); 75 audioUI->setTickerText( currentFile->file( ) );
76 76
77 xineControl->play( currentFile->file() ); 77 xineControl->play( currentFile->file() );
78
79 // alles nicht nötig, xine kümmert sich drum, man muss nur den return andio oder video gui geben
80
81 // Ob auch video 'v' : 'a'
82 // mediaPlayerState->setView( 'v' );
83
84 // abspielen starten.
85} 78}
86 79
87 80
88void MediaPlayer::prev() { 81void MediaPlayer::prev() {
89 if ( playList->prev() ) { 82 if ( playList->prev() ) {
90 play(); 83 play();
91 } else if ( mediaPlayerState->looping() ) { 84 } else if ( mediaPlayerState->looping() ) {
92 if ( playList->last() ) { 85 if ( playList->last() ) {
93 play(); 86 play();
94 } 87 }
95 } else { 88 } else {
96 mediaPlayerState->setList(); 89 mediaPlayerState->setList();