Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


[HOW-TO] Spotify Connect Web for Moode
(05-03-2018, 03:05 AM)JonPike Wrote:
(04-29-2018, 10:26 AM)grasshopper Wrote: My first post here.  Good morning Big Grin 
Anyway, just to say I followed the instructions on Git to install this in V4.1 & it worked flawlessly.  Thank you to all involved.
Using an IQaudIO DAC Pro I just changed the reference from hw:1 to hw:0 in asound.conf.
I have a 2nd MoOde audio player, one in a bedroom for headphone use only & I will want it to have a different spotify-connect name, looking at the instructions it will just be a case of amending "spotify-connect.sh" accordingly:

Code:
spotify-connect.sh
Code:
#!/bin/sh

cd /
cd home/pi/spotify/spotify-connect-web
LD_LIBRARY_PATH=/home/pi/spotify/spotify-connect-web python main.py --playback_device softvol -m Master --mixer_device_index 0 --bitrate 320 --name "ENTERNAMEHERE" --key /home/pi/spotify/spotify-connect-web/spotify_appkey.key
cd /

Hmmm...  with the simple Raspotify method,  I haven't had to do any naming changes.  Without any editing, it ends up looking like this:
raspotify (name) ,  with the name being the moode player device (network?) name.   I have a couple different players with different names,  and it seems handy enough.
Did you have to do the above for it to work at all,  or does doing that give you a better name?

I will be looking into Ravi's method here soon.  For the gapless play goodness alone,  it sounds like a better solution.  But,  I imagine a simpler method is still pretty attractive to the masses who have never typed on a Linux command line before.

Other changes I make are the selecting of the BITRATE=320 audio quality shown earlier,  and setting the starting volume level to something lower than 100%:
Code:
# By default, the volume normalization is enabled, add alternative volume
# arguments here if you'd like, but these should be fine.
#VOLUME_ARGS="--enable-volume-normalisation --linear-volume --initial-volume=100"

Maybe I could write this all up in a procedure for Raspotify,  for those who want simple solutions.

Hi Jon or anyone else that can kindly help.

If I want to disable volume normalisation, how do I do this?

Do I need to use the line:

VOLUME_ARGS="--disable-volume-normalisation --linear-volume --initial-volume=100"

This doesn't seem to work for me.

Appreciate your advice
Reply


Messages In This Thread
RE: Spotify Connect for Moode - by Tim Curtis - 04-06-2018, 07:34 PM
RE: Spotify Connect for Moode - by RafaPolit - 04-07-2018, 05:30 AM
RE: Spotify Connect for Moode - by deafnut - 04-07-2018, 08:01 PM
RE: Spotify Connect for Moode - by RafaPolit - 04-08-2018, 05:28 AM
RE: Spotify Connect for Moode - by gabmartini - 04-09-2018, 02:08 AM
RE: Spotify Connect for Moode - by pinkdot - 04-09-2018, 04:58 PM
RE: Spotify Connect for Moode - by airdronian - 04-17-2018, 09:01 PM
RE: Spotify Connect for Moode - by Tim Curtis - 04-09-2018, 02:18 AM
RE: Spotify Connect for Moode - by franz159 - 04-11-2018, 04:43 AM
RE: Spotify Connect for Moode - by JonPike - 05-03-2018, 01:59 AM
RE: Spotify Connect for Moode - by RafaPolit - 04-11-2018, 05:43 AM
RE: Spotify Connect for Moode - by jonners - 04-11-2018, 07:39 AM
RE: Spotify Connect for Moode - by gabmartini - 04-13-2018, 11:33 PM
RE: Spotify Connect for Moode - by pinkdot - 04-14-2018, 08:10 AM
RE: Spotify Connect for Moode - by Tim Curtis - 04-14-2018, 12:14 PM
RE: Spotify Connect for Moode - by RafaPolit - 04-17-2018, 10:10 PM
RE: Spotify Connect for Moode - by airdronian - 04-17-2018, 11:31 PM
RE: Spotify Connect for Moode - by gabmartini - 04-17-2018, 11:50 PM
RE: Spotify Connect for Moode - by airdronian - 04-18-2018, 12:13 AM
RE: Spotify Connect for Moode - by airdronian - 04-19-2018, 05:34 PM
RE: Spotify Connect for Moode - by Onionhead - 04-23-2018, 01:40 AM
RE: Spotify Connect for Moode - by pinkdot - 04-23-2018, 05:50 AM
RE: Spotify Connect for Moode - by RafaPolit - 04-23-2018, 06:18 PM
RE: Spotify Connect for Moode - by Onionhead - 04-23-2018, 06:35 PM
RE: Spotify Connect for Moode - by gabmartini - 04-27-2018, 11:31 PM
RE: Spotify Connect for Moode - by pinkdot - 04-28-2018, 07:48 AM
RE: Spotify Connect for Moode - by grasshopper - 04-29-2018, 10:26 AM
RE: Spotify Connect for Moode - by JonPike - 05-03-2018, 03:05 AM
RE: Spotify Connect for Moode - by grasshopper - 05-03-2018, 07:08 PM
RE: Spotify Connect for Moode - by JonPike - 05-16-2018, 01:33 AM
RE: Spotify Connect for Moode - by grasshopper - 05-17-2018, 07:00 PM
RE: Spotify Connect for Moode - by Me2018 - 01-22-2019, 02:40 PM
RE: Spotify Connect for Moode - by npetra - 08-28-2019, 05:18 PM
RE: Spotify Connect for Moode - by grasshopper - 01-17-2019, 12:00 PM
RE: Spotify Connect for Moode - by grasshopper - 04-29-2018, 10:38 AM
RE: Spotify Connect for Moode - by RafaPolit - 04-29-2018, 10:53 AM
RE: Spotify Connect for Moode - by aBrianH - 04-30-2018, 10:11 AM
RE: Spotify Connect for Moode - by RafaPolit - 05-01-2018, 03:59 AM
RE: Spotify Connect for Moode - by gabmartini - 05-02-2018, 03:43 AM
RE: Spotify Connect for Moode - by grasshopper - 05-02-2018, 06:11 PM
RE: Spotify Connect for Moode - by RafaPolit - 05-12-2018, 12:53 AM
RE: Spotify Connect for Moode - by Tim Curtis - 05-12-2018, 12:52 PM
Error when Spotify Connect Web - by IT-Andy52 - 09-06-2019, 08:54 AM
RE: Error when Spotify Connect Web - by RafaPolit - 09-25-2019, 07:39 PM

Forum Jump: