Skip to content

Commit

Permalink
beta 1.5.0.2 fix #69 #33
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPNS committed Sep 22, 2022
1 parent 3ff5186 commit 19a1f5b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
3 changes: 3 additions & 0 deletions Release/Spot_Widget_1_5_0_2.zip
Git LFS file not shown
4 changes: 2 additions & 2 deletions Spotify Stream Widget/My Project/AssemblyInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("1.5.0.1")>
<Assembly: AssemblyFileVersion("1.5.0.1")>
<Assembly: AssemblyVersion("1.5.0.2")>
<Assembly: AssemblyFileVersion("1.5.0.2")>
10 changes: 3 additions & 7 deletions Spotify Stream Widget/Settings.Designer.vb

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

3 changes: 0 additions & 3 deletions Spotify Stream Widget/Settings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
5gAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="ToolTips.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>263, 17</value>
</metadata>
<data name="LocalDirBtn.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAYAAAAmlE46AAAABGdBTUEAALGPC/xhBQAAADxJREFUOE9j
Expand Down
1 change: 1 addition & 0 deletions Spotify Stream Widget/Settings.vb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Public Class Settings
'This is the Load Event.
Private Sub Settings_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Log("Application started - v" + ProductVersion)

'check for new version
VersionCheck.RunWorkerAsync()

Expand Down
4 changes: 4 additions & 0 deletions Spotify Stream Widget/Viewer.vb
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,10 @@ Public Class Viewer
'With HasError() you can check the error that got back of the spotify API.
If _playback.HasError() Then
Log(2, "Error Status: " & _playback.Error.Status & " Msg: " & _playback.Error.Message)

'handle specific error codes
If _playback.Error.Status = 401 Then _spotify_OnAccessTokenExpired("", "")

Await Task.Delay(5000)
UpdateTrack()
Return
Expand Down

0 comments on commit 19a1f5b

Please sign in to comment.