Skip to content

Commit

Permalink
removing unused property
Browse files Browse the repository at this point in the history
  • Loading branch information
Siemon Geeroms committed Nov 30, 2024
1 parent 678c25e commit 0e1c324
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions homeassistant/components/plex/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,3 @@ def offset(self) -> int:
media = media.items[0]
return getattr(media, 'viewOffset',0)
return 0

@property
def shuffle(self) -> bool:
"""Return value of shuffle parameter."""
shuffle = self._params.get("shuffle", False)
if isinstance(shuffle, str):
shuffle = result_as_boolean(shuffle)
return shuffle

0 comments on commit 0e1c324

Please sign in to comment.