I'm quite new (first post) in this forum, but I've spent hours and hours in searching and solving my osmc-issues.
Thanks a lot all of you guys for supporting noobs like me with amazing HowTo's and descriptions of all kind!!
As I tried to find out a convenient way of playing spotify (premium) and switching back to osmc for watching movies etc. I came up with that (probably interesting for people using the HiFiBerry-DAC+
(first my setup):
- Rp2 B
- HiFi-Berry DAC+
- MSL RemotePi Board
I used this and other HowTo's to setup spotify-connect. Unfortunately i couldn't manage to install an alsa mixer (like proposed in another thread) to be able to listen to osmc and spotify simultaneously.
So after finding out that this was my command to run spotify:
./spotify-connect-web.sh --name osmc -o hw:0 --username xxx --password xxx --bitrate 320
(a few weeks ago it only worked with
and after installing the scs.service script,
I tried to make a shortcut to start and stop the spotify-service.
I made two scripts in /home/osmc :
sudo systemctl start scs
sudo systemctl stop scs
and called them via my Favourites folder in OSMC by adding them to the favourites.xml file in /home/osmc/.kodi/userdata
<favourite name="Start Spotify">System.Exec("
<favourite name="Stop Spotify">System.Exec("
Using Yatse as remote control it's even possible to start the spotify connect service via "Custom Command":
In Yatse (being connected to kodi) I added a custom command shortcut in the upper right corner
Add from Media Center -> Call built-in
Display Name "Start Spotify"
Built-in command "System.Exec("/home/osmc/startscs.sh")
same for "Stop Spotify"...
Now I can switch on and off spotify with the TV off.
I hope this may help somebody.
One issue in the and:
My spotify connect service is not able to adjust the volume of my hifiberry. Does anybody have an idea how to change that?
Thanks in advance!
with the description of @keab everything works (i don't know why i couldn't do it before )