PDA

View Full Version : SqueezePlay for Windows with ASIO, DirectSound, WASAPI and WDMKS device support.



ralphy
2012-09-26, 16:09
I've built a windows version of SqueezePlay (https://sourceforge.net/projects/lmsclients/files/squeezeplay/windows/) with DirectSound and MME audio device support and the ability to select the output device and set the maximum sample rate.

7.8.0.r1101 - 20180524
7.8.0.r1034 - 20171122
7.8.0.r959 - 20170418

See the commit history (https://github.com/ralph-irving/squeezeplay/commits/master) for changes.

ASIO, WASAPI and WDMKS support have been removed as they hang audio playback after the first sample rate change on win7+.

To restore ASIO, WASAPI and WDMKS support in squeezeplay after installation replace portaudio.dll in the C:\Program Files\SqueezePlay folder with the one from squeezelite-1.9.0-1112-win32.zip

The squeezelite-1.9.0-1112-win32.zip file on sourceforge (https://sourceforge.net/projects/lmsclients/files/squeezelite/windows/) includes the aac decoder dll and supports all windows audio hostapis. If started with a different mac address using the -m option, can be controlled with squeezeplay or my Jivelite for Windows build in the Jivelite->windows folder. See the readme in said folder for installation details.

Squeezelite can also be setup as a windows service see this how to thread (http://forums.slimdevices.com/showthread.php?100893-HOW-TO-Squeezelite-player-on-Windows-8-step-by-step) for details.

Tested with WinXP, and Windows 7 32/64-bit using both device driver types.

Installation? Just run SqueezePlay-setup-7.8.0r1101.exe from the above link.

If Squeezeplay won't connect to the server see this thread (http://forums.slimdevices.com/showthread.php?101388-Squeezeplay-won-t-connect-after-clean-install-of-Win-7-Pro/page3).
If Squeezeplay is unable to open your default sound device can cause the connection to server to fail as well. Try setting the USEPADEVICE environment variable to a known free audio device, see the instructions below. For systems without a sound card, install the trial version of Virtual Audio Cable (http://software.muzychenko.net/eng/vac.htm).

There are several User Environment Variables used to provide the ability to select the output device (USEPADEVICE), maximum sample rate (USEPAMAXSAMPLERATE), audio device driver (USEPAHOSTAPI), driver latency (USEPALATENCY) and mac address assignment (UTMAC).

UTMAC allows you to change the MAC address of Squeezeplay so you can use it as a controller for squeezelite running on the same system. UTMAC is only effective the 1st time you run Squeezeplay. For any further changes to the MAC address you need, stop Squeezeplay, delete the userpath settings folder and then restart and reconfigure Squeezeplay.

My userpath Squeezeplay settings on WinXP are in C:\Documents and Settings\Ralphy\Application Data\SqueezePlay\ and for Win7 C:\Users\Ralphy\AppData\Roaming\SqueezePlay\

Squeezeplay uses the highest latency value reported by the device driver. This can be changed by setting USEPALATENCY. If you set the latency too low SqueezePlay will "stutter" during playback or even stop working altogether. The default would need to be changed if playing audio streams above 96000Hz sample rate. Try starting with a value of 200 and increase until the stuttering stops.

To obtain the list of available output devices that can be used for the USEPADEVICE key you can download squeezelite-1.8.7-1007-win32.zip, extract the zip file and run squeezelite-win with the -l option. If you do not set USEPADEVICE squeezeplay uses the default windows audio device.

http://ralph_irving.users.sourceforge.net/sldevices.png (http://ralph_irving.users.sourceforge.net/sldevices.png/)

The set of square backets after the device name can be used in USEPAHOSTAPI Do not add any square backets to the hostapi.. The device name in the middle can be used to set USEPADEVICE. ie. For the Speakers Windows WDM-KS device USEPADEVICE would be 'Speakers (Realtek HD Audio output)' Do not add any quotes around the names.

If you have more than one sound card with the same description you can narrow the search to a specific audio device type by setting USEPAHOSTAPI.

If squeezeplay will not connect to LMS you most likely have the USEPADEVICE and/or USEPAHOSTAPI environment variables set incorrectly.

SqueezePlay should now determine the correct maximum sample rate for the audio device. You can override it by setting USEPAMAXSAMPLERATE.
If you set the value higher than your hardware supports SqueezePlay may crash. Any value higher than 384000 is reset to 384000.

I've tested 96000 and 192000. Setting a sample rate higher than 96000 requires LMS 7.8.0 or newer.

http://ralph_irving.users.sourceforge.net/environment.png (http://ralph_irving.users.sourceforge.net/environment.png)

SqueezePlay only checks the environment variables at startup. If you change one you must quit and restart.

Source code is available on github (https://github.com/ralph-irving/squeezeplay).

Builds are available on sourceforge (https://sourceforge.net/projects/lmsclients/files/)

SBGK
2012-09-26, 20:50
thanks, shall give it a go.

sbp
2012-09-27, 03:17
Thank you very much.

It is working fine on windows 7.

I have noticed that you recently have build many different versions of SqueezePlay, so I was wondering if you are planning to make an ARM build as well?

The reason for my asking is, that I have bought a Raspberry board, and I will try to use it as a dedicated player using SqueezePlay. I have better success with synchronizing if I use SqueezPlay as compared with SquuezeSlave, because the latter needs to transcode some of my radio streams to 44100, which is not needed if I use SqueezePlay.
This experience is on windows and Debian computers, I haven't tried on the Raspberry board yet (mainly because I have been unable to run fin a SqueezPlay that can be used on this board)

ralphy
2012-09-27, 04:38
I have noticed that you recently have build many different versions of SqueezePlay, so I was wondering if you are planning to make an ARM build as well?


No, I have no plans at the moment. Mainly because I don't do cross compiling, it's always been problematic for me and I don't own an RPI. My main reason to creating these builds was to make SqueezePlay run on my Solaris SPARC Sun Ray devices. There is a build of SqueezePlay for RPI but apparently there are still issues with the hardware SDL implementation. The Linux ALSA version does not need any of my modifications as it uses alsa-lib to query the hardware for the max sample rate and you can easily change the default ALSA device using .asoundrc or modifying the usersettings files created by squeezeplay.

bobkoure
2012-09-27, 08:11
Is this Squeezeplay or Squeezeslave?
Just wondering, as the screen cap shows squeezeslave (which I've been happily using with ASIO for quite some while now TYVM)

bwaldron
2012-09-27, 08:53
Is this Squeezeplay or Squeezeslave?
Just wondering, as the screen cap shows squeezeslave (which I've been happily using with ASIO for quite some while now TYVM)

It is SqueezePlay. The post clearly explains why the SqueezeSlave cap is there.

bobkoure
2012-09-27, 18:12
SqueezePLAY it is. Sorry for my confusion.

psketch
2012-09-29, 04:58
Hi Ralphy

Any chance of a build of Squeezeplay for RaspberryPi? I'm happily running your build of squeezeslave on the Pi - it's running great, but I'd love to give Squeezeplay a try.

Ta

pete S

sbp
2012-09-29, 12:45
Hi Ralphy
Any chance of a build of Squeezeplay for RaspberryPi? I'm happily running your build of squeezeslave on the Pi - it's running great, but I'd love to give Squeezeplay a try.


Hi psketch

If you read a few responses above (post no 4) in this tread, you will see that Ralphy already answered this question - and there is no plan at the moment for an ARM version of SqueezePlay.

psketch
2012-09-30, 04:55
Hi psketch

If you read a few responses above (post no 4) in this tread, you will see that Ralphy already answered this question - and there is no plan at the moment for an ARM version of SqueezePlay.

Doh - Sorry - don't know how I missed that - apologies for the dumb post. Shame though .....

steve-g
2012-10-04, 06:15
Many thanks for this - I've been looking for a Squeezeplay that will handle my hi-res files.

By the way it happily plays 192 flacs from LMS 7.7

ralphy
2012-10-04, 06:36
Many thanks for this - I've been looking for a Squeezeplay that will handle my hi-res files.

By the way it happily plays 192 flacs from LMS 7.7

Yes, flacs work in 7.7, pcm was fixed in 7.8.

and you're welcome ;)

gorman
2012-10-04, 15:48
Would it correctly playback FLAC multichannel files?

mhaas
2012-10-05, 02:04
I'm having problems with this. I have a WinXP PC with Squeezeplay, ASIO4ALL and M2Tech USB converter. I usually leave the PC running 24/7, but I shut down Squeezeplay since when I leave it on, it sometimes crashes and freezes Windows.
I set the variables USEPADEVICE and USEPAHOSTAPI to the values showed by Squeezeslave. After a PC reboot everything worked fine. Then, if I shut down Squeezeplay and start it, say, next day again, eveything still looks fine (Squeezeplay activates the ASIO driver etc, connects to LMS) but there is no sound. I have to reboot the PC and then all is OK again. Any ideas?
Cheers

nunovi
2012-10-12, 07:49
Hi,

I'm trying to get this version of Squeezeplay to work via WASAPI with the HRT Streamer II on Windows 7 64 bit. Squeezeslave -L yields the following:

* 2: (Windows DirectSound) Primary Sound Driver (119/239)
3: (Windows DirectSound) Speakers (2- Music Streamer II) (119/239)
4: (Windows DirectSound) Speakers (Realtek High Definition Audio) (119/239)
5: (Windows WASAPI) Speakers (2- Music Streamer II) (3/10)
6: (Windows WASAPI) Speakers (Realtek High Definition Audio) (3/10)
8: (Windows WDM-KS) Speakers (Realtek HD Audio output) (10/40)
11: (Windows WDM-KS) Speakers (Music Streamer II) (10/85)

I've set the following environment variables:

USEPADEVICE - Speakers (2- Music Streamer II)
USEPAHOSTAPI - Windows WASAPI
USEPAMAXSAMPLERATE - 96000

However, Squeezeplay simply hangs with these settings. Changing USEPAHOSTAPI to Windows Directsound works fine though, but the sample rate is fixed by the Windows device.

Any ideas?

ralphy
2012-10-21, 04:54
Hi,

I'm trying to get this version of Squeezeplay to work via WASAPI with the HRT Streamer II on Windows 7 64 bit. Squeezeslave -L yields the following:

* 2: (Windows DirectSound) Primary Sound Driver (119/239)
3: (Windows DirectSound) Speakers (2- Music Streamer II) (119/239)
4: (Windows DirectSound) Speakers (Realtek High Definition Audio) (119/239)
5: (Windows WASAPI) Speakers (2- Music Streamer II) (3/10)
6: (Windows WASAPI) Speakers (Realtek High Definition Audio) (3/10)
8: (Windows WDM-KS) Speakers (Realtek HD Audio output) (10/40)
11: (Windows WDM-KS) Speakers (Music Streamer II) (10/85)

I've set the following environment variables:

USEPADEVICE - Speakers (2- Music Streamer II)
USEPAHOSTAPI - Windows WASAPI
USEPAMAXSAMPLERATE - 96000

However, Squeezeplay simply hangs with these settings. Changing USEPAHOSTAPI to Windows Directsound works fine though, but the sample rate is fixed by the Windows device.

Any ideas?
I'd suggest trying WDM-KS instead.

USEPADEVICE - Speakers (Music Streamer II)
USEPAHOSTAPI - Windows WDM-KS
USEPAMAXSAMPLERATE - 96000

WASAPI is using shared mode which means you need to set the sample rate to match the source you're trying to play.

gorman
2012-10-21, 12:32
Would it correctly playback FLAC multichannel files?Bump on this question.

SBGK
2012-10-21, 12:59
Hi,

I'm trying to get this version of Squeezeplay to work via WASAPI with the HRT Streamer II on Windows 7 64 bit. Squeezeslave -L yields the following:

* 2: (Windows DirectSound) Primary Sound Driver (119/239)
3: (Windows DirectSound) Speakers (2- Music Streamer II) (119/239)
4: (Windows DirectSound) Speakers (Realtek High Definition Audio) (119/239)
5: (Windows WASAPI) Speakers (2- Music Streamer II) (3/10)
6: (Windows WASAPI) Speakers (Realtek High Definition Audio) (3/10)
8: (Windows WDM-KS) Speakers (Realtek HD Audio output) (10/40)
11: (Windows WDM-KS) Speakers (Music Streamer II) (10/85)

I've set the following environment variables:

USEPADEVICE - Speakers (2- Music Streamer II)
USEPAHOSTAPI - Windows WASAPI
USEPAMAXSAMPLERATE - 96000

However, Squeezeplay simply hangs with these settings. Changing USEPAHOSTAPI to Windows Directsound works fine though, but the sample rate is fixed by the Windows device.

Any ideas?

I had the same issue, got round it by not specifying a USEPAHOSTAPI ie deleting that variable and setting my wasapi device to be the default, worked ok, although had latency issues playing 192/24, 96 was ok.

ralphy
2012-10-22, 04:13
Bump on this question.

No.

gorman
2012-10-25, 01:30
No.

Would this be something "fixable" somehow?

bobb
2012-10-28, 14:05
Wonderful plugin, i can now easily add things to a playlist , not so easy to do in the LMS webui.
Since it is beta , i have a request: using a 28 inch screen i have lots of room, so it would be nice to be able to enlarge the app.
less scrolling of text that way.
cheers

bobb
2012-10-31, 10:19
i have the following problem,i select a show, then: connecting,buffering 80%,fetching track details.
i will hear a few seconds ,thats all.
It has been running fine for a few days earlier
Using latest LMS

ralphy
2012-11-09, 09:54
New version r158 available on googlecode (http://squeezeslave.googlecode.com/files/SqueezePlay-setup-7.8.0r158.exe) which automatically uses the default sound device from control panel, if both the USEPADEVICE and USEPAHOSTAPI environment variables are NOT set. See post#1 for details.

Saturn94
2012-12-22, 17:11
Hi Ralphy.

I posted this in another thread:


I have LMS and Squeezeplay loaded on my laptop (Windows Vista sp2). As I understand it, Squeezeplay turns my laptop into a player. I have no trouble using it to play music through the laptop speakers, but I cannot figure out how to get the audio to play via USB using my HiFace USB to SPDIF converter hooked to my stereo.

I checked the audio settings on the laptop's control panel and the hiFace shows up fine. As a matter of fact, with the hiFace connected all computer sounds play through the stereo instead of the laptop speakers like I expect. But for some reason when using Squeezeplay it will only play through the laptop speakers.

I cannot find any settings to tell Sqeezeplay, or LMS, to send audio to the hiFace.

The reason I would like to do this is because hi Rez music files seem to sound better through the hiFace rather than streaming wirelessly through the Touch.

For reference, my music files are on my laptop (running Vista, LMS, and Squeezeplay), and my Touch is connected to the stereo via digital coax. I control the whole thing with iPeng installed on my iPad Mini.

Any ideas?

You directed me to this thread.

I downloaded the version of Squeezeplay from the link in your first post, but the behavior I described has not changed; I cannot get it to play through USB. I thought maybe I also needed to download Squeezeslave, but when I bring it up it just shows a blank black window.

As I mentioned in the other thread, I'm not computer savvy but would like to get this to work. Can I touble you to post simple step by step instructions for this novice? :o

Thanks.

ralphy
2012-12-23, 05:13
Hi Ralphy.

I posted this in another thread:



You directed me to this thread.

I downloaded the version of Squeezeplay from the link in your first post, but the behavior I described has not changed; I cannot get it to play through USB. I thought maybe I also needed to download Squeezeslave, but when I bring it up it just shows a blank black window.

As I mentioned in the other thread, I'm not computer savvy but would like to get this to work. Can I touble you to post simple step by step instructions for this novice? :o

Thanks.
Post #1 in this thread has all the details.

Saturn94
2012-12-23, 09:55
Post #1 in this thread has all the details.

I did read post #1 several times, but I just don't have the computer knowledge to understand most of it. :(

I guess I'll just leave this for the more advanced user and stick with streaming via wifi for now.

I appreciate your attempt to help. :)

ralphy
2012-12-24, 09:35
I did read post #1 several times, but I just don't have the computer knowledge to understand most of it. :(

I guess I'll just leave this for the more advanced user and stick with streaming via wifi for now.

I appreciate your attempt to help. :)

Try setting the usb device as your default sound device, start squeezeplay and then change your default device to something else.

Saturn94
2012-12-24, 10:50
Try setting the usb device as your default sound device, start squeezeplay and then change your default device to something else.

Thanks for the tip. :)

When I go into Contol Panel to look at the sound devices, the USB device is there (with a checkmark by it) but the button to set it as the default device is greyed out. The other two devices that appear (the laptop speakers and I believe the optical output) don't have the default option greyed out. So it appears my laptop won't let me set the USB device (M2Tech hiFace) as the default audio device?

It's possible I might have another option to do what I want. I have Foobar2000 on my laptop and it works fine with my hiFace. I've read there are apps that can control Foobar2000 using my iPad Mini, so I might check out that option.

Also, perhaps I should again compare wifi streaming vs wired using the hiFace to see if there really is a difference in AQ. Is there any technical reason why there would be? If there really isn't a difference then there's not much point pursuing the "wired" option (well, at a minimum this is educational).

Thanks again. :)

Musiclover
2013-01-03, 12:39
Dear Ralphy,

I tried to bring run your nice squeezeplay version R0158 with high resolution wave formats.

The soundoutput analog is set to 24bit 192kHz; testsound is O.K.
System W7, 64bit

I installed first LogitechMediaServer-7.8.0-1353679004.exe from today
I installed your version Squeezeplay R0158.

I can play 24bit 192Khz flac formats, but not Wave 24bit 96/192kHz.

If I look to Environmental variables; I can´t find the

"There are several User Environment Variables used to provide the ability to select the output device (USEPADEVICE), maximum sample rate (USEPAMAXSAMPLERATE), audio device driver (USEPAHOSTAPI) and driver latency (USEPALATENCY)."

As I understood I have to start the software squeezeslave:

"To obtain the list of available output devices that can be used for the USEPADEVICE key you can download the latest squeezeslave for windows, extract the zip file and run squeezeslave with the -L option. If you do not set USEPADEVICE squeezeplay uses the default windows audio device."


I don´t understand, why the squeezeslave-1.2-379.exe
is opening a dos task windows, but I´m not able to write into this window.

It seems; I didn´t understood the correct prozedure to run Squeezeplay high resolution.
Any idea what I made wrong?

Thank you in advance

Musiclover
2013-01-05, 14:27
Nobody any idea what I have done wrong?

Thank you in advance

DJanGo
2013-01-05, 16:32
I don´t understand, why the squeezeslave-1.2-379.exe
is opening a dos task windows, but I´m not able to write into this window.

1st of all - dos is dead. You mean the command shell which is cmd.exe - not command.com.
And if you start a shell or a shell Programm - you can see the initial shell (that calls the App) and if the app is working and had no menu or an sub where you can interact with the app you cant write into this shell.

So maybe....

Open a shell
Drop with ur mouse the exe into that shell
Push the spacekey and wrote the parameter
-or make a lnk from the exe and give that lnk your prefered parameters.


Nobody any idea what I have done wrong?
i do love such lines ;-)

SBGK
2013-01-06, 15:19
Dear Ralphy,

I tried to bring run your nice squeezeplay version R0158 with high resolution wave formats.

The soundoutput analog is set to 24bit 192kHz; testsound is O.K.
System W7, 64bit

--same for me

I installed first LogitechMediaServer-7.8.0-1353679004.exe from today
I installed your version Squeezeplay R0158.

--same

I can play 24bit 192Khz flac formats, but not Wave 24bit 96/192kHz.

--same

If I look to Environmental variables; I can´t find the

"There are several User Environment Variables used to provide the ability to select the output device (USEPADEVICE), maximum sample rate (USEPAMAXSAMPLERATE), audio device driver (USEPAHOSTAPI) and driver latency (USEPALATENCY)."

--you have to add these manually Control Panel\System and Security\System\Advance System Settings\Advanced\Environment variables

As I understood I have to start the software squeezeslave:

"To obtain the list of available output devices that can be used for the USEPADEVICE key you can download the latest squeezeslave for windows, extract the zip file and run squeezeslave with the -L option. If you do not set USEPADEVICE squeezeplay uses the default windows audio device."

--open a dos window, cd to the directory that squeezeslave is in and then type or copy squeezeslave-1.2-379.exe -L

I don´t understand, why the squeezeslave-1.2-379.exe
is opening a dos task windows, but I´m not able to write into this window.

It seems; I didn´t understood the correct prozedure to run Squeezeplay high resolution.
Any idea what I made wrong?

Thank you in advance

Ralphy, any ideas why 96/192 Wavs are not playing ?

ralphy
2013-01-07, 04:48
Ralphy, any ideas why 96/192 Wavs are not playing ?
Can you describe what part(s) of post #1 are not clear?

To play sample rates higher than 48000 you MUST set the USEPAMAXSAMPLERATE environment variable as laid out in the first post. Otherwise anything above 48000 is down sampled to 48000 by LMS.

I can confirm that 24bit 96000 and 192000 wav files play with the latest 7.8 LMS provided you haven't changed any of the file type settings in LMS.

SBGK
2013-01-07, 05:46
Can you describe what part(s) of post #1 are not clear?

To play sample rates higher than 48000 you MUST set the USEPAMAXSAMPLERATE environment variable as laid out in the first post. Otherwise anything above 48000 is down sampled to 48000 by LMS.

I can confirm that 24bit 96000 and 192000 wav files play with the latest 7.8 LMS provided you haven't changed any of the file type settings in LMS.

Charming

What part of my post made you think that I had not set the environment variables correctly ? Can you describe your thought processes in replying in such a brusque manner ?

I have changed the file type settings for WAV to disabled except for PCM which is native, would these changes have caused it to no longer work ?

Musiclover
2013-01-09, 14:18
Thanks for the support. Squeezeplay R158 is now playing HDA Wave.

But I found a small problem:

while playing a track, the timer status bar is jumping to sero position and after short time back to the actual played time.
I have installed LogitechMediaServer-7.8.0-1353679004 2013 01 08.exe and Squeezeplay R158.
This time jump you can see at:
Squeezeplay R158
LMS 7.8 beta
iPeng for iPad

Is this a problem of the beta server?

My other devices (hardware and old software player, Squeezeplay 7.7.2) havn´t this problem.

Any idea?

Musiclover
2013-01-22, 14:33
I installed the newest 7.8 and it seem to be solved.



But I have another problem:

I installed squeezeplay on several PCs and two of them have the same MAC adress in LMS 7.8.
PC 1 squeezeplay is using the same Mac adress like PC 2 which is causing collision during the use.

My question to RALPHY: How are you reading out the MAC adress?

Is this done once during the installation or read out with every start of squeezeplay?
I tried several installations but it is not changing to the physical MAC adress of PC 1.

How can I change the MAC in your squeezeplay to the correct (physical) adress of PC1?

Thank you in advance

ralphy
2013-01-22, 15:34
I installed the newest 7.8 and it seem to be solved.

But I have another problem:

I installed squeezeplay on several PCs and two of them have the same MAC adress in LMS 7.8.
PC 1 squeezeplay is using the same Mac adress like PC 2 which is causing collision during the use.

My question to RALPHY: How are you reading out the MAC adress?

It's the same as the official build, which says this in the code;

//take the first found mac address.
//todo: can we be smarter about which is the correct address


Is this done once during the installation or read out with every start of squeezeplay?
I tried several installations but it is not changing to the physical MAC adress of PC 1.

How can I change the MAC in your squeezeplay to the correct (physical) adress of PC1?
The MAC should be read at every startup.

Shut down Squeezeplay and try deleting the userpath folder, mine is located at.

C:\Documents and Settings\Ralphy\Application Data\SqueezePlay\userpath

and start squeezeplay again.

Musiclover
2013-01-22, 18:37
Dear Ralphy,

you got it!!!
Thank you very much for your quick help.

Now the MAC in LMS for your squeezplay version is the physical MAC of my PC 1 as exspected.

Musiclover
2013-02-07, 03:47
Dear Ralphy,


if I compare V158 to V192 I cann´t find in V192 the radio folder.
Externally controlled by ipeng it is possible to start the radio, this is clear.
But not with squeezeplay V192 on my computer.
(I checked if someting is deactivated in the main menu but all is activated).

Is this a feature or a bug?

tobyjug
2013-04-01, 07:52
Hi, I'm trying to set up a Windows 7 x64 PC as "squeezebox" playing up to 24-96 flac files to a TE7022 device using a WASAPI driver.

Firstly I tried Squeezeslave and managed to get this working with the correct driver using squeezeslave-wasapi.exe, however Hi Res files were downsampled and a search of the interweb revealed that this does not work.

I then tried Sqeezeplay and this does work. The only problem is that I only get options for DirectSound Drivers not WASAPI drivers.

Is there any way I can use WASAPI drivers as shown by squeezeslave-wasapi.exe -L

ralphy
2013-04-01, 10:23
That is an old version. Try using the squeezeslave.exe from the "latest squeezeslave link" in post #1.

tobyjug
2013-04-01, 11:35
Already tried that. When USEPAHOSTAPI is set to "Windows DirectSound" and USEPALATENCY is set t 239. squeezeplay works (but with no hi res sound). When set to "Windows WDM-KS" and 40 seems to work but no sound. When set to "Windows WASAPI" and 10 SqueezePlay fails to start - "jive has stopped working"

ralphy
2013-04-03, 04:52
Did you set USEPAMAXSAMPLERATE as well?

The default is 48000.

tobyjug
2013-04-04, 11:43
I did. Set to 96000
Using Win 7 x64 in case that makes a difference.

ralphy
2013-11-18, 06:09
I've uploaded a new Windows squeezeplay r328 package (http://squeezeslave.googlecode.com/files/SqueezePlay-setup-7.8.0r328.exe).

See the first post in this thread for details.

pzuls
2013-12-18, 02:23
[QUOTE=ralphy

See the first post in this thread for details.[/QUOTE]

Hi there ralphy thanks for all your hard work i am having problem getting audio sink to work when using your SqueezePlay-setup-7.8.0r328 on 3 x windows 8.1 64bit machines and also 1 x boom box and i am ruining this version of LMS downloads.slimdevices.com/nightly/?ver=7.8 i am also controlling the system from my android devices with squeezecomander should i be using a different software? like squeezelite as all my software players can be headless that is not a problem i have had a fiddle with squeezelite but i couldn't get it working got any suggestions.

Thanks in advance

Juls

jimzak
2014-03-02, 03:32
Has any thought been given to putting Squeezeplay for Windows and other platforms somewhere easily accessible?

I had to look quite a bit before I found the download in this thread.

Thanks.

ralphy
2014-03-02, 04:34
Has any thought been given to putting Squeezeplay for Windows and other platforms somewhere easily accessible?

I had to look quite a bit before I found the download in this thread.

Thanks.

What would you consider easily accessible? The file has been downloaded over 4000 times.

Newer builds will be located elsewhere, as googlecode has removed the ability to add files for download.

Been testing googledrive, but I'm not too impressed with it, so may change again.

EDIT: I've removed my googledrive and migrated to mediafire for new builds (https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds).

doggod
2014-04-30, 13:16
Hi,
I just installed squeezeplay 7.8.0r328 on a Toshiba encore tablet with a 8 " / 1280 x 800 touchscreen running windows 8.1, and I wonder if there is a way to change the window size of Squeezeplay, Ie so the GUI fills the whole screen? Thanks for this great little tool btw. :-)

bonze
2014-05-01, 01:26
Hi,
I just installed squeezeplay 7.8.0r328 on a Toshiba encore tablet with a 8 " / 1280 x 800 touchscreen running windows 8.1, and I wonder if there is a way to change the window size of Squeezeplay, Ie so the GUI fills the whole screen? Thanks for this great little tool btw. :-)Have you tried changing the skin?
Settings > Screen > Select Skin

You may also need the fixes from this thread:
http://forums.slimdevices.com/showthread.php?76548-Squeezeplay-full-screen

ferraris
2014-05-02, 10:59
Thanks for your work on this, appreciated.

Lestrad
2014-05-08, 04:29
Hello. I Have a Squeezebox Touch in the listening room - the only player on the network. My music collection is located on a NAS, on which LMS is installed. I've installed SqueezePlay on my PC (Windows 7 x64) in my office and synchronized it with the Touch in LMS so that I can listen to the same music on both rooms. The problem is that since I've installed SqueezePlay and synchronized, at random points in a song the players suddenly stop and jump to the end of the last file in the play list. I've tried three albums so far and it's happened twice. Do you have any idea how I can find the cause of the problem?

Sorry if this is the wrong place to post this - I tried your version to see if it would make a difference, but alas it hasn't.

Anyway thanks for your work. If I could get it to work it would be great.
---------------
(Later) It just happened again and immediately afterwards the NAS was unreachable on the network. So the behavior might be related to something interrupting the connection to the network - like an antivirus. I'm looking into it and will report back.
(Still later) It seems that Avast Webshield, which I have installed, is responsible. A solution is referenced here: http://forum.avast.com/index.php?topic=144058.0
I added the lines to the .ini as instructed and it seems to have worked.

djc45
2014-05-10, 03:38
Hi,
I`m sure it's probably something I`m doing wrong.
But with Squeezeplay 7.8.0 r413 installed on my surface pro running Win 8.1, it runs, but when I select the Sirius XM app, I get the message that it can`t play that type of file. It works on all my squeezebox radios.

Also having issues with no audio on spotify, sometimes have audio, mostly no audio.

Does anyone have any ideas what I could try?

ralphy
2014-05-15, 05:33
Hi,
I`m sure it's probably something I`m doing wrong.
But with Squeezeplay 7.8.0 r413 installed on my surface pro running Win 8.1, it runs, but when I select the Sirius XM app, I get the message that it can`t play that type of file. It works on all my squeezebox radios.

Also having issues with no audio on spotify, sometimes have audio, mostly no audio.

Does anyone have any ideas what I could try?

You need to have wma support installed on the server (lms) as squeezeplay does not support wma directly.

Look for the PlayWMA plugin.

cathcam
2014-05-19, 20:17
Hello. I Have a Squeezebox Touch in the listening room - the only player on the network. My music collection is located on a NAS, on which LMS is installed. I've installed SqueezePlay on my PC (Windows 7 x64) in my office and synchronized it with the Touch in LMS so that I can listen to the same music on both rooms. The problem is that since I've installed SqueezePlay and synchronized, at random points in a song the players suddenly stop and jump to the end of the last file in the play list. I've tried three albums so far and it's happened twice. Do you have any idea how I can find the cause of the problem?

Sorry if this is the wrong place to post this - I tried your version to see if it would make a difference, but alas it hasn't.

Anyway thanks for your work. If I could get it to work it would be great.
---------------
(Later) It just happened again and immediately afterwards the NAS was unreachable on the network. So the behavior might be related to something interrupting the connection to the network - like an antivirus. I'm looking into it and will report back.
(Still later) It seems that Avast Webshield, which I have installed, is responsible. A solution is referenced here: http://forum.avast.com/index.php?topic=144058.0
I added the lines to the .ini as instructed and it seems to have worked.

I've had similar problems withe Squeezeplay on two different Windows 7 x64 laptops. One has been attached to my home theatre system and installed for nearly 4-years without problem. The only things that get changed are Windows Update, and the latest Avast antivirus. The other player is on my work issued laptop, Windows 7 x64, this time protected by McAfee. Both are only ever used on a private home network, with either radio or mp3/music from a NetGear ReadyNAS LMS.

Both are syncronized in a ring with 4x Logitech hardware players. I mostly only use the worklaptop as a remote when I'm sat out on the front porch, I started it tonight, and the syncronized music started playing on the lpatop, but the player wouldnt connect to the LMS. I had to add security rules for both players in order to get them to work.

FYI, somethings changed in both Antivirus programs to make this happen.

RonM
2014-05-24, 17:27
What would you consider easily accessible? The file has been downloaded over 4000 times.

Newer builds will be located elsewhere, as googlecode has removed the ability to add files for download.

Been testing googledrive, but I'm not too impressed with it, so may change again.

EDIT: I've removed my googledrive and migrated to mediafire for new builds (https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds).

I tried to download to my win8.1 tablet and got into an endless spamware cycle, iLivid etc. Never got to an actual app download.

R

bonze
2014-05-25, 02:00
I tried to download to my win8.1 tablet and got into an endless spamware cycle, iLivid etc. Never got to an actual app download.

R
Seems to be luck of the draw which advert you get.
I got the iLivid a few times, but not the SqueezePlay download.

Then a couple of betting sites with the correct download.

Can never understand why the iLivid is still allowed to "advertise"

get.amped
2014-06-07, 17:07
What would you consider easily accessible? The file has been downloaded over 4000 times.

Newer builds will be located elsewhere, as googlecode has removed the ability to add files for download.

Been testing googledrive, but I'm not too impressed with it, so may change again.

EDIT: I've removed my googledrive and migrated to mediafire for new builds (https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds).

Just FYI, Chrome flags the .exe from mediafire as malware.

ralphy
2014-06-08, 07:49
Just FYI, Chrome flags the .exe from mediafire as malware.

Thanks for the heads up. I've uploaded r417 in a zipfile, hopefully that works better.

If you've already downloaded r413, there no need to get r417 as the only changes are for Solaris.

JJZolx
2014-06-09, 13:13
It would be nice to see someone develop a nice 800x600 pixel (SVGA) skin for SqueezePlay, which would work nicely on touchscreens of that resolution. I've always thought SqueezePlay would make an ideal car audio player, and that's a very common screen resolution for car computers. It could also be useful with a similarly sized touchscreen on a computer emulating a Squeezebox in the home.

I've played around with it a bit, but it takes some work. Also, to be done right, it would require custom sized graphics, buttons, etc.

fbomke
2014-06-19, 02:32
Hi, after trying squeezelite and softsqueeze on my living room HTPC as squeezebox clients, this version of squeezeplay almost perfect for my needs. It syncs perfectly with my squeezebox radio in the kitchen and has no problems streaming spotify on both clients when synchronized... Both were issues with squeezelite and/or softsqueeze.
The one remaining problem is: After I use my HTPC for watching videos with Dolby Digital or DTS using the SPDIF Output, Squeezeplay still starts playing, but there's no sound anymore!! The only thing that helps getting it to play sound again is to close it and restart Squeezeplay.

I was curious and tried the same with squeezelite... The sounds stops when I start the video playback with DTS, but comes right back when the video stops...

Is this something I can fix using the User Environment Variables, or can this be fixed programmatically??

Thanks, Frank

Lestrad
2014-06-19, 05:52
Also, to be done right, it would require custom sized graphics, buttons, etc.

... buttons like the ones on old car radios, that make a nice metallic "ka-chunk" sound when you push one in. ;O)

ralphy
2014-07-07, 04:09
New squeezeplay builld 7.8.0r417 available on mediafire (https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds).

See post#1 for details.

ctbarker32
2014-07-15, 18:03
New squeezeplay builld 7.8.0r417 available on mediafire (https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds).

See post#1 for details.
Hi,

I installed r417 and it does not seem to be using the user environment variables I have setup. I uninstalled and went back to r328 and it is working as expected. Here are the variables I am using:

SetX USEPADEVICE "Speakers (Saffire Audio)"
SetX USEPAHOSTAPI "Windows WDM-KS"
SetX USEPAMAXSAMPLERATE 96000

Am I missing something?

Thanks.

ralphy
2014-07-16, 03:40
Hi,

I installed r417 and it does not seem to be using the user environment variables I have setup. I uninstalled and went back to r328 and it is working as expected. Here are the variables I am using:

SetX USEPADEVICE "Speakers (Saffire Audio)"
SetX USEPAHOSTAPI "Windows WDM-KS"
SetX USEPAMAXSAMPLERATE 96000

Am I missing something?

Thanks.

Yes, WDM-KS support is no longer included in the installer portaudio.dll. Read the first post for details on how to change it back

doggod
2014-07-20, 05:33
New squeezeplay builld 7.8.0r417 available on mediafire (https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds).

See post#1 for details.

Hi Ralphy,

Saw your "Support for mac address assignment using UTMAC environment variable." in the info for the latest 7.8.0r417 build and thought "great, exactly what I need".

First need to say I'm a PC novice but manage to sort most things out. I've been using Squeezeplay fo a while and thinks it's great. Just got me two more computers now thou and in order for separate the players I need to change the default mac i get when starting squeezeplay.

Hope you please could assist in how to do this? Now since beeing a novice I could have totally misunderstood something? But they way I interpret "Support for mac address assignment using UTMAC environment variable." is like ;
I use "UTMAC" as VARIABLENAME and then in VARIABLE VALUE I set a "macaddress" (as example) 12-34-56-78-03-04. That didn't work. Then I tried 12:34:56:78:03:04 and also 123456780304 but still ended up with the default mac when I started squeezeplay!

Could you please assist and tell me what I'm missing? cheers

doggod
2014-07-21, 02:37
OK I solved it. I found reply in the copied thread below. I had the same "default" mac because I'd copied the "settings" folder from another PC. I'm a lazy sod.... ;-) Would still be great if you could explain for an novice what the "UTMAC" variable is for thou? What have I not understood? Is it not for setting your own mac when starting squeezeplay? ;
It's the same as the official build, which says this in the code;

//take the first found mac address.
//todo: can we be smarter about which is the correct address


The MAC should be read at every startup.

Shut down Squeezeplay and try deleting the userpath folder, mine is located at.

C:\Documents and Settings\Ralphy\Application Data\SqueezePlay\userpath

and start squeezeplay again.

Apesbrain
2014-07-21, 09:43
Is there a version of SqueezePlay that will accept alphanumeric (DNS) input when adding a "Remote Library", e.g. myserver.vpn.com? Or a settings file I could edit this way? Thanks.

maddymarc
2014-07-23, 13:01
I'm glad I clicked on this thread! Now I have my Win7 PC server synced perfectly to the rest of my players! I kept getting odd hiccups with the local player plugin when "maintain syncronization" was checked, and could not figure it out... Now moving along smoothly, after settling on 180ms audio delay for squeezeplay. Thanks, Ralphy!
:cool:

verypsb
2014-08-03, 05:18
Is there a version of SqueezePlay that will accept alphanumeric (DNS) input when adding a "Remote Library", e.g. myserver.vpn.com? Or a settings file I could edit this way? Thanks.

+1

lynniemagoo
2014-09-14, 11:30
Ralphy,

Excellent work. I now have a new Corei5 NUC with Intel HD Audio over HDMI running with both squeezeplayer and squeezelite.

What I am seeing is that for some flac files, I am having some dropouts in the FLAC playback at various locations - <=100ms. In the past, I have overcome this by extracting to WAV and reencoding with Flac 1.2.1. These files also have 1000x1000 jacket pics inside them as tags. When I first noticed this issue, Foobar reported a problem converting my FLAC file to WAV. In the past, this has been an indicator of a problem. However, today, I have no issues converting with Foobar to WAV.

So, several questions.
1) Is there anyone who has experienced such issues?
2) Is there a FLAC 1.3.X version of the dll for the SqueezePlayer install that anyone could share? (I don't compilation environment to build the dll).
3) Is there a FLAC 1.3.X version of SqueezeLite or does anyone know if it is on the roadmap?

Technical Details and more information before anyone asks:

1. Logitech Media Server 7.7.3 installed on ReadyNAS NV1100 with expanded memory. Gigabit network - All music is on a USB 1.0 hard drive attached to the rear. Have moved to different share and also to a dedicated PC running Media Server with no differing results.
2. Intel NUC CoreI5 player Win7 x64 Pro, Gigabit network, 8MB RAM is running SqueezeLite from post #1 of this thread as a service. I am also able to reproduce this problem running the SqueezePlay from the build in Post #1 of this thread.
3. I don't currently have logs from any of the runs. I have eliminated questions about buffering or jitter by using iPad and IPeng to back up the playback say, 20 seconds and listen to the same section of music over and over. The jitters always occur in the same places.
4. Jacket pictures are embedded in the files and are 1000x1000 jpg or png images. Same results occur if jacket pictures are removed.
5. I have tried converting to WAV and reencoding music with Flac 1.2.1 and 1.3.0 with same results. Interestingly enough, when flipped from 1.3.0 to 1.2.1, 1 song was corrected but a hiccup was noted in another file (maybe it was there with 1.3.0 as well but did not check).

I don't want to abandon this platform as I have tons of Lo Res CDs (over 2000) that are indexed and managed through the server and played back on various Duet players throughout the household (I have 5 duet receivers and 2 controllers + iPad).

I am open to recommendations as to how others manage hi-resolution content (up to 192KB) as I would like to have both Low and High Res content alongside one another without having to switch libraries, etc...

Looking forward to a reply here.

Many thanks.

Regards,
Lynnie

ralphy
2014-09-15, 04:31
Ralphy,

Excellent work. I now have a new Corei5 NUC with Intel HD Audio over HDMI running with both squeezeplayer and squeezelite.

What I am seeing is that for some flac files, I am having some dropouts in the FLAC playback at various locations - <=100ms. In the past, I have overcome this by extracting to WAV and reencoding with Flac 1.2.1. These files also have 1000x1000 jacket pics inside them as tags. When I first noticed this issue, Foobar reported a problem converting my FLAC file to WAV. In the past, this has been an indicator of a problem. However, today, I have no issues converting with Foobar to WAV.

So, several questions.
1) Is there anyone who has experienced such issues?
2) Is there a FLAC 1.3.X version of the dll for the SqueezePlayer install that anyone could share? (I don't compilation environment to build the dll).
3) Is there a FLAC 1.3.X version of SqueezeLite or does anyone know if it is on the roadmap?

Technical Details and more information before anyone asks:

1. Logitech Media Server 7.7.3 installed on ReadyNAS NV1100 with expanded memory. Gigabit network - All music is on a USB 1.0 hard drive attached to the rear. Have moved to different share and also to a dedicated PC running Media Server with no differing results.
2. Intel NUC CoreI5 player Win7 x64 Pro, Gigabit network, 8MB RAM is running SqueezeLite from post #1 of this thread as a service. I am also able to reproduce this problem running the SqueezePlay from the build in Post #1 of this thread.
3. I don't currently have logs from any of the runs. I have eliminated questions about buffering or jitter by using iPad and IPeng to back up the playback say, 20 seconds and listen to the same section of music over and over. The jitters always occur in the same places.
4. Jacket pictures are embedded in the files and are 1000x1000 jpg or png images. Same results occur if jacket pictures are removed.
5. I have tried converting to WAV and reencoding music with Flac 1.2.1 and 1.3.0 with same results. Interestingly enough, when flipped from 1.3.0 to 1.2.1, 1 song was corrected but a hiccup was noted in another file (maybe it was there with 1.3.0 as well but did not check).

I don't want to abandon this platform as I have tons of Lo Res CDs (over 2000) that are indexed and managed through the server and played back on various Duet players throughout the household (I have 5 duet receivers and 2 controllers + iPad).

I am open to recommendations as to how others manage hi-resolution content (up to 192KB) as I would like to have both Low and High Res content alongside one another without having to switch libraries, etc...

Looking forward to a reply here.

Many thanks.

Regards,
Lynnie

Have you tried setting/changing the USEPALATENCY environment variable as described in post #1?

Also ensure you're running r417.

lynniemagoo
2014-09-15, 20:50
Have you tried setting/changing the USEPALATENCY environment variable as described in post #1?

Also ensure you're running r417.

yes, i started with 86 and then dropped to 43. i am a little unclear if this setting is used with squeezelite or squeezeplay. is this env var used for the dll in this version? i thought i had read from some release notes that they were no longer used. i will give it another try but the problem seems to occur for example at 1:10 in one flac file and at for example 0:39 in another. furthermore, i can play a 192 KHz flac file with no issues. my concern here is more about the version of flac i am using or the version of mp3tag i have been using.

i will take the value up to 300 and try again. is there a magic number or formula you would recommend?

Thanks again for this version and for the quick reply. with regard to this player, can you please confirm if an external dac might help this issue?

i will up the value and post results.

Regards,
Lynnie

ralphy
2014-09-16, 04:16
yes, i started with 86 and then dropped to 43. i am a little unclear if this setting is used with squeezelite or squeezeplay. is this env var used for the dll in this version? i thought i had read from some release notes that they were no longer used. i will give it another try but the problem seems to occur for example at 1:10 in one flac file and at for example 0:39 in another. furthermore, i can play a 192 KHz flac file with no issues. my concern here is more about the version of flac i am using or the version of mp3tag i have been using.

i will take the value up to 300 and try again. is there a magic number or formula you would recommend?

I'm not sure where you read that. USEPALATENCY has been enabled since I added it to squeezeplay. Only the linux version does not honour it and that's because ALSA is used to output audio, not portaudio.

jive.exe uses the USEPALATENCY env var, not the portaudio.dll.

I've found that 86 works well for 44100, you need to increase it for higher bit rates, so dropping it usually introduces more drop outs. I'd start at 200 for 192k and don"t go higher than 500.

All builds use flac 1.2.1. I've had no reports of issues playing flac files built with 1.3.x. I'd doubt replacing the flac.dll with a 1.3 will work unless you recompile everything.


Thanks again for this version and for the quick reply. with regard to this player, can you please confirm if an external dac might help this issue?

No, I don't believe it will make any difference.

lynniemagoo
2014-09-16, 16:36
Increased the USEPALATENCY to 300 and updated to SqueezeServer 7.8.0.

Tested again, same issue with same file. <100ms dropout at 29-30s location. Took original file (one that was not tagged using MP3Tag 2.63 and has no textual tags except for ENCODER) and played it. No issue. Next, took file which I had tagged using MP3Tag 2.63 (aug 23, 2014) without a jacket picture. Played it. No Issue. Next, took file that was tagged 2 days ago as a retest and played. No issue. Then, I took another version that was reproducing problem with all tags and Jacket Pic + an ENCODING tag. This file did have an the issue. So, back to the drawing board.

Too much wierdness with this one. So, I guess will be looking at this on a case-by-case basis. Last time I had an issue like this was when I moved 44.1KHz FLAC from an Escient System to LMS. Turns out that Escient FLAC was very early release and I got some titles that had lots of "squawking" noise. A re-rip of the CD + retag fixed that issue.

I believe this has something to do with the tagging put in place by MP3Tag but have not been able to get to the root of the issue. Will continue testing with other files and post back.

Thanks,
Lynnie

philippe_44
2014-09-16, 17:55
Hi - I'm trying to build a SW solution to have some connection between my logitech system and my Sonos extension. I'm using a HW bridge currently that works very well, but some other discussion in that forum made me wonder if I could do something better. here is what I described in the other thread

---------------
In fact, I was thinking that is I can get a multiple instance of SqueezeLite, all feeding different streams connected to Sonos controller, it might be an interesting solution. In other words

SqueezeLite:1 ==> Stream:1 ==> Sonos device:1
SqueezeLite:2 ==> Stream:2 ==> Sonos device:2
. . . . .
SqueezeLite:N ==> Stream:N ==> Sonos device:N

So, from LMS, each Sonos device would be a separated SqueezeLite entity, so it would be independently controllable as far as volume and what is played on to it. From Sonos controller, what is needed is to play a different stream on each device. Synchronization is not likely to work, but it can be achieved by connecting multiple Sonos devices to a single stream

-------------------
For tests, I've started to work with ffmpeg, ffserver and vlc. I guess before I spent too much time there I was wondering if some wise guy could tell me if I'm wasting my time

NB : I'm a software developer - a bit rusted I have to say, but that is at the origin my education : software engineer, so with some work I'm usually able to deal with things

wilbert-vb
2014-11-29, 11:23
Thank you so much, Ralphy!

I have been a long time LMS on linux user and a while ago I was testing Windows 8.1 and Server 2012 r2 and I noticed a different sound from the server 2012 r2, more detailed.
So I got a license and converted my headless music system to MS Server 2012 r2, at first with foobar2000 (wasapi) and MonkeyMote.

Yesterday I search for wasapi support with squeezeplay and I found this discussion.
I installed LMS and SqueezeLite (WDM-KS) and it's awesome, awesome, awesome!

In order to autostart squeezelite I created a standard local account and enabled autologin to that account.
Then in that account I modified the registry for the local user and replaced explorer.exe with squeezelite (with additional command line options) as login shell.

The sound is a great pleasure (Schiit Modi DAC), and I enjoy the LMS features again!

Thank you very much!

Julf
2014-11-29, 12:22
I have been a long time LMS on linux user and a while ago I was testing Windows 8.1 and Server 2012 r2 and I noticed a different sound from the server 2012 r2, more detailed.


So just to check - you are saying that you heard a difference in the audio quality between the LMS server running on different OS platforms, but with the same player/client?

wilbert-vb
2014-11-30, 06:42
So just to check - you are saying that you heard a difference in the audio quality between the LMS server running on different OS platforms, but with the same player/client?

No, I don't intent to make such claim, Julf.

Over the last five years I have explored several configurations with different hardware, operating systems and audio applications.
That includes compiling SqueezePlay for ARM devices.
For a long time I have settled for a configuration that supports playing my local NPR station. This streaming radio station requires resampling, though.
Unlike some other NPR stations.
With my current setup, my local NPR station is no longer supported.

In this thread of requests for support, I just want to say that setup is *straight forward* and the result is enjoyable.

Julf
2014-12-01, 08:25
No, I don't intent to make such claim, Julf.

Thank you for the clarification, and apologies for misreading your message.

BuddyRich
2014-12-07, 14:14
I've setup Squeezeplay to control a squeezelite instance on a Windows 8.1 tablet (Dell Venue Pro 8).

Ive edited some of the skins and have it looking good in full screen but while what I have is usuable I have two questions.

Can the "long push" on items be change to a right click? Really just an idiosyncrasy of how right click works via touch device in Win 8 but you can get to the context menus as there is no way to do a long push of the primary mouse button (windows thinks its a right click). Otherwise is there a keyboard shortcut for it. In the Wiki I saw a few different ones (A va a, P vs. p) depending on context but I am not sure if thats applicable to the latest version of Squeezeplay (7.8...)

Leading to that, is there a way to reorder tracks on the now playing playlist (short of using play next to modify it). Even with a mouse it doesn't look like this is editable, whereas the web ui you can hold and drag and drop tracks to change their order.

geobrick
2014-12-07, 18:54
Ralphy, I've made good use of the new squeezeplay ability to use environmental variables to select the desired Audio Device.
I use this to switch between playing audio inside and outside the house.
The inside audio amp is hooked up to the coax SPDIF output and outside is hooked up to the analogue audio out.

I tried to automate the switch today but even with a 10 second delay, squeezeplay doesn't seem to be picking up on the environment variable change. It will detect it if I close squeezeplay a second time and restart it.

Here's how I tried to automate the switch from inside audio to both inside and outside audio.
I set up two cmd batch files with shortcuts on the desktop.

InsideAudio.bat
REM Set Environment Variable so SqueezePlay uses the "Realtek HDA SPDIF Out"
SETX USEPADEVICE "SPDIF Out (Realtek HDA SPDIF Out)"
c:
CD\Program Files (x86)\SqueezePlay
Timeout 10
Start squeezeplay.exe
********************************************
Note: This works great at first. The environmental variable changes (I leave USEPAHOSTAPI set to "Windows WDM-KS" because it doesn't need to change)
********************************************
OutsideAudio.Bat (Really enables the same stream inside and outside).
REM Set Environment Variable so SqueezePlay uses the Virtual Cable
SETX USEPADEVICE "Line Out (Virtual Cable 1)"
REM Set up Audio Repeater to split the Virtual Cable output stream for both inside and outside
start "Inside_Audio_Stream" "%programfiles%\Virtual Audio Cable\audiorepeater_ks.exe" /Input:"Virtual Cable 1" /Output:"Realtek HDA SPDIF Out" /BitsPerSample:32 /Autostart
start "Outside_Audio_Stream" "%programfiles%\Virtual Audio Cable\audiorepeater_ks.exe" /Input:"Virtual Cable 1" /Output:"Realtek HD Audio Output" /BitsPerSample:32
Timeout 10
c:
CD C:\Program Files (x86)\SqueezePlay
Start squeezeplay.exe
****************************************
Again, This all works fine.

The problem happens when I change between the 2 modes using these scripts.
For example. I use the insideaudio script then listen for awhile. Stop squeezeplay. Run the other script and even with the 10 second delay, it doesn't seem to apply the environment variable change. I can open the environment variables and see the change occurred. However, without doing anything else, if I exit squeezeplay then start it again, it plays fine through the desired audio device. The same thing happens if I then switch it to outside.

Any thoughts? I'm using 7.8.0 r417

ralphy
2014-12-11, 06:19
Windows WDM-KS support was removed from r417.

I'm guessing the match is being made with the MME or Direct Sound device equivalent for both scripts unless you've replaced the portaudio.dll.

charlesr
2014-12-15, 02:44
Hi. I've been using squeezeplay for ages on my laptop and desktop without any issues. Many thanks for all the work that has been put into this (Windows version).
It now won't connect to my music server.

Things that appear to have changed recently:
LMS (new version)
ESET AV (new version) - I have tried disabling ESET completely but still no joy.

I have tried uninstalling and installing the latest squeezeplay version.

Any ideas?

edit: I decided it HAD to be ESET, so rather than "disabling" it, I added squeezeplay to the protocol filtering exclusion list. It now works again.
Keep up the good work!

eiffel
2014-12-15, 15:55
Hi. I've been using squeezeplay for ages on my laptop and desktop without any issues. Many thanks for all the work that has been put into this (Windows version).
It now won't connect to my music server.

Things that appear to have changed recently:
LMS (new version)
ESET AV (new version) - I have tried disabling ESET completely but still no joy.

I have tried uninstalling and installing the latest squeezeplay version.

Any ideas?

edit: I decided it HAD to be ESET, so rather than "disabling" it, I added squeezeplay to the protocol filtering exclusion list. It now works again.
Keep up the good work!

Thanks Charlesr, I've had this problem recently and would have thought to look at ESET as the culprit :mad: Made my day, as I was experiencing the dreaded 'couldn't connect to server' and other odd behavior

acollison42
2014-12-15, 22:34
I am new to this forum and I think I read all the posts. I have a SB3 and as I understand its sample rate is 28. If I install ralphy's latest update I will be able to change my sample rate?? If this is true I will make my wife so happy and I can spend that money on something else as I was thinking of upgrading the 3. I still might do it just waiting for the fall out of the high rez stuff.

d6jg
2014-12-22, 12:57
Quick Question.
I need to uninstall Squeezeplay Win including all config then reinstall and do the full set up from scratch as I need to document the process. Where is the config - server details etc stored?

bonze
2014-12-22, 14:06
Quick Question.
I need to uninstall Squeezeplay Win including all config then reinstall and do the full set up from scratch as I need to document the process. Where is the config - server details etc stored?

On Win 7/8, it's in Users/<user>/AppData/Roaming/Squeezeplay

d6jg
2014-12-22, 15:25
Thanks

ralphy
2015-01-09, 15:05
See the annoucement thread (http://forums.slimdevices.com/showthread.php?102939-Jivelite-for-Windows).

d6jg
2015-01-09, 15:23
I shall try that in the office on Monday
Cheers

castalla
2015-01-09, 15:51
I've put together a windows version of Triode's excellent Jivelite controller.

It's available from my Squeezebox client builds repository on mediafire.

To download it. Click the link in my signature and navigate to builds->jivelite->windows.

Installation:

There is no installer and Jivelite for Windows and it does not create any registry entries.
Just extract the zipfile into any folder, all files are placed in a subfolder called Jivelite

Running:

Double Click the jivelite.exe program in the Jivelite folder. You can also create a short cut to it on the desktop.

If you're computer has multiple active network interfaces and after you've completed the initial setup, jivelite returns from Scanning for Players without finding one, try this.

After Scanning for Players fails, click and hold the left arrow button to the left of Choose Player, near the top.

Click Settings->Advanced->Networking->Remote Libraries->Add New Library.

Enter the IP address of your LMS server and click Done->Connect to this library.

At this point if you can't connect to the library Quit jivelite and restart it.

Jivelite should connect to your library right away.

This build has been tested on winxp 32 bit and win7 32 and 64 bit.

Nice.

slimhase
2015-01-10, 10:08
I've put together a windows version of Triode's excellent Jivelite controller.
It's available ....

Excellent! Thank you, Ralphy!
This is what I was looking forward to a long time!
I can confirm that it runs flawless on a Windows 8.1 Tablet as well.

Heiner

P.S.: Wouldn't this new software-port warrant its own new thread?
I almost overlooked it as it was "hidden" in this unrelated thread...
Just a thought.....

ralphy
2015-01-11, 04:59
Excellent! Thank you, Ralphy!
This is what I was looking forward to a long time!
I can confirm that it runs flawless on a Windows 8.1 Tablet as well.

Thank you for confirming it works with win8 as well.



P.S.: Wouldn't this new software-port warrant its own new thread?
I almost overlooked it as it was "hidden" in this unrelated thread...
Just a thought.....

I want to have a few additional users test it first.

d6jg
2015-01-12, 06:14
Trying it now. Generally really good.
Screensaver settings seem to have no effect though - that is only bug I have found so far.

Screenshot. Screensaver Settings for Stopped are set to "Blank"
17144

ralphy
2015-01-13, 05:20
Trying it now. Generally really good.
Screensaver settings seem to have no effect though - that is only bug I have found so far.

I think that's a problem with the skin. What skin are you using?

To be sure, please try using the WQVGA Small Print skin to see if it still happens. After changing the skin restart jivelite before testing.

d6jg
2015-01-15, 05:50
I think that's a problem with the skin. What skin are you using?

To be sure, please try using the WQVGA Small Print skin to see if it still happens. After changing the skin restart jivelite before testing.

It is OK Ralph. I hadn't set up the OFF screensaver properly.

All good that I can see.

ralphy
2015-01-17, 05:37
I've created a new thread for my windows version of jivelite (http://forums.slimdevices.com/showthread.php?102939-Jivelite-for-Windows).

Please direct all issues and comment there going forward.

ralphy
2015-01-23, 07:17
A new build of squeezeplay is available which fixes a few minor issues and patches the known security vulnerabilities in the flac 1.2.1 decoder.

See post #1 in this thread for details.

BuddyRich
2015-01-24, 09:20
Is there anyway to have the Screen Off screensaver also turn off the screen backlight in Windows?

antonellocaroli
2015-02-23, 22:44
hello,
Use sqeezelite ... but I have problems with resample over 192000.
I think it's a problem with portaudio ...

ralphy
2015-02-24, 04:50
hello,
Use sqeezelite ... but I have problems with resample over 192000.
I think it's a problem with portaudio ...
portaudio should have nothing to do with the backlight and yes, I'd recommend using squeezelite for a player on windows and jivelite to control it.


Is there anyway to have the Screen Off screensaver also turn off the screen backlight in Windows?

There is no way that I'm aware to have the backlight turned off with the screen saver.

If it's always staying on, you can try setting the environment variable name

SDL_VIDEO_ALLOW_SCREENSAVER

with a value of 1

and then the windows screensaver you've defined should work.

antonellocaroli
2015-02-24, 05:37
Ralphy excuse, but in the latest version of the squeezelite is compiled the latest version of portaudio?
I have problems even if I choose as audio output Jplay
is a shame because sqeezelite with LMS sounds really good

ralphy
2015-02-25, 05:13
Ralphy excuse, but in the latest version of the squeezelite is compiled the latest version of portaudio?
I have problems even if I choose as audio output Jplay
is a shame because sqeezelite with LMS sounds really good

BuddyRich was asking about squeezeplay not squeezelite.

All my squeezelite windows builds include portaudio as a dll.

You can extract the portaudio.dll from the older version of squeezelite for windows zip file that worked for you and replace the newer portaudio.dll with it.

antonellocaroli
2015-03-02, 04:18
Ralphy you know why there are proble with sqeezelite and jplay with resolution files of pours from 44100? with file type to 96000 Khz?

ralphy
2015-03-02, 05:03
Ralphy you know why there are proble with sqeezelite and jplay with resolution files of pours from 44100? with file type to 96000 Khz?

No I don't. Never used jplay.

doggod
2015-06-07, 12:01
Hi Ralphy,

Don't know if any one else is seeing this as a problem or not? But hopefully I'm raising the question for more users?
I'll try to explain this so it's understandable, but please forgive me if it's not!

I'm using Squeezeplay a lot to remotely control my 4 Squeezeboxes placed in different rooms thru the "choose player" option.
Now the "problem" I'm having is when I want to use the "turn off" player option.
If you look in "settings" > "screen" "screensavers" > "when off" option there isn't any "none" option which is causing a bit of a problem.

See what happens is when I (for instance) have choosed to control player "A" thru squeezeslave, and then want to turn that player off remotely.
Then the squeezeslave interface goes into whatever screensaver mode that is choosen and prohibits the user to switch over to another player (since the interface goes "blank") without turning player "A" on again!
So I guess what I'm asking for is if there's somehow possible to have this "none" option in the "screensaver when off" menu aswell?
This will make it possible to go back to the "choose player" menu and switch to whatever other player one wants to control without player "A" is turned on again.

Now I might be wrong?, but I'm pretty sure I've had this "option" available before in a different "setup" than I've now, has it to do with what version of server one use??
This is the setup I've for the moment :
Logitech Media Server Version: 7.8.0 - 1395409907 running on a Windows 7 machine and squeezeplay vers. 7.8.0-r539.

hope you can help somehow?,and I would like to take the opportunity to say a big THANK YOU for this fantastic app, keep it up and all the best.

ralphy
2015-09-26, 05:21
A new build of squeezeplay is available which includes an updated JogglerSkin with working spectrum and vu meter now playing screens.

See post #1 in this thread for download details. This jivelite post (http://forums.slimdevices.com/showthread.php?103330-Jivelite-for-piCorePlayer&p=827507&viewfull=1#post827507) has some screen shots.

If you don't use the Joggler Skin there's no reason to download r639.

AudioUser
2015-10-01, 12:34
Hello, may be a stupid question!? What is the procedure to manipulate squeezeplay / squeezelite environment variables? I red not only one time post #1 but I still not get it. Thanks for a hint!

Regards,
AudioUser


Gesendet von iPhone mit Tapatalk

kolossos4730
2015-10-04, 03:56
Hi Ralphy,

To test some of the custom VU meters supplied with the Custom Clock applet I installed Erland's Custom Clock and License Manager applet (I do have a license for all his plugins) in the latest SqueezePlay version with WQVGA Small as the screen skin.

When I select one of the Custom Clock VU meters styles, the first time the screensaver kicks in this indeed displays the VU meter in SqueezePlay (see first screenshot). All subsequent screensaver activations display a black background and, depending on the style, the artist/album/title (see second screenshot). All VU meter styles do behave this way and only if I uninstall/reinstall the Custom Clock applet the VU meter becomes visible again (but only the first time the screensaver is activated).

18930

18931

Is there a way I can get this to work with the Windows version of SqueezePlay?

Regards,

Arie

ralphy
2015-10-07, 04:41
Hi Ralphy,

To test some of the custom VU meters supplied with the Custom Clock applet I installed Erland's Custom Clock and License Manager applet (I do have a license for all his plugins) in the latest SqueezePlay version with WQVGA Small as the screen skin.

When I select one of the Custom Clock VU meters styles, the first time the screensaver kicks in this indeed displays the VU meter in SqueezePlay (see first screenshot). All subsequent screensaver activations display a black background and, depending on the style, the artist/album/title (see second screenshot). All VU meter styles do behave this way and only if I uninstall/reinstall the Custom Clock applet the VU meter becomes visible again (but only the first time the screensaver is activated).

Is there a way I can get this to work with the Windows version of SqueezePlay?

Regards,

Arie

Have a look at the squeezeplay log(s) for some idea of what's happening. You'll most likely need to increase the logging level in settings->advanced for the now playing and custom clock applets to debug. Also, quit squeezeplay before looking at the logs.

\users\username\appdata\local\temp\{stdout-SqueezePlay,stderr-SqueezePlay}

kolossos4730
2015-10-08, 07:53
Have a look at the squeezeplay log(s) for some idea of what's happening. You'll most likely need to increase the logging level in settings->advanced for the now playing and custom clock applets to debug. Also, quit squeezeplay before looking at the logs.

\users\username\appdata\local\temp\{stdout-SqueezePlay,stderr-SqueezePlay}

Changed logging level for both Now Playing and Custom Clock to debug and I now see lots of errors in the SqueezePlay logfile when the Custom Clock VU meter screensaver kicks in:


ERROR squeezeplay.ui.draw - get_image_surface:413 no SDL surface available

This is on a Windows 7 x64 system with an integrated nvidia graphics card. Also tested SqueezePlay on an Intel NUC with the same result. Surprisingly the Mac OS X version does work OK. I think it must be a Windows only bug.

kllngtme
2015-10-23, 06:31
So I'm not sure if this is the proper thread to ask for this. I've been using the latest builds of Squeezeplay, currently using 7.8.0r639.

Is there a way to scroll through my endless amounts of artists other than using the mouse or arrow up/down keys? I'm looking to be able to type in a letter and have it goto that letter on the list of artist's..

Is there a way to get this implemented at all?

kolossos4730
2015-10-23, 07:22
So I'm not sure if this is the proper thread to ask for this. I've been using the latest builds of Squeezeplay, currently using 7.8.0r639.

Is there a way to scroll through my endless amounts of artists other than using the mouse or arrow up/down keys? I'm looking to be able to type in a letter and have it goto that letter on the list of artist's..

Is there a way to get this implemented at all?

You can use the 2...9 keys to quickly select a letter just like on the original remote. E.g. '3' cycles through the letters D, E and F. '1' jumps to items starting with numerical characters. Hope this helps.

kllngtme
2015-10-23, 12:46
You can use the 2...9 keys to quickly select a letter just like on the original remote. E.g. '3' cycles through the letters D, E and F. '1' jumps to items starting with numerical characters. Hope this helps.

Thankyou! Perfect :)

fallenturtle
2015-12-17, 15:58
Thanks for this great software. Question: Does the Play Controller as mentioned here (EDIT: link will be in next post because of forum rules) exist in the windows build for Squeezeplay?

Ugh, can't believe I have to fill out a captcha after being logged in :/

fallenturtle
2015-12-18, 11:11
Thanks for this great software. Question: Does the Play Controller as mentioned here (EDIT: link will be in next post because of forum rules) exist in the windows build for Squeezeplay?

Ugh, can't believe I have to fill out a captcha after being logged in :/

Here's the link. Element "L".
http://wiki.slimdevices.com/index.php/SqueezePlayUI

Thanks.

cncb
2016-02-09, 16:53
I appreciate you providing this but I'm pretty sure the mediafire site opened a new Chrome window in the background to the "secureopensoftware.com" website prompting me to download/install an "update" which most certainly is a virus. You might want to consider a different host.

eusebius
2016-02-14, 04:28
hello,
french nerwbie in SqueezeBox environment, i have just installed Logitech Media Server 7.9 and SqueezePlay (last version 7.8.0r685).

i would like to test wasapi playback : so, i have replaced the portaudio dll by the SqueezeLite one (first 1.8.0-566, then 677) and created the environment variables :
- USEPADEVICE = Haut-parleurs (Périphérique High Definition Audio)
- USEPAHOSTAPI = windows WASAPI

but they seem to be ignored (if i replace these variable values by anything, quit and restart SquezePlay, it continue to play, i think with the default device and API).

how to check which device and API are really used by SqueezePlay (log file) ?
Am i missing something ?

thanks in advance for your response

=======

i apologize : i didn't see the log file path in the precedent message;
the environnement variables are really ignored :

stdout-SqueezePlay.txt
1455451167.108 INFO audio.output - get_padevice_id:548 Using device 3. Haut-parleurs (Périphérique Hig (MME)
1455451167.108 INFO audio.output - decode_portaudio_init:678 Using latency 0.180000
1455451167.122 INFO audio.output - get_padevice_maxrate:626 Setting maximum samplerate to 384000

output devices list with SqueezeLite-win.exe -l

Output devices:
2 - Mappeur de sons Microsoft - Output [MME]
3 - Haut-parleurs (PÚriphÚrique Hig [MME]
4 - Audio numÚrique (SPDIF) (PÚriph [MME]
7 - PÚriphÚrique audio principal [Windows DirectSound]
8 - Haut-parleurs (PÚriphÚrique High Definition Audio) [Windows DirectSound]
9 - Audio numÚrique (SPDIF) (PÚriphÚrique High Definition Audio) [Windows Dire
ctSound]
10 - Haut-parleurs (P├®riph├®rique High Definition Audio) [Windows WASAPI]
11 - Audio num├®rique (SPDIF) (P├®riph├®rique High Definition Audio) [Windows
WASAPI]
13 - Speakers (Haut-parleur HD Audio) [Windows WDM-KS]
15 - SPDIF Out (Sortie HD Audio SPDIF) [Windows WDM-KS]

SqueezePlay should not choice the device 3 but 10 with the environment variables ?

are accented characters correctly handled by squeezeplay ?
i tried with USEPADEVICE = Haut-parleurs (P├®riph├®rique High Definition Audio) => also ignored

ralphy
2016-02-14, 06:02
hello,
french nerwbie in SqueezeBox environment, i have just installed Logitech Media Server 7.9 and SqueezePlay (last version 7.8.0r685).

i would like to test wasapi playback : so, i have replaced the portaudio dll by the SqueezeLite one (first 1.8.0-566, then 677) and created the environment variables :
- USEPADEVICE = Haut-parleurs (Périphérique High Definition Audio)
- USEPAHOSTAPI = windows WASAPI

but they seem to be ignored (if i replace these variable values by anything, quit and restart SquezePlay, it continue to play, i think with the default device and API).

how to check which device and API are really used by SqueezePlay (log file) ?
Am i missing something ?

thanks in advance for your response

=======

i apologize : i didn't see the log file path in the precedent message;
the environnement variables are really ignored :

stdout-SqueezePlay.txt
1455451167.108 INFO audio.output - get_padevice_id:548 Using device 3. Haut-parleurs (Périphérique Hig (MME)
1455451167.108 INFO audio.output - decode_portaudio_init:678 Using latency 0.180000
1455451167.122 INFO audio.output - get_padevice_maxrate:626 Setting maximum samplerate to 384000

output devices list with SqueezeLite-win.exe -l

Output devices:
2 - Mappeur de sons Microsoft - Output [MME]
3 - Haut-parleurs (PÚriphÚrique Hig [MME]
4 - Audio numÚrique (SPDIF) (PÚriph [MME]
7 - PÚriphÚrique audio principal [Windows DirectSound]
8 - Haut-parleurs (PÚriphÚrique High Definition Audio) [Windows DirectSound]
9 - Audio numÚrique (SPDIF) (PÚriphÚrique High Definition Audio) [Windows Dire
ctSound]
10 - Haut-parleurs (P├®riph├®rique High Definition Audio) [Windows WASAPI]
11 - Audio num├®rique (SPDIF) (P├®riph├®rique High Definition Audio) [Windows
WASAPI]
13 - Speakers (Haut-parleur HD Audio) [Windows WDM-KS]
15 - SPDIF Out (Sortie HD Audio SPDIF) [Windows WDM-KS]

SqueezePlay should not choice the device 3 but 10 with the environment variables ?

are accented characters correctly handled by squeezeplay ?
i tried with USEPADEVICE = Haut-parleurs (P├®riph├®rique High Definition Audio) => also ignored

Squeezeplay will most likely hang when it tries to initialize a wasapi device, YMMV.
It might be a typo in your message, but the string comparison is case sensitive so you need to use Windows WASAPI
I've not had a report before of accented characters not working, but I've never tested it either.

eusebius
2016-02-14, 06:59
Squeezeplay will most likely hang when it tries to initialize a wasapi device, YMMV.
It might be a typo in your message, but the string comparison is case sensitive so you need to use Windows WASAPI
I've not had a report before of accented characters not working, but I've never tested it either.

it was a typo : the USEPAHOSTAPI was correctly set...
any idea to explain the environment variables are ignored , apart an hypothetic problem with accented characters ?

ralphy
2016-02-15, 05:50
it was a typo : the USEPAHOSTAPI was correctly set...
any idea to explain the environment variables are ignored , apart an hypothetic problem with accented characters ?

The only time the env vars are ignored is if the portaudio.dll does not have support compiled in for the hostapi you are trying to set and squeezeplay only reads the env vars at startup.

eusebius
2016-02-15, 06:32
The only time the env vars are ignored is if the portaudio.dll does not have support compiled in for the hostapi you are trying to set and squeezeplay only reads the env vars at startup.

- according to the post #1, the portaudio.dll from squeezelite-1.8.0-566-win32.zip support Windows WASAPI
- i use this version or portaudio.dll
- the USEPAHOSTAPI is correctly set to "Windows WASAPI"
- so i suspect the accented character for the USEPADEVICE environment variable might be the problem ?
- could you test this to be sure ? :confused:

ralphy
2016-04-11, 04:25
A new build of squeezeplay is available which includes these changes;

Update portaudio library to r1967.
Always start at the first item in the lms 7.9 Random Albums menu.
Add alternatives for common control buttons avoiding keyboard modifiers.
Fix jivelite JogglerSkin NowPlaying Text Only title overwriting progress counter.
Add support for changing the framerate with JIVE_FRAMERATE environment variable.
Valid rates are even numbers between 4 and 60, default is 22.
Add JogglerSkin support to SetupWallpaper applet.
Fix squeezeplay display fade transitions failing with an error.
Fix the Quit menu to exit when pressed.
Reenable playSound in SlimBrowserApplet.lua

See post #1 in this thread for download details.

RonM
2016-04-15, 21:09
I have Win10 on a Surface 4. Love it. Except for a few things, one of which is playing music.

As far as I can tell, there may be no way to have the screen off (saving power) while playing music. Hitting the power button puts the device to sleep, and setting the screen to turn off after x minutes has the same effect. There is a workaround for Chrome, but nothing I can find for non-browser apps.

Would be nice if there was a way to allow playing from SqueezePlay with screen off, and even better if other background activity was also turned off.

Suggestions? Any chance of some special wizardry in SqueezePlay? Or will I have to go to my Android mobile for this functionality? The audio in the Surface 4 is SO much better . . .

ralphy
2016-04-16, 05:03
I have Win10 on a Surface 4. Love it. Except for a few things, one of which is playing music.

As far as I can tell, there may be no way to have the screen off (saving power) while playing music. Hitting the power button puts the device to sleep, and setting the screen to turn off after x minutes has the same effect. There is a workaround for Chrome, but nothing I can find for non-browser apps.

Would be nice if there was a way to allow playing from SqueezePlay with screen off, and even better if other background activity was also turned off.

Suggestions? Any chance of some special wizardry in SqueezePlay? Or will I have to go to my Android mobile for this functionality? The audio in the Surface 4 is SO much better . . .

If there's no way to set the screen saver to turn off the screen without sleeping/suspending the surface then there's no way I know.

However, if the screen saver will NOT even start when squeezeplay is running, you can set the system environment variable

SDL_VIDEO_ALLOW_SCREENSAVER=1

http://superuser.com/questions/949560/how-do-i-set-system-environment-variables-in-windows-10

You need to quit squeezeplay and restart it after setting the env var.

dwl99
2016-05-10, 10:09
I have a Pipo X8 tablet (1280×800 resolution, Intel Z3736F CPU and 2GB RAM) running Windows 10 Home 32-bit. Squeezeplay 7.8.0r719 installs but refuses to start. Whenever I try to start it I just get a small icon appearing on the screen. I've tried re-downloading it and several reinstalls. I've also tried installing it in compatibility mode and as administrator but with no success. Sometimes after an uninstall & reinstall it works briefly but looks weird like a collage of different bits of the window. After closing it down it just won't run. I've attached some screenshots and a log file. Any ideas?

Thanks

schmurtz
2016-05-13, 14:32
I have a Pipo X8 tablet (1280×800 resolution, Intel Z3736F CPU and 2GB RAM) running Windows 10 Home 32-bit. Squeezeplay 7.8.0r719 installs but refuses to start. Whenever I try to start it I just get a small icon appearing on the screen. I've tried re-downloading it and several reinstalls. I've also tried installing it in compatibility mode and as administrator but with no success. Sometimes after an uninstall & reinstall it works briefly but looks weird like a collage of different bits of the window. After closing it down it just won't run. I've attached some screenshots and a log file. Any ideas?
Thanks

I'm not an expert, may be you should try directly on ht e screen without teamviewer (teamviewer installs a video driver may be it interfere with the interface).
You can also try JiveLite to see if you have the same problem with the interface.
Then you can try to change the default skin.


By the way, is there a tutorial somewhere or better : an editor to create a skin for SqueezePlay ?

dwl99
2016-05-14, 00:56
I'm not an expert, may be you should try directly on ht e screen without teamviewer (teamviewer installs a video driver may be it interfere with the interface).
You can also try JiveLite to see if you have the same problem with the interface.
Then you can try to change the default skin.
I'm sure you're right about it being a graphics problem. I uninstalled Teamviewer but still no success. My device has Intel HD graphics and I've updated the drivers to the latest version. Exactly the same thing happens with JiveLite. I tried installing & running it in Windows 10 safe mode with base video drivers but with the same result.

bits
2016-07-20, 07:44
So I had a dream the other day that I might setup a Pi and such running Squeezeplay, then I saw the "official" source is full of out of date lib's.
I figured I could get started with updating on Windows and then fixing the make files for linux and then get it compiling on ARM etc.

It turns out this was all much harder than my dream led me to believe!


I actually got 3/4 done and got stuck with Squeezeplay crashing immediately if not running as a console app or in debug (read from uninitialized memory?)
I thought I pinned the problem down to SDL 1.2.15 redirecting stdout/stderr etc.

I worked around the crash problem by updating to latest SDL 1.2.15 in their Mercurial SCM.

Then I found out about this thread in a complete facepalm moment. You would think I would have Google'd for if someone would be updating something like this.

Being 3/4 done I figured I may as well finish off what I started!


Now my Squeezeplay for Windows runs and works except for an issue with mp3 files clipping if at 100% volume.
This actually happens for me on the latest release from ralphy during animations, but happens on my build a lot more.


I had a crack at updating LUA and its addons at one stage but quickly gave up after noting the API change.
I also gave SDL2 a crack but that was even worse regarding the changes to video rendering/surfaces in particular.
Both were abandoned and changes reverted.

So 2 things:
1)Anyone have any clues of where the clipping/distortion for mp3 files comes from? Has anyone else seen this?

2)If anyone cares here is my effort so far:
http://wasteofcash.com/Squeezeplay/
src zip/7z have "functional" debug/release configs for Visual Studio 2015. Not sure why but randomly you might need to click build a second time as modules like md5 and sha1 like to not be available in time randomly.
make files are not updated and likely have all kinds of problems.
cmake created libjpeg-turbo with full paths, there is a aRunme_for_vs_files.cmd that may assist you to fix the paths.

Lib updates:
expat-2.0.1 -> expat-2.2.0
flac-1.2.1 -> flac-1.3.1 + libogg-1.3.2
freefont-20090104 -> freefont-20120503
freetype-2.1.10 -> freetype-2.6.1
jpeg-6b -> libjpeg-turbo-1.5.1
libpng-1.2.32 -> libpng-1.5.27
portaudio v19_1360 -> portaudio v19_1968
SDL_gfx-2.0.15 -> SDL_gfx-2.0.25
SDL_image-1.2.5 -> SDL_image-1.2.12
SDL_ttf-2.0.8 -> SDL_ttf-2.0.11
SDL-1.2.13 -> SDL-1.2.15
kissfft-1.2.5 -> kissfft-1.3.0
zlib-1.2.3 -> zlib-1.2.8

Works on my PC but is nowhere near the the quality release of ralphy!

schmurtz
2016-07-26, 03:05
Thanks bits.
For information I try your package, vcruntime140.dll was missing, I've added in in the folder and it's OK.

For your distortion problem you can try to change streaming method in parameters -> "player" tab -> "audio" dropdown -> Streaming Method
You can also go to "advanced" tab -> "file format" but there are no options for mp3 (only for other formats)

By the way, what is the advantage to update the different libraries ? What is better ?

bits
2016-07-26, 03:48
Many of the out of date libs have numerous severe security flaws, although attacking the pc via squeezeplay might be a very long shot by an attacker [emoji14]
But plausible. In fact it would be trivial to distribute mp3 files or an album zip with a malcious image.

Performance and stability improvements also.

kllngtme
2016-08-30, 08:06
For a long time I've been using Squeezelite in conjunction with Squeezeplay as I read squeezelite had better audio support. I only use Squeezeplay for controlling it.
Is the latest release of Squeezeplay up to date as far as audio quality compared to squeezelite?


Another question I have is more related to LMS itself. How do I find out what is streaming from the server right now? Is there a way to find out which player is playing music, and what it's streaming at? IE: bitrate, bandwidth usage, latency of the stream

ralphy
2016-08-31, 04:58
For a long time I've been using Squeezelite in conjunction with Squeezeplay as I read squeezelite had better audio support. I only use Squeezeplay for controlling it.
Is the latest release of Squeezeplay up to date as far as audio quality compared to squeezelite?

Another question I have is more related to LMS itself. How do I find out what is streaming from the server right now? Is there a way to find out which player is playing music, and what it's streaming at? IE: bitrate, bandwidth usage, latency of the stream

Squeezelite supports all windows audio apis whereas squeezeplay still only works with DirectSound and MME. You also still have to set environment variables to support sample rates above 48K.

The latest squeezeplay adds the changes from jivelite including a fix for a null pointer crash in DNS lookup but no audio improvement.
The portaudio library is updated to the latest in git with each release.

rtfmoz
2016-11-06, 02:12
Take the complexity out of installing squeezelite!

Windows Installer for Squeezelite 1.8.5.808 created using InnoSetup.

Offers option to install as a service.
When installing as a service the computer is named "Desktop".

Squeezelite binaries from: https://sourceforge.net/projects/lmsclients/files/squeezelite/
Service Manager from: https://nssm.cc/
Install tips sourced from this (http://forums.slimdevices.com/showthread.php?100893-HOW-TO-Squeezelite-player-on-Windows-8-step-by-step)thread.
Inno Setup Script ~ http://pastebin.com/LXcrNufx

moxbox
2016-11-27, 21:02
Hi folks,

I think squeezelite is the plugin I'm looking for, but it looks like this will be more complicated than the other plugins I've tried, so I'd like to check to make sure before I take the leap. Thanks in advance for your help :)

So :

1. I'm looking for a plugin that will allow me to direct the audio stream from my windows 10 PC to my SB(s), using the LMS interface. For example, say I'm playing a stream from an internet site (like Youtube, or any internet audio stream), and I'd like to send that stream to one of the SBs connected to my audio system. I'm looking for something that will let me use the LMS interface to redirect that source to the SB. I think waveinput was the original LMS plugin for doing this, but that relies on a windows recording device, stereo mix, that is no longer available on newer windows systems. (And my interest here is because some of the existing plugins for internet sites (for example Mixcloud) are not working properly).

Is squeezelite the plugin for doing this?

2. Squeezelite vs. Squeezeplay: it sounds like the key difference is the support for more audio devices, including WASAPI. Is that right? And Squeezelite is the version under active development.

3. Is there an up-to-date tutorial somewhere on installation, setup and troubleshooting?

again, many thanks!

ralphy
2016-11-28, 05:21
Hi folks,

I think squeezelite is the plugin I'm looking for, but it looks like this will be more complicated than the other plugins I've tried, so I'd like to check to make sure before I take the leap. Thanks in advance for your help :)

So :

1. I'm looking for a plugin that will allow me to direct the audio stream from my windows 10 PC to my SB(s), using the LMS interface. For example, say I'm playing a stream from an internet site (like Youtube, or any internet audio stream), and I'd like to send that stream to one of the SBs connected to my audio system. I'm looking for something that will let me use the LMS interface to redirect that source to the SB. I think waveinput was the original LMS plugin for doing this, but that relies on a windows recording device, stereo mix, that is no longer available on newer windows systems. (And my interest here is because some of the existing plugins for internet sites (for example Mixcloud) are not working properly).

Is squeezelite the plugin for doing this?

2. Squeezelite vs. Squeezeplay: it sounds like the key difference is the support for more audio devices, including WASAPI. Is that right? And Squeezelite is the version under active development.

3. Is there an up-to-date tutorial somewhere on installation, setup and troubleshooting?

again, many thanks!

Squeezeplay and squeezelite are software players. They don't have audio capture or recording capabilities.

You want the wave input plugin for lms, as other members replied in your other thread. It allows you to capture audio from your windows 10 pc and send it to a player like sp or sl. You need to install LMS on the windows 10 pc, install the plugin and then configure the plugin for which audio recording device to use. You'll find the information in the wave input plugin thread (http://wiki.slimdevices.com/index.php/WaveInput_plugin).

moxbox
2016-11-28, 20:04
Squeezeplay and squeezelite are software players. They don't have audio capture or recording capabilities.

You want the wave input plugin for lms, as other members replied in your other thread. It allows you to capture audio from your windows 10 pc and send it to a player like sp or sl. You need to install LMS on the windows 10 pc, install the plugin and then configure the plugin for which audio recording device to use. You'll find the information in the wave input plugin thread (http://wiki.slimdevices.com/index.php/WaveInput_plugin).

Thanks -- sorry for the quasi-duplicate postings, I'm just trying to figure out what the different apps do. I'm not sure why one would want a PC to emulate a squeezebox, so I thought maybe I'd misunderstood the functionality of Squeezelite.

I have the most current build of LMS, with wave input enabled, and as I noted in the other post, the problem with the wave input plugin (at least according to the link above) is that it relies on a recording device (audio ouput?) in Windows called "stereo mix" that has been removed from most modern Windows systems (including mine). There are some third party versions of stereo mix, but they don't work on all Windows systems or all sound cards (mine included). There are several threads in this forum that reference this:
http://forums.slimdevices.com/showthread.php?103669-Problems-with-WaveInput-Plugin&highlight=wave+input+stereo+mix
http://forums.slimdevices.com/showthread.php?101185-WaveInput-not-working-on-players/page3&highlight=wave+input+stereo+mix

So, if wave input doesn't rely on stereo mix, or there's another way to capture the PC audio stream and send it to LMS and other folks have it working on their Windows 10 machines, please let me know! I can't seem to find any recent info on the Windows version of the app in this forum.

thx!

ralphy
2017-01-28, 08:41
New squeezeplay 7.8.0r874 for Windows available.

See post #1 of this thread (http://forums.slimdevices.com/showthread.php?96573-SqueezePlay-for-Windows-with-ASIO-DirectSound-WASAPI-and-WDMKS-device-support&p=718893&viewfull=1#post718893) for change details, download and installation instructions.

vrette
2017-01-28, 08:42
Cool. Thanks!

esackbauer
2017-02-16, 15:51
Thanks!

Nikolay V
2017-03-18, 18:41
I've built a windows version of SqueezePlay (https://sourceforge.net/projects/lmsclients/files/squeezeplay/windows/) with DirectSound and MME audio device support and the ability to select the output device and set the maximum sample rate.
7.8.0.r951 - 20170308

See the commit history (https://github.com/ralph-irving/squeezeplay/commits/master) for changes.

ASIO, WASAPI and WDMKS support have been removed as they hang audio playback after the first sample rate change on win7+.

Builds are available on sourceforge (https://sourceforge.net/projects/lmsclients/files/)

Hi , Ralphy !
SqueezePlay and (Squeezelite also ) still not work with ASIO in windows 10
"hang audio playback after the first sample rate change"
I report you that Direct Sound not work also after sample rate change
Is there already a solution to this problem ?
Thanks !

ralphy
2017-03-19, 04:55
Hi , Ralphy !
SqueezePlay and (Squeezelite also ) still not work with ASIO in windows 10
"hang audio playback after the first sample rate change"
I report you that Direct Sound not work also after sample rate change
Is there already a solution to this problem ?
Thanks !

This is the first report I've read of Direct Sound not working on win10 with squeezeplay.

Nikolay V
2017-03-19, 06:25
This is the first report I've read of Direct Sound not working on win10 with squeezeplay.
I use RME USB soundcard and after i launch Jriver playback with ASIO (and resample) , SqueezePlay (or Squeezelite) not work further.
And work again only after restart.
The same in all modes include Direct Sound
Of course I would like a stable ASIO multi-client mode in Squeezeplay (or squeezelite)
Note: RME card work in SPDIF out up to 192Kbit
Also I use M2Tech HiFace TWO 24/192 with the same results

22341

ralphy
2017-04-22, 05:18
New windows squeezeplay build 7.8.0r959 available.

Enable toasts for status information like play/pause/shuffle/repeat when using the keyboard or remote control.
Fix truncated small elapsed and remaining times in Joggler skin Now Playing screens.
Only save user modified logging categories to logconf.lua.
Replaced a portaudio function call to get the current timing information with a parameter already passed into the callback.

See post #1 (http://forums.slimdevices.com/showthread.php?96573-SqueezePlay-for-Windows-with-ASIO-DirectSound-WASAPI-and-WDMKS-device-support&p=718893&viewfull=1#post718893) for details.

jstraw
2017-11-02, 08:48
I updated to the latest stable LMS 7.9.1 release and now my instances of Squeezeplay won't let me past the password prompt. I've tried setting different username/password combinations in LMS but it makes no difference. All instances of Squeezeplay work fine if I disable password protection. Any thoughts?

ralphy
2017-11-03, 06:59
I updated to the latest stable LMS 7.9.1 release and now my instances of Squeezeplay won't let me past the password prompt. I've tried setting different username/password combinations in LMS but it makes no difference. All instances of Squeezeplay work fine if I disable password protection. Any thoughts?

I've been unable to reproduce this on a linux, osx or windows squeezeplay using Logitech Media Server Version: 7.9.1 - r1846.c558cb2 @ 1509375021 from git.

jstraw
2017-11-03, 10:31
I've been unable to reproduce this on a linux, osx or windows squeezeplay using Logitech Media Server Version: 7.9.1 - r1846.c558cb2 @ 1509375021 from git.

I could give you the host, username and password in a private message if you want to see if you can get at my server.

ralphy
2017-11-04, 05:22
I could give you the host, username and password in a private message if you want to see if you can get at my server.

This is the first time I've had a report of this since I've been working with squeezeplay.

It really sounds like an environment issue, networking, firewall, antivirus or IPS.

Is your LMS exposed to the internet? If so, you've likely been hacked. Or would you just open it up to try?

jstraw
2017-11-04, 05:31
This is the first time I've had a report of this since I've been working with squeezeplay.

It really sounds like an environment issue, networking, firewall, antivirus or IPS.

Is your LMS exposed to the internet? If so, you've likely been hacked. Or would you just open it up to try?

My LMS uses an IP provided by a VPN service and my DYN hostname points to that IP. I was using password protection on top of that obfuscation successfully right up until a LMS reinstall. After the reinstall, password protection still works perfectly for web browsers and hardware devices. It only stopped working for all three instances of Squeezeplay in use. I have disabled password protection when I've needed to use any of those Squeezeplay instances.

I can input the username on Squeezeplay and move on to the password screen. When I enter the password and click "done," literally nothing happens.

ralphy
2017-11-04, 06:28
My LMS uses an IP provided by a VPN service and my DYN hostname points to that IP. I was using password protection on top of that obfuscation successfully right up until a LMS reinstall. After the reinstall, password protection still works perfectly for web browsers and hardware devices. It only stopped working for all three instances of Squeezeplay in use. I have disabled password protection when I've needed to use any of those Squeezeplay instances.

I can input the username on Squeezeplay and move on to the password screen. When I enter the password and click "done," literally nothing happens.

Squeezeplay tries to connect with the username/password for a few seconds and should return to the username input screen if it fails.

There's not a lot of logging in the HttpAuth modules but try setting the applet.HttpAuth, audio.code, audio.decode and audio.output logging to debug, quit squeezeplay
Delete HttpAuth.lua from C:\Users\%USERNAME%\AppData\Roaming\SqueezePlay\us erpath\settings and start squeezeplay.

When SP fails to connect, press and hold the backspace key to cancel the connect attempt, if it doesn't come back on it's own, quit squeezeplay and see if there's anything helpfull in the logs.
C:\Users\%USERNAME%\AppData\Local\Temp\std*-SqueezePlay.txt

If still no joy, quit squeezeplay, backup or just delete the userpath folder and start SP and try again.

jstraw
2017-11-04, 06:44
Squeezeplay tries to connect with the username/password for a few seconds and should return to the username input screen if it fails.

There's not a lot of logging in the HttpAuth modules but try setting the applet.HttpAuth, audio.code, audio.decode and audio.output logging to debug, quit squeezeplay
Delete HttpAuth.lua from C:\Users\%USERNAME%\AppData\Roaming\SqueezePlay\us erpath\settings and start squeezeplay.

When SP fails to connect, press and hold the backspace key to cancel the connect attempt, if it doesn't come back on it's own, quit squeezeplay and see if there's anything helpfull in the logs.
C:\Users\%USERNAME%\AppData\Local\Temp\std*-SqueezePlay.txt

If still no joy, quit squeezeplay, backup or just delete the userpath folder and start SP and try again.

Thanks. I'll try those steps and report back. Much appreciated.

jstraw
2017-11-04, 07:02
Deleting the userpath directory and reconfiguring Squeezeplay worked. Thank you.

ralphy
2017-11-26, 05:29
New Windows squeezeplay build available.

7.8.0.r1034

Add separate power on (k) off (i) key press actions.
Add Justboom USB smart remote support.
Fixed a memory leak in lua interpreter.
Fixed luajson error code comparison always returning false.
Backported CVE-2017-2887 to SDL_image-1.2.5.

See post #1 (http://forums.slimdevices.com/showthread.php?96573-SqueezePlay-for-Windows-with-ASIO-DirectSound-WASAPI-and-WDMKS-device-support&p=718893&viewfull=1#post718893) for details.

Furry
2017-12-03, 10:03
I'm also having a problem getting Squeezeplay to work on Windows 10 (although it has worked in the past).

After selecting language, it always attempts to connect to mysqueezebox.com, resulting in 'Problem Connecting'

It tries to do the same again, whether I then select ''Switch Library' or 'Try again'.

Why doesn't 'Switch Library' let me actually do that? (and I don't care about it connecting to / don't want it to connect to mysqueezebox.com anyway).

I have tried deleting the Userpath folder, and turning off Kaspersky protection, but nothing will get it past this problem.

TIA.

Tex
2017-12-03, 10:24
I just upgraded 2 Window 10 machines and had no problem. I did an uninstall & new install but all the preferences were the same I found. All I did was click on My Music and it found my server.

Tex
2017-12-03, 12:06
I have another machine that I rarely use for Squeezeplay so I just tried to use it and had symptoms similar to you so I tried switching players and connected that way. Using the Web interface I found the player was connected to MySqueebox.com & just use the Web interface to move it back to the local server. I hope that helps. I was never able to connect using the switching libraries.

vrette
2018-06-04, 07:59
I've been using SqueezePlay for years with great success and really appreciate the effort. However, I've run into a bit of a snag. I'm attempting to automate the use of SqueezePlay (among other things) via remote. I'm using SqueezePlay to control a Touch, and displaying SqueezePlay on my TV. I've run into an issue where the Windows standard keyboard shortcut to close a program (ALT-F4) does not close SqueezePlay. Instead, it goes to preset # 4. I have the same issue on several computers. I've messed with this for a while and have not come up with an alternate shortcut to close the SqueezePlay window. Is there another way to close Squeezeplay using a keyboard shortcut rather than having to drag out a mouse and/or keyboard?

Thanks

Paul Webster
2018-06-04, 08:25
Can you go Home/Down/Down ... until Quit and then Enter/Enter ... or whatever the sequence would be (perhaps with some delays to give it chance to action them)

vrette
2018-06-04, 08:33
Can you go Home/Down/Down ... until Quit and then Enter/Enter ... or whatever the sequence would be (perhaps with some delays to give it chance to action them)

I tried programming those keystrokes but can't get it to work reliably.

ralphy
2018-06-05, 10:48
I've been using SqueezePlay for years with great success and really appreciate the effort. However, I've run into a bit of a snag. I'm attempting to automate the use of SqueezePlay (among other things) via remote. I'm using SqueezePlay to control a Touch, and displaying SqueezePlay on my TV. I've run into an issue where the Windows standard keyboard shortcut to close a program (ALT-F4) does not close SqueezePlay. Instead, it goes to preset # 4. I have the same issue on several computers. I've messed with this for a while and have not come up with an alternate shortcut to close the SqueezePlay window. Is there another way to close Squeezeplay using a keyboard shortcut rather than having to drag out a mouse and/or keyboard?

Thanks

I've attached a patch that creates a quit action and as an example, maps the lower case letter o to the quit action.

I can add the quit action in the next build, but I won't likely include a key binding in InputToActionMap.lua as pressing the o key quits squeezeplay immediately, no are you sure? prompts.


Index: share/applets/SlimBrowser/SlimBrowserApplet.lua
================================================== =================
--- share/applets/SlimBrowser/SlimBrowserApplet.lua (revision 1101)
+++ share/applets/SlimBrowser/SlimBrowserApplet.lua (working copy)
@@ -1727,6 +1727,12 @@
["scanner_fwd"] = function(self, event)
return self.scanner:event(event)
end,
+
+ ["quit"] = function()
+ -- disconnect from Player/SqueezeCenter
+ appletManager:callService("disconnectPlayer")
+ return (EVENT_CONSUME | EVENT_QUIT)
+ end,
}


Index: share/jive/InputToActionMap.lua
================================================== =================
--- share/jive/InputToActionMap.lua (revision 1101)
+++ share/jive/InputToActionMap.lua (working copy)
@@ -36,6 +37,7 @@
["e"] = "scanner_rew",
["r"] = "scanner_fwd",
["u"] = "mute",
+ ["o"] = "quit",

-- original
["/"] = "go_search",

vrette
2018-06-05, 14:59
I've attached a patch that creates a quit action and as an example, maps the lower case letter o to the quit action.

I can add the quit action in the next build, but I won't likely include a key binding in InputToActionMap.lua as pressing the o key quits squeezeplay immediately, no are you sure? prompts.


Index: share/applets/SlimBrowser/SlimBrowserApplet.lua
================================================== =================
--- share/applets/SlimBrowser/SlimBrowserApplet.lua (revision 1101)
+++ share/applets/SlimBrowser/SlimBrowserApplet.lua (working copy)
@@ -1727,6 +1727,12 @@
["scanner_fwd"] = function(self, event)
return self.scanner:event(event)
end,
+
+ ["quit"] = function()
+ -- disconnect from Player/SqueezeCenter
+ appletManager:callService("disconnectPlayer")
+ return (EVENT_CONSUME | EVENT_QUIT)
+ end,
}


Index: share/jive/InputToActionMap.lua
================================================== =================
--- share/jive/InputToActionMap.lua (revision 1101)
+++ share/jive/InputToActionMap.lua (working copy)
@@ -36,6 +37,7 @@
["e"] = "scanner_rew",
["r"] = "scanner_fwd",
["u"] = "mute",
+ ["o"] = "quit",

-- original
["/"] = "go_search",


Perfect! I surprised myself and despite having no idea as to what I was doing, I successfully modified the code in the two modules and now SqueezePlay closes when I hit the "o" key.

It would be great if you included something along these lines in the next build. Personally I would not want any kind of "Are you sure you want to quit?" dialog since that would just complicate programing the keystrokes into the remote.

Thanks!

ralphy
2018-06-06, 04:44
Perfect! I surprised myself and despite having no idea as to what I was doing, I successfully modified the code in the two modules and now SqueezePlay closes when I hit the "o" key.

It would be great if you included something along these lines in the next build. Personally I would not want any kind of "Are you sure you want to quit?" dialog since that would just complicate programing the keystrokes into the remote.

Thanks!

I may do something similiar to what the picoreplayer settings applet does for a reboot;

Give a five second count down before quitting,
If the user presses a key within the 5 seconds the quit is cancelled otherwise squeezeplay exits when 5 seconds are up.
Then I could include a key binding for the quit action.

vrette
2018-06-06, 16:34
I may do something similiar to what the picoreplayer settings applet does for a reboot;

Give a five second count down before quitting,
If the user presses a key within the 5 seconds the quit is cancelled otherwise squeezeplay exits when 5 seconds are up.
Then I could include a key binding for the quit action.

I like the countdown idea.

Again, thanks for the help.

ralphy
2018-10-02, 05:52
Windows squeezeplay build 7.8.0r1101 available.

Supports save and play for all 10 presets. Requires LMS 7.9.2 1527514762+ for presets 7 through 10 support.
Bug fixes.

See the first post in this thread for details.

bernid
2018-11-08, 02:17
Sorry maybe I should choose different topic concerning squeezelite on Windows...but I couldn't find appropriate topic so I write here.
I would like to play squeezelite with WASAPI or WDM-KS output on my win7 x64 with Realtek ALC892 sound chip.
I downloaded the newest:

Squeezelite v1.9.0-1119, Copyright 2012-2015 Adrian Smith, 2015-2018 Ralph Irving. See -t for license terms
....
Build options: WIN PORTAUDIO WINEVENT RESAMPLE FFMPEG DSD LINKALL
The sound output list is as follows:

C:\nssm-2.24\nssm-2.24\win64>"C:\Program Files (x86)\squeezelite\squeezelite-win.exe" -l Output devices:
0 - Mapowanie dzwieku Microsoft - Output [MME]
1 - Glosniki (Realtek High Definiti [MME]
2 - Realtek Digital Output (Realtek [MME]
3 - Podstawowy sterownik dzwieku [Windows DirectSound]
4 - Glosniki (Realtek High Definition Audio) [Windows DirectSound]
5 - Realtek Digital Output (Realtek High Definition Audio) [Windows DirectSound]
6 - Realtek Digital Output (Realtek High Definition Audio) [Windows WASAPI]
7 - Glosniki (Realtek High Definition Audio) [Windows WASAPI]
8 - Speakers (Realtek HD Audio output) [Windows WDM-KS]
11 - SPDIF Out (Realtek HDA SPDIF Optical Out) [Windows WDM-KS]
12 - SPDIF Out (Realtek HDA SPDIF Out) [Windows WDM-KS]
14 - Output (Audio dla wyswietlaczy Intel(R) - Wyjscie 3) [Windows WDM-KS]

but when I select '7'-[Windows WASAPI] or 8-[Windows WDM-KS] I see errors:

C:\nssm-2.24\nssm-2.24\win64>"C:\Program Files (x86)\squeezelite\squeezelite-win.exe" -m 0b:7d:5f:1f:3a:57 -o 7 -r 192000 -D 80 -C 1
[09:51:53.671] test_open:203 error opening portaudio stream: Invalid device
[09:51:53.671] output_init_common:384 unable to open output device: 7

C:\nssm-2.24\nssm-2.24\win64>"C:\Program Files (x86)\squeezelite\squeezelite-win.exe" -m 0b:7d:5f:1f:3a:57 -o 8 -r 192000 -D 80 -C 1
[09:52:17.561] test_open:203 error opening portaudio stream: Invalid device
[09:52:17.561] output_init_common:384 unable to open output device: 8

I can play squeezelite only with output 1-[MME] or 4-[Windows DirectSound].
How could I switch to WASAPI or WDM-KS?
Thanks and regards,
B

ralphy
2018-11-08, 05:30
Squeezeplay only supports Direct Sound and MultiMedia Extension sound devices now. You can review the technical reasons why support was removed here (https://github.com/ralph-irving/squeezeplay/commit/2f9174221baaea99872ec67fa0b7592a220ba31c)

Unfortunately I was unable to change the thread title to remove the references to ASIO, WASAPI and WDMKS.

However, you CAN use jivelite (https://sourceforge.net/projects/lmsclients/files/jivelite/windows/) with your working squeezelite player. The visualizer screen savers are not available with jivelite for windows.

Also, check out Squeezelite-X (https://forums.slimdevices.com/showthread.php?108550-Announce-Squeezelite-X).

bernid
2018-11-08, 11:34
Squeezeplay only supports Direct Sound and MultiMedia Extension sound devices now. You can review the technical reasons why support was removed here (https://github.com/ralph-irving/squeezeplay/commit/2f9174221baaea99872ec67fa0b7592a220ba31c)

Unfortunately I was unable to change the thread title to remove the references to ASIO, WASAPI and WDMKS.

...[/url].
Thanks. Ok I understand that there is and issue with ASIO, WASAPI and WDMKS in Squeezeplay. But I ask about ASIO, WASAPI and WDMKS output in squeezelite.
You wrote:


To restore ASIO, WASAPI and WDMKS support in squeezeplay after installation replace portaudio.dll in the C:\Program Files\SqueezePlay folder with the one from squeezelite-1.9.0-1112-win32.zip

So I assume that last versions of WIN squeezelite supports ASIO, WASAPI and WDMKS?
Please clarify.

ralphy
2018-11-09, 06:50
Thanks. Ok I understand that there is and issue with ASIO, WASAPI and WDMKS in Squeezeplay. But I ask about ASIO, WASAPI and WDMKS output in squeezelite.
You wrote:

So I assume that last versions of WIN squeezelite supports ASIO, WASAPI and WDMKS?
Please clarify.

I assumed we were talking about squeezeplay, since you asked in a squeezeplay thread.

Squeezeplay crashed as soon as it tried to change the device sample rate, that's why support for those apis was removed.

Squeezelite supports all windows audio apis. However, squeezelite doesn't include the portaudio.dll anymore, it is compiled directly into the executable.