Found this and it works
https://forums.slimdevices.com/showthread.php?p=988187
Sent from my Pixel 3a using Tapatalk
Results 771 to 780 of 809
-
2020-11-22, 11:36 #771
- Join Date
- Jan 2010
- Location
- Hertfordshire
- Posts
- 5,752
-
2020-11-22, 12:38 #772
- Join Date
- Jul 2017
- Location
- Austria
- Posts
- 19
Players: 2x Squeezebox Radio, 1x Raspberry Pi (piCorePlayer) with IQaudIO DigiAMP+ and JBL Control One Speakers, 1x Raspberry Pi (piCorePlayer) with touch screen (HDMI to AV Receiver), 1x Riva Arena (via Airplay)
-
2020-11-22, 13:13 #773
-
2020-11-22, 13:37 #774
- Join Date
- Jan 2010
- Location
- Hertfordshire
- Posts
- 5,752
-
2020-12-01, 10:23 #775
- Join Date
- Oct 2006
- Posts
- 22
Streaming problem
Hello. I set up MediaServer yesterday using ngrok. I got my echo to recognize the link and list my Players. I was also able to subscribe to the unlimited version and to start playback on a player. But when I tried to stream to the echo I got the expected response from Alexa, but then silence. I used:
"Alexa, ask mediaserver to stream the album News of the World by Queen"
It responded, "Ok, streaming News of the World by Queen". But then nothing but silence. After 20 seconds or so I said "Alexa, stop" and got "Ok".
I stopped and restarted LMS and tried again. Same results.
Any suggestions? Is there a log file I can check?
Thanks,
Dan
-
2020-12-01, 11:41 #776
Originally Posted by dperrigan;
It would indicate that the interaction between the skill and LMS went OK but Amazon failed to process the resultant audio for you - that's the [FINISHED] that's shown as Echo player status even before you issue the STOP command (STOP is always a PAUSE under the hood for later resumption as far as an Echo is concerned).
I have not seen this before - what type of Echo device do you have? Was it a one-off thing or can you reproduce the anomaly?
-
2020-12-01, 12:50 #777
- Join Date
- Oct 2006
- Posts
- 22
I can't find the model number on it, but it's the tall cylinder. I just tried again -- this time streaming one song instead of an album. Same thing. In fact I haven't gotten it to stream yet. Other functions seem to work fine though. I'm on LMS 7.9.0, running on Windows 10.
And I noticed something just now while looking up the LMS version: It did add the temporary player ("Web Client") and created a playlist of the three versions of "Creep" that I have. It just wouldn't play.
Dan
-
2020-12-01, 13:32 #778
Originally Posted by dperrigan;
Try this. In a browser, visit http://10.2.0.189:9000/stream.mp3?player=Alexa and see if the audio plays via the browser. There may be a delay of up to a minute before you hear anything, but you should hear audio. This will create a player with 'Alexa' in the name (plus the user agent of the browser you use) and if you select that player in the LMS GUI or iPeng and play something on it by clicking/selecting some song from your library, the audio should play in the browser. If it does not, we know the problem is local to your LMS and not an Amazon issue. If it does play, we know it is somehow related to your Echo.
-
2020-12-01, 15:30 #779
- Join Date
- Oct 2006
- Posts
- 22
Aha! The 10.2.x.y address reminded me that I was running a VPN on that server. I stopped the vpn and used the normal 192.168.x.y address and it works in a browser now. But still doesn't on the echo. Do you mind checking the logs again? Do I need to refresh ngrok after stopping the VPN?
Dan
-
2020-12-02, 00:06 #780
Good one - I hadn't thought of a potential VPN in the loop. Amazon will indeed not accept a stream over a VPN.
The IP that you see when you browse to LMS --> settings --> information is what LMS reports to the skill for streaming purposes. If that's still showing the 10.2.0.. address then it's LMS rather than ngrok that needs restarting. Check then that LMS is reporting the 192.168 address. and you should be good to go. It looks like ngrok is reaching your LMS fine or else other commands would not have worked so you probably proxied to the 192.168 when you set up ngrok.Last edited by philchillbill; 2020-12-02 at 00:10.