Commit Graph

374 Commits

Author SHA1 Message Date
Miraclx 3623db0b7d
Fix compilation condition check typo 2020-07-15 18:16:50 +01:00
Miraclx c9232a64f8
Fix undefined memCache bug 2020-07-15 18:02:21 +01:00
Miraclx a8fa6f373e
Add and implement the memCache and cacheSize options 2020-07-15 16:55:07 +01:00
Miraclx 6cb04550a0
Reorder and restructure logic for merging CLI and Config nodes 2020-07-15 16:42:30 +01:00
Miraclx 78b466329e
Update playlist option parsing and handling along with slight flag modifications 2020-07-15 16:00:00 +01:00
Miraclx 81c81db067
Remove now-unnecessary `tmp` import 2020-07-15 15:40:02 +01:00
Miraclx ad3321f2ae
Update logic for resuming chunk segments 2020-07-15 15:36:00 +01:00
Miraclx 0607f54070
Relay playlistTitle from source to identify collector or raw queries 2020-07-12 08:27:45 +01:00
Miraclx ff4513cb5c
Properly exclude nullish items from match 2020-07-12 06:43:48 +01:00
Miraclx 4499bc46ac
Properly handle null-ish genre values 2020-07-10 00:41:17 +01:00
Miraclx 84e0486687
Exclude zero byte temp files from showing resume line 2020-07-10 00:28:29 +01:00
Miraclx 52facafc92
Fix typo writeStream -> outputFile 2020-07-10 00:26:02 +01:00
Miraclx 037cce55fb
Fix uncommitted line 2020-07-10 00:19:37 +01:00
Miraclx 63b496893d
Add example to the concurrency flag 2020-07-09 22:37:43 +01:00
Miraclx e0096adc8d
Persist temp files for possibly resumable resources
Forcecfully remove temp files on error only for segmented downloads
Logic for resuming segments not yet implemented
2020-07-09 12:48:34 +01:00
Miraclx de61200edd
Support SHOW_DEBUG_STACK in final report 2020-07-09 05:25:20 +01:00
Miraclx 61d7d74cb0
Fix overindentation of retries or errors when progress isn't loaded 2020-07-09 03:03:39 +01:00
Miraclx db9c588124
Fix crypto requirement 2020-07-09 03:02:48 +01:00
Miraclx e0c86a5e8e
Merge the playlistObject with the JSON config store 2020-07-08 23:03:44 +01:00
Miraclx ef8e0e9f32
Add initial support for resuming incomplete downloads 2020-07-08 22:43:24 +01:00
Miraclx 82f8f2c757
Persist temp files until complete using fingerprinted filenames 2020-07-08 21:57:18 +01:00
Miraclx 2cccca0824
Resolve to merging dirs objects from cli, defaults and config 2020-07-08 21:23:06 +01:00
Miraclx 4074ee4364
Support urify-ing to unified URL instead 2020-07-08 13:46:24 +01:00
Miraclx e019613f5b
Shorten --no-authentication to --no-auth 2020-07-08 13:45:27 +01:00
Miraclx 3becc26200
Split --no-browser to its two variants, auto open or generally authentication 2020-07-08 13:44:35 +01:00
Miraclx 44767df05f
Await and propagate any unexpected errors 2020-07-08 12:57:58 +01:00
Miraclx e4f2099264
Fix doc typo 2020-07-08 08:55:29 +01:00
Miraclx 41427150b2
Update get help info 2020-07-08 08:39:07 +01:00
Miraclx 7845be4b16
Document useful environment variables 2020-07-08 08:38:47 +01:00
Miraclx 742e70f47d
Add means to configure ffmpeg, AtomicParsley and youtube-dl from CLI flags 2020-07-08 08:21:02 +01:00
Miraclx 9ed99088a2
Implement a more generic interface for wrapping arbitrary CLI binaries 2020-07-08 08:14:17 +01:00
Miraclx 8516c66334
Remove strict overWrite flag from atomicParsley 2020-07-08 08:07:15 +01:00
Miraclx 7e5999a7d5
Add logic to support hardcoded binary paths for atomicparsley execution 2020-07-08 08:01:24 +01:00
Miraclx 572f3a81ac
Add path and binary checks for the --ffmpeg, --atomic-parsley and --youtube-dl 2020-07-08 07:46:54 +01:00
Miraclx 3b919a36e5
finally remove former processPromise method 2020-07-07 18:11:57 +01:00
Miraclx c279fd8159
Hide success '[done]' message 2020-07-07 18:11:00 +01:00
Miraclx 1a510ad865
End success message from function with a newline 2020-07-07 18:10:34 +01:00
Miraclx b4ed9cba2e
Indent thrice to match previous behaviour 2020-07-07 18:10:09 +01:00
Miraclx 371dce1165
Experimental: Initialize testing of the new processPromise method 2020-07-07 16:29:01 +01:00
Miraclx b1d8a36999
Add and implement the --gapless flag 2020-07-05 08:54:10 +01:00
Miraclx a678f29f1c
Workaround for forcing AtomicParsley to set genre into the ©gen flag 2020-07-05 08:35:23 +01:00
Miraclx 0f2100d441
Merged SOURCE and SOURCEURI, PROVIDER and PROVIDERURI 2020-07-05 08:34:25 +01:00
Miraclx 8ebe42e334
Move source and provider from comment to reverse DNS fields 2020-07-05 08:27:35 +01:00
Miraclx 3303c30488
Stage unfinalized atoms 2020-07-05 07:03:49 +01:00
Miraclx 1a12c42037
Reorder properties and comment their 4-character atoms 2020-07-05 06:02:51 +01:00
Miraclx ec819eb16c
Add gapless atom to audio 2020-07-05 05:52:44 +01:00
Miraclx 8fe42c490d
Replace CD with Digital Media in MEDIA field 2020-07-05 05:45:54 +01:00
Miraclx 8aeb5e7ec0
Revert to selecting the first artist to embed into the ARTISTS domain 2020-07-05 05:45:18 +01:00
Miraclx 4ce3f177cd
Update m4a advisory tag content logic 2020-07-05 02:38:34 +01:00
Miraclx 61f42c2a52
Add and implement playlist configuration options 2020-07-04 15:33:51 +01:00
Miraclx df0468362e
Add and implement the --playlist-append flag 2020-07-04 15:19:46 +01:00
Miraclx 55ebaf5f89
Add and implement the --playlist-noescape argument 2020-07-04 15:13:10 +01:00
Miraclx 0b20c24ebf
Swap escaping for replacing #-characters with its hex equivalent 2020-07-04 15:07:41 +01:00
Miraclx ea763600d3
Specifically check write permissions for the base directory 2020-07-04 14:52:03 +01:00
Miraclx 4fc56b7edd
Create a reserved subcommand <context> 2020-07-04 14:41:57 +01:00
Miraclx 48febfdaa9
Add -k, --pass options to profile subcommands wherever necessary 2020-07-04 14:39:07 +01:00
Miraclx 0253e7492f
Hide unimplemented subcommands by default 2020-07-04 14:38:01 +01:00
Miraclx 3bae58bfe5
Add extra subcommands and aliases under the profile subcommand 2020-07-04 14:37:13 +01:00
Miraclx c7273446bf
Add default non-action to the serve subcommand 2020-07-04 14:36:41 +01:00
Miraclx 2678ef0a25
Add info for the get subcommand 2020-07-04 14:09:40 +01:00
Miraclx 7a0c1bc275
Add \n to prettify CLI output 2020-07-04 14:07:40 +01:00
Miraclx 6557b54a48
Add header per-query for playlists 2020-07-04 14:06:53 +01:00
Miraclx f46fbc6527
Move urify logic into FreyrCore 2020-07-04 13:59:35 +01:00
Miraclx 88ac43509d
Implement the SHOW_DEBUG_STACK for fatal errors 2020-07-04 07:06:06 +01:00
Miraclx 49475452fb
Include service name in playlist comment and escape track paths 2020-06-24 06:11:11 +01:00
Miraclx fa3b0d98e9
Implement the --playlist-namespace flag 2020-06-22 03:33:11 +01:00
Miraclx 2c2c2a7ea0
Implement the --playlist-dir flag 2020-06-22 03:30:43 +01:00
Miraclx 6111d67056
Add new CLI flags for playlist directory and namespace config 2020-06-22 03:30:14 +01:00
Miraclx e180b0b2de
Capitalize CLI flag variable names 2020-06-22 03:15:39 +01:00
Miraclx 9a4cd020b0
Add URI comments to the playlist file 2020-06-22 03:14:48 +01:00
Miraclx dfae9a1488
Remove needless base directory explicitness in playlist path spec 2020-06-22 03:13:54 +01:00
Miraclx 8ef263a4db
Fix playlist generation issue, autogenerate playlist for collections 2020-06-22 03:10:48 +01:00
Miraclx 8c74cfad13
Update error messages for sourcing and collecting feeds 2020-06-22 01:16:14 +01:00
Miraclx 7c1f365871
Update error message for invalid source items 2020-06-21 23:05:17 +01:00
Miraclx a95ce1973b
Added means to pass lastErr into the next iteration. To properly bubble it up to caller 2020-06-21 23:04:54 +01:00
Miraclx e889e62990
CLI: source collector expects at least one item from array responses 2020-06-21 23:03:35 +01:00
Miraclx eb8215a69b
Fix trackName name in collections, separate baseName 2020-06-21 16:51:09 +01:00
Miraclx 37f3df122c
Properly use `-s` only when sources returned isn't one 2020-06-20 08:49:13 +01:00
Miraclx ecdd282656
Use an async cli parser to bubble up and report fatal unhandled errors 2020-06-20 08:14:32 +01:00
Miraclx f86fb5a829
Testing: add SHOW_DEBUG_STACK env variable for debugging 2020-06-19 19:38:22 +01:00
Miraclx 9f79ce8839
Document CLI get subcommand implicitness 2020-06-19 17:05:50 +01:00
Miraclx 6d3a4482df
Add rewritten and more capable promise handler 2020-06-19 15:29:13 +01:00
Miraclx 92a60b155b
Add support for array insurance in processPromise 2020-06-19 06:00:53 +01:00
Miraclx fbde73da98
Added shimmy support for processPromise post fields 2020-06-19 05:58:41 +01:00
Miraclx 38a5283714
Set yt_music as default CLI downloader 2020-06-18 23:11:57 +01:00
Miraclx e62898a381
Give precedence to the --downloader subcommand 2020-06-18 23:11:08 +01:00
Miraclx 2aad139895
Reword the base directory in-existence error message 2020-06-17 23:56:35 +01:00
Miraclx 2cf32bcf2e
Retask the `-q` shorthand to the search command 2020-06-17 23:55:47 +01:00
Miraclx 9393c31594
Add new unimplemented subcommand: serve 2020-06-17 23:55:08 +01:00
Miraclx 6381fa6136
Added yt_music as a download sourcing option, prioritized over YouTube 2020-06-17 23:54:50 +01:00
Miraclx ebc9ad9bc4
Coerce feeds result into a promise to be diffused in case of errors 2020-06-17 23:48:52 +01:00
Miraclx 74ceae6852
Update sourcing messages 2020-06-17 23:47:59 +01:00
Miraclx 1916ec10f3
Fix undefined SOURCE and Stream ID in audio metadata 2020-06-17 23:46:11 +01:00
Miraclx a0a0761d5c
Restructure sources to use `.search()` instead of `.get()` 2020-06-17 23:41:56 +01:00
Miraclx a583bc1502
Reorder return codes to match init check order 2020-06-15 15:17:50 +01:00
Miraclx 79bbbf1d0c
Add netCheck and browser flags and configuration 2020-06-15 15:16:12 +01:00
Miraclx 263c92283e
Reorder CLI initialization checks 2020-06-15 15:13:02 +01:00
Miraclx 0d2c1d5da7
Use unifying PROP_SCHEMA on the meta symbol-tagged objects 2020-06-12 06:50:06 +01:00
Miraclx 3629a616c1
Remove now unnecessary eslint disable flag 2020-06-12 05:49:33 +01:00
Miraclx 12f26b7078
Skip explicit Promise.resolve for return values to save calls within async functions 2020-06-12 05:49:05 +01:00