5 // Created by hyei on 31/08/07.
6 // Copyright 2007 __MyCompanyName__. All rights reserved.
9 #import <VLCKit/VLCKit.h>
11 #import "VLCAppliance.h"
13 #import "VLCApplianceController.h"
14 #import "VLCMediaListController.h"
16 @implementation VLCAppliance
18 + (NSString *) className {
19 return @"RUIMoviesAppliance";
28 - (id)applianceController
30 // Disabled until we properly display a menu for that. You can test it by uncommenting those lines, and comment the following line.
31 // VLCMediaListAspect * mediaListAspect = [[[[[VLCMediaDiscoverer alloc] initWithName:@"freebox"] discoveredMedia] retain] hierarchicalAspect];
32 // VLCApplianceController * controller = [[VLCMediaListController alloc] initWithMediaListAspect:mediaListAspect];
34 VLCApplianceController * controller = [[VLCApplianceController alloc] initWithPath:[NSHomeDirectory() stringByAppendingPathComponent:@"Movies"]];
36 return [controller autorelease];
41 //- (id)initWithSettings:(id)fp8
43 // self = [super initWithSettings:fp8];
44 // NSLog(@"settings: %@", fp8);
45 // return [self retain];