55 Commits

Author SHA1 Message Date
Môrrîl
a0b1ce775e Merge pull request #25 from B00tLoad/24-fr-self-check-for-update-at-ll--1
24 [FR] self-check for update at LL >= 1
2023-03-13 19:02:29 +01:00
566f4fc345 Implemented checking for newer version against GitHub 2023-02-11 05:43:17 +01:00
Alix von Schirp
b092953958 Update README.md 2023-01-31 01:22:16 +01:00
Môrrîl
366e11c58e Merge pull request #21 from B00tLoad/18-get-rid-of-javalin-and-lastfm-logging
18 get rid of javalin and lastfm logging
v1.0
2023-01-28 23:27:11 +01:00
2c71484289 Bumped pom.xml to software version 1.0 2023-01-28 23:25:37 +01:00
Alix von Schirp
c26800e363 Update README.md 2023-01-28 22:53:30 +01:00
1f821de81e Disabled Javalin, Jetty and LastFM Wrapper logging if logging.level !=3
Jetty disabler is a bit of a nuclear option, might be a good idea to revise to less nuclear in the future
2023-01-28 22:48:52 +01:00
Môrrîl
351326d384 Merge pull request #20 from B00tLoad/17-invalid-refresh-token
17 Invalid refresh token
2023-01-28 22:03:17 +01:00
Môrrîl
7b3aa0107f Update TokenHelper.java
l.11 fixed missing >
2023-01-28 22:03:02 +01:00
502295b34a Saving access token and refresh token without relying on library class
I'd pretty confidently say this now definitely fixes #17, therefore this will be merged into master. If necessary issue will have to reopened.
2023-01-28 21:42:43 +01:00
Alix von Schirp
e5f71eab11 Merge pull request #19 from B00tLoad/8-open-spotify-auth-page-in-default-brow
added BrowserHelper
2023-01-28 20:58:23 +01:00
Morril
174c9912aa added BrowserHelper
implemented open Spotify auth page
2023-01-28 20:52:42 +01:00
e52dfd4621 Added documentation for wrapper class 2023-01-28 20:09:19 +01:00
2086a85704 Implemented a SpotifyAuthorizationCredential Wrapper class
Hopefully fixes #17 by checking for access token validity before refreshing.
2023-01-28 19:33:00 +01:00
Alix von Schirp
084f75fb83 Update issue templates 2023-01-28 07:38:56 +01:00
383990d002 Reimplemented refreshing access token
May fix #17
2023-01-28 07:21:17 +01:00
Môrrîl
b696839ee9 Merge pull request #16 from B00tLoad/15-add-readme-and-license
15 add readme and license
2023-01-28 07:03:21 +01:00
Môrrîl
0d3570b0e4 Merge pull request #14 from B00tLoad/documentation
Added documentation
2023-01-28 07:02:34 +01:00
Alix von Schirp
b83b5370ca Create LICENSE 2023-01-27 21:22:41 +01:00
79885db3dd Added README.md 2023-01-27 21:19:00 +01:00
6eabc0a22f Documented helper classes in util package
Also did minor code cleanup
2023-01-27 20:13:01 +01:00
5f6732b8ea Documented arguments 2023-01-25 23:19:14 +01:00
b643e85711 Added documentation
+ LastFMToSpotify.java
+ ArgumentHandler.java

