Announcement

Collapse
No announcement yet.

[Announce] Squeezelite-X

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • 64 bit Win 7 with Classic theme.
    Last edited by mikeh49; 2019-08-08, 18:23.

    Comment


    • Originally posted by mikeh49
      Squeezelite aborts:
      OK, Squeezelite-win.exe is failing. Now let's see why. Go to the Squeezelite-X installation directory and open a command window. and try and run squeezelite-win.exe from there.

      type: squeezelite-win.exe -n "Mike" -s pinkpogo -m 70:8b:cd:53:98:19

      and see if you get an error description or if it just runs.

      R Greg Dawson
      Squeezelite-X

      Comment


      • I think there is a problem with the sound system on the box I'm trying to use Squeezelite-X on. I tried running squeezelite-win by itself and squeezelite-win -l produces no output.


        This is the output from another Win 7 box:

        F:\>squeezelite-win -l
        Output devices:
        3 - Microsoft Sound Mapper - Output [MME]
        4 - Speakers (VIA High Definition A [MME]
        8 - Primary Sound Driver [Windows DirectSound]
        9 - Speakers (VIA High Definition Audio) [Windows DirectSound]
        10 - Speakers (VIA High Definition Audio) [Windows WASAPI]
        13 - Output (ATI HD Audio rear output) [Windows WDM-KS]
        14 - SPDIF Out (HD Audio digital out) [Windows WDM-KS]
        15 - Speakers (VIA HD Audio Output) [Windows WDM-KS]
        With
        Code:
        squeezelite-win -o default -n Test
        on this test box, it runs and I can control it with the Squeezelite-X server interface.

        When I run squeezelite-win on the main box, I get:

        Code:
        D:\SqueezeliteX>squeezelite-win -o default -n Mike
        [16:32:05.005] output_init_pa:597 error initialising port audio: Internal PortAudio error
        Other sound related apps run OK.

        Update: same result as above when running from the Squeezelite-X program directory.

        Thoughts?
        Last edited by mikeh49; 2019-08-09, 00:52. Reason: Added additional information.

        Comment


        • Originally posted by mikeh49
          I think there is a problem with the sound system on the box I'm trying to use Squeezelite-X on. I tried running squeezelite-win by itself and squeezelite-win -l produces no output.


          This is the output from another Win 7 box:



          With
          Code:
          squeezelite-win -o default -n Test
          on this test box, it runs and I can control it with the Squeezelite-X server interface.

          When I run squeezelite-win on the main box, I get:

          Code:
          D:\SqueezeliteX>squeezelite-win -o default -n Mike
          [16:32:05.005] output_init_pa:597 error initialising port audio: Internal PortAudio error
          Other sound related apps run OK.

          Update: same result as above when running from the Squeezelite-X program directory.

          Thoughts?
          PortAudio happens to be the library squeezelite uses to access audio devices. Its a cross platform library. I have no idea why but it is returning an error on this box. SLX just executes squeezelite-win.exe and it is failing. Generally if squeezelite fails for some reason SLX will detect it and provide the error message you saw "Squeezelitewin.exe aborted...check parameters". However, SLX also uses squeezelite to return the list of output devices and I never expected that to fail and was not detecting the failure there. On startup, SLX would do this in a background thread, and since it was not detecting the failure, the thread was not returning and you got a hang. So I eliminated that in the test version 2.4.2.1. In 2.4.2.1 SLX detected the failure of squeezelite and showed you the error.

          BUT, I have no idea why squeezelite is failing to initialize its PortAudio library and having an internal error. I would recommend going over to the squeezelite forum and asking there and maybe Ralphy can give you an answer.

          R Greg Dawson
          Squeezelite-X

          Comment


          • OK, i'll try there. I could not find any useful info on the specific PortAudio error that occurs.

            Comment


            • Is your default Windows audio device set to Mono?

              I have seen a variety of issues with other players when I forgot that my default device was set to my (mono) headset.

              Comment


              • Squeezelite-win won't start - solved

                Solved Another app, Total Recorder, installed a virtual microphone device that apparently tripped up PortAudio because it disabled/replaced the sound "card" mic input. After disabling the Total Recorder microphone device, squeezelite could see the audio devices and now works. FWIW, the list of devices does not show a microphone, but does show a Total Recorder virtual speaker device. I got a clue for this from posts on other forums about Port Audio not seeing devices after a Win 10 update. The cause was a setting in Privacy that blocked (all?) app access to the microphone. So, it seems that Port Audio wants/needs full access to all audio devices on the sound card. But, subsequently disabling the sound card microphone input does not prevent squeezelite from seeing the other devices.

                Thanks Peter, good clue.

                If you want to know about sound drivers, you can read more here:

                record RealPlayer, record Real Player, record WMP, Record Windows Media Player, .mp3 to .wav, .ra to .wav, .rm to .wav, audio, VBR recording, audio grabber, record, capture real player, capture sound, convert, convert to wav, converter, MPEG Layer-3, phone recording, call recording, telephone recording, call center recorder, voice recorder, agent monitoring, conversation recorder, crm recording, customer recording, multimedia, radio, real audio, RealAudio, record audio, record, real audio, record real player, record sound, recorder, sound capturing, sound, recorder, total recorder, wav editor, wav recorder, 32-bit, audio editing, audio, editor, audio restoration, audio search, audio tool, cassette player, CD, cd, copy, CD player, cd recorder, cd-quality sound, CD-R, cdripper, cd-ripper, cdrom, cd-rom, channel mixer, computer telephony, convert to wave, decoder, digital audio, digital audio processing, digital copy, driver guide, drum, machine, editor, free downloads, free software, free ware, freeware, funny, sounds, funny wavs, G2, How to capture sound, How to record sound, internet news, radio, internet software, line-in, LP, microphone, MP3, mpeg3, MS Audio, multimedia and design, multimedia downloads, multimedia software, music, recorder, music software, phone system, program, ra, ra to wav, real, real audio, to wave, real media to wave, record, record music, record wav, record wave, recording software, recording studio, recording studios, registration code, registration number, rm, royalty free, share ware, shareware, software, software, developer, software reviews, sound, sound card, sound editing, sound editor, sound effects, sound files, sound recording freeware, sound recording program, sound recording software, sound recording utility, sound tool, streaming audio, utility, VCR, WAV, wav edit, wav editing, wav files, wav player, wav record, wav, recording, wave, wave edit, wave editing, wave editor, wave player, wave, players, wave record, wave recorder, wave recording, broadcast, show, mp3 to wav, live audio, live, conversion, scheduler, remove sound distortions, enhance recording quality, mix audio tracks, mix audio, karaoke, iTunes, iPod


                Bottom line is that Squeezelite-X now works fine. I'll now update to the new version.

                Thanks, Greg, nice app.

                Comment


                • Originally posted by mikeh49
                  Solved Another app, Total Recorder, installed a virtual microphone device that apparently tripped up PortAudio because it disabled/replaced the sound "card" mic input. After disabling the Total Recorder microphone device, squeezelite could see the audio devices and now works. FWIW, the list of devices does not show a microphone, but does show a Total Recorder virtual speaker device. I got a clue for this from posts on other forums about Port Audio not seeing devices after a Win 10 update. The cause was a setting in Privacy that blocked (all?) app access to the microphone. So, it seems that Port Audio wants/needs full access to all audio devices on the sound card. But, subsequently disabling the sound card microphone input does not prevent squeezelite from seeing the other devices.

                  Thanks Peter, good clue.

                  If you want to know about sound drivers, you can read more here:

                  record RealPlayer, record Real Player, record WMP, Record Windows Media Player, .mp3 to .wav, .ra to .wav, .rm to .wav, audio, VBR recording, audio grabber, record, capture real player, capture sound, convert, convert to wav, converter, MPEG Layer-3, phone recording, call recording, telephone recording, call center recorder, voice recorder, agent monitoring, conversation recorder, crm recording, customer recording, multimedia, radio, real audio, RealAudio, record audio, record, real audio, record real player, record sound, recorder, sound capturing, sound, recorder, total recorder, wav editor, wav recorder, 32-bit, audio editing, audio, editor, audio restoration, audio search, audio tool, cassette player, CD, cd, copy, CD player, cd recorder, cd-quality sound, CD-R, cdripper, cd-ripper, cdrom, cd-rom, channel mixer, computer telephony, convert to wave, decoder, digital audio, digital audio processing, digital copy, driver guide, drum, machine, editor, free downloads, free software, free ware, freeware, funny, sounds, funny wavs, G2, How to capture sound, How to record sound, internet news, radio, internet software, line-in, LP, microphone, MP3, mpeg3, MS Audio, multimedia and design, multimedia downloads, multimedia software, music, recorder, music software, phone system, program, ra, ra to wav, real, real audio, to wave, real media to wave, record, record music, record wav, record wave, recording software, recording studio, recording studios, registration code, registration number, rm, royalty free, share ware, shareware, software, software, developer, software reviews, sound, sound card, sound editing, sound editor, sound effects, sound files, sound recording freeware, sound recording program, sound recording software, sound recording utility, sound tool, streaming audio, utility, VCR, WAV, wav edit, wav editing, wav files, wav player, wav record, wav, recording, wave, wave edit, wave editing, wave editor, wave player, wave, players, wave record, wave recorder, wave recording, broadcast, show, mp3 to wav, live audio, live, conversion, scheduler, remove sound distortions, enhance recording quality, mix audio tracks, mix audio, karaoke, iTunes, iPod


                  Bottom line is that Squeezelite-X now works fine. I'll now update to the new version.

                  Thanks, Greg, nice app.
                  Good news. As a consequence of your troubles, I decided to dig into the squeezelite source code, and seeing it uses PortAudio, then I dug into that. As a test I have incorporated direct Port Audio calls to retrieve the device list rather than call squeezelite -l under the covers and taking its output. It's a little faster. What squeezelite does is retrieve all devices (input and output) and then outputs the ones where DeviceInfo.MaxOutputChannels > 0, thereby only retrieving output devices. Squeezelite retrieves DeviceInfo.Name and DeviceInfo.HostApi, so you see "name [HostApi]". Perhaps, though, the TotalRecorder "device", depending on which one of the three you were using, is doing something wrong. The user-mode driver seems to be described as having compatibility issues. You could try the TotalRecorder "kernel-mode" driver instead, or something.

                  Thanks, I hope you enjoy the app.

                  R Greg Dawson
                  Squeezelite-X

                  Comment


                  • I was thinking I should find out what drivers were installed with Total Recorder. I believe I installed an upgrade and don't recall being asked what drivers to use. That said, I would not have known the correct answer. I thought Linux sound was fairly complex and not documented in a way I could understand, but Windows turns out to be about the same, and Port Audio is really lacking, at least as far as I could find. I'll maybe look into this a little more and report back with anything interesting. Glad I was able to pique your curiosity.

                    Comment


                    • Another observation is that Chrome really does not like downloads (or downloads of your software) from 1drive. Today it refused to keep the download of 2.4.2. I had to use another browser. Yesterday, I was able to override Chrome's concern and keep the download of the test version. Today, I could not. I could not tell if this is a blanket 1drive issue, or if there is something (imaginary or actual ) in your file. I just tried again with Chrome in my Mac laptop, and there was no problem. I can check this some more if you wish.

                      Comment


                      • Originally posted by rgdawson
                        Squeezelite-X is available in the Microsoft Store for Windows 10 (Version 1607+).
                        Awesome! I like the two minimized views. It shows the Sqeeuzebox server has a design that withstands the touch of time. :-)
                        Living:Transporter Second Edition (smashing wiki page!), Touch, Denon AVR 1912 + two CM8, two CM1, CMC
                        Study:Classic, Quad 303 + two Quad ESL 57 & Grace Design m900 with AKG 240 MK11
                        Kitchen:piCorePlayer/Hifiberry DAC+ pro, Kanto YU2
                        last.fm, SoS, EAC

                        Comment


                        • Originally posted by th00ht
                          Awesome! I like the two minimized views. It shows the Sqeeuzebox server has a design that withstands the touch of time. :-)
                          Welcome to the party! BTW, that first post has not been updated in a while. The Material Skin LMS plugin (by Craig Drummond) is a 3rd party plugin. It now has its own version of a Mini-Player that looks like this:

                          Click image for larger version

