Permalink
Browse files

Headers

  • Loading branch information...
1 parent 68fa175 commit c51763e46eca9448a77bf29fbe8a17ddbe1e5a7b @tomcool420 committed Jul 19, 2011
Showing with 8 additions and 1 deletion.
  1. +8 −1 SMFPhotoMethods.mm
View
@@ -10,6 +10,7 @@
#import "Classes/BackRowExtras.h"
#import "SMFBaseAsset.h"
#import "SMFPhotoMediaAsset.h"
+#import "Backrow/AppleTV.h"
@implementation SMFPhotoMethods
static NSArray *coverArtExtention=nil;
@@ -200,6 +201,9 @@ -(id)collection
return collection;
}
@end
+@interface BRFullScreenPhotoController (SMF)
+-(void)_startSlideshow;
+@end
@implementation SMFPhotoBrowserController
- (void)_handleSlideshowSelection:(id)arg1
@@ -227,7 +231,10 @@ - (void)_handleSlideshowSelection:(id)arg1
id<BRPhotoProviderForCollection> hello = MSHookIvar<id>(self, "_provider");
id controller_three = [BRFullScreenPhotoController fullScreenPhotoControllerForProvider:hello/*[self provider]*/ startIndex:0];
[[self stack] pushController:controller_three];
- [controller_three _startSlideshow];
+ if ([controller_three respondsToSelector:@selector(_startSlideshow)]) {
+ [controller_three _startSlideshow];
+ }
+
//[[BRMediaPlayerManager singleton] presentMediaAssetAtIndex:0 inCollection:[SMImageReturns photoCollectionForPath:[SMPreferences photoFolderPath]] options:nil];
//[[BRFullScreenPhotoController fullScreenPhotoControllerForProvider: startIndex:0] ]
}

0 comments on commit c51763e

Please sign in to comment.