Jump to content

YTrailers install help


Pain
Go to solution Solved by rOis89,

Recommended Posts

ytrailers does not work on latest beta, 4.1.0.8-beta on Synology machine.

It does work however, with Windows version. Could be about .netframework and .netcore platform.

On 4.0.2.0-stable, i do not remember it's compatible or not in Synology machine.

 

If you install it, you can't browse the catalog plugins (Plugins => Catalog).

Just circle turning around in clockwise direction all the time.

When playing any movie with transcode, it will pop an error something about no stream available.

 

Installation is located at :

var/packages/EmbyServer/target/var/plugins

Edited by kyrios
Link to comment
Share on other sites

solabc16
ytrailers does not work on latest beta, 4.1.0.8-beta on Synology machine.

 

@@Luke is this a known compatibility issue with .NET Core? If it runs under .NET Core on Windows, then it should run under .NET Core on Synology.

 

@@kyrios, can you elaborate / be more specific.

 

@@Pain, what version of Emby Server are you running?

 

Best

- James

Link to comment
Share on other sites

Emby 4.0.2.0

Emby 4.0.2.0-stable on Synology is still mono based.

There's a chance it will work.

But Emby beta 4.x.x in Synology platform is built using .NET core. Will not work.

Link to comment
Share on other sites

solabc16

Hello @@kyrios

 

So, can you clarify why we're saying "There's a chance it will work." - is there a known problem with this plugin at the moment?

 

The underlying runtime really shouldn't be a factor here, as the plugins hook-in at a much higher level.

 

Best

- James

Edited by solabc16
Link to comment
Share on other sites

@@solabc16

Here's the error log AFTER CLEAN INSTALL of 4.1.0.9-beta on Apollolake.

No other plugin has been updated nor installed but ytrailer since clean installation.

2019-02-21 21:55:05.524 Error App: Error downloading news
	*** Error Report ***
	Version: 4.1.0.9
	Command line: /volume1/@appstore/EmbyServer/releases/4.1.0.9-beta/EmbyServer.dll -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -ffdetect /var/packages/EmbyServer/target/ffmpeg/bin/ffdetect -restartexitcode 121
	Operating system: Unix 4.4.59.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /var/packages/EmbyServer/target/var
	Application directory: /volume1/@appstore/EmbyServer/releases/4.1.0.9-beta
	System.TypeInitializationException: System.TypeInitializationException: The type initializer for 'System.Net.Http.CurlHandler' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Http' threw an exception. ---> System.TypeInitializationException: The type initializer for 'HttpInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'System.Net.Http.Native' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libSystem.Net.Http.Native: cannot open shared object file: No such file or directory
	   at Interop.Http.GetSslVersionDescription()
	   at Interop.HttpInitializer..cctor() in /source/corefx/src/Common/src/Interop/Unix/System.Net.Http.Native/Interop.Initialization.cs:line 27
	   --- End of inner exception stack trace ---
	   at Interop.HttpInitializer.Initialize() in /source/corefx/src/Common/src/Interop/Unix/System.Net.Http.Native/Interop.Initialization.cs:line 47
	   at Interop.Http..cctor() in /source/corefx/src/Common/src/Interop/Unix/System.Net.Http.Native/Interop.Initialization.cs:line 19
	   --- End of inner exception stack trace ---
	   at Interop.Http.GetSupportedFeatures()
	   at System.Net.Http.CurlHandler..cctor() in /source/corefx/src/System.Net.Http/src/System/Net/Http/CurlHandler/CurlHandler.cs:line 164
	   --- End of inner exception stack trace ---
	   at System.Net.Http.CurlHandler..ctor() in /source/corefx/src/System.Net.Http/src/System/Net/Http/CurlHandler/CurlHandler.cs:line 136
	   at System.Net.Http.HttpClientHandler..ctor(Boolean useSocketsHttpHandler) in /source/corefx/src/System.Net.Http/src/System/Net/Http/HttpClientHandler.Unix.cs:line 34
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.GetHttpClient(String host, HttpRequestOptions options)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.News.NewsEntryPoint.DownloadNews(String path)
	   at Emby.Server.Implementations.News.NewsEntryPoint.OnTimerFired(Object state)
	Source: System.Net.Http
	TargetSite: Void .ctor()
	InnerException: System.TypeInitializationException: The type initializer for 'Http' threw an exception.
	Source: System.Net.Http
	TargetSite: CurlFeatures GetSupportedFeatures()
	   at Interop.Http.GetSupportedFeatures()
	   at System.Net.Http.CurlHandler..cctor() in /source/corefx/src/System.Net.Http/src/System/Net/Http/CurlHandler/CurlHandler.cs:line 164
	InnerException: System.TypeInitializationException: The type initializer for 'HttpInitializer' threw an exception.
	Source: System.Net.Http
	TargetSite: Void Initialize()
	   at Interop.HttpInitializer.Initialize() in /source/corefx/src/Common/src/Interop/Unix/System.Net.Http.Native/Interop.Initialization.cs:line 47
	   at Interop.Http..cctor() in /source/corefx/src/Common/src/Interop/Unix/System.Net.Http.Native/Interop.Initialization.cs:line 19
	InnerException: System.DllNotFoundException: Unable to load shared library 'System.Net.Http.Native' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libSystem.Net.Http.Native: cannot open shared object file: No such file or directory
	Source: System.Net.Http
	TargetSite: System.String GetSslVersionDescription()
	   at Interop.Http.GetSslVersionDescription()
	   at Interop.HttpInitializer..cctor() in /source/corefx/src/Common/src/Interop/Unix/System.Net.Http.Native/Interop.Initialization.cs:line 27
	
