Giter VIP home page Giter VIP logo

Comments (4)

hoyon avatar hoyon commented on July 18, 2024 1

Thanks for the nudge @86423355844265459587182778 , hopefully this works for external images.

I don't plan on ever supporting embedded artwork due to the complexity. That is, unless mpv adds a way to access it (unlikely).

from mpv-mpris.

hoyon avatar hoyon commented on July 18, 2024

That would indeed be very nice. I briefly played around with this in the past but since, as far as I can tell, there is no way to access the album art from the mpv api, it is pretty difficult. Although it's possible I've missed it since the docs can be quite cryptic at times.

For embedded artwork I tried manually loading the file using ffmpeg which sort of worked but it didn't seem very robust and I don't really have the time to be delving too deep into ffmpeg.

Perhaps the plugin could look for external album art in the directory of the current file, but I'm not aware if there is any standard or convention for naming album art files. Maybe just the first *.jpg found in the directory?

from mpv-mpris.

Vexatos avatar Vexatos commented on July 18, 2024

It might be jpg or png, but generally, this might already be a good start. I also checked the docs briefly and couldn't find very much.

from mpv-mpris.

 avatar commented on July 18, 2024

antlarr's lua-mpris plugin for mpv looks for external album art in the directory of the current file: antlarr/lua-mpris@1f2b53f

Perhaps we can refer to VLC for the list of external album art files to look for?

from mpv-mpris.

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.