Changeset 1320
- Timestamp:
- 09/13/10 14:40:56 (21 months ago)
- Location:
- trunk/SapphireFrappliance
- Files:
-
- 17 modified
-
Browser/SapphireBrowser.m (modified) (7 diffs)
-
Browser/SapphireDisplayMenu.m (modified) (1 diff)
-
Browser/SapphireMarkMenu.m (modified) (2 diffs)
-
Browser/SapphireMediaPreview.m (modified) (2 diffs)
-
MetaData/SapphireMObjects/SapphireDirectoryMetaData.m (modified) (1 diff)
-
MetaData/SapphireMObjects/SapphireFileMetaData.h (modified) (1 diff)
-
MetaData/SapphireMObjects/SapphireFileMetaData.m (modified) (16 diffs)
-
MetaData/SapphireMObjects/SapphireXMLData.m (modified) (1 diff)
-
MetaDataImporting/SapphireMovieImporter.m (modified) (3 diffs)
-
MetaDataImporting/SapphireNfoImporter.m (modified) (3 diffs)
-
MetaDataImporting/SapphireQuickTimeImporter.m (modified) (1 diff)
-
MetaDataImporting/SapphireTVShowImporter.m (modified) (3 diffs)
-
MetaDataImporting/SapphireXMLFileDataImporter.m (modified) (3 diffs)
-
Players/SapphireCMPWrapper.m (modified) (1 diff)
-
Settings/SapphireCollectionSettings.m (modified) (1 diff)
-
Settings/SapphireRadioSetting.m (modified) (1 diff)
-
Settings/SapphireSettings.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/SapphireFrappliance/Browser/SapphireBrowser.m
r1285 r1320 308 308 fileCls=[meta fileClassValue]; 309 309 BOOL rightTextSet = NO; 310 if(fileCls==F ILE_CLASS_TV_SHOW)310 if(fileCls==FileClassTVShow) 311 311 { 312 312 SapphireEpisode *ep = [meta tvEpisode]; … … 329 329 } 330 330 } 331 if(fileCls==F ILE_CLASS_MOVIE)331 if(fileCls==FileClassMovie) 332 332 { 333 333 SapphireMovie *movie = [meta movie]; … … 384 384 else if(!watched) gemString = BLUE_GEM_KEY; 385 385 else if(favorite) gemString = YELLOW_GEM_KEY; 386 else if(fileCls==F ILE_CLASS_AUDIO) gemString = GREEN_GEM_KEY;386 else if(fileCls==FileClassAudio) gemString = GREEN_GEM_KEY; 387 387 else gemString = RED_GEM_KEY;; 388 388 [SapphireFrontRowCompat setLeftIcon:[theme gem:gemString] forMenu:result]; … … 456 456 } 457 457 458 if([currentPlayFile fileClassValue] == F ILE_CLASS_TV_SHOW)458 if([currentPlayFile fileClassValue] == FileClassTVShow) 459 459 { 460 460 SapphireEpisode *episode = [currentPlayFile tvEpisode]; … … 473 473 [reqComp addObject:[NSString stringWithFormat:@"showname=%@", showName]]; 474 474 } 475 else if([currentPlayFile fileClassValue] == F ILE_CLASS_MOVIE)475 else if([currentPlayFile fileClassValue] == FileClassMovie) 476 476 { 477 477 fileClass=2; … … 492 492 request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://appletv.nanopi.net/ext.php"]]; 493 493 //The fileClass is never used in these cases later 494 // if([currentPlayFile fileClassValue] == F ILE_CLASS_UNKNOWN)494 // if([currentPlayFile fileClassValue] == FileClassUnknown) 495 495 // fileClass=0; 496 // if([currentPlayFile fileClassValue] == F ILE_CLASS_AUDIO)496 // if([currentPlayFile fileClassValue] == FileClassAudio) 497 497 // fileClass=3; 498 if([currentPlayFile fileClassValue] == F ILE_CLASS_OTHER)498 if([currentPlayFile fileClassValue] == FileClassOther) 499 499 fileClass=5; 500 500 else … … 558 558 } 559 559 560 if([currentPlayFile fileContainerTypeValue] == F ILE_CONTAINER_TYPE_VIDEO_TS && path != nil)560 if([currentPlayFile fileContainerTypeValue] == FileContainerTypeVideoTS && path != nil) 561 561 { 562 562 SapphireCMPWrapper *wrapper = [[SapphireCMPWrapper alloc] initWithFile:currentPlayFile scene:[self scene]]; -
trunk/SapphireFrappliance/Browser/SapphireDisplayMenu.m
r1298 r1320 231 231 NSMutableDictionary *markMeta=[[NSMutableDictionary alloc] init]; 232 232 [markMeta setObject:markName forKey:META_TITLE_KEY]; 233 [markMeta setObject:[NSNumber numberWithInt:F ILE_CLASS_UTILITY] forKey:FILE_CLASS_KEY];233 [markMeta setObject:[NSNumber numberWithInt:FileClassUtility] forKey:FILE_CLASS_KEY]; 234 234 [markMeta setObject:markDescription forKey:META_DESCRIPTION_KEY]; 235 235 SapphireMediaPreview *preview = [[SapphireMediaPreview alloc] initWithScene:[self scene]]; -
trunk/SapphireFrappliance/Browser/SapphireMarkMenu.m
r1319 r1320 347 347 nil]]; 348 348 } 349 if([fileMeta fileClass] != F ILE_CLASS_UNKNOWN)349 if([fileMeta fileClass] != FileClassUnknown) 350 350 { 351 351 [marks addObject: … … 922 922 NSMutableDictionary *markMeta=[[NSMutableDictionary alloc] init]; 923 923 [markMeta setObject:markName forKey:META_TITLE_KEY]; 924 [markMeta setObject:[NSNumber numberWithInt:F ILE_CLASS_UTILITY] forKey:FILE_CLASS_KEY];924 [markMeta setObject:[NSNumber numberWithInt:FileClassUtility] forKey:FILE_CLASS_KEY]; 925 925 [markMeta setObject:markDescription forKey:META_DESCRIPTION_KEY]; 926 926 SapphireMediaPreview *preview = [[SapphireMediaPreview alloc] initWithScene:[self scene]]; -
trunk/SapphireFrappliance/Browser/SapphireMediaPreview.m
r1251 r1320 514 514 NSArray *order = nil; 515 515 NSMutableDictionary *allMeta = nil; 516 FileClass fileClass=F ILE_CLASS_UNKNOWN;516 FileClass fileClass=FileClassUnknown ; 517 517 if([meta respondsToSelector:@selector(getDisplayedMetaDataInOrder:)]) 518 518 { 519 519 allMeta=[(id)meta getDisplayedMetaDataInOrder:&order]; 520 520 if([meta conformsToProtocol:@protocol(SapphireDirectory)]) 521 fileClass=F ILE_CLASS_NOT_FILE;521 fileClass=FileClassNotFile; 522 522 else 523 523 fileClass=(FileClass)[(SapphireFileMetaData *) meta fileClassValue]; 524 524 } 525 525 if(!allMeta) 526 fileClass=F ILE_CLASS_UTILITY;526 fileClass=FileClassUtility; 527 527 if(imageOnly) 528 528 { 529 fileClass = F ILE_CLASS_NOT_FILE;529 fileClass = FileClassNotFile; 530 530 [allMeta removeAllObjects]; 531 531 } … … 533 533 BRMetadataLayer *metaLayer = [self gimmieMetadataLayer]; 534 534 /* TV Show Preview Handeling */ 535 if(fileClass==F ILE_CLASS_TV_SHOW)535 if(fileClass==FileClassTVShow) 536 536 { 537 537 [self populateTVShowMetadataWith:allMeta]; 538 538 } 539 539 /* Movie Preview Handeling */ 540 else if(fileClass==F ILE_CLASS_MOVIE)540 else if(fileClass==FileClassMovie) 541 541 { 542 542 [self populateMovieMetadataWith:allMeta]; 543 543 } 544 544 /* Utility Preview Handeling */ 545 else if(fileClass == F ILE_CLASS_UTILITY)545 else if(fileClass == FileClassUtility) 546 546 { 547 547 [self populateUtilityDataWith:(NSMutableDictionary *)meta]; 548 548 } 549 else if(fileClass != F ILE_CLASS_NOT_FILE)549 else if(fileClass != FileClassNotFile) 550 550 { 551 551 [self populateGenericMetadataWith:allMeta]; -
trunk/SapphireFrappliance/MetaData/SapphireMObjects/SapphireDirectoryMetaData.m
r1317 r1320 402 402 } 403 403 if([fm hasVIDEO_TS:filePath]) 404 subFile.fileContainerTypeValue = F ILE_CONTAINER_TYPE_VIDEO_TS;404 subFile.fileContainerTypeValue = FileContainerTypeVideoTS; 405 405 else 406 subFile.fileContainerTypeValue = F ILE_CONTAINER_TYPE_QT_MOVIE;406 subFile.fileContainerTypeValue = FileContainerTypeQTMovie; 407 407 } 408 408 } -
trunk/SapphireFrappliance/MetaData/SapphireMObjects/SapphireFileMetaData.h
r1319 r1320 72 72 73 73 typedef enum { 74 F ILE_CLASS_UTILITY= -2,75 F ILE_CLASS_NOT_FILE= -1,76 F ILE_CLASS_UNKNOWN= 0,77 F ILE_CLASS_TV_SHOW= 1,78 F ILE_CLASS_MOVIE= 2,79 F ILE_CLASS_AUDIO= 3,80 F ILE_CLASS_IMAGE= 4,81 F ILE_CLASS_OTHER= 5,74 FileClassUtility= -2, 75 FileClassNotFile= -1, 76 FileClassUnknown = 0, 77 FileClassTVShow = 1, 78 FileClassMovie = 2, 79 FileClassAudio = 3, 80 FileClassImage = 4, 81 FileClassOther = 5, 82 82 } FileClass; 83 83 84 84 typedef enum FileContainerType { 85 F ILE_CONTAINER_TYPE_QT_MOVIE= 0,86 F ILE_CONTAINER_TYPE_VIDEO_TS = 1,85 FileContainerTypeQTMovie = 0, 86 FileContainerTypeVideoTS = 1, 87 87 } FileContainerType; 88 88 -
trunk/SapphireFrappliance/MetaData/SapphireMObjects/SapphireFileMetaData.m
r1319 r1320 244 244 if(ep != nil) 245 245 { 246 self.fileClassValue = F ILE_CLASS_TV_SHOW;246 self.fileClassValue = FileClassTVShow; 247 247 NSString *epCoverPath = [[SapphireMetaDataSupport collectionArtPath] stringByAppendingPathComponent:[ep path]]; 248 248 NSString *oldBasePath = [[epCoverPath stringByDeletingLastPathComponent] stringByAppendingPathComponent:[self fileName]]; … … 265 265 if(movie != nil) 266 266 { 267 self.fileClassValue = F ILE_CLASS_MOVIE;267 self.fileClassValue = FileClassMovie; 268 268 NSString *movieCoverPath = [movie coverArtPath]; 269 269 NSString *oldBasePath = [[[SapphireMetaDataSupport collectionArtPath] stringByAppendingPathComponent:@"@MOVIES"] stringByAppendingPathComponent:[self fileName]]; … … 342 342 NSString *path = nil; 343 343 NSFileManager *fm = [NSFileManager defaultManager]; 344 if([self fileContainerTypeValue] == F ILE_CONTAINER_TYPE_VIDEO_TS)344 if([self fileContainerTypeValue] == FileContainerTypeVideoTS) 345 345 { 346 346 NSString *vtsPath = [self.path stringByAppendingPathComponent:@"VIDEO_TS"]; … … 405 405 int match = ImportTypeMaskAll & ~ImportTypeMaskFile & ~ImportTypeMaskXML; 406 406 switch (self.fileClassValue) { 407 case F ILE_CLASS_TV_SHOW:407 case FileClassTVShow: 408 408 match &= ~ImportTypeMaskMovie; 409 409 break; 410 case F ILE_CLASS_MOVIE:410 case FileClassMovie: 411 411 match &= ~ImportTypeMaskTVShow; 412 412 break; … … 444 444 NSFileManager *fm = [NSFileManager defaultManager]; 445 445 446 if(type == F ILE_CONTAINER_TYPE_VIDEO_TS)446 if(type == FileContainerTypeVideoTS) 447 447 { 448 448 NSString *vtsPath = [path stringByAppendingPathComponent:@"VIDEO_TS"]; … … 465 465 [fileMeta setObject:[props objectForKey:NSFileSize] forKey:META_FILE_SIZE_KEY]; 466 466 467 if(type == F ILE_CONTAINER_TYPE_QT_MOVIE)467 if(type == FileContainerTypeQTMovie) 468 468 { 469 469 /*Open the movie*/ … … 558 558 } 559 559 } //QTMovie 560 else if(type == F ILE_CONTAINER_TYPE_VIDEO_TS)560 else if(type == FileContainerTypeVideoTS) 561 561 { 562 562 SapphireVideoTsParser *dvd = [[SapphireVideoTsParser alloc] initWithPath:path]; … … 757 757 NSString * myArtPath=nil; 758 758 759 if([self fileClassValue]==F ILE_CLASS_TV_SHOW)759 if([self fileClassValue]==FileClassTVShow) 760 760 myArtPath=[[self tvEpisode] coverArtPath]; 761 if([self fileClassValue]==F ILE_CLASS_MOVIE)761 if([self fileClassValue]==FileClassMovie) 762 762 myArtPath=[[self movie] coverArtPath]; 763 763 … … 840 840 NSString *extension; 841 841 NSString *newExtlessPath = newPath; 842 if(self.fileContainerTypeValue != F ILE_CONTAINER_TYPE_VIDEO_TS)842 if(self.fileContainerTypeValue != FileContainerTypeVideoTS) 843 843 newExtlessPath = [newExtlessPath stringByDeletingPathExtension]; 844 844 … … 902 902 return BRLocalizedString(@"A File name should not contain any '/' characters", @"Error indicating that filenames cannot contain / characters"); 903 903 NSString *oldPath = [self path]; 904 if(self.fileContainerTypeValue != F ILE_CONTAINER_TYPE_VIDEO_TS)904 if(self.fileContainerTypeValue != FileContainerTypeVideoTS) 905 905 newFilename = [newFilename stringByAppendingPathExtension:[oldPath pathExtension]]; 906 906 NSString *newPath = [[oldPath stringByDeletingLastPathComponent] stringByAppendingPathComponent:newFilename]; … … 996 996 { 997 997 NSString *ret = [self.path lastPathComponent]; 998 if(self.fileContainerTypeValue != F ILE_CONTAINER_TYPE_VIDEO_TS)998 if(self.fileContainerTypeValue != FileContainerTypeVideoTS) 999 999 ret = [ret stringByDeletingPathExtension]; 1000 1000 … … 1005 1005 { 1006 1006 NSString *ret = self.path; 1007 if(self.fileContainerTypeValue != F ILE_CONTAINER_TYPE_VIDEO_TS)1007 if(self.fileContainerTypeValue != FileContainerTypeVideoTS) 1008 1008 ret = [ret stringByDeletingPathExtension]; 1009 1009 … … 1175 1175 if(movie != nil) 1176 1176 { 1177 [self setFileClassValue:F ILE_CLASS_MOVIE];1177 [self setFileClassValue:FileClassMovie]; 1178 1178 self.importTypeValue |= ImportTypeMaskMovie; 1179 1179 } … … 1190 1190 if(ep != nil) 1191 1191 { 1192 [self setFileClassValue:F ILE_CLASS_TV_SHOW];1192 [self setFileClassValue:FileClassTVShow]; 1193 1193 self.importTypeValue |= ImportTypeMaskTVShow; 1194 1194 } … … 1212 1212 { 1213 1213 FileClass xmlClass = self.xmlData.fileClassValue; 1214 if(xmlClass != F ILE_CLASS_UNKNOWN)1214 if(xmlClass != FileClassUnknown) 1215 1215 return xmlClass; 1216 1216 return super.fileClassValue; … … 1220 1220 { 1221 1221 FileClass xmlClass = self.xmlData.fileClassValue; 1222 if(xmlClass != F ILE_CLASS_UNKNOWN)1223 self.xmlData.fileClassValue = F ILE_CLASS_UNKNOWN;1222 if(xmlClass != FileClassUnknown) 1223 self.xmlData.fileClassValue = FileClassUnknown; 1224 1224 super.fileClassValue = fileClass; 1225 1225 } -
trunk/SapphireFrappliance/MetaData/SapphireMObjects/SapphireXMLData.m
r1288 r1320 264 264 if(imdbNumber != 0) 265 265 ret = [SapphireMovie createMovieWithIMDB:imdbNumber inContext:[self managedObjectContext]]; 266 else if(title != nil && [[self file] fileClassValue] == F ILE_CLASS_MOVIE)266 else if(title != nil && [[self file] fileClassValue] == FileClassMovie) 267 267 ret = [SapphireMovie createMovieWithTitle:title inContext:[self managedObjectContext]]; 268 268 else -
trunk/SapphireFrappliance/MetaDataImporting/SapphireMovieImporter.m
r1319 r1320 405 405 { 406 406 [currentData didImportType:ImportTypeMaskMovie]; 407 if (status == ImportStateNotUpdated && [currentData fileClassValue] != F ILE_CLASS_TV_SHOW)408 [currentData setFileClassValue:F ILE_CLASS_UNKNOWN];407 if (status == ImportStateNotUpdated && [currentData fileClassValue] != FileClassTVShow) 408 [currentData setFileClassValue:FileClassUnknown]; 409 409 } 410 410 [delegate backgroundImporter:self completedImportOnPath:state->path withState:status]; … … 444 444 NSString *path = [metaData path]; 445 445 BOOL ret = [[NSFileManager defaultManager] acceptFilePath:path]; 446 if([metaData fileContainerType] == F ILE_CONTAINER_TYPE_QT_MOVIE)446 if([metaData fileContainerType] == FileContainerTypeQTMovie) 447 447 ret &= [[NSFileManager videoExtensions] containsObject:[path pathExtension]]; 448 if([metaData fileClassValue]==F ILE_CLASS_TV_SHOW) /* File is a TV Show - skip it */448 if([metaData fileClassValue]==FileClassTVShow) /* File is a TV Show - skip it */ 449 449 ret = NO; 450 450 return ret; … … 462 462 SapphireLog(SapphireLogTypeImport, SapphireLogLevelDebug, @"Going to movie import %@", path); 463 463 NSString *extLessPath = path; 464 if([metaData fileContainerTypeValue] != F ILE_CONTAINER_TYPE_VIDEO_TS)464 if([metaData fileContainerTypeValue] != FileContainerTypeVideoTS) 465 465 extLessPath = [extLessPath stringByDeletingPathExtension]; 466 466 -
trunk/SapphireFrappliance/MetaDataImporting/SapphireNfoImporter.m
r1179 r1320 49 49 BOOL nfoPathIsDir = NO; 50 50 NSString *extLessPath = path; 51 if([metaData fileContainerTypeValue] != F ILE_CONTAINER_TYPE_VIDEO_TS)51 if([metaData fileContainerTypeValue] != FileContainerTypeVideoTS) 52 52 extLessPath = [extLessPath stringByDeletingPathExtension]; 53 53 … … 56 56 return ImportStateNotUpdated; 57 57 58 if([metaData fileClassValue] != F ILE_CLASS_UNKNOWN)58 if([metaData fileClassValue] != FileClassUnknown) 59 59 return ImportStateNotUpdated; 60 60 … … 75 75 if([[scraper contentType] isEqualToString:@"tvshows"]) 76 76 { 77 [metaData setFileClassValue:F ILE_CLASS_TV_SHOW];77 [metaData setFileClassValue:FileClassTVShow]; 78 78 match = YES; 79 79 } 80 80 else if([[scraper contentType] isEqualToString:@"movies"]) 81 81 { 82 [metaData setFileClassValue:F ILE_CLASS_MOVIE];82 [metaData setFileClassValue:FileClassMovie]; 83 83 match = YES; 84 84 } -
trunk/SapphireFrappliance/MetaDataImporting/SapphireQuickTimeImporter.m
r1319 r1320 120 120 int type = [[info valueForKey:TC_QT_TYPE] intValue]; 121 121 if(type==9) 122 [dict setObject:[NSNumber numberWithInt:F ILE_CLASS_MOVIE] forKey:FILE_CLASS_KEY];122 [dict setObject:[NSNumber numberWithInt:FileClassMovie] forKey:FILE_CLASS_KEY]; 123 123 else if(type==10) 124 [dict setObject:[NSNumber numberWithInt:F ILE_CLASS_TV_SHOW] forKey:FILE_CLASS_KEY];124 [dict setObject:[NSNumber numberWithInt:FileClassTVShow] forKey:FILE_CLASS_KEY]; 125 125 126 126 value = [info objectForKey:TC_QT_COPYRIGHT]; -
trunk/SapphireFrappliance/MetaDataImporting/SapphireTVShowImporter.m
r1319 r1320 519 519 //QTMovie is broken on ATV, don't fetch images there 520 520 SapphireFileMetaData *metaData = tvState->file; 521 if ([SapphireFrontRowCompat usingLeopard] && [metaData fileContainerTypeValue] == F ILE_CONTAINER_TYPE_QT_MOVIE)521 if ([SapphireFrontRowCompat usingLeopard] && [metaData fileContainerTypeValue] == FileContainerTypeQTMovie) 522 522 { 523 523 // NSImage-Extensions … … 565 565 { 566 566 [currentData didImportType:ImportTypeMaskTVShow]; 567 if (status == ImportStateNotUpdated && [currentData fileClassValue] != F ILE_CLASS_MOVIE)568 [currentData setFileClassValue:F ILE_CLASS_UNKNOWN];567 if (status == ImportStateNotUpdated && [currentData fileClassValue] != FileClassMovie) 568 [currentData setFileClassValue:FileClassUnknown]; 569 569 } 570 570 [delegate backgroundImporter:self completedImportOnPath:state->path withState:status]; … … 605 605 // NSArray *pathComponents = [path pathComponents]; 606 606 NSString *extLessPath = path; 607 if([metaData fileContainerTypeValue] != F ILE_CONTAINER_TYPE_VIDEO_TS)607 if([metaData fileContainerTypeValue] != FileContainerTypeVideoTS) 608 608 extLessPath = [extLessPath stringByDeletingPathExtension]; 609 609 -
trunk/SapphireFrappliance/MetaDataImporting/SapphireXMLFileDataImporter.m
r1319 r1320 100 100 BOOL xmlPathIsDir = NO; 101 101 NSString *extLessPath = path; 102 if([metaData fileContainerTypeValue] != F ILE_CONTAINER_TYPE_VIDEO_TS)102 if([metaData fileContainerTypeValue] != FileContainerTypeVideoTS) 103 103 extLessPath = [extLessPath stringByDeletingPathExtension]; 104 104 … … 133 133 134 134 NSString *type = [[root attributeForName:@"type"] stringValue]; 135 FileClass fclass = F ILE_CLASS_UNKNOWN;135 FileClass fclass = FileClassUnknown; 136 136 //Need to catch the media type {"TV Show" , "Movie"} 137 137 if(type!=nil) 138 138 { 139 139 if([type isEqualToString:@"TV Show"]) 140 fclass = F ILE_CLASS_TV_SHOW;140 fclass = FileClassTVShow; 141 141 else if([type isEqualToString:@"Movie"]) 142 fclass = F ILE_CLASS_MOVIE;143 144 if(fclass != F ILE_CLASS_UNKNOWN)142 fclass = FileClassMovie; 143 144 if(fclass != FileClassUnknown) 145 145 [newMetaData setObject:[NSNumber numberWithInt:fclass] forKey:FILE_CLASS_KEY]; 146 146 } … … 185 185 /* Screen Cap */ 186 186 NSArray *imageCaps = [root objectsForXQuery:SCREENCAP_XML_QUERY error:&error]; 187 if ( [imageCaps count] && [metaData fileContainerType] == F ILE_CONTAINER_TYPE_QT_MOVIE)187 if ( [imageCaps count] && [metaData fileContainerType] == FileContainerTypeQTMovie ) 188 188 { 189 189 unsigned int hour; -
trunk/SapphireFrappliance/Players/SapphireCMPWrapper.m
r1179 r1320 36 36 FileContainerType fileContainerType = aFile.fileContainerTypeValue; 37 37 CMPPlayerManagerFileType playerType = CMPPlayerManagerFileTypeQTCompatibleVideo; 38 if(fileContainerType == F ILE_CONTAINER_TYPE_VIDEO_TS)38 if(fileContainerType == FileContainerTypeVideoTS) 39 39 playerType = CMPPlayerManagerFileTypeVideo_TS; 40 40 -
trunk/SapphireFrappliance/Settings/SapphireCollectionSettings.m
r874 r1320 184 184 NSMutableDictionary *settingMeta=[[NSMutableDictionary alloc] init]; 185 185 [settingMeta setObject:settingName forKey:META_TITLE_KEY]; 186 [settingMeta setObject:[NSNumber numberWithInt:F ILE_CLASS_UTILITY] forKey:FILE_CLASS_KEY];186 [settingMeta setObject:[NSNumber numberWithInt:FileClassUtility] forKey:FILE_CLASS_KEY]; 187 187 [settingMeta setObject:settingDescription forKey:META_DESCRIPTION_KEY]; 188 188 SapphireMediaPreview *preview = [[SapphireMediaPreview alloc] initWithScene:[self scene]]; -
trunk/SapphireFrappliance/Settings/SapphireRadioSetting.m
r1270 r1320 142 142 NSMutableDictionary *settingMeta=[[NSMutableDictionary alloc] init]; 143 143 [settingMeta setObject:[choices objectAtIndex:item] forKey:META_TITLE_KEY]; 144 [settingMeta setObject:[NSNumber numberWithInt:F ILE_CLASS_UTILITY] forKey:FILE_CLASS_KEY];144 [settingMeta setObject:[NSNumber numberWithInt:FileClassUtility] forKey:FILE_CLASS_KEY]; 145 145 [settingMeta setObject:[choiceDesc objectAtIndex:item] forKey:META_DESCRIPTION_KEY]; 146 146 SapphireMediaPreview *preview = [[SapphireMediaPreview alloc] initWithScene:[self scene]]; -
trunk/SapphireFrappliance/Settings/SapphireSettings.m
r1317 r1320 787 787 NSMutableDictionary *settingMeta=[[NSMutableDictionary alloc] init]; 788 788 [settingMeta setObject:settingName forKey:META_TITLE_KEY]; 789 [settingMeta setObject:[NSNumber numberWithInt:F ILE_CLASS_UTILITY] forKey:FILE_CLASS_KEY];789 [settingMeta setObject:[NSNumber numberWithInt:FileClassUtility] forKey:FILE_CLASS_KEY]; 790 790 [settingMeta setObject:settingDescription forKey:META_DESCRIPTION_KEY]; 791 791 SapphireMediaPreview *preview = [[SapphireMediaPreview alloc] initWithScene:[self scene]];