2019-02-21 21:55:05.577 Error App: Error registering with Connect
	*** Error Report ***
	Version: 4.1.0.9
	Command line: /volume1/@appstore/EmbyServer/releases/4.1.0.9-beta/EmbyServer.dll -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -ffdetect /var/packages/EmbyServer/target/ffmpeg/bin/ffdetect -restartexitcode 121
	Operating system: Unix 4.4.59.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /var/packages/EmbyServer/target/var
	Application directory: /volume1/@appstore/EmbyServer/releases/4.1.0.9-beta
	System.TypeInitializationException: System.TypeInitializationException: The type initializer for 'System.Net.Http.CurlHandler' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Http' threw an exception. ---> System.TypeInitializationException: The type initializer for 'HttpInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'System.Net.Http.Native' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libSystem.Net.Http.Native: cannot open shared object file: No such file or directory
	   at Interop.Http.GetSslVersionDescription()
	   at Interop.HttpInitializer..cctor() in /source/corefx/src/Common/src/Interop/Unix/System.Net.Http.Native/Interop.Initialization.cs:line 27
	   --- End of inner exception stack trace ---
	   at Interop.HttpInitializer.Initialize() in /source/corefx/src/Common/src/Interop/Unix/System.Net.Http.Native/Interop.Initialization.cs:line 47
	   at Interop.Http..cctor() in /source/corefx/src/Common/src/Interop/Unix/System.Net.Http.Native/Interop.Initialization.cs:line 19
	   --- End of inner exception stack trace ---
	   at Interop.Http.GetSupportedFeatures()
	   at System.Net.Http.CurlHandler..cctor() in /source/corefx/src/System.Net.Http/src/System/Net/Http/CurlHandler/CurlHandler.cs:line 164
	   --- End of inner exception stack trace ---
	   at Emby.Server.Connect.ConnectManager.UpdateServerRegistration(String wanApiAddress, String localAddress)
	   at Emby.Server.Connect.ConnectManager.UpdateConnectInfoInternal(CancellationToken cancellationToken)
	Source: System.Net.Http
	TargetSite: Void .ctor()
	InnerException: System.TypeInitializationException: The type initializer for 'Http' threw an exception.
	Source: System.Net.Http
	TargetSite: CurlFeatures GetSupportedFeatures()
	   at Interop.Http.GetSupportedFeatures()
	   at System.Net.Http.CurlHandler..cctor() in /source/corefx/src/System.Net.Http/src/System/Net/Http/CurlHandler/CurlHandler.cs:line 164
	InnerException: System.TypeInitializationException: The type initializer for 'HttpInitializer' threw an exception.
	Source: System.Net.Http
	TargetSite: Void Initialize()
	   at Interop.HttpInitializer.Initialize() in /source/corefx/src/Common/src/Interop/Unix/System.Net.Http.Native/Interop.Initialization.cs:line 47
	   at Interop.Http..cctor() in /source/corefx/src/Common/src/Interop/Unix/System.Net.Http.Native/Interop.Initialization.cs:line 19
	InnerException: System.DllNotFoundException: Unable to load shared library 'System.Net.Http.Native' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libSystem.Net.Http.Native: cannot open shared object file: No such file or directory
	Source: System.Net.Http
	TargetSite: System.String GetSslVersionDescription()
	   at Interop.Http.GetSslVersionDescription()
	   at Interop.HttpInitializer..cctor() in /source/corefx/src/Common/src/Interop/Unix/System.Net.Http.Native/Interop.Initialization.cs:line 27

