SOLVED: Play MP3s from Synology NAS -> Fabriq DLNA speaker


#1

UPDATE: See post #5 below - success!

https://community.webcore.co/t/webcore-dlna-speaker-able-to-play-media-files/2749/5?u=danabw

I would like to be able to play pre-recorded sounds via my DLNA speaker. I’m currently using TTS from pistons to my Fabriq speaker w/out issues, but would like to also have the option to play pre-recorded sounds/statements from mp3 or other supported formats on my Synology NAS.

I did some searching and unfortunately didn’t find much on this.

I am unsure about how to use commands like getvolume, playtrack, playtrackatvolume - there is a parameters option for those commands but I need help on filling in those parameters to play files from my synology NAS.

I am happy to read up on how to do this if DLNA playback of pre-recorded audio is supported on webCore and documented somewhere that I’m not finding.

I did find this statement in the SmartThings forum in the generic media renderer thread. Is it correct that webCore cannot play media files?

I also am looking for help on setting volume (for both TTS as well as pre-recorded). I don’t see a “setvolume” option but there is a getvolume command. Is “getvolume” the way to set volume, and would I use 1-10 as the parameter for that command?

Thanks for any help.


#2

at some point i had set up my TV as a DLNA speaker and played text via webcore to the DLNA speaker. unfortunately i dont have that setup anymore but reasonably sure it can be done. sorry couldnt be more sure.


#3

Thanks.

I am not having any problems using TTS w/the speaker, it’s just playing music that isn’t working.

I found someone on the generic media renderer thread who is playing music using webCore so it can be done! :slight_smile: He uses the “playtrack” action to do it, but it isn’t working for me for some reason.

My post on that thread on SmartThings forum is here:

Hoping there is someone smarter than me who can help work this out…something that I would think more and more webCore users are going to want to be able to do. It’s fun. :slight_smile:


#4

I’ve been playing w/this and remain totally unable to make this work.

Today I went to my SmartTV (Sony) and noted the server name and folder path it follows to play songs from my NAS and tried that in the piston and it didn’t work:

//Monty/Music//

Monty is server name, rest is folders and then track

This is really starting to annoy me - it should be simple!


#5

UPDATE: I finally have MP3 playback from Synology NAS working! The main issue was getting to the correct URL for the mp3.

At this point it’s a manual process - I have to go into the Audio Station (Synology’s audio manager/player), select the media server name, and then navigate to the folder where the song is, right click on the song and use the “Song Information” option on the context menu to find out the song’s http address. Then paste that into the “playtrack” command in webCore.

It’s not a “friendly address” you can figure out from artist/song title, etc…looks like below:

http://192.168.1.39:50002/m/MP3/124292.mp3

EDIT:

I thought I had a simpler URL option (based on folder/file names) working as well, but seems like it actually isn’t working…hoping to figure that out.