]> git.sesse.net Git - vlc/blobdiff - projects/macosx/frontrow_plugin/VLCPlayerController.m
macosx/frontrow_plugin: VLCMediaListController, display a mediaListAspect in a FrontR...
[vlc] / projects / macosx / frontrow_plugin / VLCPlayerController.m
index 7eeeb434138e1c54b2fc4fe1ab96f6a3116eceba..b74229e54b01b52f52d4acfafe54bd8044cd9230 100644 (file)
@@ -7,6 +7,7 @@
 //
 
 #import "VLCPlayerController.h"
+
 #import <BackRow/BREvent.h>
 #import <BackRow/BRLayer.h>
 #import <BackRow/BRControllerStack.h>
     return self;
 }
 
-- (NSString*)path
+- (VLCMedia *)media
 {
-    return [_mediaLayer.url path];
+    return [_mediaLayer media];
 }
 
-- (void)setPath:(NSString*)path
+- (void)setMedia:(VLCMedia *)media
 {
-    _mediaLayer.url = [NSURL fileURLWithPath:path];
+    _mediaLayer.media = media;
 }
 
 - (void)brEventAction:(BREvent*)event