Fix DLNA DirectPlay

This commit is contained in:
Shadowghost
2022-03-25 18:02:31 +01:00
parent c229f3ae0a
commit 4e91c3ebdc
2 changed files with 3 additions and 8 deletions

View File

@@ -598,11 +598,6 @@ namespace MediaBrowser.Model.Dlna
public string ToUrl(string baseUrl, string accessToken)
{
if (PlayMethod == PlayMethod.DirectPlay)
{
return MediaSource.Path;
}
if (string.IsNullOrEmpty(baseUrl))
{
throw new ArgumentNullException(nameof(baseUrl));