mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
0.1.7
This commit is contained in:
parent
81a9e874ff
commit
3a3fe2077d
@ -2,7 +2,7 @@ stages:
|
|||||||
- build
|
- build
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
VERSION: 0.1.6
|
VERSION: 0.1.7
|
||||||
|
|
||||||
build-go:
|
build-go:
|
||||||
image: golang:1.17
|
image: golang:1.17
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
# 0.1.7
|
||||||
|
- Fix navidrome logging 2x scrobbles if second player is paused
|
||||||
|
|
||||||
# 0.1.6
|
# 0.1.6
|
||||||
- Allow UUID of 0 in artists/{uuid}/top to return site-wide stats
|
- Allow UUID of 0 in artists/{uuid}/top to return site-wide stats
|
||||||
- Set images as failed if cannot find in spotify to prevent oversearching
|
- Set images as failed if cannot find in spotify to prevent oversearching
|
||||||
|
@ -139,7 +139,7 @@ func validateNavidromeConnection(url string, username string, hash string, salt
|
|||||||
// ParseNavidromeInput - Transform API data
|
// ParseNavidromeInput - Transform API data
|
||||||
func ParseNavidromeInput(userUUID string, data NavidromeNowPlaying, ip net.IP, tx *sql.Tx) error {
|
func ParseNavidromeInput(userUUID string, data NavidromeNowPlaying, ip net.IP, tx *sql.Tx) error {
|
||||||
// Custom cache key - never log the same song twice in a row for now... (:
|
// Custom cache key - never log the same song twice in a row for now... (:
|
||||||
lastPlayedTitle := getUserLastPlayed(userUUID)
|
lastPlayedTitle := getUserLastPlayed(userUUID + fmt.Sprintf("%s", data.PlayerName))
|
||||||
if lastPlayedTitle == data.Title+":"+data.Album {
|
if lastPlayedTitle == data.Title+":"+data.Album {
|
||||||
// If it matches last played song, skip it
|
// If it matches last played song, skip it
|
||||||
return nil
|
return nil
|
||||||
|
@ -825,7 +825,7 @@ func getServerInfo(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
info := ServerInfo{
|
info := ServerInfo{
|
||||||
Version: "0.1.6",
|
Version: "0.1.7",
|
||||||
RegistrationEnabled: registrationEnabled,
|
RegistrationEnabled: registrationEnabled,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user