A simple terminal UI player for di.fm
Find a file
2020-11-18 10:19:18 -07:00
.github/workflows Configure goreleaser 2020-11-18 10:19:18 -07:00
app Replace oto with pulseaudio 2020-11-15 09:05:46 -08:00
components Add a status pane for temporarily displaying status messages 2020-03-25 20:27:09 -04:00
config UI Improvements 2020-03-01 17:41:04 -05:00
context Use pulse audio 2020-11-16 06:23:35 -08:00
difm Replace 'beep' with pulse to enable pulseaudio playback 2020-11-18 09:45:04 -07:00
player Replace 'beep' with pulse to enable pulseaudio playback 2020-11-18 09:45:04 -07:00
views Add ASCII album art 2020-05-09 14:18:06 -04:00
.gitignore UI Improvements 2020-03-01 17:41:04 -05:00
.goreleaser.yml Configure goreleaser 2020-11-18 10:19:18 -07:00
CHANGELOG.md Official first release 2020-04-10 00:01:31 -04:00
go.mod Replace 'beep' with pulse to enable pulseaudio playback 2020-11-18 09:45:04 -07:00
go.sum Replace 'beep' with pulse to enable pulseaudio playback 2020-11-18 09:45:04 -07:00
LICENSE Initial commit 2020-02-23 21:48:39 -05:00
main.go Fix some linting violations 2020-11-18 09:45:27 -07:00
README.md Replace 'beep' with pulse to enable pulseaudio playback 2020-11-18 09:45:04 -07:00

di-tui

A simple terminal UI player for di.fm Premium

App Screenshot

Dependencies

PulseAudio

Both linux and MacOS depend on pulseaudio to be running.

MacOS

By default, pulseaudio on MacOS runs as "root", which is not ideal. PulseAudio is best run by non-root users. By symbolically linking the pulseaudio plist file into your user's ~/Library/LaunchAgents/, it runs as your user.

brew install pulseaudio
ln -s $(brew info pulseaudio | grep "/usr/local/Cellar" | awk '{print $1}')//homebrew.mxcl.pulseaudio.plist ~/Library/LaunchAgents
brew services start pulseaudio

Install

Binary Releases

There are binary builds available in releases.

With go get

go get -u github.com/acaloiaro/di-tui

If $GOPATH/bin is not on your $PATH (modify accordingly for ZSH users ~/.zshrc)

echo "export PATH=$PATH:$GOPATH/bin" >> ~/.bashrc
source ~/.bashrc

If your $GOPATH is not set, see https://github.com/golang/go/wiki/SettingGOPATH

Authenticate

di-tui --username "you@yourdomain.com" --password "your password"

Run

di-tui