[Slim-Checkins] r11135 - in /trunk/server/Plugins/iTunes: Importer.pm strings.txt

kdf at svn.slimdevices.com kdf at svn.slimdevices.com
Sat Jan 6 12:15:35 PST 2007


Author: kdf
Date: Sat Jan  6 12:15:35 2007
New Revision: 11135

URL: http://svn.slimdevices.com?rev=11135&view=rev
Log:
Bug: n/a
Description: itunes playlist progress bar

Modified:
    trunk/server/Plugins/iTunes/Importer.pm
    trunk/server/Plugins/iTunes/strings.txt

Modified: trunk/server/Plugins/iTunes/Importer.pm
URL: http://svn.slimdevices.com/trunk/server/Plugins/iTunes/Importer.pm?rev=11135&r1=11134&r2=11135&view=diff
==============================================================================
--- trunk/server/Plugins/iTunes/Importer.pm (original)
+++ trunk/server/Plugins/iTunes/Importer.pm Sat Jan  6 12:15:35 2007
@@ -569,7 +569,14 @@
 
 			# Set the progress to final when we're done with tracks and have moved on to playlists.
 			$progress->final if $progress;
-			$progress = Slim::Utils::ProgressBar->new({ 'total' => $class->getTotalPlaylistCount });
+			
+			$progress = Slim::Utils::Progress->new({ 
+				'type'  => 'importer', 
+				'name'  => 'itunes_playlists', 
+				'total' => $class->getTotalPlaylistCount, 
+				'bar'   => 1
+			});
+
 		}
 
 		if ($inPlaylists && $currentKey eq 'Name') {

Modified: trunk/server/Plugins/iTunes/strings.txt
URL: http://svn.slimdevices.com/trunk/server/Plugins/iTunes/strings.txt?rev=11135&r1=11134&r2=11135&view=diff
==============================================================================
--- trunk/server/Plugins/iTunes/strings.txt (original)
+++ trunk/server/Plugins/iTunes/strings.txt Sat Jan  6 12:15:35 2007
@@ -265,3 +265,6 @@
 	DE	iTunes Import Fortschritt
 	EN	iTunes Import Progress
 
+ITUNES_PLAYLISTS_PROGRESS
+	EN	iTunes Playlist Import Progress
+



More information about the checkins mailing list