When you activate the program, you use rtcwake
package in util-linux
package. And It turns your computer to sleep mode.
Before running the script, make sure you have the following packages installed on your Linux system:
util-linux
mpv
Put some songs in songs
folder so that one random song will be played after waking up and run run.py