Added multisource playlists. Doesn't play yet, and it shows the radio
[MenuTunes.git] / MainController.m
index dafd199..b041679 100755 (executable)
@@ -406,7 +406,7 @@ static MainController *sharedController;
 {
     ITDebugLog(@"Selecting playlist %i", index);
     NS_DURING
-        [[self currentRemote] switchToPlaylistAtIndex:index];
+        [[self currentRemote] switchToPlaylistAtIndex:(index / 1000) ofSourceAtIndex:(index % 1000)];
     NS_HANDLER
         [self networkError:localException];
     NS_ENDHANDLER