Add batch_size to media_factory
MODIFY
plex_trakt_sync/factory.py
plex_trakt_sync/factory.py
@@ -24,10 +24,10 @@ def plex_api(self):
return plex
@memoize
- def media_factory(self):
+ def media_factory(self, batch_size=None):
from plex_trakt_sync.media import MediaFactory
- trakt = self.trakt_api()
+ trakt = self.trakt_api(batch_size=batch_size)
plex = self.plex_api()
mf = MediaFactory(plex, trakt)

Add batch_size to media_factory