mirror of
https://github.com/Viren070/MediaFusion.git
synced 2025-12-01 23:21:11 +01:00
5343badfaa
This commit eliminates unused Dramatiq background tasks and related scheduler jobs for processing and updating IMDb and TMDB data.
29 lines
482 B
Python
29 lines
482 B
Python
import asyncio
|
|
|
|
from db import database
|
|
|
|
from utils import torrent
|
|
|
|
# import background actors
|
|
# noqa: F401
|
|
from mediafusion_scrapy import task
|
|
from scrapers import (
|
|
tv,
|
|
trackers,
|
|
helpers,
|
|
prowlarr,
|
|
feed_scraper,
|
|
background_scraper,
|
|
scraper_tasks,
|
|
)
|
|
from streaming_providers import cache_helpers
|
|
from utils import validation_helper
|
|
|
|
|
|
async def async_setup():
|
|
await torrent.init_best_trackers()
|
|
await database.init()
|
|
|
|
|
|
asyncio.run(async_setup())
|