From ee90b966cfc262770ef5a45c2bad0af6766245a2 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Thu, 22 Aug 2002 01:35:24 +0000 Subject: should scan for file at startup --- diff --git a/noncore/multimedia/opieplayer2/mediaplayer.cpp b/noncore/multimedia/opieplayer2/mediaplayer.cpp index 603d426..bf2acc8 100644 --- a/noncore/multimedia/opieplayer2/mediaplayer.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayer.cpp @@ -183,6 +183,7 @@ void MediaPlayer::timerEvent( QTimerEvent * ) { // TODO FIXME + // huh?? unsigned int v= 0; v = volControl->volume(); v = v / 10; diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 6c7f6ba..603a7a3 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp @@ -125,15 +125,16 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) setCaption( tr( "OpiePlayer: " ) + currentPlaylist ); // see which skins are installed + videoScan=FALSE; + audioScan=FALSE; populateSkinsMenu(); initializeStates(); } PlayListWidget::~PlayListWidget() { -/* fixing symptoms and not sources is entirely stupid - zecke */ -// Config cfg( "OpiePlayer" ); -// writeConfig( cfg ); + // WTF?!@?! + if ( d->current ) { delete d->current; } @@ -784,7 +785,7 @@ void PlayListWidget::openFile() { } else if( filename.right(3) == "pls" ) { readPls( filename ); } else { - /* FIXME ....... AUDIO/X-MPEGURL is bad*/ + // this doesnt need fixing DocLnk lnk; lnk.setName( filename ); //sets file name lnk.setFile( filename ); //sets File property @@ -929,6 +930,8 @@ void PlayListWidget::writem3u() { // qDebug(d->selectedFiles->current()->file()); // so maybe we should do some net checking to ,-) + // no, cause it takes to long... + list += d->selectedFiles->current()->file() + "\n"; noOfFiles++; } -- cgit v0.9.0.2