Skip to content

Commit

Permalink
Update music_caster.py
Browse files Browse the repository at this point in the history
  • Loading branch information
elibroftw committed Aug 11, 2019
1 parent a372f38 commit 2dabce3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion music_caster.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@ def play_file(file_path, position=0, autoplay=True):
while not mc.is_playing: pass
song_start = time()
song_end = song_start + song_length - position
if notifications_enabled: tray.ShowMessage('Music Caster', f"Playing: {artist.split(', ')[0]} - {title}", time=500)
if notifications_enabled and not settings['repeat']:
tray.ShowMessage('Music Caster', f"Playing: {artist.split(', ')[0]} - {title}", time=500)
if autoplay: playing_status = 'PLAYING'


Expand Down

0 comments on commit 2dabce3

Please sign in to comment.