Files
ersatztv/ErsatzTV.Core/Interfaces/Scripting/IScriptEngine.cs
T
Jason DoveandGitHub c9bd94d9f8 use javascript instead of lua for external scripts; add audio stream selector scripts (#1005)
* use js instead of lua

* update dependencies

* add audio stream selector script for episodes

* add audio stream selector script for movies

* update changelog
2022-10-28 17:05:07 -05:00

10 lines
277 B
C#

namespace ErsatzTV.Core.Interfaces.Scripting;
public interface IScriptEngine : IDisposable
{
void Load(string jsScriptPath);
Task LoadAsync(string jsScriptPath);
object GetValue(string propertyName);
object Invoke(string functionName, params object[] args);
}