git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed the STUPID BUG where the multisource playlist thing would crash
[MenuTunes.git]
/
MenuController.m
diff --git
a/MenuController.m
b/MenuController.m
index
4ab0bf4
..
dfd4f49
100755
(executable)
--- a/
MenuController.m
+++ b/
MenuController.m
@@
-497,7
+497,6
@@
if (_currentPlaylist && !_playingRadio) {
if (numSongs > 0) {
int i;
if (_currentPlaylist && !_playingRadio) {
if (numSongs > 0) {
int i;
-
for (i = _currentTrack + 1; i <= _currentTrack + numSongsInAdvance; i++) {
if (i <= numSongs) {
NSString *curSong;
for (i = _currentTrack + 1; i <= _currentTrack + numSongsInAdvance; i++) {
if (i <= numSongs) {
NSString *curSong;
@@
-575,6
+574,9
@@
int i, j;
NS_DURING
playlists = [[[MainController sharedController] currentRemote] playlists];
int i, j;
NS_DURING
playlists = [[[MainController sharedController] currentRemote] playlists];
+ /*playlists = [NSArray arrayWithObjects:
+ [NSArray arrayWithObjects:@"Library", [NSNumber numberWithInt:-1], @"Library", @"Playlist", nil],
+ [NSArray arrayWithObjects:@"Radio", [NSNumber numberWithInt:1], @"Radio", nil], nil];*/
NS_HANDLER
[[MainController sharedController] networkError:localException];
NS_ENDHANDLER
NS_HANDLER
[[MainController sharedController] networkError:localException];
NS_ENDHANDLER