The Volumio 2.0 web-based audio player

Strengthened

Volumio plays sound through the headphone socket of the Raspberry Pi by default. The socket can be connected to the stereo system line-in with an RCA cable. Alternatively, you can send audio to the HDMI output from the Playback menu. Volumio also supports many digital-to-analog converter (DAC) HATs, or Raspberry Pi GPIO extensions. They provide far better audio quality and more audio outputs (e.g., Toslink) than the Raspberry Pi with standard tools. Audiophile fans might even want to upgrade the Rasp Pi with a tube amplifier [4].

If you are working with a Rasp Pi 3 or have connected a compatible USB WiFi dongle to an older Rasp Pi, Volumio automatically sets up a hotspot. The SSID is Volumio and the access password is volumio2 (Figure 2). You can give friends and acquaintances at a party access to your music collection from their cellphones, without having to reveal your home network (Figure 3). The hotspot settings can be changed under Network | Hotspot Settings, if necessary. You can also completely disable WiFi access.

Figure 2: Guests can log in to the Volumio machine from their cellphones and be DJs at your party.
Figure 3: The web interface shrinks to suit smartphones, allowing easy control of Volumio from a cellphone.

Display

The creators of Volumio primarily have users in mind who want to connect the Rasp Pi to their stereo and hide it behind a hi-fi system. The system can then be controlled from a smartphone or from the web browser on a PC. In combination with the official Raspberry Pi Display and a suitable housing, the stereo system can be made "smart" very easily and controlled conveniently on the 7-inch touchscreen.

In the basic setting, a monitor connected to the Volumio Rasp Pi does not display anything apart from the launch messages at boot time and the login prompt. The system does not even provide a graphical desktop environment. However, additional functions (e.g., screen output) can be installed easily through the Plugins entry in the sidebar.

The currently available plugins can be displayed in various categories in the Search Plugins tab. The Touch Display Plugin is found under Miscelleanea [sic], and you can install the module on the system by pressing Install. Behind the scenes, Volumio installs the X server and Chromium browser from the Raspbian system's package manager – the process takes several minutes (Figure 4). Make sure you disconnect any keyboards from the system before installing; otherwise, the installation routine will hang.

Figure 4: Plugin management lets you supplement Volumio with additional features, like support for the Raspberry Pi Display.

Finally, you still need to activate the plugin. To do so, switch to the Installed Plugins tab and slide the Touch Display controller to On. Directly after doing so, the software launches the graphical environment with the Volumio web page, which keeps screen distractions from interfering with your listening pleasure and prevents the Rasp Pi from being used or misused for other purposes (Figure 5). The plugin configures the system so that the graphical environment loads automatically, even when restarted.

Figure 5: The Touch Display plugin is optimized for the official Raspberry Pi Display but also works with other monitors.

Spotify

Installing the Spotify plugin from the plugin manager is just like installing the touchscreen function. By outsourcing the Spotify function to an extension, the developers can respond quickly to changes in the service and only need to update the plugin. After installation, activate the extension in the Installed Plugins tab. The Settings button then appears, from which you can enter your Spotify access data – not your "normal" Spotify data, but a special device password that you will find on the Spotify web page: Log in there and then open your Account overview. Lower down on the page, you will find the Set device password option. The subsequent dialog shows your device username. After pressing the button, Spotify emails you an individual password (Figure 6). You need to enter this data in the Spotify plugin on Volumio.

Figure 6: You need a device password from the settings of your Spotify account to integrate Spotify with Volumio.

After opening your music library from the Browse tab on the main screen, you can access your music collection in the Spotify entry. Volumio installs your own playlists as well as those offered by the service, shows new releases, and filters by genre and mood. When browsing, Volumio separately lists hits from the catalog of the music service under Spotify Artists (Figure 7). The integration of other music services, such as Amazon Prime or Google Play Music, has been considered, but so far Volumio does not support alternative providers.

Figure 7: Volumio seamlessly integrates Spotify into the system. However, this only works in the web interface.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Spotify Comes to Linux

    Streaming music service comes to penguin users. Sorta.

  • Waxing Lyrical

    Whether you listen to music on Spotify or a classic audio player like Rhythmbox, Lollypop, or Audacious, a tool named Lyrics-in-terminal will let you read the lyrics for the track you are currently playing.

  • Perl: Spotify

    For a monthly fee, the Spotify streaming service beams music onto your desktop or phone. To intensify the groove, Perlmeister Mike Schilli archived his Spotify playlists for eternity using an OAuth-protected web API.

  • File Inspector

    Spotify, the Internet music service, collects data about its users and their taste in music. Mike Schilli requested a copy of his files to investigate them with Go.

  • FOSSPicks

    There's a collective groan in Graham's household whenever he gets a new device and finds a terminal prompt. The latest victim to his nmap skills is an LG OLED television!

comments powered by Disqus
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.

Learn More

News