Introducing a new way to review your PRs.

Read the announcement

rommapp / romm

A beautiful, powerful, self-hosted ROM manager and player.

View on GitHub

22 documents · Updated Nov 23, 2026

docs / catalog-data-and-api

Catalog data and API operations

RomM presents the game library as linked catalog records and protected content operations. ROMs connect platforms, files, provider data, collections, music, and user assets so clients can browse, change, play, download, and export the library. See the library catalog parent page for the wider view. File discovery is covered in library scanning and filesystem handling, provider data in metadata enrichment, and recommendation consumers in recommendation delivery.

Catalog model

The catalog separates shared library identity from file state and user state. This lets a ROM keep its identity when its files change while each user keeps private play data for the same item.

ROM records

The ROM is the main record for a playable item. It links a platform to display data, provider matches, artwork, documents, related releases, collections, user properties, notes, and ROM files. List responses support fast browsing, while detail responses add the data needed by a game view. (backend/…/rom.py• L837-1169, backend/…/rom.py• L301-422, backend/…/rom.py• L500-543, backend/…/rom.py• L587-635)

ROM identity has two sides. Filesystem names and paths describe the stored item. Titles, sort names, provider IDs, aliases, and normalized search values describe how users find it. A ROM can also keep platform-native binary identity and save-target data for clients that read those values outside the server. Related-release matching is scoped to a platform and uses shared provider identity. A physical ROM has catalog metadata but no playable file, so file-dependent actions exclude it. User ROM data stores personal status, backlog, play state, rating, completion, hidden state, and sibling choice. (backend/…/rom.py• L269-297, backend/…/rom.py• L312-389, backend/…/rom.py• L1103-1133, backend/…/rom.py• L1324-1343, backend/…/rom.py• L1676-1711)

Search and visibility values stay tied to the ROM metadata that produces them. The catalog keeps folded titles and aliases for search, a minimum age for visibility, and file-state values for deciding whether content exists. Custom covers and manuals can remain under user control during later metadata refreshes. User-state changes also refresh the user-scoped catalog views and smart collections that depend on them. (backend/…/rom.py• L188-223, backend/…/rom.py• L1504-1565, backend/…/rom.py• L1067-1087, backend/…/__init__.py• L2256-2454, backend/…/__init__.py• L2614-2655)

References: backend/…/rom.py• L269-389 backend/…/rom.py• L837-1169 backend/…/rom.py• L1067-1133 backend/…/rom.py• L1324-1343 backend/…/rom.py• L1504-1565 backend/…/rom.py• L1676-1711 backend/…/rom.py• L301-422 backend/…/rom.py• L500-543 backend/…/__init__.py• L2256-2454 backend/…/__init__.py• L2614-2655

ROM files

A ROM file records stored game content or a related file that belongs to a ROM. Its name, path, size, hashes, archive data, missing state, and category support lookup, serving, and display. Categories distinguish game content from DLC, patches, demos, manuals, walkthroughs, soundtracks, translations, and screenshots. (backend/…/rom.py• L423-540, backend/…/rom.py• L170-232)

Filename-derived values provide a shared view of file names. The catalog keeps the name without tags, the name without its extension, and the extension in sync when a file name changes. These values support search and related file decisions across ROMs, assets, and firmware. (backend/…/base.py• L42-132, backend/…/rom.py• L1191-1214)

Soundtrack files carry track data. Document files carry source, author, title, and reading progress data. Manual and walkthrough routes add or remove document files while keeping them inside the normal ROM visibility and serving rules. A walkthrough can also come from a GameFAQs URL; the catalog stores the guide as plain text with its source details. (backend/…/rom.py• L563-661, backend/…/files.py• L243-347, backend/…/manual.py• L29-313, backend/…/walkthrough.py• L51-269)

References: backend/…/base.py• L42-132 backend/…/rom.py• L423-540 backend/…/rom.py• L563-661 backend/…/rom.py• L1191-1214 backend/…/rom.py• L170-232 backend/…/files.py• L243-347 backend/…/manual.py• L29-313 backend/…/walkthrough.py• L51-269

