# Path: ice/settings.py
# def find_settings_file(name, filesystem):
# def settings_file_path(name, filesystem, override = None):
# def load_configuration(filesystem, override = None):
# def load_emulators(filesystem, override = None):
# def load_consoles(emulators, filesystem, override = None):
# def load_app_settings(filesystem, file_overrides = {}):
# def image_provider(config):
# 
# Path: ice/steam_grid_updater.py
# class SteamGridUpdater(object):
#   def __init__(self, provider):
#   def update_rom_artwork(self, user, rom, dry_run=False):
#   def update_artwork_for_rom_collection(self, user, roms, dry_run=False):
# 
# Path: ice/logs.py
# STREAM_STRING_FORMAT = '%(leveltag)s%(message)s'
# FILE_STRING_FORMAT = '%(asctime)s [%(levelname)s][%(filename)s][%(funcName)s:%(lineno)s]: %(message)s'
# def is_test_stack_frame(frame):
# def is_running_in_test():
#   def _tag_for_level(self, levelno):
#   def filter(self, record):
# def create_stream_handler(level):
# def create_file_handler(level):
# def create_logger():
# class IceLevelTagFilter(logging.Formatter):


from ice import settings
from ice import steam_grid_updater
from ice.logs import logger
#!/usr/bin/env python
# encoding: utf-8


class UpdateGridImagesTask(object):

  def __init__(self, rom_finder):
    self.rom_finder = rom_finder

  def __call__(self, app_settings, users, dry_run):
    roms = self.rom_finder.roms_for_consoles(

# Path: ice/settings.py
# def find_settings_file(name, filesystem):
# def settings_file_path(name, filesystem, override = None):
# def load_configuration(filesystem, override = None):
# def load_emulators(filesystem, override = None):
# def load_consoles(emulators, filesystem, override = None):
# def load_app_settings(filesystem, file_overrides = {}):
# def image_provider(config):
# 
# Path: ice/steam_grid_updater.py
# class SteamGridUpdater(object):
#   def __init__(self, provider):
#   def update_rom_artwork(self, user, rom, dry_run=False):
#   def update_artwork_for_rom_collection(self, user, roms, dry_run=False):
# 
# Path: ice/logs.py
# STREAM_STRING_FORMAT = '%(leveltag)s%(message)s'
# FILE_STRING_FORMAT = '%(asctime)s [%(levelname)s][%(filename)s][%(funcName)s:%(lineno)s]: %(message)s'
# def is_test_stack_frame(frame):
# def is_running_in_test():
#   def _tag_for_level(self, levelno):
#   def filter(self, record):
# def create_stream_handler(level):
# def create_file_handler(level):
# def create_logger():
# class IceLevelTagFilter(logging.Formatter):


# Path: ice/tasks/grid.py
from ice import settings
from ice import steam_grid_updater
from ice.logs import logger

#!/usr/bin/env python
# encoding: utf-8


class UpdateGridImagesTask(object):

  def __init__(self, rom_finder):
    self.rom_finder = rom_finder

  def __call__(self, app_settings, users, dry_run):
    roms = self.rom_finder.roms_for_consoles(

      app_settings.config,