Lazarus plays the most recent HOT songs from any of music's subreddits:
r/ListenToThisr/music
youtube-dl(download instructions)- any terminal-based mp3 player like
afplayer: on OS X (installed by default)cvlc: on Linux (:warning:note: While using cvlc specify the command ascvlc --play-and-exitto avoid stalling Lazarus.)mplayer
- Create an
inisettings file as shown in the settings section of this readme - Put it in
/etc/lazarus.ini. Optionally, you can pass the location of the ini file to Lazarus at run time - Download Lazarus:
go get github.com/avadhut/lazarus - Run it as:
- If the ini file is in the default location (
/etc/lazarus.ini), then simply issuelazarus - Else, issue
lazarus --config /some/other/location/lazarus.ini
Lazarus works off of an ini file. This supports the following configs:
| Setting | Description | Example |
|---|---|---|
tmp_location |
The location where Lazarus can download temporary mp3s. Ideally, this location should be absolute as Lazarus does not deal well with relative paths currently. Also, the trailing slash is necessary. | tmp_location = /tmp/lazarus/ |
player_cmd |
The command-line music player to use for playback. This needs to be installed on your system and accessible by the current user. Try to use one which supports a wide range of formats suchas m4a, mp3, opus, etc. Also, specify the required arguments, if any, along with the command. |
player_cmd = cvlc --play-and-exit |
| Shortcut | Purpose |
|---|---|
| q | Quit Lazarus |
| s | Skip song |
| b | Bookmark song |

