Nov-17-2021, 08:47 PM
I have since found two separate ways to solve the above problem.
First:
import pygame
from pygame import mixer
mixer.init() <-- Changed to pygame.init(). Then deleted --> screen = pygame.display.set_mode((1, 1))
Second: I had this snippet to discover the end of a song.
I changed it to:
I prefer the first solution, obviously. Thank you to all who viewed my original post.
First:
import pygame
from pygame import mixer
mixer.init() <-- Changed to pygame.init(). Then deleted --> screen = pygame.display.set_mode((1, 1))
Second: I had this snippet to discover the end of a song.
I changed it to:
I prefer the first solution, obviously. Thank you to all who viewed my original post.