Skip to content

Commit

Permalink
Revert "Add method to mark media item as unavilable"
Browse files Browse the repository at this point in the history
This reverts commit 625c1e5.
  • Loading branch information
marcelveldt committed Jan 9, 2025
1 parent 5828399 commit 7aff123
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions music_assistant_models/media_items/media_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,6 @@ def available(self) -> bool:
return True
return False

def mark_unavailable(self) -> None:
"""Mark item as unavailabley."""
for x in self.provider_mappings:
x.available = False

@property
def image(self) -> MediaItemImage | None:
"""Return (first/random) image/thumb from metadata (if any)."""
Expand Down

0 comments on commit 7aff123

Please sign in to comment.