- Music on console(MOC)
- Go ( to build binary file )
$ sudo apt-get install moc
$ cd go-music-aekt
$ go build -o music_aekt .
{
"UserAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36",
"SaveLocation": "/tmp",
"MocDirectory": ".moc",
"MocPlaylist": "playlist.m3u",
"Address": "0.0.0.0:8080",
"VolumeCommand": "vol",
"VolumeUp": "+",
"VolumeDown": "-"
}
VolumeCommand is dependent on your platform. ( vol
is a command in Raspberry )
Playlist file is in $HOME/.moc
1, Music on console
$ mocp -S
2, Run server
$ ./music_aekt
https://github.com/nghnam/music-aekt
- Nguyen Hoang Nam [email protected]
- Dang Tung Lam