12 Commits

Author SHA1 Message Date
M1chal3k28 fbf79d70e6 📝 Rename 'embed_lyrics' to 'lyrics' in example config (#280) 2026-01-18 17:31:42 +01:00
Oskar Dudziński d56398168e Revert " Added album lyrics download to .lrc file (#241)" (#248)
This reverts commit f2ee4f8fad.
2025-11-24 19:49:25 +01:00
Daniele Russo f2ee4f8fad Added album lyrics download to .lrc file (#241)
* adding flag for download lyrics

* adding sum debug info

* adding configuration part

* Update config.example.toml

* refactor: move lyrics to utility and apply code review feedback

* refactor: optimize lyrics download and apply code review feedback

- Pass album_items directly to lyrics function to avoid redundant API calls
- Remove unused Path import from api.py
- Remove duplicate debug logging already covered elsewhere
- Use last_album_items reference instead of fetching data again
- Move lyrics download logic to separate utility function in core.utils.lyrics
- Keep lyrics configuration only in docs/config.example.toml without modifying other settings

This optimization reduces API calls by reusing already fetched album items data instead of making new requests for lyrics download.
2025-11-24 19:25:13 +01:00
Oskar Dudziński 97f3fed079 Added album.release template 2025-11-21 22:16:38 +01:00
Oskar Dudziński 24ac3f04fc 📝 Added docs about template fields formatting #233 2025-11-21 21:03:54 +01:00
Oskar Dudziński 74e45ef39a 🐛 Fixed album data that was not available while downloading playlists (#226)
* fetch album while handling playlist when there is "{album}" in template

* add note to the docs
2025-11-17 15:46:41 +01:00
Oskar Dudziński 02919e38e6 Added {album.master} template (#225)
* add `MediaMetadataTags` literal

* add `album.master` template

* add docs
2025-11-17 14:40:28 +01:00
Oskar Dudziński 06b1eded7c Added explicit and dolby templates (#223)
* strip formatted parts of path

* handle "None" explicit attribute

* add explicit field to items

* add explicit to template example

* add docs for explicit

* add `dolby` field to items

* add `dolby` docs
2025-11-17 02:58:13 +01:00
Oskar Dudziński 96fb746fd9 New metadata.album_review config setting (#216)
* add `get_album_review` endpoint

* add `metadata.album_review` config option

* add comment to `add_track_metadata`

* move `AlbumReview` model to its own file and clean up imports

* fix API endpoint for fetching album reviews

* add normalized_text method to AlbumReview model for text processing

* add unit test for `normalize_review_text` function and refactor `AlbumReview` model

* add `album_review` to metadata

* update comment

* add comment
2025-11-13 13:38:04 +01:00
Oskar Dudziński 5160df3da1 📝 Added link to file templating 2025-11-09 01:45:37 +01:00
Oskar Dudziński b87888536e tiddl3 (#194) 2025-11-08 15:18:44 +01:00
oskvr37 78a382e83e 📝 add demo.gif 2025-02-09 01:40:18 +01:00