update default dlna profile

This commit is contained in:
Luke Pulverenti
2017-01-19 02:32:39 -05:00
parent da5f64e424
commit fe1630aec4
5 changed files with 9 additions and 10 deletions

View File

@@ -49,9 +49,11 @@ namespace MediaBrowser.Controller.Channels
SupportsDirectPlay = true;
}
public MediaSourceInfo ToMediaSource()
public MediaSourceInfo ToMediaSource(Guid itemId)
{
var id = Path.GetMD5().ToString("N");
var id = string.IsNullOrWhiteSpace(Path) ?
itemId.ToString("N") :
Path.GetMD5().ToString("N");
var source = new MediaSourceInfo
{