|
@@ -205,7 +205,12 @@
|
|
|
if (!_URL)
|
|
|
return nil;
|
|
|
|
|
|
- return [VLCMedia mediaWithURL:_URL];
|
|
|
+ VLCMedia *media = [VLCMedia mediaWithURL:_URL];
|
|
|
+ NSString *title = self.name;
|
|
|
+ if (title.length) {
|
|
|
+ [media setMetadata:self.name forKey:VLCMetaInformationTitle];
|
|
|
+ }
|
|
|
+ return media;
|
|
|
}
|
|
|
|
|
|
- (id<VLCNetworkServerBrowser>)containerBrowser {
|