Compare commits

2 Commits
0.6.7 ... 0.6.8

Author SHA1 Message Date
95406be062 release: version 0.6.8 🚀
Some checks failed
Build Docker image / Create Release (push) Successful in 22s
CI / linter (9.0.X, ubuntu-latest) (push) Failing after 1m17s
CI / tests_linux (9.0.X, ubuntu-latest) (push) Has been skipped
Build Docker image / deploy (push) Successful in 1m59s
SonarQube Scan / SonarQube Trigger (push) Failing after 4m54s
2025-07-20 17:32:20 +02:00
918ed2e667 fix: improved Spotify auth check flow, refs NOISSUE 2025-07-20 17:32:18 +02:00
3 changed files with 26 additions and 13 deletions

View File

@@ -5,11 +5,22 @@ Changelog
(unreleased)
------------
Fix
~~~
- Improved Spotify auth check flow, refs NOISSUE. [Simon Diesenreiter]
0.6.7 (2025-07-20)
------------------
Fix
~~~
- Attempted bugfix for crashing process on invalid spotify access token,
refs NOISSUE. [Simon Diesenreiter]
Other
~~~~~
0.6.6 (2025-07-20)
------------------

View File

@@ -87,8 +87,9 @@ likePlaylistCheckTimer.OnOccurence += async (s, ea) =>
if (!await spotifyApiClient.IsUserAuthenticatedAsync(user))
{
logger.LogWarning($"User {user.LdapUserName} is not authorized with Spotify - skipping playlist sync");
continue;
}
else
{
var foundPlaylist = dci.SmartPlaylistDefinitions?.Where(p => p.CreatedBy == user).ToList().Where(p => p.IsThisUsersLikedSongsPlaylist).SingleOrDefault();
if (foundPlaylist == null)
{
@@ -103,6 +104,7 @@ likePlaylistCheckTimer.OnOccurence += async (s, ea) =>
logger.LogWarning($"Syncing playlists for user {user.LdapUserName}");
await playlistSynchronizer.SynchronizeUserPlaylistsAsync(user);
}
}
if (needsSaving)
{

View File

@@ -1 +1 @@
0.6.7
0.6.8