X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=projects%2Fmacosx%2Ffrontrow_plugin%2FVLCAppliance.m;h=404808dd9bc0b11936d9e92b4b099ad03a946e19;hb=b5277240aa78e2515cc4f32ca4b582160b2ee8d8;hp=f342337bb44fd94d7dc266b54bfb7dbeb1f78cea;hpb=663058fa5d6ee0b4c5aaa10f8d3398f957c06b0d;p=vlc diff --git a/projects/macosx/frontrow_plugin/VLCAppliance.m b/projects/macosx/frontrow_plugin/VLCAppliance.m index f342337bb4..404808dd9b 100644 --- a/projects/macosx/frontrow_plugin/VLCAppliance.m +++ b/projects/macosx/frontrow_plugin/VLCAppliance.m @@ -6,9 +6,12 @@ // Copyright 2007 __MyCompanyName__. All rights reserved. // +#import + #import "VLCAppliance.h" #import "VLCApplianceController.h" +#import "VLCMediaListController.h" @implementation VLCAppliance @@ -24,6 +27,10 @@ - (id)applianceController { + // Disabled until we properly display a menu for that. You can test it by uncommenting those lines, and comment the following line. + // VLCMediaListAspect * mediaListAspect = [[[[[VLCMediaDiscoverer alloc] initWithName:@"freebox"] discoveredMedia] retain] hierarchicalAspect]; + // VLCApplianceController * controller = [[VLCMediaListController alloc] initWithMediaListAspect:mediaListAspect]; + VLCApplianceController * controller = [[VLCApplianceController alloc] initWithPath:[NSHomeDirectory() stringByAppendingPathComponent:@"Movies"]]; return [controller autorelease];