remove print from event functions

This commit is contained in:
ksyasuda@umich.edu 2023-08-02 13:18:22 -07:00
parent beeaee28dd
commit 0fd4673029

View File

@ -165,20 +165,17 @@ end
function YouTubeQueue.on_end_file(event)
if event.reason == "eof" then -- The file ended normally
YouTubeQueue.update_current_index()
print_video_name(YouTubeQueue.get_current_video())
end
end
-- Function to be called when the track-changed event is triggered
function YouTubeQueue.on_track_changed()
YouTubeQueue.update_current_index()
print_video_name(YouTubeQueue.get_current_video())
end
-- Function to be called when the playback-restart event is triggered
function YouTubeQueue.on_playback_restart()
YouTubeQueue.update_current_index()
print_video_name(YouTubeQueue.get_current_video())
end