mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 23:42:07 +01:00
Merge branch 'master' into smart-collections
This commit is contained in:
@@ -3,6 +3,7 @@ from collections.abc import Iterable, Sequence
|
||||
|
||||
from config import ROMM_DB_DRIVER
|
||||
from decorators.database import begin_session
|
||||
from handler.metadata.base_hander import UniversalPlatformSlug as UPS
|
||||
from models.collection import Collection, SmartCollection, VirtualCollection
|
||||
from models.platform import Platform
|
||||
from models.rom import Rom, RomFile, RomMetadata, RomUser
|
||||
@@ -29,77 +30,51 @@ from sqlalchemy.orm import InstrumentedAttribute, Query, Session, selectinload
|
||||
from .base_handler import DBBaseHandler
|
||||
|
||||
EJS_SUPPORTED_PLATFORMS = [
|
||||
"3do",
|
||||
"amiga",
|
||||
"amiga-cd32",
|
||||
"arcade",
|
||||
"neogeoaes",
|
||||
"neogeomvs",
|
||||
"atari2600",
|
||||
"atari-2600-plus",
|
||||
"atari5200",
|
||||
"atari7800",
|
||||
"c-plus-4",
|
||||
"c64",
|
||||
"cpet",
|
||||
"commodore-64c",
|
||||
"c128",
|
||||
"commmodore-128",
|
||||
"colecovision",
|
||||
"jaguar",
|
||||
"lynx",
|
||||
"atari-lynx-mkii",
|
||||
"neo-geo-pocket",
|
||||
"neo-geo-pocket-color",
|
||||
"nes",
|
||||
"famicom",
|
||||
"fds",
|
||||
"game-televisison",
|
||||
"new-style-nes",
|
||||
"n64",
|
||||
"ique-player",
|
||||
"nds",
|
||||
"nintendo-ds-lite",
|
||||
"nintendo-dsi",
|
||||
"nintendo-dsi-xl",
|
||||
"gb",
|
||||
"game-boy-pocket",
|
||||
"game-boy-light",
|
||||
"gba",
|
||||
"game-boy-adavance-sp",
|
||||
"game-boy-micro",
|
||||
"gbc",
|
||||
"pc-fx",
|
||||
"ps",
|
||||
"psp",
|
||||
"segacd",
|
||||
"sega32",
|
||||
"gamegear",
|
||||
"sms",
|
||||
"sega-mark-iii",
|
||||
"sega-game-box-9",
|
||||
"sega-master-system-ii",
|
||||
"master-system-super-compact",
|
||||
"master-system-girl",
|
||||
"genesis-slash-megadrive",
|
||||
"sega-mega-drive-2-slash-genesis",
|
||||
"sega-mega-jet",
|
||||
"mega-pc",
|
||||
"tera-drive",
|
||||
"sega-nomad",
|
||||
"saturn",
|
||||
"snes",
|
||||
"sfam",
|
||||
"super-nintendo-original-european-version",
|
||||
"super-famicom-shvc-001",
|
||||
"super-famicom-jr-model-shvc-101",
|
||||
"new-style-super-nes-model-sns-101",
|
||||
"turbografx16--1",
|
||||
"vic-20",
|
||||
"virtualboy",
|
||||
"wonderswan",
|
||||
"swancrystal",
|
||||
"wonderswan-color",
|
||||
UPS._3DO,
|
||||
UPS.AMIGA,
|
||||
UPS.AMIGA_CD,
|
||||
UPS.AMIGA_CD32,
|
||||
UPS.ARCADE,
|
||||
UPS.NEOGEOAES,
|
||||
UPS.NEOGEOMVS,
|
||||
UPS.ATARI2600,
|
||||
UPS.ATARI5200,
|
||||
UPS.ATARI7800,
|
||||
UPS.C_PLUS_4,
|
||||
UPS.C64,
|
||||
UPS.CPET,
|
||||
UPS.C64,
|
||||
UPS.C128,
|
||||
UPS.COLECOVISION,
|
||||
UPS.JAGUAR,
|
||||
UPS.LYNX,
|
||||
UPS.NEO_GEO_POCKET,
|
||||
UPS.NEO_GEO_POCKET_COLOR,
|
||||
UPS.NES,
|
||||
UPS.FAMICOM,
|
||||
UPS.FDS,
|
||||
UPS.N64,
|
||||
UPS.N64DD,
|
||||
UPS.NDS,
|
||||
UPS.NINTENDO_DSI,
|
||||
UPS.GB,
|
||||
UPS.GBA,
|
||||
UPS.PC_FX,
|
||||
UPS.PHILIPS_CD_I,
|
||||
UPS.PSX,
|
||||
UPS.PSP,
|
||||
UPS.SEGACD,
|
||||
UPS.GENESIS,
|
||||
UPS.SMS,
|
||||
UPS.GAMEGEAR,
|
||||
UPS.SATURN,
|
||||
UPS.SNES,
|
||||
UPS.SFAM,
|
||||
UPS.TG16,
|
||||
UPS.VIC_20,
|
||||
UPS.VIRTUALBOY,
|
||||
UPS.WONDERSWAN,
|
||||
UPS.WONDERSWAN_COLOR,
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user