Skip to content
This repository has been archived by the owner on Jun 30, 2019. It is now read-only.

music player DSL? #3

Open
cosven opened this issue Jun 5, 2017 · 2 comments
Open

music player DSL? #3

cosven opened this issue Jun 5, 2017 · 2 comments

Comments

@cosven
Copy link
Owner

cosven commented Jun 5, 2017

音乐播放有什么操作

以前的磁带、复读机:快退,暂停/播放,停止,快进
MP3:复读机的所有功能,曲库管理,选择某一首播放,上一首,下一首;

> resume 
> pause
> stop
> play 晴天
> seek 2:34
@cosven cosven changed the title 关于音乐的 DSL music player DSL? Jun 5, 2017
@cosven
Copy link
Owner Author

cosven commented Jul 28, 2017

  • playlist
  • player
  • album
  • artist
> create_playlist hello_world
> list_playlist hello_world

> search 周杰伦
> show playlists

> info 周杰伦
> info 晴天

@cosven
Copy link
Owner Author

cosven commented Oct 25, 2017

仿 HTTP 版本

简易操作

  • SEARCH text: 搜索任何东西
  • PLAY provider:song:id: 播放
  • SHOW provider:artist:id: 显示某个歌手信息

复杂一点的?

SHOW provider:user:id
type: playlist,info

先研究下 MPD 是一个比较好的选择哦...

@dissipator dissipator mentioned this issue Jul 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant