88from plexapi .utils import deprecated
99
1010
11- class AdvancedSettingsMixin ( object ) :
11+ class AdvancedSettingsMixin :
1212 """ Mixin for Plex objects that can have advanced settings. """
1313
1414 def preferences (self ):
@@ -60,7 +60,7 @@ def defaultAdvanced(self):
6060 self ._server .query (url , method = self ._server ._session .put )
6161
6262
63- class SmartFilterMixin ( object ) :
63+ class SmartFilterMixin :
6464 """ Mixing for Plex objects that can have smart filters. """
6565
6666 def _parseFilters (self , content ):
@@ -120,7 +120,7 @@ def _formatFilterGroups(self, groups):
120120 return {filterOp : rules }
121121
122122
123- class SplitMergeMixin ( object ) :
123+ class SplitMergeMixin :
124124 """ Mixin for Plex objects that can be split and merged. """
125125
126126 def split (self ):
@@ -141,7 +141,7 @@ def merge(self, ratingKeys):
141141 return self ._server .query (key , method = self ._server ._session .put )
142142
143143
144- class UnmatchMatchMixin ( object ) :
144+ class UnmatchMatchMixin :
145145 """ Mixin for Plex objects that can be unmatched and matched. """
146146
147147 def unmatch (self ):
@@ -234,7 +234,7 @@ def fixMatch(self, searchResult=None, auto=False, agent=None):
234234 self ._server .query (data , method = self ._server ._session .put )
235235
236236
237- class ExtrasMixin ( object ) :
237+ class ExtrasMixin :
238238 """ Mixin for Plex objects that can have extras. """
239239
240240 def extras (self ):
@@ -244,7 +244,7 @@ def extras(self):
244244 return self .findItems (data , Extra , rtag = 'Extras' )
245245
246246
247- class HubsMixin ( object ) :
247+ class HubsMixin :
248248 """ Mixin for Plex objects that can have related hubs. """
249249
250250 def hubs (self ):
@@ -254,7 +254,7 @@ def hubs(self):
254254 return self .findItems (data , Hub , rtag = 'Related' )
255255
256256
257- class RatingMixin ( object ) :
257+ class RatingMixin :
258258 """ Mixin for Plex objects that can have user star ratings. """
259259
260260 def rate (self , rating = None ):
@@ -274,7 +274,7 @@ def rate(self, rating=None):
274274 self ._server .query (key , method = self ._server ._session .put )
275275
276276
277- class ArtUrlMixin ( object ) :
277+ class ArtUrlMixin :
278278 """ Mixin for Plex objects that can have a background artwork url. """
279279
280280 @property
@@ -323,7 +323,7 @@ def unlockArt(self):
323323 return self ._edit (** {'art.locked' : 0 })
324324
325325
326- class BannerUrlMixin ( object ) :
326+ class BannerUrlMixin :
327327 """ Mixin for Plex objects that can have a banner url. """
328328
329329 @property
@@ -372,7 +372,7 @@ def unlockBanner(self):
372372 return self ._edit (** {'banner.locked' : 0 })
373373
374374
375- class PosterUrlMixin ( object ) :
375+ class PosterUrlMixin :
376376 """ Mixin for Plex objects that can have a poster url. """
377377
378378 @property
@@ -426,7 +426,7 @@ def unlockPoster(self):
426426 return self ._edit (** {'thumb.locked' : 0 })
427427
428428
429- class ThemeUrlMixin ( object ) :
429+ class ThemeUrlMixin :
430430 """ Mixin for Plex objects that can have a theme url. """
431431
432432 @property
@@ -475,7 +475,7 @@ def unlockTheme(self):
475475 self ._edit (** {'theme.locked' : 0 })
476476
477477
478- class EditFieldMixin ( object ) :
478+ class EditFieldMixin :
479479 """ Mixin for editing Plex object fields. """
480480
481481 def editField (self , field , value , locked = True , ** kwargs ):
@@ -667,7 +667,7 @@ def editCapturedTime(self, capturedTime, locked=True):
667667 return self .editField ('originallyAvailableAt' , capturedTime , locked = locked )
668668
669669
670- class EditTagsMixin ( object ) :
670+ class EditTagsMixin :
671671 """ Mixin for editing Plex object tags. """
672672
673673 @deprecated ('use "editTags" instead' )
@@ -986,7 +986,7 @@ def removeWriter(self, writers, locked=True):
986986 return self .editTags ('writer' , writers , locked = locked , remove = True )
987987
988988
989- class WatchlistMixin ( object ) :
989+ class WatchlistMixin :
990990 """ Mixin for Plex objects that can be added to a user's watchlist. """
991991
992992 def onWatchlist (self , account = None ):
0 commit comments