Skip to content

[Bug] M3U multi-file game sizes not included in platform storage stats #3360

@yamanobe96

Description

@yamanobe96

Describe the bug
When a platform uses .m3u files to manage multi-disc games, the storage size shown in the server stats page only reflects the size of the .m3u text files themselves, not the actual ROM files (ISO, CHD, BIN, etc.) referenced within them.
To Reproduce
Set up a platform (e.g. PS2) where games are stored as .m3u + referenced ROM files in a subdirectory
Scan the platform
Check the server stats page → platform size is only a few MB despite containing hundreds of GB of ROMs
Expected behavior
The platform storage size should include the total size of all files referenced by .m3u files, not just the .m3u files themselves.
Additional context
Platform: PlayStation 2 (2484 games)
Displayed size: 12.06 MB (only .m3u files)
Actual size on disk: several hundred GB
ROM files are stored in subdirectories relative to each .m3u file

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions