Skip to content

Commit

Permalink
fix: volume_change logging error, remove logging in bg_playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
vicwomg committed Jan 5, 2025
1 parent 2b1c5dd commit c8a8fe1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions pikaraoke/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,6 @@ def bg_playlist():
if (k.bg_music_path == None) or (not os.path.exists(k.bg_music_path)):
return jsonify([])
playlist = create_randomized_playlist(k.bg_music_path, "/bg_music", 50)
print(playlist)

return jsonify(playlist)


Expand Down
2 changes: 1 addition & 1 deletion pikaraoke/karaoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ def pause(self):
def volume_change(self, vol_level):
self.volume = vol_level
# MSG: Message shown after the volume is changed, will be followed by the volume level
self.log_and_send(_("Volume: %s%") % (int(self.volume * 100)))
self.log_and_send(_("Volume: %s") % (int(self.volume * 100)))
return True

def vol_up(self):
Expand Down

0 comments on commit c8a8fe1

Please sign in to comment.