Fix: publish date has been removed from the model
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 26 Mar 2025 23:33:02 +0000 (00:33 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 26 Mar 2025 23:33:02 +0000 (00:33 +0100)
Instead we will use release date on the metadata

music_assistant/providers/filesystem_local/__init__.py
music_assistant/providers/opensubsonic/sonic_provider.py
music_assistant/providers/test/__init__.py

index 1034b2be3381417d555601623aac830abd876550..d4194b1c849037803d33a02810bf2232f1ba5fa5 100644 (file)
@@ -1188,7 +1188,6 @@ class LocalFileSystemProvider(MusicProvider):
             provider=self.instance_id,
             name=tags.title,
             sort_name=tags.title_sort,
-            publish_date=None,
             provider_mappings={
                 ProviderMapping(
                     item_id=file_item.relative_path,
index 679293772c0f48ed6d8b420c343e1f67ae208741..e77e5a860d9067fe3ab3f0df191d35aac27b2144 100644 (file)
@@ -349,7 +349,6 @@ class OpenSonicProvider(MusicProvider):
             name=sonic_episode.title,
             position=pos,
             podcast=self._parse_podcast(sonic_channel),
-            publish_date=None,
             provider_mappings={
                 ProviderMapping(
                     item_id=eid,
index 494f17f849c77d1030fa4d20d04cf36cd6812b7b..a5687fb13256735f8daf3b3fa9c11df69dd3755b 100644 (file)
@@ -315,7 +315,6 @@ class TestProvider(MusicProvider):
             provider=self.lookup_key,
             name=f"Test PodcastEpisode {podcast_id}-{episode_idx}",
             duration=60,
-            publish_date=None,
             podcast=ItemMapping(
                 item_id=podcast_id,
                 provider=self.lookup_key,