Commit Graph

56 Commits

Author SHA1 Message Date
nathannathant 27695a96e9 Added support for urls from multiple sources
Also added database integration
2021-03-21 20:25:33 -07:00
nathannathant 8bc572a749 Removed get_file_url cache, misc bug fixes
The file url expires after some time, so caching it created an error where an empty file would be downloaded.
2021-03-21 14:05:02 -07:00
nathannathant fbab8d68aa Fixes misc bugs related to configs, tags
- Replaced code that tagged the files was accidentally removed
- Fix error where config and cache dirs don’t exist
- Fix some issues with storing secrets, removed the empty str that is sometimes there
- Rename config.__path to _path for access if needed
2021-03-21 00:08:20 -07:00
nathannathant 7e2a15410a Minor changes
- Moved tidal and deezer quality information to constants.py
- More consistent metavars in cli.py
2021-03-20 22:45:59 -07:00
vitiko98 a9d1eee962 Update raise 2021-03-20 23:05:33 -04:00
vitiko98 aaf9d257be Add all filters to config; Sort imports 2021-03-20 22:52:33 -04:00
vitiko98 af13db5278 Add cache and minor changes to clients 2021-03-20 21:22:18 -04:00
vitiko98 54296fb62b Start writing cli interface 2021-03-19 14:47:04 -04:00
nathannathant 3d0ae967d0 Documentation in downloader 2021-03-19 11:22:17 -07:00
nathannathant 71e9bda493 Deezer and Tidal artist working 2021-03-18 16:54:10 -07:00
nathannathant 16d262f3d3 Added filtering to Artist 2021-03-17 14:57:41 -07:00
nathannathant 3f1642f9cd Minor changes 2021-03-16 19:36:15 -07:00
nathannathant 4cfb8e452e Deezer album download working
The file comes pre-tagged, so tagging is not implemented yet.
2021-03-16 14:50:01 -07:00
nathannathant 376854809e Changed Tracklist to abstract class 2021-03-16 08:19:25 -07:00
nathannathant a57c84e2fe Tidal album download working
Bug fixes relate to:
- cover art
- quality keys

Also updated gitignore to ignore audio files.
2021-03-15 22:58:24 -07:00
nathannathant 27d58fb580 Added support for parsing Tidal API response
Not tested yet
2021-03-15 20:47:10 -07:00
nathannathant 214c0db06e Removed pasted code, use session.request 2021-03-15 15:15:57 -07:00
nathannathant fa602c1041 Pasted tidalapi code to clients.py 2021-03-15 14:57:14 -07:00
nathannathant 7d9b5e79a5 Merge branch 'rewrite' of https://github.com/vitiko98/qobuz-dl into rewrite 2021-03-15 14:42:39 -07:00
nathannathant 1cec3625f3 Added support for Track and Tracklist in converter 2021-03-15 14:15:14 -07:00
nathannathant ecbd523f88 Moved AGENT and QOBUZ_FEATURED_KEYS to constants 2021-03-14 18:21:13 -07:00
nathannathant 5a0a20f595 Type hints in Client, formatting 2021-03-14 18:12:13 -07:00
vitiko98 a0975ea5f2 Add possible solution for _gen_pages 2021-03-15 00:18:56 -04:00
nathannathant 65b81b247d Updated _multi_meta with new functions,
I renamed it to _gen_pages because _multi_meta is an ambiguous name. Also added new QOBUZ_FEATURED_KEYS. The search function now returns a generator.
2021-03-14 11:48:54 -07:00
nathannathant 4aca4e4481 Replaced public methods with new functions
Also changed the name of self.id to self.app_id and self._cfg_setup to self._validate_secrets so that the names were more descriptive.
2021-03-14 10:49:23 -07:00
nathannathant a21dc003c4 Removed functions for favorites, featured 2021-03-14 10:24:49 -07:00
nathannathant 74bbba8d02 Removed _api_call, not functional yet 2021-03-14 10:03:51 -07:00
nathannathant 01dd555614 Added new _api_search function 2021-03-13 23:52:38 -08:00
vitiko98 34df7d512c Minor changes 2021-03-14 01:31:23 -04:00
vitiko98 fb30547598 Add error handling and more functionality to core methods 2021-03-13 20:08:22 -04:00
nathannathant d2dedd77cb New functions working 2021-03-12 15:04:52 -08:00
nathannathant 725707e33e Made a separate funciton to get file url.
Also formatting, type hints
2021-03-12 12:36:31 -08:00
nathannathant a6169fa0b4 Added replacement functions for _api_call
They are not fully implemented, just an idea of how the issue with if statements can be solved in the huge _api_call function.
2021-03-12 10:49:32 -08:00
nathannathant 27fc1d8200 Minor changes to get_featured_albums 2021-03-12 10:48:10 -08:00
nathannathant bd97e43439 Added support for requesting “featured” albums
Also improved some of the docstrings.
2021-03-12 10:12:23 -08:00
nathannathant 83e7ca90cf Improved downloads.py docstrings, minor bug fixes
Also:
- made a separate function to generate a cover object
- fixed the issue where importing ClientInterface for typing caused circular imports
- misc formatting
2021-03-11 23:18:14 -08:00
nathannathant 7e89d6660f Added url handle, parse, from text in QobuzDL 2021-03-11 20:12:45 -08:00
nathannathant 94ad7cc830 Removed boxing in Client classes, moving to main 2021-03-11 18:59:58 -08:00
nathannathant 7697031b77 Added documentation, and some minor changes 2021-03-11 13:40:45 -08:00
nathannathant 4ecef488d6 added abstract class/methods
also extra logging, changed method names
2021-03-11 11:22:21 -08:00
nathannathant 8b00fa3310 minor changes to logging 2021-03-10 23:44:06 -08:00
nathannathant 30f0a29e70 working search results 2021-03-10 23:33:01 -08:00
nathannathant 1e54c875fc started 2021-03-10 20:44:48 -08:00
vitiko98 60394346f0 Minor changes 2021-03-10 23:06:15 -04:00
vitiko98 9f4fbb03ca Fix support for Deezer client 2021-03-10 22:44:39 -04:00
vitiko98 d668dfe232 Fix Qobuz client 2021-03-10 22:22:47 -04:00
nathannathant 7b312d4b75 custom exceptions 2021-03-10 16:52:05 -08:00
nathannathant ad3e4e435a Merge branch 'rewrite' of https://github.com/vitiko98/qobuz-dl into rewrite 2021-03-10 16:06:28 -08:00
nathannathant 2fef03bff3 added tags in TrackMetadata 2021-03-10 16:06:17 -08:00
vitiko98 23c6d6203c Add Deezer client 2021-03-10 20:00:21 -04:00