Remove unused trakt_api.remove_from_library()
MODIFY
plextraktsync/trakt/TraktApi.py
plextraktsync/trakt/TraktApi.py
import trakt.movies
import trakt.sync
import trakt.users
-from deprecated import deprecated
from trakt.errors import ForbiddenException, OAuthException
from plextraktsync import pytrakt_extensions
@@ -85,10 +84,6 @@ def movie_collection(self):
def show_collection(self):
return self.me.show_collection
- @deprecated("Use remove_from_collection")
- def remove_from_library(self, media: TraktMedia):
- self.remove_from_collection(media)
-
def remove_from_collection(self, m: TraktMedia):
if m.media_type not in ["movies", "shows"]:
raise ValueError(f"Unsupported media type: {m.media_type}")

Remove unused trakt_api.remove_from_library()