Skip to content

Commit 0de3ee8

Browse files
author
yuliusw
committed
Add Fedora install
Update README.md
1 parent d83cc97 commit 0de3ee8

1 file changed

Lines changed: 38 additions & 29 deletions

File tree

README.md

Lines changed: 38 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ nix-env -iA nixos.sptlrx
4141
nix-env -iA nixpkgs.sptlrx
4242
```
4343

44+
- Fedora ([@yuliusw](https://github.com/yuliusw))
45+
46+
```sh
47+
sudo dnf copr enable yuliusw/sptlrx
48+
sudo dnf install sptlrx
49+
#some Fedora release do not support latest version of GO . if you want latest ,use
50+
# @go-sig/golang-rawhide-dwarf5 copr to build
51+
```
52+
4453
**Windows**, **MacOS** & **Other**
4554

4655
Download the binary from the [Releases](https://github.com/raitonoberu/sptlrx/releases/latest) page or [build it yourself](./building.md).
@@ -52,15 +61,15 @@ Config file will be created at the first launch. On Linux it's located in `~/.co
5261
<details>
5362
<summary>Show config contents (with descriptions)</summary>
5463

55-
```yaml
56-
### Global settings ###
57-
# Player that will be used. Possible values: spotify, mpd, mopidy, mpris, browser.
58-
# You can also provide a comma-separated list to try players in order, e.g.:
59-
# player: mopidy ,mpris
60-
# Only the players explicitly listed will be tried, in the given order.
61-
player: spotify
62-
# Whether to ignore errors instead of showing them.
63-
ignoreErrors: true
64+
```yaml
65+
### Global settings ###
66+
# Player that will be used. Possible values: spotify, mpd, mopidy, mpris, browser.
67+
# You can also provide a comma-separated list to try players in order, e.g.:
68+
# player: mopidy ,mpris
69+
# Only the players explicitly listed will be tried, in the given order.
70+
player: spotify
71+
# Whether to ignore errors instead of showing them.
72+
ignoreErrors: true
6473
# Interval of the internal timer. Determines how often the terminal will be updated.
6574
timerInterval: 200
6675
# Interval for checking the position. Doesn't really affect the precision.
@@ -137,9 +146,9 @@ browser:
137146
local:
138147
# Folder for scanning .lrc files. Example: "~/Music".
139148
folder: ""
140-
```
141-
142-
</details>
149+
```
150+
151+
</details>
143152
144153
### Spotify
145154
@@ -182,7 +191,7 @@ mopidy:
182191

183192
Mopidy server will be used as a player.
184193

185-
### MPRIS
194+
### MPRIS
186195

187196
```yaml
188197
# config.yaml
@@ -191,22 +200,22 @@ mpris:
191200
players: []
192201
```
193202

194-
Linux only. System player that supports MPRIS protocol will be used. You can also specify a whitelist of players to use, example: `players: [rhythmbox, spotifyd, ncspot]`. Run `playerctl -l` to get the names.
195-
196-
### Multiple Players (fallback by order)
197-
198-
```yaml
199-
# config.yaml
200-
player: mopidy ,mpris
201-
mopidy:
202-
address: 127.0.0.1:6680
203-
mpris:
204-
players: []
205-
```
206-
207-
The application will initialize players in the order specified by `player` and use the first one that initializes successfully. Players not listed will not be tried.
208-
209-
### Browser
203+
Linux only. System player that supports MPRIS protocol will be used. You can also specify a whitelist of players to use, example: `players: [rhythmbox, spotifyd, ncspot]`. Run `playerctl -l` to get the names.
204+
205+
### Multiple Players (fallback by order)
206+
207+
```yaml
208+
# config.yaml
209+
player: mopidy ,mpris
210+
mopidy:
211+
address: 127.0.0.1:6680
212+
mpris:
213+
players: []
214+
```
215+
216+
The application will initialize players in the order specified by `player` and use the first one that initializes successfully. Players not listed will not be tried.
217+
218+
### Browser
210219

211220
```yaml
212221
# config.yaml

0 commit comments

Comments
 (0)