lrcget icon indicating copy to clipboard operation
lrcget copied to clipboard

Command Line controls

Open BillButter opened this issue 10 months ago • 4 comments

A command line version would allow scripting and automations.

BillButter avatar Apr 01 '24 14:04 BillButter

There already is https://lrclib.net/ which this app is using

shipurjan avatar Apr 09 '24 12:04 shipurjan

There already is https://lrclib.net/ which this app is using

can you elaborate?

thallium avatar Apr 14 '24 02:04 thallium

@thallium I think @shipurjan means LRCLIB has the APIs available, so one can simply use it directly from command line with tools like curl.

However, having a CLI version is great, as I often work in command line environment, and interacting in command line should be faster and more efficient than GUI version. I will look into it later as it is not a top priority, but any help in developing a CLI version would be greatly appreciated!

tranxuanthang avatar Apr 14 '24 07:04 tranxuanthang

I wanted command-line controls also so that I could execute a cron job to run on occasion to refresh my lyrics or to trigger a GET on a specific folder when I rip a CD as part of my workflow. I really appreciate LRCGET, but did want a bit more granular control.

Anywho, I created a bash shell script that works pretty well for my purposes if anyone is interested. It mimics, from what I could discern, the behavior of LRCGET for the most part. It's here:

https://gist.github.com/long2know/45c6fa7eaf558c3c1197d7bbe1434ea3

long2know avatar Aug 28 '24 03:08 long2know

I wanted command-line controls also so that I could execute a cron job to run on occasion to refresh my lyrics or to trigger a GET on a specific folder when I rip a CD as part of my workflow. I really appreciate LRCGET, but did want a bit more granular control.

Anywho, I created a bash shell script that works pretty well for my purposes if anyone is interested. It mimics, from what I could discern, the behavior of LRCGET for the most part. It's here:

https://gist.github.com/long2know/45c6fa7eaf558c3c1197d7bbe1434ea3

Script works really well cheers. Only adjustment I needed to make was add in support for *.ogg files

M-Davies avatar Sep 22 '24 20:09 M-Davies