Changeset 114

Show
Ignore:
Timestamp:
07/01/07 19:09:05 (2 years ago)
Author:
gbooker
Message:

lowercase the show names is lookup. Makes us case insensitive for the show part of the filename.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/SapphireTVShowDataMenu.m

    r113 r114  
    315315         
    316316        NSString *searchStr = [fileName substringToIndex:index]; 
    317         NSString *show = [showTranslations objectForKey:searchStr]; 
     317        NSString *show = [showTranslations objectForKey:[searchStr lowercaseString]]; 
    318318        if(show == nil) 
    319319        { 
     
    404404        { 
    405405                NSDictionary *show = [[chooser shows] objectAtIndex:selection]; 
    406                 [showTranslations setObject:[show objectForKey:@"link"] forKey:[chooser searchStr]]; 
     406                [showTranslations setObject:[show objectForKey:@"link"] forKey:[[chooser searchStr] lowercaseString]]; 
    407407                [self writeSettings]; 
    408408        }