Platform records

A platform gives a group of ROMs its catalog and filesystem context. It provides stable identity, display and filesystem names, provider identities, category data, counts, size, firmware links, and a missing-from-filesystem state. Platform visibility controls access to its ROMs and firmware. (backend/…/platform.py• L37-109, backend/…/platform.py• L7-58)

Platform operations create, list, inspect, update, and delete platform records. Creating a platform also prepares its library location and starts the path that turns filesystem content into catalog data. (backend/…/platform.py• L38-192)

References: backend/…/platform.py• L37-109 backend/…/platform.py• L7-58 backend/…/platform.py• L38-192

Collection records

A collection groups ROMs for browsing. Standard collections store explicit membership. Smart collections store rules and a result set. Virtual collections group ROMs by metadata tags and expose a stable encoded ID for the tag and collection type. Their membership and cover data are prepared for catalog reads instead of being rebuilt from raw ROM metadata on every request. (backend/…/collection.py• L22-45, backend/…/collection.py• L102-159, backend/…/collection.py• L141-213, backend/…/collection.py• L219-267)

Collection reads and writes follow owner and public-sharing rules. Public collections can be read by other users, but only the owner can change them. Returned IDs, counts, and cover data are filtered through the caller's ROM visibility, so a collection cannot reveal hidden catalog records. Smart collection results refresh when their rules or source ROM data changes. Virtual collection identifiers are checked when they enter the API, so malformed identifiers fail as invalid requests rather than selecting an unintended group. (backend/…/collections.py• L64-123, backend/…/collections.py• L464-715, backend/…/collections_handler.py• L472-567, backend/…/collections_handler.py• L602-708, backend/…/collection.py• L161-177, backend/…/collection.py• L270-279)

References: backend/…/collection.py• L22-45 backend/…/collection.py• L102-159 backend/…/collection.py• L141-213 backend/…/collection.py• L219-279 backend/…/collections.py• L64-123 backend/…/collections.py• L464-715 backend/…/collections_handler.py• L472-567 backend/…/collections_handler.py• L602-708

Firmware records

Firmware is platform-owned file data rather than ROM-owned game data. A firmware record keeps platform ownership, file identity, size, hashes, verification state, and missing state. Verification confirms that the file matches known BIOS size and hash data. (backend/…/firmware.py• L46-105, backend/…/firmware.py• L8-30)

Firmware endpoints upload, list, inspect, serve, and delete firmware. Uploading a file with an existing platform and name updates its record instead of creating a duplicate. Each upload is checked against the visible platform before it is written, and missing files cannot be served. (backend/…/firmware.py• L42-146, backend/…/firmware.py• L149-240, backend/…/firmware.py• L297-375)

References: backend/…/firmware.py• L46-105 backend/…/firmware.py• L8-35 backend/…/firmware.py• L42-146 backend/…/firmware.py• L149-240 backend/…/firmware.py• L297-375

Music records

Music uses soundtrack files under ROMs as track records. The music view flattens those files into tracks with parent ROM and platform context, then supports search, filters, facets, grouping, statistics, favorites, and playlists. (backend/…/rom.py• L423-475, backend/…/rom.py• L563-598, backend/…/music.py• L19-71, backend/…/music.py• L13-69)

Only visible files with track data can enter favorites or playlists. Playlists belong to one user and can be public. Owners control playlist details, membership, and order. Hidden tracks are removed from returned pages and totals. (backend/…/music.py• L24-67, backend/…/music_playlists.py• L54-237)

References: backend/…/rom.py• L423-475 backend/…/rom.py• L563-598 backend/…/music.py• L19-71 backend/…/music.py• L13-69 backend/…/music.py• L24-529 backend/…/music_playlists.py• L54-237

User asset records

