This commit is contained in:
Zoe Roux 2020-01-12 21:08:14 +01:00
commit d1cd1e5320
3 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,4 @@
 Microsoft Visual Studio Solution File, Format Version 12.00
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kyoo", "Kyoo\Kyoo.csproj", "{0F8275B6-C7DD-42DF-A168-755C81B1C329}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kyoo", "Kyoo\Kyoo.csproj", "{0F8275B6-C7DD-42DF-A168-755C81B1C329}"
EndProject EndProject
Global Global

View File

@ -9,7 +9,7 @@ namespace Kyoo.InternalAPI.TranscoderLink
{ {
public static class TranscoderAPI public static class TranscoderAPI
{ {
private const string TranscoderPath = @"/home/anonymus-raccoon/Projects/Kyoo/transcoder/cmake-build-debug/libtranscoder.so"; private const string TranscoderPath = "libtranscoder.so";
[DllImport(TranscoderPath, CallingConvention = CallingConvention.Cdecl)] [DllImport(TranscoderPath, CallingConvention = CallingConvention.Cdecl)]
public static extern int init(); public static extern int init();

4
kyoo.sh Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/bash
cd /opt/kyoo
dotnet Kyoo.dll