Home of the Squeezebox™ & Transporter® network music players.
Page 79 of 79 FirstFirst ... 2969777879
Results 781 to 788 of 788
  1. #781
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,476

    ANNOUNCE: the SqueezeAMP,next generation squeezeboxen amplifier/receiver

    > I’ve started to mess things up around version 0.200. Now, the problem is
    > not in LMS prefs migration logic, it’s totally on my side.


    https://github.com/sle118/squeezelite-esp32/pull/56


    --

    Michael

  2. #782
    Senior Member KeBul's Avatar
    Join Date
    Sep 2009
    Location
    London
    Posts
    250

    Bluetooth not working

    Back to one of my Nemesis - SqueezeAMP and Bluetooth... this time with a speaker

    I was using development.148.master-cmake, SqueezeAMP 8MB Flash, I can configure SqueezeAMP to connect to my new bluetooth speaker successfully but when I try and play the SqueezeAMP restarts and then loops connecting to speaker, tries to play, restarts, and so on.

    I've not been using BT for a while, been testing an external speaker setup using the i2S built in amp, but I did recall when I last tried my bluetooth headphones they did not work either.

    So I went backwards through the releases and found that 142 is the last release that bluetooth works for me.

    Same for anyone else?

    This is what Telnet shows for each failed attempt on 148:

    I (8926) bt_app_source: Device: SoundCore 2
    I (8926) bt_app_source: A2DP pairing timeout: 1000
    [00:20:11.275534] _check_lame_header:163 gapless: skip: 2257 samples: 9202200 delay: 1105 padding: 1175
    [00:20:11.286700] mad_decode:247 setting track_start
    telnet event: TELNET_EV_WILL
    telnet event: TELNET_EV_SUBNEGOTIATION
    W (10426) bt_app_source: A2DP Connect time out! Setting state to Unconnected.

    When I revert to 142 no other changes are made and it connects and plays immediately no problem.

    Kev
    Last edited by KeBul; 2020-10-23 at 15:48.

  3. #783
    Senior Member sle118's Avatar
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    361
    Quote Originally Posted by KeBul View Post
    Back to one of my Nemesis - SqueezeAMP and Bluetooth... this time with a speaker

    I was using development.148.master-cmake, SqueezeAMP 8MB Flash, I can configure SqueezeAMP to connect to my new bluetooth speaker successfully but when I try and play the SqueezeAMP restarts and then loops connecting to speaker, tries to play, restarts, and so on.

    I've not been using BT for a while, been testing an external speaker setup using the i2S built in amp, but I did recall when I last tried my bluetooth headphones they did not work either.

    So I went backwards through the releases and found that 142 is the last release that bluetooth works for me.

    Same for anyone else?

    This is what Telnet shows for each failed attempt on 148:

    I (8926) bt_app_source: Device: SoundCore 2
    I (8926) bt_app_source: A2DP pairing timeout: 1000
    [00:20:11.275534] _check_lame_header:163 gapless: skip: 2257 samples: 9202200 delay: 1105 padding: 1175
    [00:20:11.286700] mad_decode:247 setting track_start
    telnet event: TELNET_EV_WILL
    telnet event: TELNET_EV_SUBNEGOTIATION
    W (10426) bt_app_source: A2DP Connect time out! Setting state to Unconnected.

    When I revert to 142 no other changes are made and it connects and plays immediately no problem.

    Kev
    How did you configure? (Which UI). Also, could you share your configuration?
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    6xSqueezeAmp!
    Contributing to Folding@Home : https://stats.foldingathome.org/donor/squeezelite-esp32

  4. #784
    Senior Member KeBul's Avatar
    Join Date
    Sep 2009
    Location
    London
    Posts
    250
    Quote Originally Posted by sle118 View Post
    How did you configure? (Which UI). Also, could you share your configuration?
    Configuration is done one the Audio+LMS page of the web UI

    Select Bluetooth Button

    Enter SoundCore 2 into the box below and I also change the Player name to SqueezeAMP

    Produces these commands:

    On 142 - squeezelite -b 500:2000 -d all=info -C 30 -W -n "SqueezeAMP" -o "BT -n 'SoundCore 2'" -R -Z 192000

    On 148 - squeezelite -b 500:2000 -d all=info -C 30 -W -n "SqueezeAMP" -o "BT -n 'SoundCore 2'" -Z 192000

    Save and reboot

    This morning the GUI seemed very unhappy so I started from scratch again, using ESP32 Download tool I erased all and loaded 142 recovery from scratch then loaded 142 squeezelite firmware, so everything as per defaults, added the Bluetooth speaker in as above but left the player name as squeezelite... this works fine... Attached is the Config file for this 142Config.txt.

    I then went into updates and selected 148 SqueezeAMP8MBFlash and clicked on Flash, it completed an OTA update to 148 rebooted and connected to speaker OK

    But I have a red message in Status - Squeezelite Options: invalid option "-?"

    After pressing play in LMS music does not start (local MP3 track) and SqueezeAMP reboots just once

    Attached file 142on148Config.txt for this.

    Then in 148 web UI changed the Audio to I2S save and apply, SqueezeAMP reboots and is in I2S mode, music plays OK.

    back to 148 Web UI Audio and change to Bluetooth, leave player name as default enter SoundCore 2 for speaker to connect to - save and apply

    SqueezeAMP reboots and connects to speaker, shows BT mode, No red status messages, 148Config.txt attached for this.

    Play in LMS and no music SqueezeAMP reboots (just the once again, last night it was doing it constantly)

    Enabled Telnet and this message repeatedly being displayed:

    I (52176) bt_app_source: Device: SoundCore 2
    I (52176) bt_app_source: A2DP pairing timeout: 1000
    W (53676) bt_app_source: A2DP Connect time out! Setting state to Unconnected.
    I (54176) bt_app_source:

    Go back into update, select version 142 and downgrade to 142, process completes SqueezeAmp reboots, and without me doing any thing else it connects to speaker and I can play music OK. 142DowngradeConfig.txt attached for this state and telnet output:

    [01:59:02.625709] decode_flush:251 decode flush
    [01:59:02.626210] output_flush:440 flush output buffer
    [01:59:02.629574] codec_open:279 codec open: 'm'
    [01:59:02.631930] stream_sock:508 connecting to 192.168.1.131:9000
    [01:59:02.637249] stream_sock:585 header: GET /stream.mp3?player=24:6f:28:4d:19:bc HTTP/1.0


    [01:59:02.813864] stream_thread:264 headers: len: 116
    HTTP/1.1 200 OK
    Server: Logitech Media Server (7.9.3 - 1597753178)
    Connection: close
    Content-Type: audio/mpeg


    I (113139) bt_app_source: Output state is OUTPUT_BUFFER, Checking if A2DP is ready.
    I (113139) bt_app_source: a2dp media ready, starting playback!
    [01:59:03.641896] _check_lame_header:163 gapless: skip: 2257 samples: 10454640 delay: 1105 padding: 959
    [01:59:03.654215] equalizer_open:51 equalizer initialized 0
    [01:59:03.655035] mad_decode:247 setting track_start
    [01:59:03.711852] _output_frames:64 start buffer frames: 5807
    [01:59:03.713765] _output_frames:149 track start sample rate: 44100 replay_gain: 34816
    I (116179) bt_app_source: a2dp media started successfully.
    I (126639) bt_app_source: Output state is OUTPUT_STOPPED. Stopping a2dp media ...
    I (126669) bt_app_source: a2dp media stopped successfully...
    I (302859) battery: Voltage 12.20V
    telnet event: TELNET_EV_WILL
    telnet event: TELNET_EV_SUBNEGOTIATION

    Cheers and hope this helps

    Kev
    Attached Files Attached Files
    Last edited by KeBul; 2020-10-24 at 03:10.

  5. #785
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,109
    I've just made the switch to SqueezeAmp.517.master-cmake from the old system.
    It is working - but I had a scare at first when I did not see any configuration data via the web interface.
    I was using iOS on an old iPhone 6 (iOS 12.4.8)

    The blank forms made me think that perhaps the Javascript was not being executed.

    Switched to a desktop version of Chrome on Win10 - and it works fine.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  6. #786
    Junior Member
    Join Date
    Nov 2020
    Posts
    1

    Rotary encoder issue

    Hi,

    I have this aliexpress.com item/33041814942.html rotary encoder, but only the button press is working.

    With this connection:
    CLK to IO22
    DT to IO23
    SW to IO21
    +to 3,3V
    GND to GND

    and rotary_config:
    A=22,B=23,SW=21,volume

    In output is:
    I (2939) buttons: Creating button using GPIO 21, type 0, pull-up/down 1, long press 0 shifter -1
    I (2949) buttons: Creating rotary encoder A:22 B:23, SW:21
    I (50579) buttons: Rotary push-button 0
    I (50769) buttons: Rotary push-button 1

    But as I wrote, only the button works, does anybody know why? I have also connected SSD1306 display and it works well.

    Thanks for help

    Mike

  7. #787
    Senior Member sle118's Avatar
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    361
    Quote Originally Posted by KeBul View Post
    Configuration is done one the Audio+LMS page of the web UI

    Select Bluetooth Button

    Enter SoundCore 2 into the box below and I also change the Player name to SqueezeAMP

    Produces these commands:

    On 142 - squeezelite -b 500:2000 -d all=info -C 30 -W -n "SqueezeAMP" -o "BT -n 'SoundCore 2'" -R -Z 192000

    On 148 - squeezelite -b 500:2000 -d all=info -C 30 -W -n "SqueezeAMP" -o "BT -n 'SoundCore 2'" -Z 192000

    Save and reboot

    This morning the GUI seemed very unhappy so I started from scratch again, using ESP32 Download tool I erased all and loaded 142 recovery from scratch then loaded 142 squeezelite firmware, so everything as per defaults, added the Bluetooth speaker in as above but left the player name as squeezelite... this works fine... Attached is the Config file for this 142Config.txt.

    I then went into updates and selected 148 SqueezeAMP8MBFlash and clicked on Flash, it completed an OTA update to 148 rebooted and connected to speaker OK

    But I have a red message in Status - Squeezelite Options: invalid option "-?"

    After pressing play in LMS music does not start (local MP3 track) and SqueezeAMP reboots just once

    Attached file 142on148Config.txt for this.

    Then in 148 web UI changed the Audio to I2S save and apply, SqueezeAMP reboots and is in I2S mode, music plays OK.

    back to 148 Web UI Audio and change to Bluetooth, leave player name as default enter SoundCore 2 for speaker to connect to - save and apply

    SqueezeAMP reboots and connects to speaker, shows BT mode, No red status messages, 148Config.txt attached for this.

    Play in LMS and no music SqueezeAMP reboots (just the once again, last night it was doing it constantly)

    Enabled Telnet and this message repeatedly being displayed:

    I (52176) bt_app_source: Device: SoundCore 2
    I (52176) bt_app_source: A2DP pairing timeout: 1000
    W (53676) bt_app_source: A2DP Connect time out! Setting state to Unconnected.
    I (54176) bt_app_source:

    Go back into update, select version 142 and downgrade to 142, process completes SqueezeAmp reboots, and without me doing any thing else it connects to speaker and I can play music OK. 142DowngradeConfig.txt attached for this state and telnet output:

    [01:59:02.625709] decode_flush:251 decode flush
    [01:59:02.626210] output_flush:440 flush output buffer
    [01:59:02.629574] codec_open:279 codec open: 'm'
    [01:59:02.631930] stream_sock:508 connecting to 192.168.1.131:9000
    [01:59:02.637249] stream_sock:585 header: GET /stream.mp3?player=24:6f:28:4d:19:bc HTTP/1.0


    [01:59:02.813864] stream_thread:264 headers: len: 116
    HTTP/1.1 200 OK
    Server: Logitech Media Server (7.9.3 - 1597753178)
    Connection: close
    Content-Type: audio/mpeg


    I (113139) bt_app_source: Output state is OUTPUT_BUFFER, Checking if A2DP is ready.
    I (113139) bt_app_source: a2dp media ready, starting playback!
    [01:59:03.641896] _check_lame_header:163 gapless: skip: 2257 samples: 10454640 delay: 1105 padding: 959
    [01:59:03.654215] equalizer_open:51 equalizer initialized 0
    [01:59:03.655035] mad_decode:247 setting track_start
    [01:59:03.711852] _output_frames:64 start buffer frames: 5807
    [01:59:03.713765] _output_frames:149 track start sample rate: 44100 replay_gain: 34816
    I (116179) bt_app_source: a2dp media started successfully.
    I (126639) bt_app_source: Output state is OUTPUT_STOPPED. Stopping a2dp media ...
    I (126669) bt_app_source: a2dp media stopped successfully...
    I (302859) battery: Voltage 12.20V
    telnet event: TELNET_EV_WILL
    telnet event: TELNET_EV_SUBNEGOTIATION

    Cheers and hope this helps

    Kev
    See the post below. I've made some binaries available with A2DP related changes
    https://forums.slimdevices.com/showt...l=1#post993356
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    6xSqueezeAmp!
    Contributing to Folding@Home : https://stats.foldingathome.org/donor/squeezelite-esp32

  8. #788
    Senior Member KeBul's Avatar
    Join Date
    Sep 2009
    Location
    London
    Posts
    250
    Quote Originally Posted by sle118 View Post
    See the post below. I've made some binaries available with A2DP related changes
    https://forums.slimdevices.com/showt...l=1#post993356
    Thanks Sébastien,

    I'll try the new version and report back, development 142 has been pretty good so far though, only one apparent failure whilst playing and only one occasion where i couldn't get it to play after BT connected, powering everything off until the Squeezelite instance had disappeared from LMS and then starting it all back up again seemed to resolve.

    As ever, really appreciate all the effort, work and support you Philippe and Daduke are putting into this project, it's a remarkable achievement so far. I've just put one (SqueezeAMP) in my sister's house to drive some external speakers, she absolutely loves it.

    Cheers

    Kev
    Last edited by KeBul; 2020-11-05 at 13:05.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •