如何从终端或aiml模式播放itunes音乐

2024-05-19 01:46:55 发布

您现在位置:Python中文网/ 问答频道 /正文

试图做一个非常简单的私人助理。我的项目是基于aiml的,使用pyaiml来使用python中的aiml解释器。我想给我的aiml模式命令打开iTunes,自动播放一首随机歌曲,有没有让它工作?就像iPhone的Siri一样,她在收到“播放音乐”命令后自动开始播放音乐,无需按播放按钮

我用这个来启动iTunes

open -a /Applications/iTunes.app/Contents/MacOS/itunes</system> ```

I tried this ```<system> open -a itunes 1.mp3</system>```
 it automatically starts the music from my python folder
 not from the actual itunes library

Tags: the项目from命令音乐模式私人open

热门问题