Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
rygel
Commits
43f9516d
Commit
43f9516d
authored
Oct 08, 2013
by
Jens Georg
Browse files
server: Return proper contentFeatures for DIDL_S
https://bugzilla.gnome.org/show_bug.cgi?id=709627
parent
f458c7c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/librygel-server/rygel-http-playlist-handler.vala
View file @
43f9516d
...
...
@@ -165,7 +165,14 @@ internal class Rygel.HTTPPlaylistHandler : Rygel.HTTPGetHandler {
var
protocol
=
request
.
http_server
.
get_protocol
();
try
{
return
request
.
object
.
add_resource
(
didl_object
,
null
,
protocol
);
var
res
=
request
.
object
.
add_resource
(
didl_object
,
null
,
protocol
);
// set DLNA profile to get proper contentFeatures header
if
(
this
.
playlist_type
==
SerializerType
.
DIDL_S
)
{
res
.
protocol_info
.
dlna_profile
=
"DIDL_S"
;
}
return
res
;
}
catch
(
Error
error
)
{
return
null
as
DIDLLiteResource
;
}
...
...
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