Commit Graph

24 Commits

Author SHA1 Message Date
stormdragon2976
ebad002e73 Got a start on the main loop, but jq is being vicious currently, so going to come back to it later. 2023-01-30 18:57:42 -05:00
stormdragon2976
6377a626b6 A tiny bit of code reorganization. 2023-01-30 12:54:28 -05:00
stormdragon2976
7857d66376 Try to use provided link for music, use youtube if it is a file:// link. 2023-01-30 11:45:29 -05:00
stormdragon2976
ff82089979 rudimentary sound support in place. 2023-01-30 02:05:54 -05:00
stormdragon2976
7b12f2797a Improved the post, -p, function. 2023-01-30 01:35:05 -05:00
stormdragon2976
13aeccd78f I think we have our first fully complete flag, -M should now post music and let you know if it was successful or if there were errors. 2023-01-30 00:23:54 -05:00
stormdragon2976
661f00217c Music posting with -M is now working. I still need to deal with the resulting json, so be prepared for spam. 2023-01-29 23:59:59 -05:00
stormdragon2976
9578307c7a It's alive! Well, sort of, added a -p flag to post, be warned, thar be spam in them thar outputs. 2023-01-29 19:45:43 -05:00
82ee21407d Access token now generating and storing in file 2023-01-29 15:53:17 -08:00
stormdragon2976
77e81a839f Latest changes, oauth token nearly working. 2023-01-29 18:48:29 -05:00
stormdragon2976
73c3ae9cc6 Reorganized the code that puts the url into the clipboard if possible. 2023-01-29 16:35:08 -05:00
stormdragon2976
d419435462 Found the documentation to get the token without having a redirect rui that is a website. 2023-01-29 15:42:54 -05:00
stormdragon2976
a55ce4db79 Nearly have music posting working. Currently if you use it there is a lot of output because curl is in verbose mode. It is giving an Invalid credentials error. 2023-01-29 14:32:13 -05:00
stormdragon2976
5a4abe1643 Command line argument parsing set up. Help system added. Place holder for post_music function. 2023-01-29 04:23:46 -05:00
stormdragon2976
5cea37fe56 Move the redirect uri to a variable. 2023-01-29 03:50:23 -05:00
a8f0d6eee3 Access token now works. Added html file that is deployed on the server for showing the code. 2023-01-29 00:42:10 -08:00
stormdragon2976
a6c8fd9277 If xclip is installed, tries to place the url into your clipboard. 2023-01-28 18:12:39 -05:00
stormdragon2976
a7ac37b77c More friendly url entry. Will now add https:// if not provided. 2023-01-28 18:05:06 -05:00
stormdragon2976
c03ae7f739 Added quotes around the entries in the configuration file. 2023-01-28 15:43:21 -05:00
stormdragon2976
96107693f7 Generates the url, but for some reason it's only showing "read" premission. 2023-01-28 15:41:06 -05:00
stormdragon2976
ffd63c98f6 I was doing the client_id bit completely wrong. This should be much better. 2023-01-28 14:57:45 -05:00
stormdragon2976
886bb8eb07 Good start on getting oauth token. It currently does not display the application name when requesting access though. 2023-01-28 13:19:59 -05:00
stormdragon2976
254606ccff Added a license. 2023-01-28 10:51:29 -05:00
6c8631ead8 Initial commit 2023-01-28 10:42:36 -05:00