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

[ gpl, library, music, program ] [ Propose Tags ] [ Report a vulnerability ]
Versions [RSS] 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, 0.3.2.1, 0.3.3, 0.3.4
Change log CHANGELOG.md
Dependencies async (>=2.2.5 && <2.3), base (<5), bytestring (>=0.11.5 && <0.13), containers (>=0.6.7 && <0.7), contravariant (>=1.5.5 && <1.6), cryptonite (>=0.30 && <0.31), dbus (>=1.2.29 && <1.3), deepseq (>=1.4.8 && <1.5), directory (>=1.3.7 && <1.4), gi-gtk (>=3.0.41 && <3.1), gi-gtk-hs (>=0.3.16 && <0.4), mtl (>=2.2.2 && <2.3), musicScroll, pipes (>=4.3.16 && <4.4), pipes-concurrency (>=2.0.14 && <2.1), req (>=3.13.0 && <3.14), sqlite-simple (>=0.4.19 && <0.5), stm (>=2.5.1 && <2.6), tagsoup (>=0.14.8 && <0.15), text (>=2.0.2 && <2.1), transformers (>=0.5.6 && <0.6), xdg-basedir (>=0.2.2 && <0.3) [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 2024-03-22T04:31:22Z
Distributions
Executables music-scroll
Downloads 3394 total (1 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for musicScroll-0.3.4

[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!.