Serving up music with Sockso
Sock Box
The Sockso music server offers easy listening regardless of your system or location.
The Sockso personal music server [1] lets users distribute digital tracks over a network. Sockso comes with a server and a neat front end that gives users easy access to audio data. The Sockso server supports popular audio formats such as MP3, OGG Vorbis, and WMA.
Legal Issues
The technical ability to serve music does not give you the legal ability to infringe on copyrights. If you intend to stream music on the Internet, either obtain permission from the copyright owner, or else make sure you only use tracks that are under a free license.
Configuration
It makes sense to run the Sockso server on a separate machine and use a browser to access it. The front end is programmed in Java and will thus run on Linux, Mac, and Windows.
To run Sockso, you need the Sun Java Runtime Engine and a network connection. If you will be serving up tracks to friends on the Internet, your PC needs a fast connection.
Java is included with most Linux distributions today. If your distro doesn't have Java, launch a package manager to load the package. Users with Ubuntu must additionally set the Sun Java version as their preferred version by giving the sudo update-alternatives --config java command.
Compressed archives of Sockso are available on the web [2]. Just download and unpack the archive. To launch Sockso on Linux, run the linux.sh script. Typing chmod +x linux.sh at the console makes the script executable. You can then launch the server and the front end by typing ./linux.sh.
Getting Started
Sockso lets you configure and manage tracks through a graphical user interface known as the Collection Manager (Figure 1). The Collection Manager provides five tabs for managing your music: Music, Collection, Users, General, and Encoders. The first step is to select the music directories you want to share.
To do so, change to the Collection tab and click Add Folder to pop up the Open dialog. Then browse to the directory you want to share. Open changes to the desired folder, telling the software to read the tracks in the directory and any subdirectories below it. This process can take a couple of minutes for larger collections, even if you have fast hardware. To get started, you might prefer to select less densely populated directories and avoid loading too many tracks at the same time.
The tracks you load are shown below Tracks in the Music tab, and you can use the tracks in this list to compose playlists. To do so, hold down the left mouse button and drag the desired tracks, albums, or artists to the right-hand side of the Music tab.
After finishing your selections, press Save Playlist and assign an intuitive name to the new entry. Any playlists you save are listed under Playlists.
Web Interface
After setting up a playlist, it makes sense to test whether the program is working in your browser. To do so, click on Your address at the lower edge of the Collection Manager window, where you'll see a menu in which you can select My Computer. Sockso then launches the web front end in your browser (Figure 2). A menu bar lets you browse your collection for interesting tracks.
Browsing by album cover is a visually appealing function. The software automatically loads image files for your albums off the web and integrates the images with the search function. Unfortunately, the software tries to display large cover images despite the low resolution source material: this typically means blocky graphics.
The program sometimes fails to find album covers. The identification mechanism is not entirely reliable, even for more popular albums. In some cases, Sockso displays the same cover for different albums by the same artist.
Even without covers, you can still play or download tracks. On top of this, Sockso lets you compose and manage your own playlists via the web interface – once you have registered. After authenticating, you will find your playlists below Playlists.
Sockso provides two music players for the local machine. One player is integrated with the website, and the other with a Flash popup (Figure 3). As an alternative, you can use a standalone player assigned to the file suffix.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.
-
Plasma Desktop Will Soon Ask for Donations
The next iteration of Plasma has reached the soft feature freeze for the 6.2 version and includes a feature that could be divisive.
-
Linux Market Share Hits New High
For the first time, the Linux market share has reached a new high for desktops, and the trend looks like it will continue.
-
LibreOffice 24.8 Delivers New Features
LibreOffice is often considered the de facto standard office suite for the Linux operating system.
-
Deepin 23 Offers Wayland Support and New AI Tool
Deepin has been considered one of the most beautiful desktop operating systems for a long time and the arrival of version 23 has bolstered that reputation.
-
CachyOS Adds Support for System76's COSMIC Desktop
The August 2024 release of CachyOS includes support for the COSMIC desktop as well as some important bits for video.
-
Linux Foundation Adopts OMI to Foster Ethical LLMs
The Open Model Initiative hopes to create community LLMs that rival proprietary models but avoid restrictive licensing that limits usage.
-
Ubuntu 24.10 to Include the Latest Linux Kernel
Ubuntu users have grown accustomed to their favorite distribution shipping with a kernel that's not quite as up-to-date as other distros but that changes with 24.10.
-
Plasma Desktop 6.1.4 Release Includes Improvements and Bug Fixes
The latest release from the KDE team improves the KWin window and composite managers and plenty of fixes.