Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    15,362
    My first thoughts were a format issues but OP says it plays ok on real SB devices.

    The format is not one of the common format 1 chan 44.1kHz 56kbits

    mpg123 output from file.

    Playing MPEG stream 1 of 1: en-US_41260ae5f4c85c3c8d5c8b0aa98f3fcf.mp3 ...
    Note: ID3v2.4 rev 0 tag of 25 bytes
    Note: ID3v2 TSSE frame of size 15
    Note: Storing text from UTF-8 encoding
    Note: ID3v2 TSSE text frame: Lavf54.21.100
    Note: Xing/Lame/Info header detected
    Note: Xing: 69 frames
    Note: Xing stream size 14601 differs by 0.002391% from determined/given file size!
    Note: Xing: 14601 bytes
    Note: Info: Encoder: Lavf54.21
    Note: Info: rev 2
    Note: Info: vbr mode 14
    Note: Info: peak = 0.000000 (I won't use this)
    Note: Info: Radio Gain = 0.0dB
    Note: Info: Audiophile Gain = 0.0dB
    Note: Encoder delay = 576; padding = 0

    Note: New output format 44100Hz 1ch, format 208

    MPEG 1.0, Layer: III, Freq: 44100, mode: Single-Channel, modext: 0, BPF : 208
    Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0.
    Bitrate: VBR Extension value: 0

  2. #12
    I built the 1.5 version following these steps.
    mkdir squeezelite-1.5; cd squeezelite-1.5
    git clone https://github.com/ralph-irving/squeezelite.git
    cd squeezelite
    git reset --hard d6b564624fc838cfb3d458662d2cf240ed540fb2
    make -f Makefile.resample
    I also built the 1.8 version following these steps.
    mkdir squeezelite-1.8; cd squeezelite-1.8
    git clone https://github.com/ralph-irving/squeezelite.git
    cd squeezelite
    make -f Makefile.resample
    I built it on my Intel workstation running Ubuntu 16.04. Hopefully, I did this correctly. Should I have built it using Makefile.resample in both cases?

    When running version 1.5, I see this debug output.
    mark@ubuntu:~$ ./squeezelite-1.5/squeezelite -o front:CARD=SB,DEV=0 -d decode=debug
    [09:43:52.517471] decode_init:129 init decode
    [09:43:52.517653] load_faad:610 loaded libfaad.so.2
    [09:43:52.517744] load_vorbis:295 loaded libvorbisfile.so.3
    [09:43:52.517760] load_flac:258 loaded libFLAC.so.8
    [09:43:52.517766] register_pcm:382 using pcm
    [09:43:52.517835] load_mad:351 loaded libmad.so.0
    [09:43:52.521177] decode_flush:190 decode flush
    [09:43:52.521780] decode_flush:190 decode flush

    Started playing here
    [09:44:04.283505] decode_flush:190 decode flush
    [09:44:04.327034] codec_open:213 codec open: 'm'
    [09:44:04.527132] mad_decode:199 mad_frame_decode error: lost synchronization
    [09:44:04.527245] mad_decode:211 setting track_start
    [09:44:04.527252] mad_decode:240 gapless: skipping 529 frames at start
    [09:44:04.529412] mad_decode:172 end of stream
    [09:44:04.529619] decode_thread:99 decode complete
    When running version 1.8, I see this debug output. I manually stopped it after 30 seconds.
    mark@ubuntu:~$ ./squeezelite-1.8/squeezelite -o front:CARD=SB,DEV=0 -d decode=debug
    [09:42:05.626920] decode_init:153 init decode
    [09:42:05.627119] load_faad:611 loaded libfaad.so.2
    [09:42:05.627128] register_faad:641 using faad to decode aac
    [09:42:05.627219] load_vorbis:301 loaded libvorbisfile.so.3
    [09:42:05.627227] register_vorbis:330 using vorbis to decode ogg
    [09:42:05.627243] load_flac:258 loaded libFLAC.so.8
    [09:42:05.627249] register_flac:286 using flac to decode flc
    [09:42:05.627254] register_pcm:414 using pcm to decode aif,pcm
    [09:42:05.627319] load_mad:384 loaded libmad.so.0
    [09:42:05.627326] register_mad:413 using mad to decode mp3
    [09:42:05.627335] decode_init:185 include codecs: exclude codecs:
    [09:42:05.630586] decode_flush:227 decode flush
    [09:42:05.631138] decode_flush:227 decode flush

    Started playing here
    [09:42:11.611736] decode_flush:227 decode flush
    [09:42:11.717310] codec_open:255 codec open: 'm'

    Stopped playing here
    [09:42:41.634000] decode_flush:227 decode flush
    Is this helpful? Should I have used different debug options?

    Unfortunately, I can't tell if any sound is being emitted because I'm doing this remotely. :-( But, the behavior is definitely different between 1.5 and 1.8.

  3. #13
    Attaching 2 sdebug captures, one from v1.8 and one from v1.5. I don't see any errors, but logs clearly differ starting after these lines.

    [11:34:31.468100] process_strm:269 strm command u
    [11:34:31.468105] process_strm:329 unpause at: 0 now: 220893022
    [11:34:31.468110] sendSTAT:160 ms_played: 0
    [11:34:31.468114] sendSTAT:184 STAT: STMr
    Any ideas?

    1.5 sdebug
    https://drive.google.com/file/d/0Bwm...ew?usp=sharing

    1.8 sdebug
    https://drive.google.com/file/d/0Bwm...ew?usp=sharing

  4. #14
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    15,362
    This is a squeezelite issue - you'd be best posting to the squeezelite thread to get the attention of those users/developers who know squeezeliet in detail.

  5. #15
    Thanks. I'll do that.

  6. #16
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    1,800
    I've commited a fix for OpenHAB home automation platform spoken notifications failing to play with squeezelite.

    There's also a new build for the rpi which includes the fix, as well as wiringpi 2.44 to support the rpi0W and ffmpeg 3.1.7.
    Last edited by ralphy; 2017-03-04 at 05:49. Reason: Newer wiringpi lib
    Ralphy

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

  7. #17
    Junior Member
    Join Date
    Jun 2016
    Posts
    5
    Quote Originally Posted by ralphy View Post
    I've commited a fix for OpenHAB home automation platform spoken notifications failing to play with squeezelite.

    There's also a new build for the rpi which includes the fix, as well as latest wiringpi to support the rpi0W and ffmpeg 3.1.7.
    Cool, thanks Ralphy, can't wait to test on my piCorePlayer !

    Will the update be available though UI in the coming days ?

  8. #18
    Quote Originally Posted by ralphy View Post
    I've commited a fix for OpenHAB home automation platform spoken notifications failing to play with squeezelite.

    There's also a new build for the rpi which includes the fix, as well as latest wiringpi to support the rpi0W and ffmpeg 3.1.7.
    Awesome! Thanks!!

  9. #19
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    1,800
    Quote Originally Posted by luma View Post
    Cool, thanks Ralphy, can't wait to test on my piCorePlayer !

    Will the update be available though UI in the coming days ?
    It will eventually, but needs to be field tested a lot more before I'm comfortable it hasn't broken something else in squeezelite. I've been running the change for the last month without an issue, but I also don't use OpenHAB, so the interaction of the two has not been well tested.

    You'll need to stop squeezelite, manually copy one of the squeezelite binaries from the tar file to /mnt/mmcblk0p2/tce/squeezelite if you're running pcp 3.1x or /mnt/mmcblk0p2/tce/squeezelite-armv6hf for earlier versions and then restart squeezelite.

    Make sure you have execute permissions on the file as well.

    sudo chmod 755 /mnt/mmcblk0p2/tce/squeezelit*
    Ralphy

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

  10. #20
    Quote Originally Posted by ralphy View Post
    It will eventually, but needs to be field tested a lot more before I'm comfortable it hasn't broken something else in squeezelite.
    I saw piCorePlayer 3.20 was released with squeezelite 1.86-945. Does this build of squeezelite include the commit that fixes the openHAB spoken notification issue?

Posting Permissions

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