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
This commit is contained in:
Jason Dove
2022-10-28 17:05:07 -05:00
committed by GitHub
parent 93bf818882
commit c9bd94d9f8
33 changed files with 535 additions and 96 deletions
@@ -0,0 +1,9 @@
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);
}