But here is my edited script: #!/bin/bash It is pretty straight forward to adapt to other outputs though. This script is run by Max2Play whenever squeezelite is started so it is kind of the only relevant script in this example. Since I am using the LineOut port, I edited the „Playback_to_Lineout.sh“ file found in this directory. M2P implements a slightly varied set of use case scripts that you will find whenever this sound card comes up and will be found in /opt/max2play/wolfson/ This sets the audio device to the default device as configured in /etc/nf which we set up to allow multiple input streams/recordings at once. Next, edit /opt/max2play/nf and change the squeezelite command to: So you will have to replace every „card 0“ with „card 1“ Note: M2P implements a different order for sound cards than Ragnar’s kernel does. Link: Ragnar’s Audio Devices sudo cp /etc/nf ~/ This was an oversight on their part so I chose instead to use Ragnar’s. First off, even though M2P knows you have a sound card in use at this point, it never changes the card number in the ALSA device structure. After reading every post from Ragnar (GOAT for this forum by the way!!!) numerous times I finally figured it out. Now we get to where I started struggling. Return to the same tab and check the „Enable I2S-MMAP (Mixerdevice for Soundcards)“ check box. Select the Wolfson Card from the drop down list and reboot when prompted. Reboot the pi once more and navigate to the „Raspberry Settings“ tab. After it is complete, install the Google Play Music plugin and the ShareTunes2 plugin for airplaying files from iOS devices. This installation will take 5-10 minutes so just be patient, Max2Play conveniently shows the installation log as it goes so you don’t have to guess at its success. Install Logitech Media Server under „Squeezebox Server“, make sure you install the 7.9 nightly release if you want to use Google Play Music. Go ahead and install Squeezelite from the „Audioplayer“ tab and if you want, grab shareport and the DLNA client (Also available as Squeezebox plugins). After you flash your SD card and let M2P install, ensure you have the Raspberry Setting Plugin enabled. The squeezeplug version runs wheezy which makes installing googleplaymusicapi unreasonable. Simple to set up, make sure you download the base „Max2Play Raspberry Pi Image“ as it runs Jessie-Lite without any extras. The reason I wanted to do this is so that I could listen to Google Play Music (Max2Play being the only real option), vinyl records from turntable (Line In), or Xbox (games/plex streaming) on their own or in any combination without having to run any commands. The end result is running LMS/squeezebox through max2play while also streaming from the S/PDIF In and Line In ports on the Wolfson card. Make sure you don’t use any of the GPIOs 19-22, as these are reversed for the sound interface for your HiFiBerry board.After spending far too much time trying to figure out how to get this configured correctly, I actually managed to get it running flawlessly. here) what hardware is needed and how to connect it. You will find a lot of tutorials in the web ( e.g. You need to use LIRC to monitor infrared commands. In most cases, the application of your choice won’t support this directly. You might check with the developers of the distribution of your choice how to configure it. Therefore, it works out-of-the-box with many applications. It basically emulates a keyboard and/or mouse. Just try it! Wireless remote control with USB dongleĪ wireless remote control with an USB dongle is an affordable alternative if the previous methods don’t work for you. While this can be tricky with DVD players and cable boxes, it usually works out-of-the-box on the Raspberry Pi without any additional configuration. The Raspberry Pi supports “Consumer Electronics Control” (CEC) that allows you to control your Raspberry Pi software with your TV remote control. If you mostly use your Pi with media center software like Kodi or Plex, you usually have a TV connected to it already. For Logitech media center based systems (piCorePlayer, Max2Play), you might check out iPeng (IOS).ĬEC – control your Pi with your TV’s remote control For MPD based systems like Moode, Volumio or Max2Play, there are lots of remote control applications available for both Android and IOS. Some systems might need software for external developers. Fr example, the Spotify application on your mobile phone is the best way to control Spotify as you can not just skip to the next song, but also select any song of your choice. Many applications today come with their own App for your smartphone to control it. Use the remote control in your application While this is possible, in many cases there are better remote control options than infrared remote control. From time to time somebody asks how to add a infrared receiver to the Pi with one of our boards.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |