Commit 7fc931c3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

upnp: Handle subtitle attributes

parent b2218942
......@@ -847,6 +847,11 @@ bool MediaServer::addItem( IXML_Element* itemElement )
i_seconds );
}
if ( psz_subtitles == NULL )
{
psz_subtitles = ixmlElement_getAttribute( p_resource, "pv:subtitleFileUri" );
}
input_item_t* p_item =
input_item_NewExt( psz_resource_url, title, i_duration,
ITEM_TYPE_FILE, ITEM_NET );
......
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