Add m3u support for multi image games (#171)

* Parse media type info

* Completed M3U support
This commit is contained in:
Michael Green
2023-10-26 13:39:34 +11:00
committed by GitHub
parent a4e5835e34
commit c2c2831cda
13 changed files with 963 additions and 73 deletions

View File

@@ -266,7 +266,7 @@ namespace gaseous_server.Classes
gameItem.InclusionStatus.PlatformId = alwaysIncludeItem.PlatformId;
gameItem.InclusionStatus.GameId = alwaysIncludeItem.GameId;
gameItem.InclusionStatus.InclusionState = alwaysIncludeItem.InclusionState;
gameItem.Roms = Roms.GetRoms((long)gameItem.Id, (long)platform.Id);
gameItem.Roms = Roms.GetRoms((long)gameItem.Id, (long)platform.Id).GameRomItems;
collectionPlatformItem.Games.Add(gameItem);
}
@@ -286,7 +286,7 @@ namespace gaseous_server.Classes
{
CollectionContents.CollectionPlatformItem.CollectionGameItem collectionGameItem = new CollectionContents.CollectionPlatformItem.CollectionGameItem(game);
List<Roms.GameRomItem> gameRoms = Roms.GetRoms((long)game.Id, (long)platform.Id);
List<Roms.GameRomItem> gameRoms = Roms.GetRoms((long)game.Id, (long)platform.Id).GameRomItems;
bool AddGame = false;