Add media type and detection of PlayStation 5 Ultra HD Blu-ray game discs.

This commit is contained in:
2021-02-10 17:11:46 +00:00
parent dd856a397f
commit d822ad3596
3 changed files with 8 additions and 0 deletions

View File

@@ -253,6 +253,8 @@ namespace Aaru.CommonTypes
PS4BD = 117,
/// <summary>Sony PlayStation Portable Universal Media Disc (ECMA-365)</summary>
UMD = 118, PlayStationVitaGameCard = 119,
/// <summary>Sony PlayStation 5 game Ultra HD Blu-ray</summary>
PS5BD = 120,
#endregion Sony game media, types 110 to 129
#region Microsoft game media, types 130 to 149

View File

@@ -1004,6 +1004,7 @@ namespace Aaru.CommonTypes.Metadata
case CommonTypes.MediaType.PS3DVD:
case CommonTypes.MediaType.PS3BD:
case CommonTypes.MediaType.PS4BD:
case CommonTypes.MediaType.PS5BD:
case CommonTypes.MediaType.XGD:
case CommonTypes.MediaType.XGD2:
case CommonTypes.MediaType.XGD3:

View File

@@ -407,6 +407,11 @@ namespace Aaru.CommonTypes.Metadata
discType = "Blu-ray";
discSubType = "PlayStation 4 Game Disc";
break;
case CommonTypes.MediaType.PS5BD:
discType = "Blu-ray";
discSubType = "PlayStation 5 Game Disc";
break;
case CommonTypes.MediaType.SACD:
discType = "SACD";