Robert Honz
8dd75897e3
refactor(constants): streamline enums and enhance type annotations
...
This commit refactors the codebase to improve readability and maintainability by updating enums and type annotations:
- ✨ **Replaced `StrEnum` attributes**: Removed explicit type declarations for enum values to simplify the code.
- 🛠️ **Introduced `AudioExtensionsValid` enum**: Added a new enum for valid audio file extensions.
- 🔄 **Enhanced type annotations**: Updated `FAVORITES` dictionary to include specific type hints for clarity.
- 🧹 **Updated references**: Replaced outdated `AudioExtensions` usage with the new `AudioExtensionsValid`.
These changes improve code clarity, enforce stricter typing, and enhance extensibility.
2025-08-13 08:17:11 +02:00
Robert Honz
d481a26ccb
feat: add support for original image dimension in album covers
...
Adds functionality to handle original image dimensions (`origin`) for album cover downloads.
- ✨ Added `PxORIGIN` option to cover dimension constants.
- 🔄 Updated cover image URL logic to support original dimensions.
- 🛠️ Improved cover data handling for more flexible metadata embedding.
This enhances customization and fidelity in cover image management.
2025-08-12 18:22:59 +02:00
Robert Honz
70e29771b9
🛠️ Directory length limit is checked and adapted correctly now. Fixes #447 & #436
2025-06-30 16:33:32 +02:00
Robert Honz
7a4d6ceae7
🛠️ Fixed path length sanitation. Also refactored the path helper to use pathlib.Path instead of str. Fixed #358
2025-02-28 16:57:18 +01:00
Robert Honz
a03cda10ec
✨ Playlist can be created for downloaded albums, mixes, UserPlaylists etc. Fixes #108
2024-12-16 14:42:53 +01:00
Robert Honz
c1a102f646
✨ Removed complex skipping options in favor of a faster duplicates check / skipping of already present items without download delay.
2024-11-13 09:09:00 +01:00
Robert Honz
78a48348a8
✨ Track segments are downloaded simultaneously, which results in a huge speed increase. Some refactoring work has been done.
2024-11-12 22:15:11 +01:00
Robert Honz
d7112063a0
Option added to embed and download album art.
2024-11-11 10:05:32 +01:00
Robert Honz
5b04063e83
✨ User favorites (hearted items) are now selectable from the left pane's list. Fixes #99
2024-05-24 07:23:10 +02:00
Robert Honz
3a6bf023d7
✨ Can search for artists using an artist link.
2024-05-21 15:51:26 +02:00
Robert Honz
94dac6c5b9
👷 Legacy code cleanup due to tidalapi update.
2024-04-20 17:29:42 +02:00
Robert Honz
68ad21276b
👷 Migrated media constants to tidalpi.
2024-04-20 16:02:29 +02:00
Robert Honz
c4b72f70cd
✨ Download list will indicate, if a file was skipped.
2024-04-20 15:37:53 +02:00
Robert Honz
fe5d9880cb
👷 Cleanup of . value usage for Enum access.
2024-04-02 16:26:57 +02:00
Robert Honz
007900eafe
👷 Converted all Enums to StrEnum
2024-04-02 16:16:38 +02:00
Robert Honz
7df41edc01
✨ Can remove all queue items and finished queue items.
2024-04-01 12:17:46 +02:00
Robert Honz
f7361b3078
✨ Use Album.image() to get cover url.
2024-03-25 16:53:27 +01:00
Robert Honz
ce639659b4
✨ Added append as a new option for skip existing. 🛠️ Fixed skip existing ignore extension.
2024-03-19 07:02:00 +01:00
Robert Honz
f94cd0d51c
✨ Lyrics are downloaded to separate *.lrc file. Implements #19
2024-02-01 20:53:45 +01:00
Robert Honz
caf1ad70df
✨ File extension stored in an enum. File exists check refactored to explicit extension check.
2024-01-17 22:18:48 +01:00
Robert Honz
62c75e6c97
✨ File extension stored in an enum. File exists check refactored to explicit extension check.
2024-01-17 22:08:39 +01:00
Robert Honz
e3d780e36d
♻️ Capitalized enum names..
2024-01-16 06:33:23 +01:00
Robert Honz
f61d7e6d2e
♻️ Removed unnecessary threading and refactored values to constants.
2024-01-16 06:32:00 +01:00
Robert Honz
825130bd61
♻️ Refactoring of MPD download. Metadata does not need an explicit media_type flag anymore.
2024-01-14 17:29:39 +01:00
Robert Honz
b59cba77c3
♻️ Refactoring of download.py ongoing.
2024-01-13 16:26:33 +01:00
Robert Honz
14483a1629
♻️ Some refactoring started within download.py.
...
✨ Track extension can be ignored while skipping files. Closes #11 .
✨ Started to implement MPEG DASH download support.
2024-01-13 11:57:11 +01:00
Robert Honz
69cf0b4707
🛠️ Implemented timeout for `requests calls.
2024-01-12 08:38:41 +01:00
Robert Honz
0d4a9d6b87
🌟 Re-add all project files.
2023-12-19 23:58:57 +01:00