IDs: string -> int

This commit is contained in:
Simon Martens
2025-02-19 22:03:40 +01:00
parent aa7c5f4d6c
commit 107a9d9f70
21 changed files with 94 additions and 63 deletions

View File

@@ -56,11 +56,11 @@ func (s *Series) SetAnnotation(annotation string) {
s.Set(ANNOTATION_FIELD, annotation)
}
func (s *Series) MusenalmID() string {
return s.GetString(MUSENALMID_FIELD)
func (s *Series) MusenalmID() int {
return s.GetInt(MUSENALMID_FIELD)
}
func (s *Series) SetMusenalmID(id string) {
func (s *Series) SetMusenalmID(id int) {
s.Set(MUSENALMID_FIELD, id)
}