Modified the frontend to use states so that the video player gets updated correctly when the next song in the queue plays. Also, moved the end song check from the handleCommand function to the updateModel function for the viewingArea, because of the way the frontend communicates with the backend.
Modified the frontend to use states so that the video player gets updated correctly when the next song in the queue plays. Also, moved the end song check from the handleCommand function to the updateModel function for the viewingArea, because of the way the frontend communicates with the backend.