项目作者: Phate6660

项目描述 :
mpc, but implemented in Rust.
高级语言: Rust
项目地址: git://github.com/Phate6660/rsmpc.git
创建时间: 2020-06-15T22:13:27Z
项目社区:https://github.com/Phate6660/rsmpc

开源协议:Other

下载


rsmpc

mpc, but implemented in Rust.

Note: This is not meant to be a direct implementation, there will be some differences.

For example: I moved the options of setting things like the volume to a subcommand called set

instead of having them as their own commands.

commands

  • current: Print the current song in “artist - title” format.
  • next: Play the next song.
  • playlist: Print all songs in the current queue, with the same format as current.
  • prev: Play the previous song.
  • restart: Restarts the currently playing song.
  • set: Set different MPD options. Currently supported are volume, repeat, random, single and consume.
  • shuffle: Shuffle the current queue.
  • stats: Display MPD stats.

Example output:

  1. Songs: 12625
  2. Albums: 1077
  3. Artists: 164
  4. Uptime: 5d 4h 17m
  5. DB Playtime: 37d 9h 35m

Comparison to mpc stats:

  1. Artists: 164
  2. Albums: 1077
  3. Songs: 12625
  4. Play Time: 0 days, 11:41:35
  5. Uptime: 5 days, 4:18:16
  6. DB Updated: Wed Oct 28 22:30:39 2020
  7. DB Play Time: 37 days, 9:35:22
  • status: Display MPD’s status.

Example output:

  1. After the Minor - Structure Fire
  2. [Playing] #5/32 04:28/05:06
  3. Volume: 100% Repeat: on Random: off Single: off Consume: off

Comparison to mpc status:

  1. After the Minor - Structure Fire
  2. [playing] #5/32 4:37/5:07 (90%)
  3. volume:100% repeat: on random: off single: off consume: off
  • toggle: Toggle between play/pause.