Skip to content

Commit

Permalink
Removed temp code, updated resources, fixed MPC-HC playback
Browse files Browse the repository at this point in the history
  • Loading branch information
NHLGames committed Jul 8, 2018
1 parent 363993a commit 5590f57
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion NHLGames/English.resx
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@
<comment>Message</comment>
</data>
<data name="msgRunAsAdminText" xml:space="preserve">
<value>NHLGames is missing the required hosts file entry. Do you want to restart this application as an Administrator and add the required entry?</value>
<value>NHLGames has detected a host entry which is no longer needed. Do you want to restart this application as an Administrator to remove the old entry?</value>
<comment>Message</comment>
</data>
<data name="msgSettingUpdated" xml:space="preserve">
Expand Down
2 changes: 1 addition & 1 deletion NHLGames/English1.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion NHLGames/French.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion NHLGames/French.resx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
<comment>Message</comment>
</data>
<data name="msgRunAsAdminText" xml:space="preserve">
<value>NHLGames requiert une entrée au fichier Hosts qui est manquante. Voulez-vous qu'elle redémarre avec le droit d'administrateur et l'ajoute l'entrée manquante?</value>
<value>NHLGames a détecté une entrée au fichier Hosts qui n'est plus nécessaire. Voulez-vous qu'elle redémarre avec le droit d'administrateur pour supprimer l'ancienne entrée?</value>
<comment>Message</comment>
</data>
<data name="msgSuccess" xml:space="preserve">
Expand Down
2 changes: 1 addition & 1 deletion NHLGames/NHLGamesMetro.vb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Public Class NHLGamesMetro
Public Shared LabelDate As Label
Private Const SubredditLink As String = "https://www.reddit.com/r/nhl_games/"
Private Const LatestReleaseLink As String = "https://github.com/NHLGames/NHLGames/releases/latest"
Public Shared GameDate As Date = New Date(2018, 5, 30) 'DateHelper.GetPacificTime() TODO: uncomment
Public Shared GameDate As Date = DateHelper.GetPacificTime()
Private _resizeDirection As Integer = -1
Private Const ResizeBorderWidth As Integer = 8
Public Shared RmText As ResourceManager = English.ResourceManager
Expand Down
2 changes: 1 addition & 1 deletion NHLGames/Objects/GameWatchArguments.vb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Namespace Objects
End Function

Private Function ReplayArgs() As String
Dim presetHls = If(Not PlayerType.Equals(PlayerTypeEnum.Vlc),
Dim presetHls = If(PlayerType.Equals(PlayerTypeEnum.Mpv), ' This only works with mpv (for seeking)
"--player-passthrough=hls",
String.Empty)
If GameIsOnAir Then
Expand Down
2 changes: 1 addition & 1 deletion NHLGames/Utilities/Player.vb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Namespace Utilities
Thread.Sleep(100)

Console.WriteLine(English.msgStreaming, args.GameTitle, args.Stream.Network, args.PlayerType.ToString())
Console.WriteLine(English.msgStartingStreamer, args.ToString(False)) 'TODO : safe args?
Console.WriteLine(English.msgStartingStreamer, args.ToString(True))

Dim procStreaming = New Process() With {.StartInfo =
New ProcessStartInfo With {
Expand Down

0 comments on commit 5590f57

Please sign in to comment.