mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 23:08:42 +01:00
update default dlna profile
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user