Skip to content

Commit

Permalink
- Cleaned "?" simbol from game name
Browse files Browse the repository at this point in the history
- Added .ogv video format to video game snap
  • Loading branch information
Speedvicio committed May 19, 2024
1 parent 1cee845 commit 7cb3832
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions MetroMed/MetroMed.vb
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ Public Class MetroMed
Path.GetExtension(vImage) & "|00000000|"
AniBoxArt(0).Tag = AniTag & "|0"
SplitTag()
MetroToolTip1.SetToolTip(AniBoxArt(0), " " & cleanpsx(RemoveAmpersand(TagSplit(0))) & " " & TagSplit(2) & " " &
MetroToolTip1.SetToolTip(AniBoxArt(0), " " & cleanpsx(RemoveAmpersand(TagSplit(0))) & " " & Replace(TagSplit(2).Trim, "?", "") & " " &
vbCrLf & TagSplit(5).Trim)

'AniCover = MedExtra & "BoxArt\" & TagSplit(5) & "\" & TagSplit(0) & ".png"
Expand Down Expand Up @@ -589,7 +589,7 @@ Public Class MetroMed
If AniTag = "" Then Exit Sub
SplitTag()
ReadXml()
MetroLabel3.Text = cleanpsx(RemoveAmpersand(TagSplit(0))) & " " & TagSplit(2) 'MetroToolTip1.GetToolTip(b).Trim
MetroLabel3.Text = cleanpsx(RemoveAmpersand(TagSplit(0))) & " " & Replace(TagSplit(2).Trim, "?", "") 'MetroToolTip1.GetToolTip(b).Trim

Dim title, snap As Bitmap
If File.Exists(MedExtra & "Snaps\" & TagSplit(5) & "\CRC_Titles\" & Trim(TagSplit(8)) & ".png") Then
Expand All @@ -604,6 +604,7 @@ Public Class MetroMed
Status.Add(".mp4", 1)
Status.Add(".avi", 2)
Status.Add(".webm", 3)
Status.Add(".ogv", 4)

If Directory.Exists(Path.Combine(MedExtra & "Media\Movie\", TagSplit(5))) = False Then
Directory.CreateDirectory(Path.Combine(MedExtra & "Media\Movie\", TagSplit(5)))
Expand Down Expand Up @@ -1146,7 +1147,7 @@ Public Class MetroMed
Dim fdlg As OpenFileDialog = New OpenFileDialog()
Dim pathimage As String = Path.Combine(MedExtra & "Media\Movie\", TagSplit(5))
fdlg.Title = "Select an Snap Movie"
fdlg.Filter = "All supported format (*.mov,*.avi,*.mp4,*.webm)|*.mov;*.avi;*.mp4;*.webm"
fdlg.Filter = "All supported format (*.mov,*.avi,*.mp4,*.webm,*.ogv)|*.mov;*.avi;*.mp4;*.webm;*.ogv"
fdlg.FilterIndex = 1
fdlg.RestoreDirectory = True
If fdlg.ShowDialog() = DialogResult.OK Then
Expand Down
2 changes: 1 addition & 1 deletion MetroMed/Preload.vb
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Re_Try:

AniBoxArt(anyindex).Tag = AniTag & "|" & anyindex

MetroMed.MetroToolTip1.SetToolTip(AniBoxArt(anyindex), " " & cleanpsx(RemoveAmpersand(TagSplit(0))) & " " & TagSplit(2) & " " & vbCrLf &
MetroMed.MetroToolTip1.SetToolTip(AniBoxArt(anyindex), " " & cleanpsx(RemoveAmpersand(TagSplit(0))) & " " & Replace(TagSplit(2).Trim, "?", "") & " " & vbCrLf &
TagSplit(5).Trim)
AniCover = MedExtra & "BoxArt\" & TagSplit(5) & "\" & TagSplit(0) & ".png"

Expand Down

0 comments on commit 7cb3832

Please sign in to comment.