Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
e740f598
Commit
e740f598
authored
Apr 17, 2015
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upnp: Fix root folder ObjectID
This fixes minidlna browsing. Fix #7690 #14333
parent
99ec6f77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/services_discovery/upnp.cpp
modules/services_discovery/upnp.cpp
+1
-1
No files found.
modules/services_discovery/upnp.cpp
View file @
e740f598
...
...
@@ -275,7 +275,7 @@ bool MediaServerList::addServer( MediaServerDesc* desc )
msg_Dbg
(
p_sd_
,
"Adding server '%s' with uuid '%s'"
,
desc
->
friendlyName
.
c_str
(),
desc
->
UDN
.
c_str
()
);
char
*
psz_mrl
;
if
(
asprintf
(
&
psz_mrl
,
"upnp://%s?ObjectID=
%s"
,
desc
->
location
.
c_str
(),
desc
->
UDN
.
c_str
()
)
<
0
)
if
(
asprintf
(
&
psz_mrl
,
"upnp://%s?ObjectID=
0"
,
desc
->
location
.
c_str
()
)
<
0
)
return
false
;
p_input_item
=
input_item_NewWithTypeExt
(
psz_mrl
,
desc
->
friendlyName
.
c_str
(),
0
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment