rmcrackan / Libation

Libation: Liberate your Library
GNU General Public License v3.0
2.85k stars 154 forks source link

Login via CLI #1040

Open hendrix04 opened 1 week ago

hendrix04 commented 1 week ago

Is your feature request related to a problem? Please describe. I am a power user and prefer to do things in a headless way whenever possible. Currently, there is no way to login to Audible outside of the UI.

Describe the solution you'd like A way to login via the command line. Ideally it would be fully self contained and wouldn't open a browser, but that would require setting up too much stuff on a user's computer and would probably cause more support tickets than it is worth.

Describe alternatives you've considered Installing the application on another machine with a GUI to do the login process. Alternatively, a secondary script could be used to handle the oauth flow and get the tokens outside of the application.

rmcrackan commented 1 week ago

Installing the application on another machine with a GUI to do the login process.

This should generate a AccountsSettings.json file which you can just copy/paste in the correct dir.

hendrix04 commented 1 week ago

Sure, that is a hacky work around though. I was hoping for something that didn't require me to copy files from one computer to another.

rmcrackan commented 1 week ago

Agreed. I'm unlikely to get to this anytime soon as a legit feature though so I at least wanted to give you that option.

hendrix04 commented 1 week ago

Ok cool. I just wanted to ensure that you weren't just trying to brush it off. Sadly c# is not my forte or I would jump in and look into adding it.