Commit 05a2a395 authored by Gerion Entrup's avatar Gerion Entrup
Browse files

minor stuff

parent 0e1f2c86
......@@ -63,6 +63,7 @@ class Main:
datefmt='%y-%m-%d %H:%M')
logger = logging.getLogger('main')
logger.info("initializing database")
self._init_database(arg.database)
logger.info("database initialized")
......
#!/usr/bin/env python3
import fetcher
from utils import p_print
from retrieval import fetcher
from utils import p_print, pairwise
res = fetcher._get_recording('4b442925-9d2a-41e0-b958-4c2739a09d45')
# Thriller
# res = fetcher.get_table_by_id('4b442925-9d2a-41e0-b958-4c2739a09d45', fetcher.Web.recording)
# Bravo Hits 42
# res = fetcher.get_table_by_id('db4d23f3-eb64-4ea4-86e3-f17f53718a61', fetcher.Web.release)
# B2B Intro & Hybird Harm (Van Eyden dub mix)
res = fetcher.get_table_by_id('684726db-c353-40e9-9763-e4b377b34846', fetcher.Web.recording)
p_print(res)
......@@ -7,8 +7,8 @@ fetcher_cache_age = 172800 # 48 hours
directory_prefix = '/'
force_clean = False
scan_interval = 20 # 86400 # 24 hours
clean_interval = 20 # 86400 # 24 hours
scan_interval = 86400 # 24 hours
clean_interval = 86400 # 24 hours
update_interval = 2592000 # 1 month
check_update_interval = 3600 # 1 hour
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment