User Tools

Site Tools


linux:mpd-mpc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:mpd-mpc [2016/05/05 13:07] (current)
Line 1: Line 1:
 +====== 更改mpd目录时如何重新添加playlist ======
  
 +当修改music 目录,或者目录内容有变化时,需要重新添加playlist.
 +
 +====== 关掉mpd服务 ======
 +
 +  pkill mpd
 +====== 重新建立数据库 ======
 +  mpd --create-db
 +====== 清空当前playlist ======
 +  mpc clear
 +  ​
 +====== 添加playlist ======
 +  mpc listall|mpc add
 +  ​
 +  其中前两个命令都是在root权限下操作。
 +  后两个以普通用户权限操作就行了。
/var/www/dokuwiki/wiki/data/pages/linux/mpd-mpc.txt · Last modified: 2016/05/05 13:07 (external edit)