Skip to content

Commit ab38636

Browse files
Future class FilterROMS()
1 parent 4762679 commit ab38636

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

resources/scrap.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,24 @@
132132
# In the Standalone Launcher context menu the situation is similar to the ROM context menu.
133133
# The difference is that rom_obj is a Launcher object instance instead of a ROM object.
134134
# ------------------------------------------------------------------------------------------------
135+
136+
# This class is used to filter No-Intro BIOS ROMs and MAME BIOS, Devices and Mecanichal machines.
137+
# No-Intro BIOSes are easy to filter, filename starts with '[BIOS]'
138+
# MAME is more complicated. The Offline Scraper includes 3 JSON filenames
139+
# MAME_BIOSes.json
140+
# MAME_Devices.json
141+
# MAME_Mechanical.json
142+
# used to filter MAME machines.
143+
# This class is (will be) used in the ROM Scanner.
144+
class FilterROM(object):
145+
def __init__(self, PATHS, settings):
146+
log_debug('FilterROM.__init__() BEGIN...')
147+
self.PATHS = PATHS
148+
self.settings = settings
149+
135150
class ScraperFactory(object):
136151
def __init__(self, PATHS, settings):
137-
# log_debug('ScraperFactory.__init__() BEGIN ...')
152+
# log_debug('ScraperFactory.__init__() BEGIN...')
138153
self.PATHS = PATHS
139154
self.settings = settings
140155

0 commit comments

Comments
 (0)