Allow music providers to provide the "date_added" field to library items (#2920)
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Sun, 4 Jan 2026 11:12:50 +0000 (12:12 +0100)
committerGitHub <noreply@github.com>
Sun, 4 Jan 2026 11:12:50 +0000 (12:12 +0100)
commit63d455e182bc5dc547b607762687f850b1bc4f27
treeac23895eb0cd1c57c8bec6351cc2545baee53528
parent2cf11a70a7b8f780e8513db2ab6bfb143509eac7
Allow music providers to provide the "date_added" field to library items (#2920)

* Parse date_added into the library database

* Process date_added in sync

* Add date_added to filesystem provider

* fix for mashumaro

---------

Co-authored-by: Fabian Munkes <105975993+fmunkes@users.noreply.github.com>
12 files changed:
music_assistant/controllers/media/albums.py
music_assistant/controllers/media/artists.py
music_assistant/controllers/media/audiobooks.py
music_assistant/controllers/media/base.py
music_assistant/controllers/media/playlists.py
music_assistant/controllers/media/podcasts.py
music_assistant/controllers/media/radio.py
music_assistant/controllers/media/tracks.py
music_assistant/helpers/database.py
music_assistant/models/music_provider.py
music_assistant/providers/filesystem_local/__init__.py
music_assistant/providers/filesystem_local/helpers.py