Setting up SeedeClip4 on your Raspberry Pi Wifi Hotspot

Pi_tablet.jpg

The idea here is that as soon as the Pi is powered up SeeDeClip4 starts up too so you just switch on and use it.
In this case we will run it under the default user 'pi' for simplicity and to match the automounter setup.

Then download SeeDeClip4 from the SeeDeclip4 download page, you'll need the ARM32 one.
These steps also include installing essential converters like flac, lame etc for Seedeclip4 to use.

sudo apt-get install flac mpg123 vorbis-tools libav-tools lame ffmpeg
tar -xf LINUX32_SeeDeClipV4.5.8.tgz
sync

Then you need to enter seedeclip into rc.local so it starts up on boot.
sudo vi /etc/rc.local

and add the seedeclip4 section to it as detailed in this copy of rc.local below:

/etc/rc.local (877 bytes)
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi

# Run USB Automounting - get this in first!!
printf "Starting udisks-glue as user 'pi'"
sudo -u pi /usr/bin/udisks-glue
sleep 1

# Hotspot setup starts now
printf "Starting Wifi Hotspot"
/bin/bash /usr/local/bin/wifistart &

# Run seedeclip4 - use wildcard in case we reinstall it later with a newer version..
printf "Starting SeeDeClip4 as user 'pi' (after 10s to allow disks to mount)"
(sleep 10 && sudo -u pi /home/pi/ARM32_SeeDeClipV4.*/seedeclip4 ) &

exit 0

Note:

Note that it will not serve music until the first upgrade (which installs the latest version from the internet).


Operation

The operations above allows you to switch on the Pi and it will now appear as a hotspot for SeeDeClip4 music.
You will need to attach to it with the Wifi and then in your browser you need to access the browser on the fixed IP address that we setup above, which is:
(Note these link will only work when you are logged on to the Pi hotspott Wifi)

http://192.168.1.1:8000

or if you did the hotspot above:

http://seedeclip4

Because the hostname you set is known if you are logged into the Pi hotspot!



which will bring up the installer page for the latest SeeDeClip4 update. You will need your wired ethernet to be plugged into the internet for this to be downloaded and setup.

Copyright © 2007-2023, CuteStudio
Page generated in 0.062s, Powered by Silk V1.3-0 from Cutestudio