Bug 60134

Summary: When noatun is restarted after the login (I left it open at logout) it adds the track I was listening at the end of the playlist
Product: noatun Reporter: Andrea Bergia <andreabergia>
Component: generalAssignee: Multimedia Developers <kde-multimedia>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andrea Bergia 2003-06-20 17:51:45 UTC
Version:           2.3.2 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 3.3
OS:          Linux (i686) release 2.4.21

I usually left noatun open when I logout. When I login, noatun is restored, but it adds at the end of the playlist the track I was listening and start playing it, instead of playing the already present track in the playlist. I use the playlist "Division" (I don't know the original name in English, since I use KDE in Italian).
Comment 1 Carsten Pfeiffer 2003-06-27 00:53:58 UTC
Subject: kdemultimedia/noatun/modules/marquis

CVS commit by pfeiffer: 

this was just for testing
CCMAIL: 60134-close@bugs.kde.org


  M +9 -8      marquis.cpp   1.11


--- kdemultimedia/noatun/modules/marquis/marquis.cpp  #1.10:1.11
@@ -152,14 +152,15 @@ void Marquis::readSessionConfig(KConfig 
                 napp->playlist()->showList();
 
-        KURL songURL = c->readPathEntry("Current Song");
+// this is broken (pfeiffer)
+//      KURL songURL = c->readPathEntry("Current Song");
 // kdDebug(66666) << "song: " << songURL.url() << endl;
-        if ( songURL.isValid() )
-        {
+//      if ( songURL.isValid() )
+//      {
 // kdDebug(66666) << "is Valid, setting as current now!" << endl;
-                napp->playlist()->addFile( songURL, true );
-                int position = c->readNumEntry("Current Position", 0);
-                player->skipTo( position );
-                setPlayStatus( player, c->readNumEntry("PlayStatus", 0) );
-        }
+//              napp->playlist()->addFile( songURL, true );
+//              int position = c->readNumEntry("Current Position", 0);
+//              player->skipTo( position );
+//              setPlayStatus( player, c->readNumEntry("PlayStatus", 0) );
+/       }
 
         player->setVolume( c->readNumEntry("Volume", 100) );