Bug 148084

Summary: Cannot limit smart playlists to more than 1000 tracks
Product: [Applications] amarok Reporter: shattered
Component: Collections/Media DevicesAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.4.6   
Target Milestone: ---   
Platform: NetBSD pkgsrc   
OS: NetBSD   
Latest Commit: Version Fixed In:
Attachments: proposed fix

Description shattered 2007-07-21 15:08:17 UTC
Version:           1.4.6 (using KDE KDE 3.5.7)
Installed from:    NetBSD pkgsrc
OS:                NetBSD

To work around the bug 144041, I tried to limit smart playlist size to 1500 tracks (more or less fits on 8GB ipod).  This isn't possible in the UI -- the upper limit is 1000.
Comment 1 shattered 2007-07-21 15:09:18 UTC
Created attachment 21215 [details]
proposed fix
Comment 2 Seb Ruiz 2007-07-21 15:35:49 UTC
SVN commit 690583 by seb:

Maximum limit for smart playlists has been bumped from 1000 to 100000 tracks
BUG: 148084


 M  +1 -1      smartplaylisteditor.cpp  


--- branches/stable/extragear/multimedia/amarok/src/smartplaylisteditor.cpp #690582:690583
@@ -221,7 +221,7 @@
     limitBox->setSpacing( 5 );
     m_limitSpin = new KIntSpinBox( limitBox );
     m_limitSpin->setMinValue( 1 );
-    m_limitSpin->setMaxValue( 1000 );
+    m_limitSpin->setMaxValue( 100000 );
     m_limitSpin->setValue( 15 );
     new QLabel( i18n("tracks"), limitBox );
     hbox1->setStretchFactor( new QWidget( hbox1 ), 1 );