Giter Club home page Giter Club logo

jellyfinjav's People

Contributors

caoli5288 avatar imaginary-upside avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jellyfinjav's Issues

File Naming

All the file names need to contain the JAV code seperated by a dash.

What is the proper way to organize & naem multipart videos? For example some videos are split up into 2 or 3 parts.
Also can we get support for JAV codes held within brackets? [ ]

Actor/Studio metadata broken

Not sure what's happening but with a brand new install of Jellyfin 10.71 and JellyfinJav, no actor or studio metadata is being generated but the video itself is showing the actor/studio. Subsequently, clicking on the actor link throws an error and shows a blank screen.

Example:
The actor name appears correctly and gives a link:
Screenshot 2021-03-26 180159

But after clicking, Jellyfin throws a console error and goes to a blank screen.
Screenshot 2021-03-26 180135

The studio and actor do show up in the metadata when editing in the UI, so I'm not sure why the links to them are broken.

Screenshot 2021-03-26 193606

[Bug] Image link incorrect

Images are not pulling into Jellyfin correctly despite metadata being scraped correctly.

As an example:
Original Title: STARS-515
Javlibrary Movie Id: javme4dg3a

When clicking edit image and the search button, there is a blank Javlibrary result. Clicking on the result yields the following link:
https://https//img66.pixhost.to/images/22/255181398_1656541l.jpg

Seems like the start of the address is being duplicated. Is there a way to fix this?

[Feature Request] Adding JAVDB as metadata source for movies

There are certain titles that are not available on both r18 and javlib, a few examples:

122518_406 (exactly with the underscore)
081815-951 (exactly with the dash)
FC2-1751646

However they are instantly found in the first result when searching on JavDB. I might add that JavDB is the best source for JAV imo (and not just cause of the magnet links) but their tags are really detailed and they have some great filters on there.

But most importantly they also include results like above, which are usually uncensored JAV from studios that use a different naming scheme. I don't think JavDB has a REST api of any kind so it would probably be scraping through html, however I would strongly recommend to add it even as a fall-back option for certain results that can't be found through r18/javlib.

pic from R18

Hi

I have trouble retrieving images from R18, if I click the R18 logo, I get this error Error processing request.

error
r18

Failing to pull metadata (logs included)

I just installed version 0.4.2 of this on my Jellyfin server (10.6.4) and made a test library to use with it, I configured the library as movies and set R18 and Javlibrary as the metadata sources. but it is failing to actually pull metadata. This is what the logs say is happening.

