Ensure ROMs are decompressed before loading them into a media group (#321)

All compressed archives (zip, rar, and 7z) are decompressed when a media group is created.

Only files with an extension defined in the platform mapping are added to the M3U file.

Closes #307
This commit is contained in:
Michael Green
2024-03-01 13:39:27 +11:00
committed by GitHub
parent 14c5761959
commit b1056299b8
3 changed files with 123 additions and 3 deletions

View File

@@ -23,6 +23,8 @@
var emuBios = '';
var emuBackground = '';
console.log("Loading rom url: " + decodeURIComponent(getQueryString('rompath', 'string')));
ajaxCall('/api/v1.1/Games/' + gameId, 'GET', function (result) {
gameData = result;