Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
ralphy wrote: > From your log this does not appear to be the same OpenHab issue. > > Please upgrade your squeezelite to '1.8.7-1052' > (https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/squeezelite-1.8.7.1052-armv6hf.tar.gz/download) > to see if the problem still persists, if it does > > then try removing these options from your squeezelite command line and > see if the problem persists. > > '-b 4:10 -p 45 -c flac,pcm,mp3,ogg,aac,alac,dsd -W -D 500' Thanks, I'll try to upgrade! chbla's Profile: http://forums.slimdevices.com/member.php?userid=66523 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
chbla wrote: > @ralphy - any idea? I still have this problem >From your log this does not appear to be the same OpenHab issue. Please upgrade your squeezelite to '1.8.7-1052' (https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/squeezelite-1.8.7.1052-armv6hf.tar.gz/download) to see if the problem still persists, if it does then try removing these options from your squeezelite command line and see if the problem persists. '-b 4:10 -p 45 -c flac,pcm,mp3,ogg,aac,alac,dsd -W -D 500' Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
@ralphy - any idea? I still have this problem chbla's Profile: http://forums.slimdevices.com/member.php?userid=66523 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
anyone? chbla's Profile: http://forums.slimdevices.com/member.php?userid=66523 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
ralphy wrote: > Yes, the OpenHab fix was added at '938' > (https://github.com/ralph-irving/squeezelite/commit/728dbba2ef178c7024f85fa518f5445b828995b1) Hi there, I initially had the same problem. I'm using moode audio with squeezelite and openhab. Moode is now updated and uses squeezelite vs 1.8.7. However, it still seems to be the same problem for me, I don't hear anything. I printed the debug log for a sample: https://gist.github.com/solars/2e93c4a6306448cac0f105bf88873085 But I cannot interpret it. How could I further find out what's going wrong here? chbla's Profile: http://forums.slimdevices.com/member.php?userid=66523 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
ralphy wrote: > Yes, the OpenHab fix was added at '938' > (https://github.com/ralph-irving/squeezelite/commit/728dbba2ef178c7024f85fa518f5445b828995b1) Thanks again. Your help on this is much appreciated! mhilbush's Profile: http://forums.slimdevices.com/member.php?userid=16832 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
mhilbush wrote: > 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? Yes, the OpenHab fix was added at '938' (https://github.com/ralph-irving/squeezelite/commit/728dbba2ef178c7024f85fa518f5445b828995b1) Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
ralphy wrote: > 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? mhilbush's Profile: http://forums.slimdevices.com/member.php?userid=16832 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
luma wrote: > 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' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
ralphy wrote: > I've 'commited a fix for OpenHAB' > (https://github.com/ralph-irving/squeezelite/commit/728dbba2ef178c7024f85fa518f5445b828995b1) > home automation platform spoken notifications failing to play with > squeezelite. > > There's also a 'new build for the rpi' > (https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/squeezelite-1.8.6-938-armv6hf.tar.gz/download) > which includes the fix, as well as latest wiringpi to support the rpi0W > and ffmpeg 3.1.7. Awesome! Thanks!! mhilbush's Profile: http://forums.slimdevices.com/member.php?userid=16832 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
I've 'commited a fix for OpenHAB' (https://github.com/ralph-irving/squeezelite/commit/728dbba2ef178c7024f85fa518f5445b828995b1) home automation platform spoken notifications failing to play with squeezelite. There's also a 'new build for the rpi' (https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/squeezelite-1.8.6-938-armv6hf.tar.gz/download) which includes the fix, as well as latest wiringpi to support the rpi0W and ffmpeg 3.1.7. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
Thanks. I'll do that. mhilbush's Profile: http://forums.slimdevices.com/member.php?userid=16832 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
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. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
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/0Bwmcwu6ccTd_V2E1VC1qc2xvekE/view?usp=sharing 1.8 sdebug https://drive.google.com/file/d/0Bwmcwu6ccTd_cFk2RHRkZzhzWU0/view?usp=sharing mhilbush's Profile: http://forums.slimdevices.com/member.php?userid=16832 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
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. mhilbush's Profile: http://forums.slimdevices.com/member.php?userid=16832 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
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.00 (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 bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
bpa wrote: > That problems was traced sdown to a bad build of squeezelite 1.8 ( see > http://forums.slimdevices.com/showthread.php?97046-Announce-Squeezelite-a-small-headless-squeezeplay-emulator-for-linux-(alsa-only)=870856=1#post870856 > ) as old version1.5 of squeezelite was ok . > > Perhaps it is the same issue as problem is only with squeezelite. I don't think that the problem is a bad build of 1.8 as the same problem occurs when the forum member built 1.8 on the problem machine. The mp3 code was modified by Triode right after 1.5 was released to add support for readling local files for the local player plugin. Also the problem mp3 stream in the thread above was 1 channel, 16000Hz not sure of the mp3 bit rate yet, as I've requested a file to test with from them but have had not response as yet. Ralphy *1*-Touch, *5*-Classics, *2*-Booms, *1*-Reverted UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
bpa wrote: > Read the rest fo the solution as I think Ralphy did a new build of > squeezelite and/or go to the PCP thread for help on hwo to update it. Thanks. The last post was 'this' (http://forums.slimdevices.com/showthread.php?97046-Announce-Squeezelite-a-small-headless-squeezeplay-emulator-for-linux-(alsa-only)=871846=1#post871846), which does include directions on how to build 1.5. I'll pick it up from here to see if I test on 1.5. Thanks for the help. mhilbush's Profile: http://forums.slimdevices.com/member.php?userid=16832 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
mhilbush wrote: > Is it possible to install the older 1.5 rev of squeezelite on > piCorePlayer? Or, run an older version of piCorePlayer with the 1.5 rev > of squeezelite to test your theory? Yes but getting 1.5 of squeezelite may be hard. Read the rest fo the solution as I think Ralphy did a new build of squeezelite and/or go to the PCP thread for help on hwo to update it. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
bpa wrote: > That problems was traced sdown to a bad build of squeezelite 1.8 ( see > http://forums.slimdevices.com/showthread.php?97046-Announce-Squeezelite-a-small-headless-squeezeplay-emulator-for-linux-(alsa-only)=870856=1#post870856 > ) as old version1.5 of squeezelite was ok . > > Perhaps it is the same issue as problem is only with squeezelite. Is it possible to install the older 1.5 rev of squeezelite on piCorePlayer? Or, run an older version of piCorePlayer with the 1.5 rev of squeezelite to test your theory? mhilbush's Profile: http://forums.slimdevices.com/member.php?userid=16832 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
mherger wrote: > Wasn't there a problem with low-bitrate streams on squeezelite reported > > in that other thread? Your file isn't 128kbps, but only 56: > > Time: 00:02 MPEG1, Layer III[ 56 kb/s @ 44100 Hz - Mono ] > > > -- > > Michael That problems was traced sdown to a bad build of squeezelite 1.8 ( see http://forums.slimdevices.com/showthread.php?97046-Announce-Squeezelite-a-small-headless-squeezeplay-emulator-for-linux-(alsa-only)=870856=1#post870856 ) as old version1.5 of squeezelite was ok . Perhaps it is the same issue as problem is only with squeezelite. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
Wasn't there a problem with low-bitrate streams on squeezelite reported in that other thread? Your file isn't 128kbps, but only 56: Time: 00:02 MPEG1, Layer III[ 56 kb/s @ 44100 Hz - Mono ] -- Michael ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
Is this a https vs http problem ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
Thanks for the help, Michael. Let me know if this is helpful. Here's the request header to the openHAB web server: > > GET /audio/4143be14-784e-4a88-817b-99aceaafd4fe.mp3 HTTP/1.0 > Cache-Control: no-cache > Connection: close > Accept: */* > Host: 192.168.1.60:7000 > User-Agent: iTunes/4.7.1 (Linux; N; Debian; armv7l-linux; EN; utf8) > SqueezeCenter, Squeezebox Server, Logitech Media > Server/7.9.0/1483028105 > Icy-Metadata: 1 > And the response header from the openHAB http server: > > HTTP/1.1 200 OK > Date: Mon, 02 Jan 2017 00:05:19 GMT > Content-Type: audio/mpeg > Content-Length: 14636 > Server: Jetty(9.2.19.v20160908) > And the mp3 file from the openHAB cache. https://drive.google.com/file/d/0Bwmcwu6ccTd_M0d0Vk1waVMwbUk/view?usp=sharing mhilbush's Profile: http://forums.slimdevices.com/member.php?userid=16832 View this thread: http://forums.slimdevices.com/showthread.php?t=106717 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Issue streaming VoiceRSS mp3 content to piCorePlayer
In a similar thread related to openhab (iirc) there was an issue with the generated mp3 file, and the streaming server's header. Can you tell us what those headers are, and what the final file really is? -- Michael ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix