nick-parry / songlyrics Goto Github PK
View Code? Open in Web Editor NEWGet the lyrics for a song via bash. #bashisyourfriend
Get the lyrics for a song via bash. #bashisyourfriend
On Ubuntu, the commands to get the title and artist don't work on OSx. Makes sense. We should have some logic determine what breed of system you are on and figure out the correct path for the OSx spotify dbus interface.
@learoyklinginsmith can probably handle this one too. :)
For quick reference, here is the dbus command that returns the info which the artist and title are parsed out of.
dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata
I get the following errors when i run
./songLyrics
rhythmbox
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Rhythmbox was not provided by any .service files
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Rhythmbox was not provided by any .service files
And i get - That URL sucked. Giving up now :(
On doing
./songLyrics rhythmbox|rbox
i get a similar error and the program exits.
I found a fix for it. Is it okay if i submit a PR?
When lyrics don't show and I google them manually, https://genius.com/ comes up most of the time. I think we should make them the first place we search for lyrics.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.