自动创建iTunes智能播放列表

时间:2018-08-28 16:44:03

标签: python-3.x automation itunes automator smart-playlist

我喜欢将音乐分类为多个类别,有时分类太多。无论如何,我的类别都以以下格式编码:LD,其中L =字母字符,D是可变数字位数。类别将放置在歌曲详细信息的注释部分中。当我要创建自己的智能播放列表时,必须手动创建所有播放列表会非常麻烦。当然,我可以复制一个现有的播放列表,但这仍然很耗时。我希望能够创建一个应用程序,该应用程序将执行一些操作,例如将基本IE“ A1 B2 C [variable]”和一个较大的数字,例如,如果我要创建包含注释“ A1 B2 C {1 -100}与创建模板,复制模板和编辑模板相比,我将能够自动执行此操作。

  • 对于每个智能播放列表,名称应为该播放列表包含的注释。即“ A1 B1 C1”
  • 此外,还应该指定所有其他条件。 I.E Genere = trapIsWack

  • 每个播放列表的规则应足够具体,以包含“ A1”而不是“ A11”。

  • 示例智能播放列表规则为:

Match music for all of the following rules Genre contains "Hip Hop" Any of the following are true Comments contains "A1 " #space added to avoid "A11"-"A1000000000000" Comments end with "A1" Any of the following are true Comments contains "B1 " #space added to avoid "B11"-"B1000000000000" Comments end with "B1" Any of the following are true Comments contains "C1 " #space added to avoid "C11"-"C10000000000" Comments end with "C1"

我如何实现我的目标?首选Python和Automator建议,Perl也可以接受。

0 个答案:

没有答案
相关问题