Comments (4)
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.
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.
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.
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)
- undefined symbol when run mpv with LD_DEBUG=libs
- i get this error spamed my log
- GLib-GIO-CRITICAL message spam when running mpv from terminal HOT 1
- Plugin doesn't work inside terminal. HOT 1
- Does not send an event on exit HOT 1
- Cover image in opus file is not shown in KDE media control in system tray HOT 7
- Setting or defining seek distance HOT 2
- Can you add fullscreen status signals (true/false)?
- g_dbus_connection_register_object: assertion 'error == NULL || *error == NULL' failed HOT 6
- test failed because not pass `--no-config `
- Multiple delimiters for splitting artist field
- Position provided by Seeked signal inaccuracies
- Stops working after waking up from standby HOT 2
- Cover Image in notification HOT 1
- mpv-mpris not detected HOT 4
- How to make this work on Windows? HOT 1
- Could not load SO plugin: libavformat.so.58 HOT 1
- Can't detect installed libavformat HOT 3
- ffmpeg/demuxer warning after embedded cover art support HOT 4
- libavformat.so.58: cannot open shared object file: No such file or directory HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpv-mpris.