Code Monkey home page Code Monkey logo

jellyfin-plugin-simkl's Issues

scrobbling stopped working

The last time I watched a movie, scrobble didn't work. There is an error in logs :

[2022-08-25 20:42:07.049 +01:00] [ERR] Caught unknown exception while trying to scrobble
System.Text.Json.JsonException: The JSON value could not be converted to Jellyfin.Plugin.Simkl.API.Responses.SearchFileResponse. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
   at System.Text.Json.ThrowHelper.ThrowJsonException_DeserializeUnableToConvertValue(Type propertyType)
   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter 1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter 1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter 1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadCore[TValue](JsonReaderState& readerState, Boolean isFinalBlock, ReadOnlySpan 1 buffer, JsonSerializerOptions options, ReadStack& state, JsonConverter converterBase)
   at System.Text.Json.JsonSerializer.ContinueDeserialize[TValue](ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack, JsonConverter converter, JsonSerializerOptions options)
   at System.Text.Json.JsonSerializer.ReadAllAsync[TValue](Stream utf8Json, JsonTypeInfo jsonTypeInfo, CancellationToken cancellationToken)
   at System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsyncCore[T](HttpContent content, Encoding sourceEncoding, JsonSerializerOptions options, CancellationToken cancellationToken)
   at Jellyfin.Plugin.Simkl.API.SimklApi.Post[T1,T2](String url, String userToken, T2 data)
   at Jellyfin.Plugin.Simkl.API.SimklApi.GetFromFile(String filename)
   at Jellyfin.Plugin.Simkl.API.SimklApi.GetHistoryFromFileName(BaseItemDto item, Boolean fullpath)
   at Jellyfin.Plugin.Simkl.API.SimklApi.MarkAsWatched(BaseItemDto item, String userToken)
   at Jellyfin.Plugin.Simkl.Services.PlaybackScrobbler.ScrobbleSession(PlaybackProgressEventArgs eventArgs)

Repo - Clodflare Error - Edge IP Restricted

Trying to load your repo I get a cloudflare error as below:


Please enable cookies.
Error 1034
Ray ID: 6d5dc3bebff454fd • 2022-01-30 21:24:00 UTC
Edge IP Restricted
What happened?

You've requested a page on a website that is part of the Cloudflare network. The host (repo.codyrobibero.dev) resolved to an IP address that the owner of the website does not have access to.
What can I do?

If you are a visitor of this website:
Please try again in a few minutes.

If you are the owner of this website:
Check your DNS records to ensure they are pointed to the IP address(es) you were assigned at registration.

Cloudflare Ray ID: 6d5dc3bebff454fd • Your IP: [...redacted...] • Performance & security by Cloudflare

Is there anything I can do on my end to get your repo to load for me?

Setting to disable autoscrobble anime

I was wondering if you could add a setting to autoscrobble anime like there is with Movies and TV shows as I want them to scrobble, but not the anime I watch. Thanks.

Login part works but not marking stuff watched

As the title says, the login part works now but nothing i play will sync over as watched. Tried removing the plugin and all its files but still the same, setup works and it does connect and i set watch % to 70 and mark both movies and shows but nothing gets marked as played on simkl.

Server 10.8.1
Simkl 3.0.0.0

Pull functionality

Hi,

Would it be possible to add a pull function so that the Jellyfin library synchronizes the watch status with SIMKL library?

Thanks!

Built the plugin but error logging in

I built the plugin from the source code with no issues and it runs on jellyfin, however, when i try to log in i get the pop up error logging in.
Here's what it says in the logs.
[06:50:43] [DBG] [8] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated.

Some content failing to scrobble

Seems like certain items work, others do not.

[2023-10-23 17:56:58.236 +01:00] [INF] [62] Jellyfin.Plugin.Simkl.API.SimklApi: Posting: SimklFile { File: "/mnt/unionfs/movies/1080/Bird Box (2018)/Bird Box (2018) {imdb-tt2737304} [WEBRip-1080p][EAC3 Atmos 5.1][x264]-DEFLATE.mkv", Part: null, Hash: null }
[2023-10-23 17:56:58.265 +01:00] [ERR] [62] Jellyfin.Plugin.Simkl.Services.PlaybackScrobbler: Caught unknown exception while trying to scrobble
System.Text.Json.JsonException: The JSON value could not be converted to Jellyfin.Plugin.Simkl.API.Responses.SearchFileResponse. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
   at System.Text.Json.ThrowHelper.ThrowJsonException_DeserializeUnableToConvertValue(Type propertyType)
   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadCore[TValue](JsonReaderState& readerState, Boolean isFinalBlock, ReadOnlySpan`1 buffer, JsonSerializerOptions options, ReadStack& state, JsonConverter converterBase)
   at System.Text.Json.JsonSerializer.ContinueDeserialize[TValue](ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack, JsonConverter converter, JsonSerializerOptions options)
   at System.Text.Json.JsonSerializer.ReadAllAsync[TValue](Stream utf8Json, JsonTypeInfo jsonTypeInfo, CancellationToken cancellationToken)
   at System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsyncCore[T](HttpContent content, Encoding sourceEncoding, JsonSerializerOptions options, CancellationToken cancellationToken)
   at Jellyfin.Plugin.Simkl.API.SimklApi.Post[T1,T2](String url, String userToken, T2 data)
   at Jellyfin.Plugin.Simkl.API.SimklApi.GetFromFile(String filename)
   at Jellyfin.Plugin.Simkl.API.SimklApi.GetHistoryFromFileName(BaseItemDto item, Boolean fullpath)
   at Jellyfin.Plugin.Simkl.API.SimklApi.MarkAsWatched(BaseItemDto item, String userToken)
   at Jellyfin.Plugin.Simkl.Services.PlaybackScrobbler.ScrobbleSession(PlaybackProgressEventArgs eventArgs)

Plugin doesn't mark the correct season as watched for Anime with more than 1 Season

I'm currently having issues with the Simkl plugin marking the wrong season episode as watched, this happens mostly for Anime right now.

Example Anime where i have this issues are The Eminence in Shadow or The Ancient Magus' Bride.

When i watch an Episode of S2 of each show, it will once finished mark the correct episode but for the wrong season as watched on Simkl (S1 in this case).

I mainly use the TVDB Metadata downloader for the Library if that makes any difference, the shows metadata seems to also be fine and indicate that its an episode of S2.

The Eminence in Shadow

The Ancient Magus' Bride

Feature request: Retroactively sync

I can't find a way to retroactively sync things that are already marked as watched on my Jellyfin user account.
Is there a way to do it? If not, this is the feature request for it. :D

Can't start 10.9 server

System.InvalidOperationException: Unable to resolve service for type 'Jellyfin.Plugin.Simkl.API.SimklApi' while attempting to activate 'Jellyfin.Plugin.Simkl.Services.PlaybackScrobbler'.
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(ServiceIdentifier serviceIdentifier, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, ServiceIdentifier serviceIdentifier, Type implementationType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain, Int32 slot)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateEnumerable(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)

Scrobble back to jellyfin

Is there a possibility to scrobble back to jellyfin?
F.e. In case you have netflix and Co and some of these series in jellyfin, too.

Repo down?

Sorry for bothering you dev, but it seems that your repo is down, not sure if this is known or has just happened.

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.