Skip to content

Commit

Permalink
Fix slowness on loading CD disc id after library change
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodmg committed Jul 8, 2024
1 parent e8ea546 commit 747c6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/linamp/cdplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def fetchdata():
is_data_tracks[t - i_first_track] = True

musicbrainzngs.set_useragent("Small_diy_cd_player", "0.1")
disc = libdiscid.read() # id read
disc = libdiscid.read(features=libdiscid.FEATURE_READ) # id read
try:
result = musicbrainzngs.get_releases_by_discid(
disc.id, includes=["artists", "recordings"]
Expand Down

0 comments on commit 747c6c2

Please sign in to comment.