Help on a project, Python script to start playlist

Hi! I’m new to mopidy, and just started using it today. I was able to get config, a couple songs, and a playlist set up and I’m able to play them with no issue through an ios client. I am running mopidy on a headless raspberry pi, with a speaker in the headphone jack. now mopidy being python based, is it possible to create a python script that starts a playlist? how would this be done?

thanks in advance!

You can use the python mpd library to do this. I believe their documentation is pretty good.