Skip to content

Commit

Permalink
revert: move plex back to init after Content
Browse files Browse the repository at this point in the history
  • Loading branch information
Spoked authored and Spoked committed Feb 7, 2024
1 parent cc77c54 commit 80590e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions backend/program/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ def start(self):
if not self.startup_args.dev:
self.pickly = Pickly(self.media_items, data_dir_path)
self.pickly.start()
self.core_manager = ServiceManager(self.media_items, True, Plex, Content, Scraping, Debrid, Symlinker)
self.core_manager = ServiceManager(self.media_items, True, Content, Plex, Scraping, Debrid, Symlinker)
if self.validate():
if len(self.media_items) > 0:
logger.info("Your Plex Library has %s items.", len(self.media_items))
logger.info("Iceberg started!")
else:
logger.info("----------------------------------------------")
Expand Down
2 changes: 1 addition & 1 deletion backend/program/scrapers/torrentio.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def validate(self) -> bool:
def run(self, item):
"""Scrape the torrentio site for the given media items
and update the object with scraped streams"""
if item is None or not self.initialized:
if item is None:
return
try:
self._scrape_item(item)
Expand Down

0 comments on commit 80590e1

Please sign in to comment.