Homey Community Forum

Universal Media Player - A Generic storages place for your Homey, speakers, tv's or other media devices

Now Live!

Use an UPnP Player to find the URL of files on a UPnP Server through browsing (with thumbnails).
When executed it will retrieve the file from de UPnP Server based on the same browsing structure.
This way you will be able to use a UPnP Server to play sounds on speaker systems like Sonos but also on TV’s like Samsung or LG.
Just start by adding the UPnP Player and select the UPnP server you want to use.
(Because of 30 sec timeout while discovering devices, you sometimes have to search twice will installing the device/player. This depends on the configuration of your UPnP Server)

The way you can browse depends on how the UPnP Server is configured.
Example:
You can browse to and (it will) save the location to /Music/Artist/Album/B/Bok van Blerk/Afrikanerhart.
When executing the flow, the current URL will be retrieved based on the same /Music/Artists etc.

This way you can use any UPnPServer (Like Synology or an (Asus/Linksys) Router/Switch/Wifi UPnPServer) and use it as a storage place for your Sounds to be used.

Wanna play it on Homey?
Music Url Converter - Play Music URL’s on Homey bigger then 900 KB - Apps - Homey Community Forum (athom.com)

Thanks for Johan Bendz for the excellent images and icons!

This works great voor a PA system:
How to make a Great Public Announcement (PA) System with any device! - Apps - Homey Community Forum (athom.com)

The Sonos App currently has issues sending flac to a speaker. Sonos Say will wrok, and im working on it with Athom.


------------------------What do you need to get playing?------------------------

Step 1 - one time
Create a UPnP Player device.

Step 2 - one time
Create a flow with a trigger for Url Triggered from the UPnP Player Device and an action card (Then part) that sends the Url token to the device you want to play it on.



Step 3
Create a flow that starts playing a file or folder through a condition or action:
Voor playing sounds:

image

image

Or for music (with Thumbnails):

image

image

image

4 Likes

@Arie_J_Godschalk Hi,

this is Great, it is possible to test?

Its Live!

1 Like

:+1::+1::+1:

how to choose through what to play?

Step 1 - one time
Create a UPnP Player device.

Step 2 - one time
Create a flow with a trigger for Url Triggered from the UPnP Player Device and an action card (Then part) that sends the Url token to the device you want to play it on.

Step 3
Create a flow that starts playing a file or folder through a condition or action:

See topicstart for more examples.

Hi,
Not sure what is wrong…
Here the flows:

  1. https://homey.app/f/vejNuv Don´t think it gets to the THEN part
  2. https://homey.app/f/YsDNuv Selecting the music folder
  3. https://homey.app/f/cKONuv
1 Like

Got it working now! Something was wrong with the folder selection.

Great!
Just FYI:

The Sonos App currently has issues sending flac to a speaker. Sonos Say will work, and i have informed Athom about this issue.

I improved the Community Store - Sonos Say App that works currently somewhat better then Athom Sonos App with handeling different filetypes.

Hello @Arie_J_Godschalk ,

Always same error, do you know whats the problem?

When i press play comes the error

You first have to start it through a flow with an actioncard (Then part).
Then you can use the play and pause button.

I will fix the id undefined message in next release.

Ok i made a flow for test when this flow starts then pause. But i get same error.

Add a Start playing folder/file Card in the Then part
image