Go to advanced search

by Gerrelt
Tue Apr 10, 2018 6:47 pm
Forum: Beginners
Topic: Chromium Auto Refresh
Replies: 7
Views: 7565

Re: Chromium Auto Refresh

I didn't get this working either, even with the tip from MWZotti. But he did point me in the right direction for the solution, thank you MWZotti! The problem is that xdotools doesn't work under the root user without setting Xauthority. And adding it to LXDE autostart will make it run under root. I s...
by Gerrelt
Fri Feb 09, 2018 1:00 pm
Forum: General discussion
Topic: Squeezlite play on bluetooth speaker
Replies: 8
Views: 498

Re: Squeezlite play on bluetooth speaker

Also running squeezelite with following command does not work. $ /usr/bin/squeezelite-armv6hf -o bluealsa:HCI=hci0,DEV=XX:XX:XX:XX:XX:XX,PROFILE=a2dp I get no error messages but the bluetooth speaker is not playing any sound. Have you tried? : $ /usr/bin/squeezelite-armv6hf -o bluealsa or : $ sudo ...
by Gerrelt
Wed Feb 07, 2018 7:29 pm
Forum: General discussion
Topic: Squeezlite play on bluetooth speaker
Replies: 8
Views: 498

Re: Squeezlite play on bluetooth speaker

Have you tried setting the default sink with sudo?
Like this:

Code: Select all

user@raspi$ sudo pactl set-default-sink 1
Also, don't forget to set the soundcard to default in the squeezelite_settings.sh script.
by Gerrelt
Wed Apr 19, 2017 8:14 pm
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

OK, I've added it to the startup script. To use the new command, update the script: sudo wget http://www.gerrelt.nl/RaspberryPi/squeezelitehf.sh sudo mv squeezelitehf.sh /etc/init.d/squeezelite sudo chmod a+x /etc/init.d/squeezelite You might need a new version of the squeezelite_settings.sh script....
by Gerrelt
Wed Apr 19, 2017 7:07 pm
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

Hi LordM, Sorry for the late reply, but I forgot to check this thread every now and then. It is possible to clear the playlist with a command, for example: printf "PlayerName playlist clear\nexit\n" | nc 192.168.0.1 9090 Replace PlayerName with the name of your squeezelite player, and replace the IP...
by Gerrelt
Sun Feb 12, 2017 10:27 am
Forum: Troubleshooting
Topic: SSH connection refused
Replies: 12
Views: 64146

Re: SSH connection refused

+2

Thanks kanekin!

For the people using Jessie Lite and Windows for creating the SD card: You can just add a (empty text) file name "ssh" onto the root of the SD card. Then SSH will be enabled on boot.
by Gerrelt
Thu Nov 10, 2016 12:13 pm
Forum: General discussion
Topic: Python IDE
Replies: 17
Views: 53515

Re: Python IDE

The NppFTP plugin in Notepad++ uses ftp to edit the files directly on the Raspberry. So you make your changes on windows, in Notepad++, and when you press "save", the changes are done on the Raspberry through ftp. Then you can use Putty to login to the Raspberry using ssh (telnet), and run your code.
by Gerrelt
Thu Jun 16, 2016 5:38 pm
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

Hi mrMennens,

I've got zero experience with bluetooth speakers and the Raspberry.
But some more info might be useful to others. What kind of bluetooth speaker are you using, and which bluetooth module (USB?) are you using?

Greetings,
Gerrelt.
by Gerrelt
Thu Jun 02, 2016 9:02 pm
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

Hmm...strange, I think your command to start squeezelite should have worked.

Maybe try it as default soundcard, like this:

Code: Select all

sudo /usr/bin/squeezelite-armv6hf -o default:CARD=Device -s 192.168.2.4
by Gerrelt
Thu Jun 02, 2016 5:11 pm
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

Hi doppiej,

Could you run the check-script and post/message/mail the results back at me?
You can find the check-script here:
http://www.gerrelt.nl/RaspberryPi/wordp ... /#Problems

Greetings,
Gerrelt.
by Gerrelt
Sat Apr 30, 2016 4:22 pm
Forum: Graphics, sound and multimedia
Topic: Logitech Media Server / Raspbian
Replies: 112
Views: 67287

Re: Logitech Media Server / Raspbian

Hi kpuk, The allthingspi tutorial is outdated, and doesn't work anymore. For installing LMS on Raspbian Jessie, see chapter "Installing LMS (squeezebox) server" and "Setup the LMS server", in my "standalone" tutorial: http://www.gerrelt.nl/RaspberryPi/wordpress/tutorial-stand-alone-squeezebox-server...
by Gerrelt
Sat Apr 16, 2016 5:24 pm
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian Wheezy

Just a small remark on the RPI squeezelite tutorial website you made (which is great by the way). Spotify has been running on my RPI and feeding 3 RPI Squeezelite players for several months without any issues and remote controlling using Ipeng IOS app. However, you need to be mindful of (1) changin...
by Gerrelt
Thu Mar 17, 2016 6:32 pm
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

