@mrsco I fixed it :)
I added "--aspect-mode fill" to the omxplayer lines and that seems to fix it.
What it looks like now:
if sub: os.system( "omxplayer --aspect-mode fill -b --layer 10010 -o both '" + url + "' " + resolution + " --vol " + str(volume) + " --subtitles subtitle.srt < /tmp/cmd" ) elif url is None: pass else: os.system( "omxplayer --aspect-mode fill -b --layer 10010 -o both '" + url + "' " + resolution + " --vol " + str(volume) + " < /tmp/cmd" )Thanks for the help