Commit e362e132 authored by Felix Paul Kühne's avatar Felix Paul Kühne

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 43b5789f
......@@ -234,7 +234,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