User assets attach saves, states, screenshots, and memory cards to the catalog without changing shared ROM data. Saves and states carry emulator context and file data. Screenshots support asset views and galleries. Public assets can be shared, but parent ROM and platform visibility still applies. (backend/…/assets.py• L66-170, backend/…/assets.py• L173-309, backend/…/assets.py• L311-386, backend/…/assets.py• L11-110)

Save and state data can belong to a channel. A channel is a user's playthrough of one ROM file and points to its current snapshot. A snapshot is a fixed checkpoint that can contain one save and a set of emulator state slots. The model keeps device sync markers so a device can identify the snapshot it last used. Public channels and archival snapshots provide controlled sharing, while conflicts can remain as branches instead of replacing the current playthrough. (backend/…/channel.py• L17-59, backend/…/snapshot.py• L21-101, backend/…/snapshot.py• L103-141, backend/…/device_channel_sync.py• L12-40)

Asset endpoints create, read, update, share, delete, and serve these records. Memory cards keep a stable identity with ordered file snapshots and are scoped by user and emulator rather than by one ROM. Sharing a public card copies its data to the recipient's card rather than granting write access to the source. Save synchronization matches non-empty slots by ROM and slot and treats null-slot uploads as archival files. (backend/…/saves.py• L161-813, backend/…/states.py• L40-447, backend/…/sync.py• L43-422, backend/…/assets.py• L311-386)

References: backend/…/assets.py• L66-170 backend/…/assets.py• L173-309 backend/…/assets.py• L311-386 backend/…/channel.py• L17-59 backend/…/device_channel_sync.py• L12-40 backend/…/snapshot.py• L21-141 backend/…/assets.py• L11-110 backend/…/saves.py• L161-813 backend/…/states.py• L40-447 backend/…/sync.py• L43-422

Catalog API operations

Catalog routes expose protected JSON records and trusted content URLs below /api. The API resolves the caller's permissions first, then applies platform, ROM, owner, and public-sharing rules before it returns metadata or bytes.

Access controls

Access controls define which records and actions a caller can use. Administrators bypass permission groups. Other users receive a default or assigned group with per-user changes layered on top. Grants cover read, write, and delete actions for catalog areas such as ROMs, platforms, collections, playlists, firmware, and assets. (backend/…/permission.py• L21-57, backend/…/permissions.py• L40-181)

Own-only grants limit writes to records owned by the caller. Visibility rules can also hide platforms and ROMs or limit the visible ROM age and rating. Client tokens are limited by the owner's current effective scopes, so an old token cannot retain access after the owner's rights change. (backend/…/client_token.py• L16-39, backend/…/permissions.py• L184-216)

This diagram shows the order used to protect both catalog responses and content bytes.

flowchart TD
    A[Caller or client token] --> B[Resolve user and effective grants]
    B --> C{Allowed action?}
    C -- No --> D[Reject request]
    C -- Yes --> E[Apply ownership and visibility rules]
    E --> F{Visible record or file?}
    F -- No --> G[Return no access]
    F -- Yes --> H[Return metadata or trusted content]

References: backend/…/client_token.py• L16-39 backend/…/permission.py• L21-57 backend/…/user.py• L27-40 backend/…/permissions.py• L40-216 backend/…/permissions_map.py• L39-131

Catalog query endpoints

GET /api/roms is the main catalog query. It returns a page of visible ROM records and can narrow the library by platform, collection, search text or hash, user state, file state, metadata, physical status, soundtrack presence, release day, play length, and update time. It can also return filter values, a character index, an ordered ROM ID index for virtual scrolling, and file entries. (backend/…/__init__.py• L692-982)

The query rules are shared by gallery filters, smart collections, facets, and coverage views. They support title and alias search, ROM and file hash lookup, stable ordering, and sibling grouping. A grouped result chooses a caller-visible representative for related releases on the same platform. Sidecar indexes and filter values are scoped so a user or filtered result cannot reuse another view's cached data. (backend/…/rom.py• L312-389, backend/…/rom.py• L1504-1628, backend/…/roms_handler.py• L1183-1266)

