This thread is for people who are looking for a way to capture the audio stream that Windows sends to the sound card, and direct it to LMS.
This functionality used to be provided by the WaveInput plugin, and WaveInput may still work for older PCs and versions of Windows (< Win8). But WaveInput relies on an audio software device, "Stereo Mix" that is no longer included in Windows distributions. The WaveInput code is also a bit of an orphan now -- the person who originally coded it up no longer maintains it, and the long-suffering maintainer (@bpa) is not planning to update the code to deal with the OS changes. You can find more details on the WaveInput thread.
As luck would have it, SWYH is a simple third party option that solves this problem.
An example of when you might need SWYH or WaveInput would be when you want to redirect the output of an internet streaming service to LMS, so that it can distribute the stream to the player(s) you choose. Note that if there is a dedicated working plugin for the streaming service you're interested in (e.g., Spotify, Soundcloud) then you're probably better off using that. Chances are the dedicated plugin will provide better sound quality and control via the LMS interface. WaveInput, and SWYH, should be considered a last resort. But as streaming services multiply and evolve, sometimes there may not be a dedicated working LMS plugin, and the SWYH option is good all purpose solution to this.
The instructions below work for me, running Windows 10 on a Lenovo Thinkpad Yoga. I'm more of an end user than a programmer, so if you have trouble getting this to work, I'll be happy to try to troubleshoot, but I can't make any promises. And H/T to @bpa and @kidstypike who helped me get this working on my system.
Instructions:
1. Download the current version of SWYH from their website: http://www.streamwhatyouhear.com/download/
(consider donating to support the software, they provide a link on their home page).
2. Install the package on your laptop or PC
I used the default options for the most part. But I did have it create a shortcut on the desktop. Since this is a package that runs in the background, it's a bit easier to launch and troubleshoot with that shortcut.
The last install screen asks if you want to launch the program -- yes is checked by default, so as long as you don't change that, the program will start up when you finish the install.
3. Find and open the SWYH program interface
To interact with SWYH when it's running, you need to find it in your "system tray". Depending on how many programs you have running in the background it will either be visible in the default tray, or you'll need to click the carat to display the rest of the icons to find it. In addition, on my system, the dark color of the SWYH icon makes it almost impossible to see:
Note that if you right-click the SWYH icon, one of the options is labeled "Stream to". I can see all of my players when I choose this, but you can't just pick your player and have the stream sent to it. You need to set up the connection in LMS.
4. Right click the SWYH icon and pick the settings option.
Set the HTTP port to a high number so it doesn't interfere with other defaults (I used 50011).
5. Right click the SWYH icon and pick "Tools -> HTTP Live Streaming"
You're going to copy this http address into a new "Favorite" in LMS
5. Open the LMS web interface, and navigate to edit your "Favorites". Create a new favorite (I call mine SWYH) and copy over the url from the SWYH stream.
After you save this, you're ready to go. Fire up an audio stream in your browser, navigate to LMS, select the SWYH favorite, and press play!
A couple of other things to note:
1. There is a lag in the stream you'll hear on your squeezebox player, so it's a good idea to turn off your PC/laptop speakers (this won't affect the SB player -- you control the volume for that from your LMS UI).
2. You can control the selection/distribution/volume of this stream with other LMS controllers like Ipeng.
This functionality used to be provided by the WaveInput plugin, and WaveInput may still work for older PCs and versions of Windows (< Win8). But WaveInput relies on an audio software device, "Stereo Mix" that is no longer included in Windows distributions. The WaveInput code is also a bit of an orphan now -- the person who originally coded it up no longer maintains it, and the long-suffering maintainer (@bpa) is not planning to update the code to deal with the OS changes. You can find more details on the WaveInput thread.
As luck would have it, SWYH is a simple third party option that solves this problem.
An example of when you might need SWYH or WaveInput would be when you want to redirect the output of an internet streaming service to LMS, so that it can distribute the stream to the player(s) you choose. Note that if there is a dedicated working plugin for the streaming service you're interested in (e.g., Spotify, Soundcloud) then you're probably better off using that. Chances are the dedicated plugin will provide better sound quality and control via the LMS interface. WaveInput, and SWYH, should be considered a last resort. But as streaming services multiply and evolve, sometimes there may not be a dedicated working LMS plugin, and the SWYH option is good all purpose solution to this.
The instructions below work for me, running Windows 10 on a Lenovo Thinkpad Yoga. I'm more of an end user than a programmer, so if you have trouble getting this to work, I'll be happy to try to troubleshoot, but I can't make any promises. And H/T to @bpa and @kidstypike who helped me get this working on my system.
Instructions:
1. Download the current version of SWYH from their website: http://www.streamwhatyouhear.com/download/
(consider donating to support the software, they provide a link on their home page).
2. Install the package on your laptop or PC
I used the default options for the most part. But I did have it create a shortcut on the desktop. Since this is a package that runs in the background, it's a bit easier to launch and troubleshoot with that shortcut.
The last install screen asks if you want to launch the program -- yes is checked by default, so as long as you don't change that, the program will start up when you finish the install.
3. Find and open the SWYH program interface
To interact with SWYH when it's running, you need to find it in your "system tray". Depending on how many programs you have running in the background it will either be visible in the default tray, or you'll need to click the carat to display the rest of the icons to find it. In addition, on my system, the dark color of the SWYH icon makes it almost impossible to see:
Note that if you right-click the SWYH icon, one of the options is labeled "Stream to". I can see all of my players when I choose this, but you can't just pick your player and have the stream sent to it. You need to set up the connection in LMS.
4. Right click the SWYH icon and pick the settings option.
Set the HTTP port to a high number so it doesn't interfere with other defaults (I used 50011).
5. Right click the SWYH icon and pick "Tools -> HTTP Live Streaming"
You're going to copy this http address into a new "Favorite" in LMS
5. Open the LMS web interface, and navigate to edit your "Favorites". Create a new favorite (I call mine SWYH) and copy over the url from the SWYH stream.
After you save this, you're ready to go. Fire up an audio stream in your browser, navigate to LMS, select the SWYH favorite, and press play!
A couple of other things to note:
1. There is a lag in the stream you'll hear on your squeezebox player, so it's a good idea to turn off your PC/laptop speakers (this won't affect the SB player -- you control the volume for that from your LMS UI).
2. You can control the selection/distribution/volume of this stream with other LMS controllers like Ipeng.
Comment