mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-14 11:40:42 +01:00
make media encoding project portable
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MediaBrowser.Model.Diagnostics
|
||||
{
|
||||
@@ -22,6 +18,7 @@ namespace MediaBrowser.Model.Diagnostics
|
||||
public bool ErrorDialog { get; set; }
|
||||
public bool RedirectStandardError { get; set; }
|
||||
public bool RedirectStandardInput { get; set; }
|
||||
public bool RedirectStandardOutput { get; set; }
|
||||
public bool IsHidden { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
|
||||
using System.Text;
|
||||
|
||||
namespace MediaBrowser.Model.TextEncoding
|
||||
{
|
||||
public interface IEncoding
|
||||
{
|
||||
byte[] GetASCIIBytes(string text);
|
||||
string GetASCIIString(byte[] bytes, int startIndex, int length);
|
||||
|
||||
Encoding GetFileEncoding(string path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user