The ROM endpoint also supports focused reads that use the same visibility rules. Random selection stays inside an optional platform or collection scope, and similar-game results come from titles that the server actually holds rather than from an external catalog. (backend/…/__init__.py• L997-1059, backend/…/__init__.py• L1361-1419)

The main read routes are:

PurposeEndpointResult
Browse and filter ROMsGET /api/romsROM page with optional indexes, filters, and files
Pick a visible ROMGET /api/roms/randomOne ROM or no result for the selected scope
Read one ROM for a cardGET /api/roms/{id}/simpleLightweight ROM response
Read one ROM in detailGET /api/roms/{id}Detailed ROM response
Find similar library titlesGET /api/roms/{id}/similarVisible similar ROMs with scores and reasons
Find by provider matchGET /api/roms/by-metadata-providerOne detailed ROM
Find by file or ROM hashGET /api/roms/by-hashOne detailed ROM
Browse platforms, collections, and firmwareGET /api/platforms, /api/collections, /api/firmwareCatalog groups and platform-owned firmware
Browse soundtrack tracks and facetsGET /api/music/tracks, /api/music/artists, /api/music/gamesFiltered or grouped music pages
Read ROM file metadataGET /api/roms/{id}/filesROM file record
Read ROM notesGET /api/roms/{id}/notesVisible notes
Read document progressGET /api/roms/{id}/files/{file_id}/progressCurrent user's reading state
Read device install requestsGET /api/roms/{id}/installsCaller-owned device requests for the ROM
Read soundtrack metadataGET /api/roms/{id}/soundtracks/metadataTrack data for the ROM's soundtrack files

The heartbeat routes let clients discover setup state, server capabilities, metadata sources, and visible platform folders before they start catalog work. (backend/…/heartbeat.py• L65-201, backend/…/heartbeat.py• L204-384)

References: backend/…/__init__.py• L692-982 backend/…/__init__.py• L997-1059 backend/…/__init__.py• L1260-1358 backend/…/__init__.py• L1361-1419 backend/…/files.py• L45-70 backend/…/files.py• L262-347 backend/…/installs.py• L21-37 backend/…/soundtrack.py• L26-55 backend/…/music.py• L70-529 backend/…/heartbeat.py• L65-384 backend/…/rom.py• L312-389 backend/…/rom.py• L1504-1628 backend/…/roms_handler.py• L1183-1266

Catalog write endpoints

Catalog writes change the database view and, when needed, the related filesystem resource. ROM uploads can target a platform location or an existing ROM folder. A later scan reconciles filesystem content with catalog records, as described in library scanning and filesystem handling.

Chunked uploads use a short-lived session owned by the caller. The API validates the target and file name before accepting chunks, records each received chunk, assembles them in order, and commits the file only after the complete set arrives. A session can be cancelled or expire without leaving its temporary data as library content. (backend/…/upload.py• L60-183, backend/…/upload.py• L250-393, backend/…/upload.py• L396-599)

Physical ROM creation is a metadata-only catalog flow. It checks the platform, creates a record without playable content, performs a quick provider match, and removes the partial record if that process fails. (backend/…/__init__.py• L1843-1957)

DataCreate or uploadUpdateDelete or related change
ROMPOST /api/roms/upload/start, upload completion routesPUT /api/roms/{id}, /props, /identityPOST /api/roms/delete
Physical ROMPOST /api/roms/physicalPUT /api/roms/{id}POST /api/roms/delete
ROM fileCategory routes under /api/roms/{id}Category-specific re-uploadDELETE /api/roms/{rom_id}/files/{file_id}
PlatformPOST /api/platformsPUT /api/platforms/{id}DELETE /api/platforms/{id}
CollectionPOST /api/collections or /smartCollection update routesCollection delete and membership routes
FirmwarePOST /api/firmwareRe-upload existing fileFirmware delete route
User assetPOST /api/screenshots, /saves, or /statesAsset and visibility routesAsset delete routes
ROM document or mediaPOST /api/roms/{id}/manuals, /walkthroughs/files, /screenshots, or /soundtracksDocument progress or metadata routesCategory file delete routes
ROM notePOST /api/roms/{id}/notesPUT /api/roms/{id}/notes/{note_id}DELETE /api/roms/{id}/notes/{note_id}
ROM patch resultPOST /api/roms/{file_id}/patchNot stored as catalog dataTemporary output is removed after serving

