Commit Graph

32 Commits

Author SHA1 Message Date
stormdragon2976
cabe5058ff Updated displayed text for timelines. Trying to get only new stuff to show up when it's refreshed, but that's not quite working yet. 2023-02-02 03:19:46 -05:00
stormdragon2976
d7aa704cf1 Not much luck improving the jq stuff yet, but I did fix ' showing up as '. 2023-02-01 22:51:26 -05:00
stormdragon2976
36513b8db6 I think there's now decent error detection for posting music. 2023-02-01 17:55:28 -05:00
stormdragon2976
870cf0e4fd Added player name into music post. 2023-02-01 13:20:21 -05:00
stormdragon2976
fb97aab81f Improved handling for posts, now they can be piped through ratatoskr.sh -p. Also, with no pipe and no arguments, type your message and hit control+d when done to post. 2023-02-01 02:02:18 -05:00
stormdragon2976
a6da379c5f A bit of code reorganization. Added /refresh command. Actually displaying stuff and grabbing the latest only still needs some work. 2023-01-31 18:18:39 -05:00
stormdragon2976
f790267a44 Fixed a couple bugs, more to go. 2023-01-31 01:27:31 -05:00
stormdragon2976
051d6e51e8 Gimeline actually shows up now. 2023-01-31 00:34:45 -05:00
stormdragon2976
0ce5af2bc4 Fix up the background process handler. 2023-01-30 20:34:00 -05:00
stormdragon2976
ae0cc60a79 Beginnings of the command parser added. 2023-01-30 19:36:42 -05:00
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