Skip to content

Commit

Permalink
Update to 5.2.1 to fix a missing comma
Browse files Browse the repository at this point in the history
New disc_number field had a missing comma in the initializer.

Signed-off-by: Eric B Munson <[email protected]>
  • Loading branch information
khers committed Oct 29, 2024
1 parent 1a2cbf2 commit eaa787f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
##5.2.1

Add missing comma in song.py because dufus

##5.2.0

Remove warning on missing artist Sort Name field as this field is not required by the
Expand Down
2 changes: 1 addition & 1 deletion src/libopensonic/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@


#Semantic versioning string for the library
__version__ = '5.2.0'
__version__ = '5.2.1'
2 changes: 1 addition & 1 deletion src/libopensonic/media/song.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, info):
self._is_video = get_key(info, 'isVideo')
self._path = get_key(info, 'path')
self._track = get_key(info, 'track', 1)
self._disc_number = get_key(info, 'discNumber' 1)
self._disc_number = get_key(info, 'discNumber', 1)
self._type = get_key(info, 'type')
self._year = get_key(info, 'year')
super().__init__(info)
Expand Down

0 comments on commit eaa787f

Please sign in to comment.