Commit Graph

48 Commits (master)

Author SHA1 Message Date
imsamuka 61120f21b0
add option to apply metadata in existing file 2022-01-07 22:15:27 -03:00
imsamuka 3263ff4e07
fix GET requests url encoding 2022-01-03 01:01:58 -03:00
imsamuka 3d4acdeaea
add option to skip tracks on albums/playlists 2022-01-02 20:25:47 -03:00
imsamuka 72938a9b6a
show video title from url 2022-01-02 19:24:54 -03:00
imsamuka f962a0ab75
make youtube url validation safer 2022-01-02 18:04:05 -03:00
imsamuka ac7bc02ec5
fix youtube urls validation 2022-01-02 17:20:37 -03:00
imsamuka bdc63b4c35
fix --url ignoring argument on song.cr 2022-01-02 17:05:00 -03:00
imsamuka 289f1d8c63
fix video selection offset 2022-01-02 15:19:16 -03:00
Cooper Hammond f3776613b4 update version for new binary 2021-07-12 09:10:43 -06:00
Cooper Hammond fa5f3bb3b7 added search terms config option and cli menu
-S or --select will allow you to choose your song, for playlists or for
albums
2021-04-15 11:22:01 -06:00
Cooper Hammond 5eaac33345 minor fix to include duration_ms in all song metadata 2021-04-15 09:41:13 -06:00
Cooper Hammond 8c15f7b5e2 song duration now included in ranking 2021-04-14 09:12:08 -06:00
Cooper Hammond 3f12a880e9 minor fix for cross device linking 2021-04-13 22:39:33 -06:00
Luca Schlecker 2e8bc6c8c5 make the way mp3s are saved configurable
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2020-12-30 00:52:38 +01:00
Luca Schlecker 2c364c38c2 fix #72: Find the JSON data inside the line and trim the rest
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2020-12-29 21:10:45 +01:00
Cooper Hammond c20f4309d8
Merge pull request #69 from Who23/bug-fix-68
Fix #68

Can't believe I didn't see this earlier. Thanks for the great work! I'll merge it now.
2020-11-08 01:21:30 -07:00
Cooper Hammond 047cc71b0d added a very simple test suite 2020-11-08 01:17:45 -07:00
Cooper Hammond a8a1c4d1c3 fix for updated yt render/metadata code 2020-11-08 00:47:23 -07:00
Cooper Hammond bf29194042 fix for #70 2020-11-08 00:37:16 -07:00
Who23 843a5b9db1 Fix #68
Fix bug where it was assumed that every artist would be tagged with a
genre
2020-09-11 13:48:12 -04:00
Who23 dd8c74520c URL source for albums/playlists & Youtube module improvements
- Add ability to source youtube URls for albums and playlists, through
  the -g flag, which prompts for user input on each song

- Fix the Youtube.is_valid_url function, which now actually checks
  whether the given URL points to an actual video
2020-09-07 18:16:31 -04:00
Who23 e8a71b2530 Add ability to specifiy youtube URL source
Added a new flag (-u) to specify a youtube URL source when downloading a
single song.
2020-09-04 20:49:07 -04:00
Cooper Hammond d7a4044d77 Updated to new YT standards 2020-09-01 12:39:27 -06:00
Cooper Hammond 10bd5fd969 up to date with .35 specs and standards 2020-08-31 14:35:22 -06:00
Cooper Hammond 5f8acac053 feature: CLI download messages have been updated to be prettier 2020-05-21 19:23:44 -07:00
Cooper Hammond 451ef33cca feature: unify into album option in config works now 2020-05-21 16:23:30 -07:00
Cooper Hammond ce6f77d68d nothing affecting functionality, all meta changes
- changed license to MIT
- wrote out actual README
- spotify client keys are checked for on run in config.cr
- spotify-searcher class doesn't crash now when there's a problem with the keys or authentication,
  rather it just sets @authenticated to false
2020-05-15 09:16:50 -07:00
Cooper Hammond de219cbe66 crystal tool format respec 2020-05-12 22:38:03 -07:00
Cooper Hammond d1657ba86d Changed a bunch of stuff. Almost ready for release.
- updated cli for config viewing and changes
- updated config method. an environment variable `IRS_CONFIG_LOCATION` will be set pointing to a yaml file with a config
- moved album metadata changing from a janky homebrew json modifier to the core json lib
- mapper.cr is the collection of classes for messing around with json metadata
- playlists are almost done, they still need the ability to (optionally) change the metadata of the songs downloaded in
the playlist, but they (optionally) will place all downloaded playlist songs in a single folder
- added a getter to the filename in song.cr
2020-05-12 22:28:03 -07:00
Cooper Hammond 4c20735abd spotify searcher can now find and compile playlists >100 songs 2020-05-09 16:13:50 -07:00
Cooper Hammond 5c611c9af5 removed a hardcoded path 2020-03-28 15:00:29 -07:00
Cooper Hammond 4e0ba7ec79 fixed indentation 2020-03-28 01:23:41 -07:00
Cooper Hammond eb3f332521 Improved ability of spotify.cr to find playlists
If the general search doesn't return a playlist, it will bootstrap
your terms into a specific call for the user's playlists and search
through them
2020-03-28 01:17:07 -07:00
Cooper Hammond abe769bfcd Added playlist to the --help screen 2020-03-26 20:55:14 -07:00
Cooper Hammond 5881d21f48 Cleaned up list inheritance, songs are automatically organized
Moved more permanent variables to the config. I need to start
thinking about custom configs rather than a hard-coded one.
2020-03-10 14:12:12 -06:00
Cooper Hammond ff1b30b845 Updated to v1.0.0
Added -i flag to install youtube-dl, ffmpeg, and ffprobe
2020-02-21 12:00:27 -07:00
Cooper Hammond f849e61045 need to add 'next' feature for spotify searches 2019-06-23 13:39:00 -07:00
Cooper Hammond 8cfb59a368 logging for individual song done! 2019-06-21 16:30:14 -07:00
Cooper Hammond 80cb034ce1 Preliminary interception logging done! 2019-06-21 09:45:55 -07:00
Cooper Hammond 76a624d32f Initial CLI done! 2019-06-20 09:43:31 -07:00
Cooper Hammond acd2abb1d0 song glue done! 2019-06-19 19:06:09 -07:00
Cooper Hammond 6c32571ccc tagger edits 2019-06-19 15:54:26 -07:00
Cooper Hammond 219cc4bc53 tagger based off of ffmpeg created 2019-06-14 11:39:51 -07:00
Cooper Hammond f82affb589 fixed youtube search ranking algo 2019-06-14 08:22:38 -07:00
Cooper Hammond 253efd1e11 ripper module finished 2019-06-12 22:11:16 -07:00
Cooper Hammond 45f4d998a4 finished youtube searcher 2019-06-12 12:52:37 -07:00
Cooper Hammond ddcd611585 Spotify searcher is now minimum viable product. 2019-06-11 13:57:57 -07:00
Cooper Hammond 09154058bc init 2019-06-07 22:46:54 -07:00