Restore section process timing
from typing import List
+from plex_trakt_sync.decorators import measure_time
from plex_trakt_sync.media import MediaFactory, Media
from plex_trakt_sync.plex_api import PlexApi
@@ -67,6 +68,7 @@ def media_from_sections(self, sections, titles: List[str]):
sections = [x for x in sections if x.title in titles]
for section in sections:
+ with measure_time(f"{section.title} processed"):
it = self.progressbar(section.items(), length=len(section), label=f"Processing {section.title}")
yield from it
