DirtyRacer1337 / Jellyfin.Plugin.PhoenixAdult

Jellyfin/Emby Metadata Provider for videos from multiple adult sites
GNU General Public License v2.0
364 stars 45 forks source link

Plugin crash on android server #102

Open Julianuz opened 2 years ago

Julianuz commented 2 years ago

Hi, im currently running my emby server on a android 10 phone (ye thats right :c ) and seems like the plugin crash on the server startup. Im 100% sure this is a issue w the plugin initialization cuz already tried using the same scene on a windows server w the same plugin version an works fine. Hope u can help me to fix this.

PhoenixAdult 2.6.2.46 - Emby media server for android 'exxxtrasmall - Scarlett Hampton.mp4' https://members.teamskeet.com/m/17783 log embyserver.txt

btw i got this error on dashboard image

DirtyRacer1337 commented 2 years ago

Try debug version

Julianuz commented 2 years ago

how to? im new on this

DirtyRacer1337 commented 2 years ago

sorry, I mean Nightly Build

but looks like, server doesn't have System.Threading libraries

Julianuz commented 2 years ago

Same error w the nightly build. I was searching on what folder the libraries r installed on the android server but cant find anything. The only place where they r .dll files is in the plugins folder. There is way to try to fix this?

Julianuz commented 2 years ago

this could work? image

DirtyRacer1337 commented 2 years ago

Try this Emby.Plugins.PhoenixAdult.zip

Strange, regular server works good on .NET Standard 2.1

Julianuz commented 2 years ago

image same error i guess i have to place both files in the plugins forlder, right? embyserver (2).txt ?

DirtyRacer1337 commented 2 years ago

You did everything right, just android server doesn't have System.Threading libraries, I played around with it, no luck

Julianuz commented 2 years ago

well, i guess i will have to use plex and buy the plexpass :c hope this can be fixed in a future (already posted it on the emby forums) , or maybe write a new one plugin specific for emby android server anyways, ty

Julianuz commented 2 years ago

update: image

DirtyRacer1337 commented 2 years ago

Try this Emby.Plugins.PhoenixAdult.zip

^^^ NET Standard 2.0, and it's doesn't work

Julianuz commented 2 years ago

image https://github.com/DirtyRacer1337/Jellyfin.Plugin.PhoenixAdult/blob/netstandard20/Jellyfin.Plugin.PhoenixAdult/PhoenixAdult.csproj#L37-L41 hope he is right

DirtyRacer1337 commented 2 years ago
  1. All required plugins already in one dll, ILRepack.targets
  2. Using classes from emby can be difficult, because plugin is universal for jellyfin and emby
  3. It would be not enough enyway, because System.Threading and System.Threading.Tasks is core for my plugin (I didn't saw it in server apk file), IProviderBase.cs
Julianuz commented 2 years ago

So there is not a way to fix this without create a new plugin for only emby? The only way is adding the missing libraries to the apk?

DirtyRacer1337 commented 2 years ago

Alright, looks like I managed to run it, you can test it, Emby.Plugins.PhoenixAdult.zip

What I did:

  1. I removed FlareSolverrSharp
  2. Added to plugin missing libraries (System.Threading, System.Threading.Tasks)

btw it's compiled on NET Standard 2.1, also I found problem with brazzers, maybe it's because TLS 1.3 not supported (but i'm on android 10), but other site with it work without problem, maybe because it's HEAD request, idk


NET Standard 2.0: Emby.Plugins.PhoenixAdult.zip

Julianuz commented 2 years ago

Alright, looks like I managed to run it, you can test it, Emby.Plugins.PhoenixAdult.zip

What I did:

  1. I removed FlareSolverrSharp
  2. Added to plugin missing libraries (System.Threading, System.Threading.Tasks)

btw it's compiled on NET Standard 2.1, also I found problem with brazzers, maybe it's because TLS 1.3 not supported (but i'm on android 10), but other site with it work without problem, maybe because it's HEAD request, idk

NET Standard 2.0: Emby.Plugins.PhoenixAdult.zip

Huge thanks, works perfectly without any issue on all my sites (included brazzers). Hope u can still update this variant of the plugin. Ty

Julianuz commented 2 years ago

Also hope u can add date support and the new series from teamskeet.com, there r alot missing series from the network and i cant filter by date.