Commit be0cfc04 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

local network: fix crash on opening the VC by making sure that we provide a...

local network: fix crash on opening the VC by making sure that we provide a proper string to the UPnP library
parent a6306ca5
......@@ -239,7 +239,7 @@
[[managerInstance DB] addObserver:self];
//Optional; set User Agent
[[managerInstance SSDP] setUserAgentProduct:[NSString stringWithFormat:@"VLCforiOS/%@", [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]] andOS:[NSString stringWithFormat:@"iOS/%@", [[UIDevice currentDevice] systemVersion]]];
[[managerInstance SSDP] setUserAgentProduct:[NSString stringWithFormat:@"VLCforiOS/%@", [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"]] andOS:[NSString stringWithFormat:@"iOS/%@", [[UIDevice currentDevice] systemVersion]]];
//Search for UPnP Devices
[[managerInstance SSDP] startSSDP];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment