Coder Social home page Coder Social logo

Comments (14)

SoongNoonien avatar SoongNoonien commented on June 17, 2024

Hi!
This seems to be related to #14. In this case mpdevil tries to load the cover of some album with the readpicture/albumart command of mpd but GLib can't handle this image. Can you isolate the regarding album and send it to me, so I can work around this? But I sadly wont be able to get mpdevil displaying the cover correctly I can only ignore such images.

from plattenalbum.

dgcampea avatar dgcampea commented on June 17, 2024

Can you isolate the regarding album and send it to me, so I can work around this? But I sadly wont be able to get mpdevil displaying the cover correctly I can only ignore such images.

Is there a way to enable some sort of verbose logging? I really have no idea which album is causing it as I stumbled upon this issue by pressing "all artists".

from plattenalbum.

SoongNoonien avatar SoongNoonien commented on June 17, 2024

Is there a way to enable some sort of verbose logging?

No, not yet.

But you can go through each artists to isolate at least the artist. Isolating the album should than be relatively easy.

from plattenalbum.

SoongNoonien avatar SoongNoonien commented on June 17, 2024

Using 'log_level "verbose"' in the mpd.conf will show all issued mpd commands. This can also be very helpful since the album will be visible in there as a parameter of the "list" command and the regarding file as parameter of the "readpicture/albumart" command.

from plattenalbum.

dgcampea avatar dgcampea commented on June 17, 2024

I think I nailed it down. Blacklisting jpeg covers with JFIF standard 1.02 fixes this. (Working jpeg files are JFIF standard 1.01).

$ file "cover.jpg"
cover.jpg: JPEG image data, JFIF standard 1.02 (...)

from plattenalbum.

SoongNoonien avatar SoongNoonien commented on June 17, 2024

This seems not to be the actual problem since I have many 1.02 files in my collection and they all work fine. Can you send me one of the covers that don't work, so I can reproduce this on my machine?

from plattenalbum.

dgcampea avatar dgcampea commented on June 17, 2024

I've sent a sample to the email address in git commits.

from plattenalbum.

SoongNoonien avatar SoongNoonien commented on June 17, 2024

Did you get my reply?

from plattenalbum.

dgcampea avatar dgcampea commented on June 17, 2024

Hi, yes, sorry I couldn't get back to you sooner, I'll let you know as soon as I can

from plattenalbum.

SoongNoonien avatar SoongNoonien commented on June 17, 2024

Ok, no problem. Take your time. I just wanted to know since your email curiously was in my spam folder.

from plattenalbum.

SoongNoonien avatar SoongNoonien commented on June 17, 2024

The newest commit fixes the issue on my machine. Please let my know if it is working on your machine too.

from plattenalbum.

dgcampea avatar dgcampea commented on June 17, 2024

I can confirm that it's working here as well (rebuilt flatpak to commit: 66bf9c3)

from plattenalbum.

SoongNoonien avatar SoongNoonien commented on June 17, 2024

Ok, so I'll close this.

from plattenalbum.

dgcampea avatar dgcampea commented on June 17, 2024

Thanks for the speedy fix!

from plattenalbum.

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.