I'm trying to access the MPMusicPlayerController using the objc_util and I get the error in the title- ValueError, no objective-c class MPMusicPlayerController found.
I did see a related post but the answer didn't help- dealing with loading the framework.
import webbrowser
from objc_util import *
def main():
webbrowser.open('music://')
mp = ObjCClass('MPMusicPlayerController')
player = mp.systemMusicPlayer()
player.play()
if __name__ == '__main__':
main()