Also added a check for image content type
2023-01-24 21:45:43 +01:00
Môrrîl
a62821f739 Merge pull request #13 from B00tLoad/4-save-and-retrieve-auth-tokens
4 Save and retrieve auth tokens
2023-01-24 19:07:49 +01:00
9bd3a06695 Implemented saving and fetching Credentials
closes #4
2023-01-24 18:51:18 +01:00
Môrrîl
cccb2a3362 Merge pull request #12 from B00tLoad/flagexclusivity
Implemented checking flags for exclusivity
2023-01-24 16:30:24 +01:00
Alix von Schirp
1cc27dcc5e Merge pull request #11 from B00tLoad/morril
removed unused imports
2023-01-24 16:24:27 +01:00
745acc765f Implemented checking flags for exclusivity
- Also fixed a problem where required arguments were not found by their name, but only by their aliases.
- Minor cleanup.
- Fixed a problem where default logging level was not set successfully due to a naming error in the configuration field.
2023-01-24 16:21:06 +01:00
Morril
78ada8808e completed ArgumentHandler logging 2023-01-24 15:49:29 +01:00
Morril
7b4d75403c removed unused imports 2023-01-24 15:39:03 +01:00
Alix von Schirp
bc38824fa9 Merge pull request #10 from B00tLoad/morril
Morril
2023-01-24 15:13:21 +01:00
Alix von Schirp
1c9d606ce3 Merge branch 'master' into morril 2023-01-24 15:11:50 +01:00
Alix von Schirp
aff36de2e5 Merge pull request #9 from B00tLoad/SpotifyPlaylistBuilder
Implemented Playlist builder
2023-01-24 15:02:12 +01:00
978640ba10 Implemented public / collaborative flag
closes #6
also stated flag exclusivity in argument descriptions
2023-01-24 04:59:40 +01:00
cadb4a98b3 Implemented Playlist naming
closes #5
Also did a minor fix to the playlist building system, where sometimes a different version of the track was selected. Now Track titles have to match.
2023-01-24 04:40:04 +01:00
b7830190c6 Cover upload implemented
closes #3
2023-01-23 21:41:46 +01:00
Morril
47d64077b2 implemented checkArguments to prohibit crash on
missing required arguments
2023-01-23 20:05:15 +01:00
Morril
4659e8f7d9 changed gitignore 2023-01-23 19:58:34 +01:00
Alix von Schirp
c1b3bdbd8b Implemented Fetching tracks and selecting periods.
Also deleted progress bar dependency after removal from code in 3445f51 and cleaned up formatting.
2023-01-23 19:58:34 +01:00
Morril
d8bbba5dd0 fixed break 2023-01-23 19:58:34 +01:00
Morril
bc4a6dcb7e gitignore stuff 2023-01-23 19:58:34 +01:00
Morril
d2f75f478f removed progress bar 2023-01-23 19:58:34 +01:00
Alix von Schirp
5c1dcea12a Implemented Tokens
The arguments for spotify and lastfm auth are now being handled.
2023-01-23 19:58:34 +01:00
Alix von Schirp
9b7c6b28f8 Implemented logging
Also fixed a minor issue where the configuration HashMap was not initialized and threw a NullPointerException.
2023-01-23 19:58:33 +01:00
ce9f8d127e Fixing #2 and doing a bit of clean up
- Regex-replacing ' and " in song titles (fixes #2)
- found problem where the webserver receives the auth data from Spotify but never sends out a response. (opens #7)
- gracefully stopping webserver at the end of the process
- added functionality for the auth tab to be self-closing
- set the LastFM api wrapper to use https instead of http
2023-01-22 19:27:37 +01:00
Alix von Schirp
011cdc1481 Implemented adding songs to playlist
\+ Creation of playlist with default name
\+ implemented track search (opens #2)
\+ Implemented adding tracks to list
\+ Implemented setting custom playlist cover

- Missing ability to select file to upload as cover (opens #3)
- Missing saving and retrieving auth tokens for use in chron jobs + flag to enable (opens #4)
- Known issue: some tracks cannot be found, although they were played on spotify to be scrobbled onto lastfm (see #2)
- Missing flag to set a custom playlist name (opens #5)
- missing flags to make playlists public and/or collaborative on creation. (opens #6)
2023-01-21 02:24:52 +01:00
Alix von Schirp
6f6bc79e74 Merge pull request #1 from B00tLoad/alix
Implemented a few features
2023-01-18 04:51:06 +01:00
Alix von Schirp
362ac0e4c3 Implemented Fetching tracks and selecting periods.
Also deleted progress bar dependency after removal from code in 3445f51 and cleaned up formatting.
2023-01-18 04:45:07 +01:00
Morril
0681844dab fixed break 2023-01-18 04:01:12 +01:00
Morril
95ca0c2537 gitignore stuff 2023-01-18 03:36:49 +01:00