mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-04 05:12:51 +01:00
Renamed Dto objects
Updated Fody Renamed Dto objects
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using MediaBrowser.Common.Logging;
|
||||
using MediaBrowser.Model.DTO;
|
||||
using MediaBrowser.Model.Dto;
|
||||
using MediaBrowser.UI.Configuration;
|
||||
using MediaBrowser.UI.UserInput;
|
||||
using System;
|
||||
@@ -71,7 +71,7 @@ namespace MediaBrowser.UI.Playback.ExternalPlayer
|
||||
/// <param name="options">The options.</param>
|
||||
/// <param name="playerConfiguration">The player configuration.</param>
|
||||
/// <returns>ProcessStartInfo.</returns>
|
||||
protected virtual ProcessStartInfo GetProcessStartInfo(List<DtoBaseItem> items, PlayOptions options, PlayerConfiguration playerConfiguration)
|
||||
protected virtual ProcessStartInfo GetProcessStartInfo(List<BaseItemDto> items, PlayOptions options, PlayerConfiguration playerConfiguration)
|
||||
{
|
||||
return new ProcessStartInfo
|
||||
{
|
||||
@@ -87,7 +87,7 @@ namespace MediaBrowser.UI.Playback.ExternalPlayer
|
||||
/// <param name="options">The options.</param>
|
||||
/// <param name="playerConfiguration">The player configuration.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
protected virtual string GetCommandArguments(List<DtoBaseItem> items, PlayOptions options, PlayerConfiguration playerConfiguration)
|
||||
protected virtual string GetCommandArguments(List<BaseItemDto> items, PlayOptions options, PlayerConfiguration playerConfiguration)
|
||||
{
|
||||
var args = playerConfiguration.Args;
|
||||
|
||||
@@ -105,7 +105,7 @@ namespace MediaBrowser.UI.Playback.ExternalPlayer
|
||||
/// <param name="items">The items.</param>
|
||||
/// <param name="formatString">The format string.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
protected string GetCommandArguments(List<DtoBaseItem> items, string formatString)
|
||||
protected string GetCommandArguments(List<BaseItemDto> items, string formatString)
|
||||
{
|
||||
var paths = items.Select(i => "\"" + GetPathForCommandLine(i) + "\"");
|
||||
|
||||
@@ -117,7 +117,7 @@ namespace MediaBrowser.UI.Playback.ExternalPlayer
|
||||
/// </summary>
|
||||
/// <param name="item">The item.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
protected virtual string GetPathForCommandLine(DtoBaseItem item)
|
||||
protected virtual string GetPathForCommandLine(BaseItemDto item)
|
||||
{
|
||||
return item.Path;
|
||||
}
|
||||
@@ -155,7 +155,7 @@ namespace MediaBrowser.UI.Playback.ExternalPlayer
|
||||
/// <param name="items">The items.</param>
|
||||
/// <param name="options">The options.</param>
|
||||
/// <param name="playerConfiguration">The player configuration.</param>
|
||||
protected override void PlayInternal(List<DtoBaseItem> items, PlayOptions options, PlayerConfiguration playerConfiguration)
|
||||
protected override void PlayInternal(List<BaseItemDto> items, PlayOptions options, PlayerConfiguration playerConfiguration)
|
||||
{
|
||||
CurrentProcess = new Process
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using MediaBrowser.Model.DTO;
|
||||
using MediaBrowser.Model.Dto;
|
||||
using System.ComponentModel.Composition;
|
||||
|
||||
namespace MediaBrowser.UI.Playback.ExternalPlayer
|
||||
@@ -23,7 +23,7 @@ namespace MediaBrowser.UI.Playback.ExternalPlayer
|
||||
/// </summary>
|
||||
/// <param name="item">The item.</param>
|
||||
/// <returns><c>true</c> if this instance can play the specified item; otherwise, <c>false</c>.</returns>
|
||||
public override bool CanPlay(DtoBaseItem item)
|
||||
public override bool CanPlay(BaseItemDto item)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user