Fix JSONID type conversions for yandex-music-api-go v0.0.0-20261018072517-d0173f795d2a
The new library version uses models.JSONID (custom string type) for ID fields instead of plain string. Convert to string where IDs are passed to functions expecting string or compared with string values. Affected: client.go (GetTrackInfoWithPosition), downloader.go (track.ID usage), monitor.go (track.ID, album.ID usage), storage.go (album/track ID assignment).
This commit is contained in:
1 parent
5d32daad07
commit
4e6bef40e3
6 files changed
+23
-21
No files matched your search
@@ -3,7 +3,7 @@ module ym-dl
|
||||
go 1.27.2
|
||||
|
||||
require (
|
||||
gitea.mrixs.me/Mrixs/yandex-music-api-go v0.0.0-20261018055743-0456ca0665a6
|
||||
gitea.mrixs.me/Mrixs/yandex-music-api-go v0.0.0-20261018072517-d0173f795d2a
|
||||
github.com/bogem/id3v2 v1.2.0
|
||||
gopkg.in/yaml.v3 v3.0.1
|
||||
modernc.org/sqlite v1.60.1
|
||||
|
||||
Reference in new issue
Block a user