Skip to content

A little mpd + bash script for viewing album artwork in the terminal.

License

Notifications You must be signed in to change notification settings

GeorgeHJ/albumart-ueber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

albumart-üeber

A fun little bash project. screenshot Pictured album: Arps by Chad Crouch. Music, Licence: Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)

Note: in line with Überzug which this project uses as a library, this is licensed under GPLv3.

Rationale

I was inspired by this Reddit thread but I quickly realised I could have something more robust if I used überzug instead of w3m.

Use case

I like to tinker with mpd and this complements my favourite client, ncmpcpp. It works well enough on tmux splits to make this a viable way of displaying album artwork as part of a broader effort to make a foobar2000-like player in the terminal.

Credits

I particularly credit these two redditors for inspiring this project:

  • u/Dylan112 — also on GitHub: dylan, commit
  • u/drunkangel in this comment — who suggested path-finding logic I still use in a modified form
  • kunst — I figured out my approach to extracting images with help from the source

How to use

Steps required

  1. Obtain the script
  2. Make sure that you have ueberzug installed
  3. Make sure the script is executable
  4. Play some music in mpd
  5. Execute the script

Currently tested terminals

  • Alacritty
  • Xfce4-terminal
  • Xfce4-terminal with tmux

Dependencies

  • mpd — the music player
  • mpc — a utility for communicating with mpd and checking its state
  • ueberzug — a library for viewing images in the terminal
  • bash — the shell for this project, mandated by ueberzug
  • ffmpeg — used for extracting images from music files, probably present as a dependency mpd

To-Dos

  • Add screenshots to the repo
  • Code clean-up
  • Remove hard-coded paths

See also

About

A little mpd + bash script for viewing album artwork in the terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages