raspotify 320 howto

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
latenz
Posts: 5
Joined: Tue Feb 06, 2018 12:49 pm

raspotify 320 howto

Post by latenz »

hello

i´m confused
what is right...

# Bitrate, one of 96 (low quality), 160 (default quality), or 320 (high quality)
#BITRATE="320"
--bitrate 320
OPTIONS="--bitrate 320"
OPTIONS="--bitrate:320"

or everything wrong...thanks for helping
User avatar
WarHawk
Posts: 610
Joined: Thu Jul 20, 2017 8:55 am

Re: raspotify 320 howto

Post by WarHawk »

https://dtcooper.github.io/raspotify/ <-howto on install raspotify and dependencies

in /etc/default/raspotify ?
# /etc/default/raspotify -- Arguments for librespot

# Device name on Spotify Connect
#DEVICE_NAME="raspotify"

# Bitrate, one of 96 (low quality), 160 (default quality), or 320 (high quality)
#BITRATE="160"

# Additional command line arguments for librespot can be set below.
# See `librespot -h` for more info.
#
# To make your device visible on Spotify Connect across the Internet add your
# username and password which can be set via "Set device password", on your
# account settings, use `--username` and `--password`.
#
# To choose a different output device (ie a USB audio dongle or HDMI audio out),
# use `--device` with something like `--device hw:0,1`. Your mileage may vary.
#
#OPTIONS="--username <USERNAME> --password <PASSWORD>"

# Uncomment to use a cache for downloaded audio files. It's best to leave this
# as-is since permissions are properly set on directory `/var/cache/raspotify'.
#CACHE_ARGS="--cache /var/cache/raspotify"
Uncomment the line that says #BITRATE="160" and change it to says BITRATE="320", then start the raspotify server

Then

Code: Select all

# service raspotify restart
latenz
Posts: 5
Joined: Tue Feb 06, 2018 12:49 pm

Re: raspotify 320 howto

Post by latenz »

with
nano /etc/default/raspotify

thanks
User avatar
WarHawk
Posts: 610
Joined: Thu Jul 20, 2017 8:55 am

Re: raspotify 320 howto

Post by WarHawk »

yes nano as root

Also, uncomment all the pertinent stuff in the config file you want the program to use (like your login or whatever)

once you have done that and saved it

Code: Select all

sudo systemctl daemon-reload
then
sudo service raspotify restart
in fact any time you make a change of anything in /etc/defaults run that command to reset systemd to where you can then type as sudo service **whatever here* start/stop/restart/status
Post Reply