The ROM update route can change display data, provider matches, raw metadata, artwork, documents, filesystem names, and binary identity. Changing a provider match can refresh that provider's data and media. The route keeps derived search and filename values aligned, preserves the ROM ID when a single file becomes a folder, and refreshes affected smart collections. A physical ROM uses the same catalog identity but remains outside file-dependent operations. (backend/…/__init__.py• L2092-2454, backend/…/__init__.py• L2457-2485, backend/…/__init__.py• L2658-2708)

References: backend/…/upload.py• L205-247 backend/…/upload.py• L250-393 backend/…/upload.py• L396-599 backend/…/__init__.py• L1843-1957 backend/…/__init__.py• L2092-2454 backend/…/__init__.py• L2457-2485 backend/…/__init__.py• L2658-2708 backend/…/manual.py• L34-209 backend/…/notes.py• L21-161 backend/…/patch.py• L38-208 backend/…/screenshot.py• L24-50 backend/…/soundtrack.py• L26-83 backend/…/walkthrough.py• L51-216

Content serving

Content routes resolve the catalog record before they resolve bytes. They enforce parent ROM or platform visibility, validate trusted paths, and then serve a file, a generated archive, firmware, or a user asset. Direct ROM reads can serve one file or a ZIP for a multi-file ROM. For a multi-file ROM, the content route uses the base game's bootable disc set, excludes patches, translations, manuals, soundtracks, and other non-disc files, and generates an M3U entry only when the selected set has no playlist. This keeps player startup and disc selection on the base game rather than a patch or translation. (backend/…/__init__.py• L1516-1840, backend/…/m3u.py• L166-219, backend/…/firmware.py• L217-294)

Single-file downloads can request a client format. The API serves the stored file when possible, returns a retry response while conversion runs, or rejects the request when no listed format is available. A HEAD request reports the same format outcome without starting conversion. Successful play loads and downloads create different activity records. (backend/…/__init__.py• L1461-1513, backend/…/__init__.py• L1516-1699)

Direct file, document, soundtrack, EasyRPG, patch, install, and note routes use the same parent visibility boundary. File responses derive content type and download behavior from the trusted catalog record rather than from a client-supplied path. EasyRPG serves a generated index and named game resources without loading the full game. The patch route applies a stored or one-time uploaded patch and returns a temporary result without adding it to the catalog. (backend/…/files.py• L45-178, backend/…/easyrpg.py• L40-87, backend/…/patch.py• L38-208)

The content flow has one consistent order:

sequenceDiagram
    participant Client
    participant API
    participant Catalog
    participant Filesystem
    Client->>API: Request metadata or content
    API->>Catalog: Resolve record and parent visibility
    Catalog-->>API: Record and access context
    API->>API: Apply route and visibility rules
    API->>Filesystem: Validate trusted path or archive inputs
    Filesystem-->>API: JSON data or file stream
    API-->>Client: Catalog response or content

References: backend/…/__init__.py• L1461-1840 backend/…/files.py• L45-178 backend/…/easyrpg.py• L40-87 backend/…/patch.py• L38-208 backend/…/installs.py• L21-37 backend/…/notes.py• L21-161 backend/…/firmware.py• L217-294

Feed and export endpoints

Feed routes turn visible ROM records into formats used by browser frontends and console download tools. They are read views of the current catalog rather than a second catalog store. They include only records with usable files and build links from current names, platform data, file sizes, hashes, covers, and trusted content paths. (backend/…/feeds.py• L63-114, backend/…/feeds.py• L117-280)