Name:	MatSkinMiniPLayer.PNG
Views:	1
Size:	19.0 KB
ID:	1566818

                          R Greg Dawson
                          Squeezelite-X

                          Comment


                          • I was occupied these last weeks, my apologies for the late response.

                            Originally posted by rgdawson
                            Another Question, on the notebook, what is the display scale? And was there a message?
                            The notebook (i7) is connected to external displays, none of which has any DPI scaling. I did not try it without these displays.

                            The Surface Go has 150% DPI scaling by default (and that's what's used).

                            There were no messages (and I wouldn't have withhold them).

                            Originally posted by rgdawson
                            Tried stress testing but so far unable to reproduce startup crash. I'm also working on sleep/wake area as it pertains to squeezelite missing after waking (and also if squeezelite itself independently crashes for some reason).
                            I had the startup crash (two SLX versions ago) on my desktop, there was no significant CPU load.

                            With the latest version, I can use the mouse's back button to go to a blank white screen. The forward button reloads SLX's screen.
                            QLMS [email protected] x64 (digimaster) / QNAP 469L (QTS 4.3.4)
                            LMS 8.4 x64 / Intel NUC8 i3 (Ubuntu 22.04.1 LTS)

                            Comment


                            • Originally posted by rgdawson
                              SLX defaults to the player that was selected previously. In other words, it remembers the player (along with window position, size) when it closes, and then applies that the next time it starts. I completely understand the scenario you describe. Heck, I have done it myself.

                              Some people use SLX only as a controller, and for these remembering the player is a good thing. Maybe what I should do is default to local player if the local player is enabled, and default to remembered player otherwise.

                              Opinions?

                              R Greg Dawson
                              What about a toggle-thing in the settings that let's you choose between "Default player" or "Last player used (if available)" (fallback to default)?
                              QLMS [email protected] x64 (digimaster) / QNAP 469L (QTS 4.3.4)
                              LMS 8.4 x64 / Intel NUC8 i3 (Ubuntu 22.04.1 LTS)

                              Comment


                              • Originally posted by rgdawson
                                Good news. As a consequence of your troubles, I decided to dig into the squeezelite source code, and seeing it uses PortAudio, then I dug into that. As a test I have incorporated direct Port Audio calls to retrieve the device list rather than call squeezelite -l under the covers and taking its output. It's a little faster. What squeezelite does is retrieve all devices (input and output) and then outputs the ones where DeviceInfo.MaxOutputChannels > 0, thereby only retrieving output devices. Squeezelite retrieves DeviceInfo.Name and DeviceInfo.HostApi, so you see "name [HostApi]". Perhaps, though, the TotalRecorder "device", depending on which one of the three you were using, is doing something wrong. The user-mode driver seems to be described as having compatibility issues. You could try the TotalRecorder "kernel-mode" driver instead, or something.

                                Thanks, I hope you enjoy the app.

                                R Greg Dawson
                                Thanks for posting this. I'm not sure why squeezelite even listed mono devices as it fails to open the device requesting the required minimum of stereo.

                                I've changed -l to only display devices with more than 1 channel from version 1.9.4-1182.

                                There's a new windows build which also includes another fix for spotty ogg/vorbis tracks still skipping on occasion and native support for opus decoding.
                                Ralphy

                                1-Touch, 5-Classics, 3-Booms, 2-UE Radio
                                Squeezebox client builds donations always appreciated.

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