musicScroll: Supply your tunes info without leaving your music player.

[ gpl, library, music, program ] [ Propose Tags ]

Automatically retrive the lyrics of of your current song on SMPlayer/VLC and update it on each change. See the lyrics on a really elegant GTK app.


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0, 0.2.3.1, 0.2.3.2, 0.2.3.3, 0.3.0.0, 0.3.1.0
Change log CHANGELOG.md
Dependencies async, base (<4.14), bytestring, containers, contravariant, cryptonite, dbus, deepseq, directory, gi-gtk, gi-gtk-hs, mtl, musicScroll, pipes, pipes-concurrency, req, sqlite-simple, stm, tagsoup, text, transformers, xdg-basedir [details]
License GPL-3.0-only
Author Ruben Astudillo
Maintainer ruben.astud@gmail.com
Category Music
Home page https://github.com/RubenAstudillo/MusicScroll
Bug tracker https://github.com/RubenAstudillo/MusicScroll/issues
Source repo head: git clone https://github.com/RubenAstudillo/MusicScroll.git
Uploaded by RubenAstudillo at 2020-07-19T09:24:02Z
Distributions NixOS:0.3.1.0
Executables music-scroll
Downloads 1672 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2020-07-19 [all 2 reports]

Modules

  • MusicScroll
    • MusicScroll.RealMain

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for musicScroll-0.3.1.0

[back to package description]

MusicScroll

Basic program for basic needs

I don't like having to fire up a browser to get the lyrics of the songs I am currently hearing. I got basic needs, I download songs with good metadata and use SMPlayer/VLC to open the playlists. It would be nice if somehow I could get a basic windows with the lyrics of the song.

MusicScroll does this. When you run the command music-scroll, a window is opened with the lyrics of the song your are playing on SMPlayer/VLC and each change of song will retrieve new lyrics hopefully without your intervention. If it could not retrieve the song because it was lacking metadata, you could supply the missing info to get it. It will cache the results so you don't have to intervene manually next time. Ideally it ought be not invasive so you can read only if you want.

This works by getting the MPRIS info on your song, specifically the title and artists fields. After some clean up it will retrieve the lyrics from a lyrics website, clean the HTML a little and put it as text on a GTK window. It will cache the results on a SQLite DB for next time.

This was done as an excuse to learn more of gi-gtk, glade and SQLite. But I am happy with the result so I am sharing.

I want to thanks to the haskell-gi and haskell dbus authors. I didn't know much about UI programming or dbus, but the documentation, types and code samples helped me a lot on understanding how they ought to be organized. If I see you guys on a conference I will buy you a beer :-) . The d-feet program was really helpful for see how the data was layout on DBus.

I accept donations <3, the COVID-19 certainly affected me economically!.