Export routes create metadata files for external clients. Gamelist XML and Pegasus exports can use API URLs or local paths, and they follow the same usable-file boundary as downloads and feeds. Physical and missing ROMs are omitted. (backend/…/export.py• L15-126, backend/…/gamelist_exporter.py• L21-36, backend/…/pegasus_exporter.py• L167-291)

References: backend/…/feeds.py• L63-114 backend/…/feeds.py• L117-280 backend/…/feeds.py• L350-422 backend/…/export.py• L15-126 backend/…/gamelist_exporter.py• L21-36 backend/…/gamelist_exporter.py• L58-291 backend/…/pegasus_exporter.py• L167-291

Change checklist

When these files or sections are changed, remember to consider these:

  • Keep filename-derived values aligned when a file name changes. Search, sort, file lookup, firmware lookup, asset lookup, and bulk update paths must see the same name parts.
  • Keep the shared ROM page contract aligned across list rows, detail rows, sidecar indexes, filter values, and virtual scrolling. total is optional when count work is skipped.
  • Keep ROM search behavior aligned across folded names, provider aliases, hashes, relevance order, facets, smart collections, and sibling grouping.
  • Keep platform scope in sibling identity and grouped gallery selection. Provider IDs from another platform must not merge releases into the current group.
  • Keep random and similar-ROM reads inside the same visibility boundary as normal ROM reads. A sampled or related result must not reveal a hidden title.
  • Keep physical-ROM records outside usable-file boundaries for downloads, feeds, exports, and missing-file cleanup.
  • Keep multi-file playback, whole-ROM downloads, and generated M3U entries aligned on the same base-game disc set. Exclude patches, translations, hacks, and related media from boot and playlist selection.
  • Keep parent visibility checks on direct file, firmware, music, playlist, save, state, screenshot, feed, export, note, install, and patch paths.
  • Keep collection owner writes, public reads, hidden-ROM filtering, virtual collection identifiers, and smart-collection refresh rules aligned.
  • Keep playlist owner access, public reads, visible track validation, stored order, and returned totals aligned.
  • Keep upload validation aligned across target selection, session ownership, chunk completeness, overwrite rules, final registration, and cleanup.
  • Keep ROM identity and filesystem updates aligned with child file paths, search fields, hashes, and scan lookups.
  • Keep provider match changes aligned across provider IDs, refreshed metadata, stored media, user locks, and smart-collection membership.
  • Keep content activity records aligned across single-file, multi-file, cached, streamed, converted, and patched responses.
  • Keep channel, snapshot, save, and device-sync rules aligned when a playthrough changes ROM attachment, current snapshot, conflict branch, or device attribution.
  • Keep document uploads aligned across file category, document provenance, reading progress, and deletion cascades.

Important failure modes

