@@ -949,7 +949,7 @@ def watchlist(self, filter=None, sort=None, libtype=None, maxresults=None, **kwa
949949
950950 params .update (kwargs )
951951
952- key = f'{ self .METADATA } /library/sections/watchlist/{ filter } { utils .joinArgs (params )} '
952+ key = f'{ self .DISCOVER } /library/sections/watchlist/{ filter } { utils .joinArgs (params )} '
953953 return self ._toOnlineMetadata (self .fetchItems (key , maxresults = maxresults ), ** kwargs )
954954
955955 def onWatchlist (self , item ):
@@ -979,7 +979,7 @@ def addToWatchlist(self, items):
979979 if self .onWatchlist (item ):
980980 raise BadRequest (f'"{ item .title } " is already on the watchlist' )
981981 ratingKey = item .guid .rsplit ('/' , 1 )[- 1 ]
982- self .query (f'{ self .METADATA } /actions/addToWatchlist?ratingKey={ ratingKey } ' , method = self ._session .put )
982+ self .query (f'{ self .DISCOVER } /actions/addToWatchlist?ratingKey={ ratingKey } ' , method = self ._session .put )
983983 return self
984984
985985 def removeFromWatchlist (self , items ):
@@ -1000,7 +1000,7 @@ def removeFromWatchlist(self, items):
10001000 if not self .onWatchlist (item ):
10011001 raise BadRequest (f'"{ item .title } " is not on the watchlist' )
10021002 ratingKey = item .guid .rsplit ('/' , 1 )[- 1 ]
1003- self .query (f'{ self .METADATA } /actions/removeFromWatchlist?ratingKey={ ratingKey } ' , method = self ._session .put )
1003+ self .query (f'{ self .DISCOVER } /actions/removeFromWatchlist?ratingKey={ ratingKey } ' , method = self ._session .put )
10041004 return self
10051005
10061006 def userState (self , item ):
0 commit comments