浏览代码

Move IO code to separate folder

Patrick Barron 1 年之前
父节点
当前提交
ca1a8ced48

+ 1 - 0
src/Jellyfin.LiveTv/EmbyTV/EmbyTV.cs

@@ -19,6 +19,7 @@ using Jellyfin.Data.Enums;
 using Jellyfin.Data.Events;
 using Jellyfin.Extensions;
 using Jellyfin.LiveTv.Configuration;
+using Jellyfin.LiveTv.IO;
 using Jellyfin.LiveTv.Timers;
 using MediaBrowser.Common.Configuration;
 using MediaBrowser.Common.Extensions;

+ 1 - 0
src/Jellyfin.LiveTv/Extensions/LiveTvServiceCollectionExtensions.cs

@@ -1,5 +1,6 @@
 using Jellyfin.LiveTv.Channels;
 using Jellyfin.LiveTv.Guide;
+using Jellyfin.LiveTv.IO;
 using Jellyfin.LiveTv.Listings;
 using Jellyfin.LiveTv.Timers;
 using Jellyfin.LiveTv.TunerHosts;

+ 1 - 1
src/Jellyfin.LiveTv/EmbyTV/DirectRecorder.cs → src/Jellyfin.LiveTv/IO/DirectRecorder.cs

@@ -12,7 +12,7 @@ using MediaBrowser.Model.Dto;
 using MediaBrowser.Model.IO;
 using Microsoft.Extensions.Logging;
 
-namespace Jellyfin.LiveTv.EmbyTV
+namespace Jellyfin.LiveTv.IO
 {
     public sealed class DirectRecorder : IRecorder
     {

+ 1 - 1
src/Jellyfin.LiveTv/EmbyTV/EncodedRecorder.cs → src/Jellyfin.LiveTv/IO/EncodedRecorder.cs

@@ -23,7 +23,7 @@ using MediaBrowser.Model.Dto;
 using MediaBrowser.Model.IO;
 using Microsoft.Extensions.Logging;
 
-namespace Jellyfin.LiveTv.EmbyTV
+namespace Jellyfin.LiveTv.IO
 {
     public class EncodedRecorder : IRecorder
     {

+ 1 - 1
src/Jellyfin.LiveTv/ExclusiveLiveStream.cs → src/Jellyfin.LiveTv/IO/ExclusiveLiveStream.cs

@@ -11,7 +11,7 @@ using System.Threading.Tasks;
 using MediaBrowser.Controller.Library;
 using MediaBrowser.Model.Dto;
 
-namespace Jellyfin.LiveTv
+namespace Jellyfin.LiveTv.IO
 {
     public sealed class ExclusiveLiveStream : ILiveStream
     {

+ 1 - 1
src/Jellyfin.LiveTv/EmbyTV/IRecorder.cs → src/Jellyfin.LiveTv/IO/IRecorder.cs

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
 using MediaBrowser.Controller.Library;
 using MediaBrowser.Model.Dto;
 
-namespace Jellyfin.LiveTv.EmbyTV
+namespace Jellyfin.LiveTv.IO
 {
     public interface IRecorder : IDisposable
     {

+ 1 - 1
src/Jellyfin.LiveTv/StreamHelper.cs → src/Jellyfin.LiveTv/IO/StreamHelper.cs

@@ -7,7 +7,7 @@ using System.Threading;
 using System.Threading.Tasks;
 using MediaBrowser.Model.IO;
 
-namespace Jellyfin.LiveTv
+namespace Jellyfin.LiveTv.IO
 {
     public class StreamHelper : IStreamHelper
     {

+ 1 - 0
src/Jellyfin.LiveTv/LiveTvManager.cs

@@ -12,6 +12,7 @@ using Jellyfin.Data.Entities;
 using Jellyfin.Data.Enums;
 using Jellyfin.Data.Events;
 using Jellyfin.LiveTv.Configuration;
+using Jellyfin.LiveTv.IO;
 using MediaBrowser.Common.Extensions;
 using MediaBrowser.Controller.Channels;
 using MediaBrowser.Controller.Configuration;