Cleanup unused PlexApi create_playlist, delete_playlist methods
@@ -619,18 +619,6 @@ def update_playlist(self, name: str, items: List):
playlist.removeItems(playlist.items())
playlist.addItems(items)
- @nocache
- def create_playlist(self, name: str, items):
- _, plex_items_sorted = zip(*sorted(dict(reversed(items)).items()))
- self.plex.createPlaylist(name, items=plex_items_sorted)
-
- @nocache
- def delete_playlist(self, name: str):
- try:
- self.plex.playlist(name).delete()
- except (NotFound, BadRequest):
- logger.debug(f"Playlist '{name}' not found, so it could not be deleted")
-
@nocache
@flatten_list
def history(self, m, device=False, account=False):