TriggerConsequenceGuard
Filename-derived columns are not updated with the source nameSearch or file lookup uses stale valuesDerive name parts from the same filename update path and include them in bulk updates
A client treats an omitted ROM total as a count of zeroGallery pagination or virtual scrolling failsTreat total as optional when the caller skips counting
A filtered query reuses an unscoped sidecar cacheLetters or ROM IDs describe another result setCache only the matching scope and include user sort and sibling versions
Provider identity is grouped without platform scopeReleases from different platforms appear as siblingsMatch identity keys within the same platform
A hidden sibling is selected as the group representativeA visible release disappears from grouped resultsApply caller visibility before sibling ranking
A random or similar-ROM route skips its final visibility checkA hidden title appears in a focused readResolve the selected result through the caller's ROM visibility rules
A malformed virtual collection ID is accepted as a normal collection IDThe request can select the wrong metadata group or fail laterValidate and decode the collection name and type at the request boundary
A physical ROM enters a file-dependent operationA feed, export, or download points to content that does not existKeep metadata-only records outside usable-file queries
A direct content route skips the parent visibility checkA hidden ROM or platform exposes metadata or bytesResolve and authorize the parent before reading content
A playlist or favorite accepts a file ID without visibility and track checksHidden or non-music files enter user music viewsRequire a visible parent ROM and valid track metadata
A collection response returns stored membership without filteringA caller learns hidden ROM IDs, counts, or coversFilter every returned collection field through ROM visibility
A ROM rename updates only the parent rowFile paths and search fields point to the old locationMove filesystem content and update derived and child file paths together
A provider match changes without refreshing its dependent metadata or mediaThe ROM shows data or artwork for the wrong matchRefetch changed matches and refresh provider media before returning the record
A multi-file response builds its playlist from patches, translations, or mediaA player boots the wrong content or lists non-bootable filesBuild the playlist from the selected base-game disc set and add it only when no playlist covers that set
A client requests an unsupported formatThe download fails without a clear retry or availability stateReturn pending, original, or not-acceptable outcomes from format negotiation
A HEAD format check starts conversionA metadata probe creates work and changes conversion stateKeep HEAD negotiation read-only and start conversion only for GET
A chunked upload completes with missing or out-of-order chunksThe destination receives incomplete or corrupt contentRequire the full chunk set and assemble it in index order before commit
A patch route stores its temporary output as a ROM fileA derived file becomes stale catalog contentReturn the patched result and remove the temporary work after serving
A document route accepts a file outside its categoryA game file can be changed through a manual or walkthrough pathCheck the parent ROM, file owner, and document category together
A channel push replaces a newer current snapshotA playthrough loses progress or device changesCompare the expected base with the channel current and retain conflicts as branches
A public memory card grants write access to the source cardAnother user can change the owner's emulator dataHydrate a separate recipient card from a shared version

Key files

FileWhy to read it
backend/…/base.pyDefines shared filename-derived values and timestamp behavior used by catalog file records.
backend/…/rom.pyDefines ROM identity, platform-scoped sibling matching, files, hashes, track and document data, search values, and physical-file state.
backend/…/rom.pyShows lightweight and detailed ROM response contracts.
backend/…/__init__.pyDefines ROM queries, focused reads, content serving, physical creation, provider matching, updates, identity, conversion, downloads, and deletion.
backend/…/m3u.pyDefines the bootable disc set used by generated playlists and multi-file content serving.
backend/…/upload.pyExplains platform and ROM-folder uploads, chunk sessions, and their validation boundary.
backend/…/roms_handler.pyHolds shared ROM search, grouping, ordering, cache, file lookup, music, and reconciliation rules.
backend/…/platform.py and backend/…/platform.pyExplain platform ownership, filesystem context, visibility, and lifecycle operations.
backend/…/collection.py, backend/…/collections.py, and backend/…/collections_handler.pyExplain standard, smart, and virtual collections, encoded virtual IDs, prepared membership, and visibility rules.
backend/…/firmware.py and backend/…/firmware.pyExplain platform firmware records, verification, serving, and deletion.
backend/…/music.py and backend/…/music_playlists.pyExplain soundtrack browsing, facets, favorites, playlists, and ordering.
backend/…/assets.py, backend/…/channel.py, backend/…/snapshot.py, and backend/…/device_channel_sync.pyExplain user assets, playthrough channels, checkpoint history, and device attribution.
backend/…/saves.py, backend/…/states.py, and backend/…/sync.pyExplain asset sharing, serving, snapshots, and save synchronization.
backend/…/files.pyExplains direct file serving, document progress, and parent-ROM visibility.
backend/…/manual.py and backend/…/walkthrough.pyExplain document upload, source metadata, provider fetch, progress, and deletion boundaries.
backend/…/patch.py and backend/…/easyrpg.pyExplain temporary patch delivery and streamed EasyRPG game resources.
backend/…/feeds.py and backend/…/export.pyShow how current catalog data becomes external feeds and metadata exports.