Pain 13 Posted February 19, 2019 Share Posted February 19, 2019 How do I install YTrailers on a Synology? Thanks Link to comment Share on other sites More sharing options...
kyrios 4 Posted February 20, 2019 Share Posted February 20, 2019 (edited) 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 February 20, 2019 by kyrios Link to comment Share on other sites More sharing options...
Pain 13 Posted February 20, 2019 Author Share Posted February 20, 2019 Thanks. I guess I'll just use tinyMediaManager til something comes along so that its automated.. Link to comment Share on other sites More sharing options...
solabc16 379 Posted February 20, 2019 Share Posted February 20, 2019 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 More sharing options...
Pain 13 Posted February 21, 2019 Author Share Posted February 21, 2019 Emby 4.0.2.0 Link to comment Share on other sites More sharing options...
Luke 37118 Posted February 21, 2019 Share Posted February 21, 2019 No. Why do you think it's not compatible? Link to comment Share on other sites More sharing options...
solabc16 379 Posted February 21, 2019 Share Posted February 21, 2019 No. Why do you think it's not compatible? @@kyrios? Your assertion. Best - James Link to comment Share on other sites More sharing options...
kyrios 4 Posted February 21, 2019 Share Posted February 21, 2019 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 More sharing options...
solabc16 379 Posted February 21, 2019 Share Posted February 21, 2019 (edited) 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 February 21, 2019 by solabc16 Link to comment Share on other sites More sharing options...
kyrios 4 Posted February 21, 2019 Share Posted February 21, 2019 @@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 More sharing options...
solabc16 379 Posted February 21, 2019 Share Posted February 21, 2019 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 More sharing options...
kyrios 4 Posted February 21, 2019 Share Posted February 21, 2019 @@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 Link to comment Share on other sites More sharing options...
solabc16 379 Posted February 21, 2019 Share Posted February 21, 2019 Hello @@kyrios So, if you remove the ytrailers plugin, does everything start working normally again? Best- James Link to comment Share on other sites More sharing options...
kyrios 4 Posted February 21, 2019 Share Posted February 21, 2019 (edited) @@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 February 21, 2019 by kyrios Link to comment Share on other sites More sharing options...
solabc16 379 Posted February 21, 2019 Share Posted February 21, 2019 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 More sharing options...
kyrios 4 Posted February 21, 2019 Share Posted February 21, 2019 @@radeon Hope you read this and fix it soon Link to comment Share on other sites More sharing options...
kyrios 4 Posted February 21, 2019 Share Posted February 21, 2019 (edited) @@Pain I can confirm ytrailers plugin is compatible with 4.0.2.0-stable Synology http://www.ballingtons.com/products/downloads/YTrailers.zip Edited February 21, 2019 by kyrios Link to comment Share on other sites More sharing options...
Pain 13 Posted February 21, 2019 Author Share Posted February 21, 2019 @@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 More sharing options...
Pain 13 Posted February 21, 2019 Author Share Posted February 21, 2019 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 More sharing options...
Luke 37118 Posted February 21, 2019 Share Posted February 21, 2019 @@Pain i've merged your topics as they are asking the same question. Thanks. Link to comment Share on other sites More sharing options...
Pain 13 Posted February 21, 2019 Author Share Posted February 21, 2019 @@Pain i've merged your topics as they are asking the same question. Thanks. Thank you sorry about that... Link to comment Share on other sites More sharing options...
kyrios 4 Posted February 21, 2019 Share Posted February 21, 2019 @@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). 1 Link to comment Share on other sites More sharing options...
Pain 13 Posted February 21, 2019 Author Share Posted February 21, 2019 @@Luke Would be nice if there was a upload button for the plugins. Link to comment Share on other sites More sharing options...
Pain 13 Posted February 21, 2019 Author Share Posted February 21, 2019 @@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 More sharing options...
solabc16 379 Posted February 21, 2019 Share Posted February 21, 2019 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now