[2020-10-29 17:56:35.907 -04:00] [INF] Starting Library Sync...
[2020-10-29 17:56:35.930 -04:00] [INF] "LIBRARYSYNC" Added 0 items:  ""
[2020-10-29 17:56:36.266 -04:00] [INF] "LIBRARYSYNC" Updated 1 items:  "728a0bdffcef3bb3417091de75fe9118"
[2020-10-29 17:56:36.266 -04:00] [INF] "LIBRARYSYNC" Removed 0 items:  ""
[2020-10-29 17:56:36.266 -04:00] [INF] Finished Library Sync Taking "00:00:00.3583092"
[2020-10-29 17:56:39.960 -04:00] [INF] [JellyfinJav] R18 - Scanning: HEYZO-1854 
[2020-10-29 17:56:42.058 -04:00] [INF] [JellyfinJav] Javlibrary - Scanning: HEYZO-1854 
[2020-10-29 17:56:42.616 -04:00] [ERR] Error in "Javlibrary"
System.NullReferenceException: Object reference not set to an instance of an object.
   at JellyfinJav.Api.JavlibraryClient.ParseVideoPage(IDocument doc)
   at JellyfinJav.Api.JavlibraryClient.LoadVideo(Uri url)
   at JellyfinJav.Api.JavlibraryClient.LoadVideo(String id)
   at JellyfinJav.Providers.JavlibraryProvider.JavlibraryProvider.GetMetadata(MovieInfo info, CancellationToken cancelToken)
   at MediaBrowser.Providers.Manager.MetadataService\`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
[2020-10-29 17:56:42.757 -04:00] [INF] TmdbSearch: Finding id for item: "HEYZO 1854" (2018)
[2020-10-29 17:56:43.594 -04:00] [ERR] "JavlibraryImageProvider" failed in GetImageInfos for type "Movie"
System.NullReferenceException: Object reference not set to an instance of an object.
   at JellyfinJav.Api.JavlibraryClient.ParseVideoPage(IDocument doc)
   at JellyfinJav.Api.JavlibraryClient.LoadVideo(Uri url)
   at JellyfinJav.Api.JavlibraryClient.LoadVideo(String id)
   at JellyfinJav.Providers.JavlibraryProvider.JavlibraryImageProvider.GetImages(BaseItem item, CancellationToken cancelToken)
   at MediaBrowser.Providers.Manager.ProviderManager.GetImages(BaseItem item, CancellationToken cancellationToken, IRemoteImageProvider provider, List`1 preferredLanguages, Nullable`1 type)
[2020-10-29 17:56:49.632 -04:00] [INF] Starting Library Sync...
[2020-10-29 17:56:49.634 -04:00] [INF] "LIBRARYSYNC" Added 0 items:  ""
[2020-10-29 17:56:49.888 -04:00] [INF] "LIBRARYSYNC" Updated 1 items:  "728a0bdffcef3bb3417091de75fe9118"
[2020-10-29 17:56:49.888 -04:00] [INF] "LIBRARYSYNC" Removed 0 items:  ""
[2020-10-29 17:56:49.888 -04:00] [INF] Finished Library Sync Taking "00:00:00.2550617"
[2020-10-29 17:59:10.110 -04:00] [INF] WS "::ffff:127.0.0.1" closed
[2020-10-29 17:59:14.036 -04:00] [INF] WS "::ffff:127.0.0.1" request
[2020-10-29 17:59:25.698 -04:00] [ERR] "JavlibraryImageProvider" failed in GetImageInfos for type "Movie"
System.NullReferenceException: Object reference not set to an instance of an object.
   at JellyfinJav.Api.JavlibraryClient.ParseVideoPage(IDocument doc)
   at JellyfinJav.Api.JavlibraryClient.LoadVideo(Uri url)
   at JellyfinJav.Api.JavlibraryClient.LoadVideo(String id)
   at JellyfinJav.Providers.JavlibraryProvider.JavlibraryImageProvider.GetImages(BaseItem item, CancellationToken cancelToken)
   at MediaBrowser.Providers.Manager.ProviderManager.GetImages(BaseItem item, CancellationToken cancellationToken, IRemoteImageProvider provider, List`1 preferredLanguages, Nullable`1 type)

[Feature Request] Implement A Toggle To Disable Actor/Actress/Star Metadata Pulls

There is currently a "bug" in Jellyfin, where it allows users who do not have access to specific libraries to search for actors/actresses that are attached to videos in libraries that they do not have access to. I assume this was intended design and not a bug, I have brought it up with them but it's been an issue for quite some time and it seems like they need to work-on a partial rewrite of their backend before they can do something like this, not sure. I have suggested the ability to just allow disable searching for specific users all together but it was ignored by them so far, not sure what the current status is on all this tbh.

So for example, if you have adult videos in library2, and you have a user that does not have access to library2, if you go on their account and search for an actress name that is only attached to a video on library2, it shows up in the search. This is of course possibly undesireable on a shared server (there is an argument that a shared server for this content may not be the best idea too, but still..)

It would be nice to have a setting for your addon (toggleable from the jellyfin addon plugin page) that simply disables the plugin from grabbing any actor/actress metadata, and also if a library is forced a full refresh of metadata, it removes any actors/actresses that it originally grabbed in the past. This would be great as a workaround until this can be resolved on jellyfin.

Not works

Hi.
I've enabled the R18 metadata provider in library settings and re-scan all of movies but none of my javs been updated.

How can I do?

[FR] Settings (Names, Censorship, Language)

A few reccomendations, and possibly bugs?

  • Not sure how possible this would be to implement, but basically would like to see settings to allow a preference in idol names. So R18 uses First Name, Last Name (I may be wrong, don't quote me) and Jav Library uses Last Name, First Name which is more true to JAV. So if There are no matches for JavLibrary, and it falls back to R18, then it will probably fetch the name as First Name, Last Name creating an inconsistency if majority of stuff pulled from JavLibrary.

  • Also R18 seems to censor lots of words in their titles for some reason, I'm unsure if there is anyway to figure out what the word is and uncensor it if it's not able to be found in JavLibrary/JavBus. But it would be nice.

  • Idol photos don't always seem to be found, or sometimes are extremely low quality ones). Also sometimes boxarts.

  • I have noticed (possibly?) a few incorrect titles such as for S2MBD-046 which is supposed to be Uehara Ai's Encore vol.46 - Lifting of the ban, is set to have the title of "Shinobu's strap-on dildo diary" lol.

  • Also the option to select between a preference of English or Japanese titles (including tags, bio, etc) would be very nice.

In case it matters, I currently have my metadata preferences in order as follows: JavLibrary > R18 > JavBus

Crash on Scanning item with ID "BMC-023"

Hi,
I found your plugin today and wanted to try it out.
Most scanning worked fine, but after some time the plugin crashed, and the exception was probably not caught, so the entire Jellyfin server crashed and stopped.

Here is the error log:

jellyfin    | [12:24:22] [INF] [23] JellyfinJav.Providers.JavlibraryProvider.JavlibraryProvider: [JellyfinJav] Javlibrary - Scanning: OTIM-020
jellyfin    | [12:24:22] [INF] [15] JellyfinJav.Providers.R18Provider.R18Provider: [JellyfinJav] R18 - Scanning: BMC-023
jellyfin    | [12:24:22] [INF] [41] JellyfinJav.Providers.R18Provider.R18Provider: [JellyfinJav] R18 - Scanning: BNDV-00075
jellyfin    | [12:24:22] [INF] [43] JellyfinJav.Providers.R18Provider.R18Provider: [JellyfinJav] R18 - Scanning: BOINBB-282 (Amateur)
jellyfin    | [12:24:22] [INF] [34] JellyfinJav.Providers.R18Provider.R18Provider: [JellyfinJav] R18 - Scanning: BOINBB-281 (Amateur)
jellyfin    | [12:24:24] [INF] [44] JellyfinJav.Providers.JavlibraryProvider.JavlibraryProvider: [JellyfinJav] Javlibrary - Scanning: BOINBB-282 (Amateur)
jellyfin    | [12:24:25] [INF] [34] JellyfinJav.Providers.JavlibraryProvider.JavlibraryProvider: [JellyfinJav] Javlibrary - Scanning: BOINBB-281 (Amateur)
jellyfin    | [12:24:25] [INF] [28] JellyfinJav.Providers.JavlibraryProvider.JavlibraryProvider: [JellyfinJav] Javlibrary - Scanning: BNDV-00075
jellyfin    | [12:24:26] [INF] [29] JellyfinJav.Providers.JavlibraryProvider.JavlibraryProvider: [JellyfinJav] Javlibrary - Scanning: BMC-023
jellyfin    | [12:24:26] [FTL] [44] Main: Unhandled Exception
jellyfin    | System.ArgumentNullException: Value cannot be null. (Parameter 'buffer')
jellyfin    |    at SkiaSharp.SKManagedStream.OnReadManagedStream(IntPtr buffer, IntPtr size)
jellyfin    |    at SkiaSharp.SKAbstractManagedStream.ReadInternal(IntPtr s, Void* context, Void* buffer, IntPtr size)
jellyfin    | Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'buffer')
jellyfin    |    at SkiaSharp.SKManagedStream.OnReadManagedStream(IntPtr buffer, IntPtr size)
jellyfin    |    at SkiaSharp.SKAbstractManagedStream.ReadInternal(IntPtr s, Void* context, Void* buffer, IntPtr size)

This is the last relevant logsnippet, after this the container crashed and nothing gets logged anymore.

As this is the last item scanned, I suppose this is because of the JAV with the ID BMC-023.
Is this a known error? All other items can be scanned successfully.

Thanks a lot

No artwork is fetched

Versions

  • Jellyfin: 10.7.7
  • JellyfinJav: 2021.4.4.0

Enable javlibrary

  • No artwork is fetched
  • Error in log:
[18:14:00] [ERR] [48] MediaBrowser.Providers.Movies.MovieMetadataService: Error in Javlibrary
System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
   at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request)
   at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
   at JellyfinJav.Providers.JavlibraryProvider.JavlibraryImageProvider.GetImageResponse(String url, CancellationToken cancelToken)
   at MediaBrowser.Providers.Manager.ItemImageProvider.DownloadImage(BaseItem item, LibraryOptions libraryOptions, IRemoteImageProvider provider, RefreshResult result, IEnumerable`1 images, Int32 minWidth, ImageType type, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.ItemImageProvider.RefreshFromProvider(BaseItem item, LibraryOptions libraryOptions, IRemoteImageProvider provider, ImageRefreshOptions refreshOptions, TypeOptions savedOptions, Int32 backdropLimit, Int32 screenshotLimit, ICollection`1 downloadedImages, RefreshResult result, CancellationToken cancellationToken)

Disable javlibrary (R18 only)

  • No artwork is fetched
  • No error in log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.