At this point, after install ytrailer (from radeon), if I browse plugin catalog (admin dashboard => Plugins => Catalog)

it will never show catalog page, just circle arrow in clockwise direction.

 

embyserver.txt

Link to comment
Share on other sites

solabc16

Hello @@kyrios

 

Thanks for the update, so - just to make sure I'm understanding what you're saying, once installed everything works fine.

 

However, after installing the ytrailer plugin, the system no longer works correctly and produces the above?

 

Best

- James

Link to comment
Share on other sites

@@solabc16

Yup. Even in web client, if I click to edit images of any movies and click the search button, no images will be displayed.

Looks like it is failed to seek images over the internet

 

5c6ec3c1526d6_Snap9.jpg

 

5c6ec3d2c97ae_Snap10.jpg

Link to comment
Share on other sites

@@solabc16

Once ytrailer removed, everything back to normal.

 

1 anomaly i noticed is, if ytrailers not installed the trailer from itunes will be direct play in web client.

If ytrailers installed, any movies from trailer plugin (itunes) will be transcoded.

Edited by kyrios
Link to comment
Share on other sites

solabc16

Thanks @@kyrios

 

Ok, great - that all makes sense then, I'll need to look at the plugin and see what it's doing.

 

It appears to be forcing the use of the older Curl based implementation and that's having a global impact.

 

FYI

Starting from .NET Core 2.1, `System.Net.Http.SocketsHttpHandler` is default which does not require libccurl. The CurlHandler is opt-in using an environment variable.

Best

- James

Link to comment
Share on other sites

@@Pain

I can confirm ytrailers plugin is compatible with 4.0.2.0-stable Synology

http://www.ballingtons.com/products/downloads/YTrailers.zip
Edited by kyrios
Link to comment
Share on other sites

 

@@Pain

I can confirm ytrailers plugin is compatible with 4.0.2.0-stable Synology

http://www.ballingtons.com/products/downloads/YTrailers.zip

 

Thanks. Now I am so new to the Synology coming from windows I need to figure how to get that file on the server.. Thanks

Link to comment
Share on other sites

I can not figure out how to get the YTrailer plugin uploaded to the Synology. N00b here please help with details.

 

Thanks man

Link to comment
Share on other sites

@@Pain

WinSCP, use SCP protocol, use root account.

This is how to gain root acccess in Synology. I assume you use DSM 6.2

https://www.youtube.com/watch?v=gKoHG-7w5q0

Do not forget to set YTrailers.dll belongs to embysvr:users using WinSCP (chown if using command line).

  • Like 1
Link to comment
Share on other sites

@@Pain

WinSCP, use SCP protocol, use root account.

This is how to gain root acccess in Synology. I assume you use DSM 6.2

https://www.youtube.com/watch?v=gKoHG-7w5q0

Do not forget to set YTrailers.dll belongs to embysvr:users using WinSCP (chown if using command line).

 

Thank you.

Link to comment
Share on other sites

solabc16

Hello @@kyrios (Anybody)

 

Is this an actively supported plugin? If so, is there a wiki page or thread dedicated to installing/supporting it?

 

It doesn't seem like something we should piecing together on an ad hoc basis like this.

 

We could help ourselves and avoid any issues / complications by getting a better handle on this if we need to.

 

Best

- James

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...