Code Monkey home page Code Monkey logo

Comments (4)

leinelissen avatar leinelissen commented on May 30, 2024

Wow, that's a great edge case 😅. Let me check out the API responses and see if there is a way to make that work in this app as well.

from jellyfin-audio-player.

the-r0cket06 avatar the-r0cket06 commented on May 30, 2024

Had a chance to look at the logs while opening one of these albums and get the following error message.

[2020-08-27 23:10:58.529 -03:00] [ERR] Error processing request. URL: "http://domain/Items/3a07d91b6e0cf28f614b8771b53bfdd8/Images/Primary?format=jpeg"
MediaBrowser.Common.Extensions.ResourceNotFoundException: The River CDS does not have an image of type Primary
at MediaBrowser.Api.Images.ImageService.GetImage(ImageRequest request, Guid itemId, BaseItem item, Boolean isHeadRequest)
at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName)
at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost httpHost, Object requestDto, IRequest req)
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IRequest httpReq, HttpResponse httpRes, ILogger logger, CancellationToken cancellationToken)
at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)

from jellyfin-audio-player.

leinelissen avatar leinelissen commented on May 30, 2024

Right, that makes sense, as it tries to load up the image for the particular track, and/or album I guess. Thanks for the help!

from jellyfin-audio-player.

leinelissen avatar leinelissen commented on May 30, 2024

Hey there! I've looked in to the issues but it seems a bit hard to solve. First off, Jellyfin doesn't really support inheritance for images on the server side (this is what the error you posted is about). While I could do a check if the image is there, I would need to do twice or triple the amount of requests in order to retrieve all images. On top of that, the web client for Jellyfin also doesn't seem to fall back to an artist's image if a track or album is missing it.

I am closing this issue for now, but maybe if the back-end has a better way to fall back to these types of images, it can be considered for this application as well. If I've missed anything important, do let me know as well.

Cheers!

from jellyfin-audio-player.

Related Issues (20)

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.