Remove useless instance check
Also it would not work likely as types not imported
MODIFY
plextraktsync/trakt/TraktApi.py
plextraktsync/trakt/TraktApi.py
@@ -113,8 +113,6 @@ def show_collection(self):
@time_limit()
@retry()
def remove_from_library(self, media: Union[Movie, TVShow, TVSeason, TVEpisode]):
- if not isinstance(media, (Movie, TVShow, TVSeason, TVEpisode)):
- raise ValueError("Must be valid media type")
media.remove_from_library()
@cached_property

Remove useless instance check

Also it would not work likely as types not imported