Thanks for the feedback, James!

I've now set the default value to "80:::0" in the squeezelite_settings.sh script.

Greetings,
Gerrelt.
by Gerrelt
Tue Mar 08, 2016 6:34 pm
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

I think the "-a 80" setting is false. It looks like my settings file is based on older version of the squeezelite options list. This is the latest help file for squeezelite: Squeezelite v1.8-658, Copyright 2012-2015 Adrian Smith. See -t for license terms Usage: /usr/bin/squeezelite-armv6hf [options]...
by Gerrelt
Sun Mar 06, 2016 3:14 pm
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

Hi James, I think this is your problem: The user under which the process is started is different in the two cases. Your manual startup is started with user "pi", the automatic startup is started under user "root" ( I think). The .asoundrc file is only used with user "pi". If you want to make it usab...
by Gerrelt
Fri Mar 04, 2016 9:17 pm
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

Hi James, I'm looking to set up a Pi2 music player. Does Squeezelite run on the Raspberry Pi 2? Yes, it runs on a Raspberry Pi 2. In fact one of my Pi's is a Pi 2, and I am using it as a squeezelite player. Also, does Squeezelite read the music files directly from the Pi's storage or do I need to in...
by Gerrelt
Sat Feb 20, 2016 9:43 am
Forum: Automation, sensing and robotics
Topic: Make button light up when pressed
Replies: 3
Views: 706

Re: Make button light up when pressed

Thanks! I've tested it now, and it works fine indeed. 8-)
by Gerrelt
Fri Feb 19, 2016 9:46 pm
Forum: Automation, sensing and robotics
Topic: Make button light up when pressed
Replies: 3
Views: 706

Make button light up when pressed

Hi! I want to use these buttons for a project: http://images.gerrelt.nl/RaspberryPi/5-ShowerBerry/Momentary_Button_with_built_in_LED.jpg I've written a piece of python code to react to the button being pressed, and It then executes a script (plays the next favorite of the LMS serer, for those who ar...
by Gerrelt
Mon Jan 18, 2016 8:04 pm
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

Hi Nakamura13, Try one of these three options. 1. change the "after" setting of the systemd config script. Open the script: sudo nano /etc/systemd/system/squeezelite.service And change "After=network.target" to this: After=graphical.target Then save and exit, and reload the daemons: sudo systemctl d...
by Gerrelt
Wed Jan 13, 2016 10:03 pm
Forum: Media centres
Topic: [Tutorial] Stand alone Squeezebox server and player for BBQ
Replies: 78
Views: 59770

Re: [Tutorial] Stand alone Squeezebox server and player for

Now added as a bonus: Instructions for installing a DLNA server for video streaming.
by Gerrelt
Wed Jan 13, 2016 12:26 pm
Forum: Media centres
Topic: [Tutorial] Stand alone Squeezebox server and player for BBQ
Replies: 78
Views: 59770

Re: [Tutorial] Stand alone Squeezebox server and player for

I've updated the tutorial to Raspbian Jessie Lite. The part that describes installing the LMS server is changed, it now uses 7.9.0 nightly build. And a CPAN (Perl) fix is added. Also I've described how to setup the WiFi acccess point on Jessie. See: TUTORIAL: Stand alone Squeezebox server and player...
by Gerrelt
Tue Jan 12, 2016 7:42 pm
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

Well, sleep tight! :) This is something to think about in the morning then: I find it strange that your output does not contain a "-o <soundcard>" in the startup command line. This is yours: Jan 12 01:09:45 RaspZentrale squeezelite[1388]: Starting: /usr/bin/squeezelite-armv6hf -n Framboos -m b8:27:e...
by Gerrelt
Sun Jan 10, 2016 3:29 pm
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

Try this, open the squeezelite_settings.sh file, and search for this line:

Code: Select all

#SL_MAC_ADDRESS="00:00:00:00:00:01"
And change it to:

Code: Select all

SL_MAC_ADDRESS="b8:27:eb:45:c9:75"
So, uncomment it, and set your mac-address.

Save, and reboot.

Greetings,
Gerrelt.
by Gerrelt
Sun Jan 10, 2016 9:45 am
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

Wait... there is something strange with your systemctl output. Yours shows this line: Jan 09 10:17:29 raspberrypi squeezelite[511]: Starting: /usr/bin/squeezelite-armv6hf -n Zentrale_Test This is my complete output: pi@2-Blueberry-Keuken:~ $ sudo systemctl status -l squeezelite.service ● squeezelite...
by Gerrelt
Sun Jan 10, 2016 9:00 am
Forum: Graphics, sound and multimedia
Topic: [Tutorial] Squeezelite up and running on Raspbian
Replies: 281
Views: 159536

Re: [Tutorial] Squeezelite up and running on Raspbian

There seems to be a left-over .pid file, maybe from your previous tests.

Just remove it:

Code: Select all

sudo rm /var/run/squeezelite-armv6hf.pid
And try again. I think you are on the right path with the "running damon as pi" setting.

Greetings,
Gerrelt.

Go to advanced search