Re: [slim] Streaming WAV files to LMS over http question

2019-04-26 Thread Paul Webster
Thread over on OpenHAB shows a bit more about how things work ... and also hints at a possible workaround. i.e. move from PicoTTS to Google Cloud Voice (whatever that is) https://community.openhab.org/t/solved-using-squeezebox-as-audio-sink-for-tts/67652 Paul Webster http://dabdig.blogspot.co

Re: [slim] Streaming WAV files to LMS over http question

2019-04-26 Thread bpa
RipNCode wrote: > The URL is probably encapsulated in the java binding. I'd have to > figure out to pull that out as it's not obvious. In this case, I made > Pico create a file to pull the relevant metadata. > > pico2wave -w "test.wav" "Let's hope this audio file works this time!" > > From t

Re: [slim] Streaming WAV files to LMS over http question

2019-04-26 Thread bpa
Code: Playing test.wav. get_path('sub/') -> '/home/rip/.mplayer/sub/' [file] File size is 136492 bytes STREAM: [file] test.wav STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) libavformat version

Re: [slim] Streaming WAV files to LMS over http question

2019-04-26 Thread RipNCode
d6jg wrote: > In the middle there are lots of “permission denied” errors when trying > to open for playback True, but it's a bit of a misnomer. I generated the file on the Pi with Pico TTS and downloaded it to my admin machine to play it back, just to get the data from mplayer. The Pi doesn't

Re: [slim] Streaming WAV files to LMS over http question

2019-04-26 Thread d6jg
In the middle there are lots of “permission denied” errors when trying to open for playback VB2.4[/B] STORAGE *QNAP TS419P (NFS) [B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s *Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale

Re: [slim] Streaming WAV files to LMS over http question

2019-04-26 Thread bpa
RipNCode wrote: > I've posted another post with the details, but again, it's not showing > up. I'll try again in a few minutes as it may be that my posts are > still being moderated. If this goes through without moderation, I'll > assume the last post was somehow lost Post with links from

Re: [slim] Streaming WAV files to LMS over http question

2019-04-26 Thread RipNCode
d6jg wrote: > Another approach may be to take the wav input into liquidsoap and then > stream it via icecast to LMS as an mp3. I've posted another post with the details, but again, it's not showing up. I'll try again in a few minutes as it may be that my posts are still being moderated. If th

Re: [slim] Streaming WAV files to LMS over http question

2019-04-26 Thread d6jg
Another approach may be to take the wav input into liquidsoap and then stream it via icecast to LMS as an mp3. VB2.4[/B] STORAGE *QNAP TS419P (NFS) [B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s *Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo C

Re: [slim] Streaming WAV files to LMS over http question

2019-04-26 Thread bpa
Since the stream already exists - it is a case of describing the current format and then advice can be given. If you're not sure how to describe then play it with mplayer with "-v" verbose and copy the output to a post. It will give all the header and mime and other stream format info necessary

Re: [slim] Streaming WAV files to LMS over http question

2019-04-26 Thread RipNCode
bpa wrote: > LMS doesn't recognise the stream and IIRC streamign WAV is not part of > standard distribution as there is no "de-facto" standard for streaming > WAV so for your stream a new audio type and associated handler may be > required. > > First, LMS needs info to determine the audio form

Re: [slim] Streaming WAV files to LMS over http question

2019-04-26 Thread bpa
RipNCode wrote: > Thanks, bpa. That helps a lot. It's probably the core of what's wrong. > I assume LMS would probably need an appropriate plug-in that allows it > to recognize the correctly defined audio type? > > Sorry for the newbie questions, but I'm still getting a handle on > this... N

Re: [slim] Streaming WAV files to LMS over http question

2019-04-26 Thread bpa
RipNCode wrote: > However, when the broadcast is in WAV format, LMS just pauses the > stream with no audio output. No problem with MP3, FLAC, or other > formats. LMS doesn't recognise the stream and IIRC streamign WAV is not part of standard distribution as there is no "de-facto" standard f

Re: [slim] Streaming WAV files to LMS over http question

2019-04-26 Thread Paul Webster
Can you provide some more info about how the file/stream is passed to LMS? Paul Webster http://dabdig.blogspot.com Author Radio France (FIP etc) plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?user

[slim] Streaming WAV files to LMS over http question

2019-04-26 Thread RipNCode
Hi All, I'm not sure this question is in the right place, but as best as I can tell, this is a general question. I recently set up a LMS server, and I love it. I use OpenHAB for home automation, and have run into a curious situation that I'm hoping someone here can help with. OpenHAB as a bin