smartthingsule / dlna-player Goto Github PK
View Code? Open in Web Editor NEWGeneric DLNA Player to Smartthings
Generic DLNA Player to Smartthings
Discovery works well
Device selection works
But at final step hitting "Done"
"Error saving page" error is displayed
Hi.. I'm new to all of this but when I follow the guide to add MediaRenderer_Player to SmartThings, I am getting the following error:
No signature of method: script14807799174191001889313.metadata() is applicable for argument types: (script14807799174191001889313$_run_closure2) values: [script14807799174191001889313$_run_closure2@7b4b5b1f] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)
I'm not sure what it means or how to correct it. If anyone can help please let me know. Thanks!
I followed all of the steps and successfully added my device (music player) and it shows up in the Things list as "SqueezeLite Speaker (no media). And when i click it the smartthings app crashes
Is there a method to add custom sounds to aside from the "Bell 1","Bell 2","Dogs Barking","Fire Alarm","Piano", & "Lightsaber" currently available?
No signature of method: script_app_metadata_1127abd0_e336_475d_a48a_e2c53a076db4.metadata() is applicable for argument types: (script_app_metadata_1127abd0_e336_475d_a48a_e2c53a076db4$_run_closure2) values: [script_app_metadata_1127abd0_e336_475d_a48a_e2c53a076db4$_run_closure2@631d804d] Possible solutions: getMetadata(), getState(), setState(java.lang.Object),
Some systems, notably Logitech Squeezebox, uses a client-server model where each Squeezebox device (Radio, Touch, Soft, etc) is a type of thin client and all the functionality is provided through the server. Individual devices are identified by a parameter in the URL, rather than their specific IPs.
This is best reflected by the log messages from the MediaRender Connect SmartApp - here you can see 6 different MRenders found via UPNP however 5 have the same host/port (192.168.1.2:9000) (note i may have had to make changes to the code to get this output but it was hack and I think I've broken other assumptions in the code used to identify/index players from internal maps/lists):
f947bcaf-e0cf-407d-bb35-0f6fe87c49ba 13:26:15: trace verifyMediaRenderer(C0A80102:2328, /plugins/UPnP/MediaRenderer.xml?player=00%3A04%3A20%3A2a%3A97%3A65, 192.168.1.2:9000)
f947bcaf-e0cf-407d-bb35-0f6fe87c49ba 13:26:15: trace verifyMediaRenderer(C0A80102:2328, /plugins/UPnP/MediaRenderer.xml?player=00%3A04%3A20%3A26%3A55%3Ac9, 192.168.1.2:9000)
f947bcaf-e0cf-407d-bb35-0f6fe87c49ba 13:26:15: trace verifyMediaRenderer(C0A80102:2328, /plugins/UPnP/MediaRenderer.xml?player=01%3A79%3Aca%3Af7%3A57%3Ad1, 192.168.1.2:9000)
f947bcaf-e0cf-407d-bb35-0f6fe87c49ba 13:26:15: trace verifyMediaRenderer(C0A80102:2328, /plugins/UPnP/MediaRenderer.xml?player=00%3A04%3A20%3A29%3Ab0%3A3e, 192.168.1.2:9000)
f947bcaf-e0cf-407d-bb35-0f6fe87c49ba 13:26:15: trace verifyMediaRenderer(C0A80102:2328, /plugins/UPnP/MediaRenderer.xml?player=b8%3A27%3Aeb%3A51%3Af6%3Afa, 192.168.1.2:9000)
f947bcaf-e0cf-407d-bb35-0f6fe87c49ba 13:26:15: trace verifyMediaRenderer(C0A8011D:1F90, /description.xml, 192.168.1.29:8080)
The assumption made in the code that a player (MRender) is uniquely identified by a host and port is thus incorrect.
When I renamed a device within the HEOS app, the name change doesn't take place within the SmartApp and I cannot update it.
Steps to replicate
It seems like the name is sticky, once set, never changed.
I've tried unchecking the speaker and letting it search again. It never finds it under the new name.
I installed gmediarenderer-ressurect for RPI 3. I see the DLNA device in the IOS technics app and can successfully play songs. But the Smartapp is not picking up the device when it scans . All device are on the same lan. I have a dlink device that it does pick so I know the scan.
Any ideas.
When "Select play triggers?" or "Select stop triggers?" is selected you get the error message below
Error message : You are not authorized to perform the requested operation
Hi - I just noticed that line 58 of the Alexa Connect code has a misspelling of "false":
href "stationsList", title: "Stations",required: flase, description: "Show all available stations"
Hi @SmartThingsUle, Could this be used to play a simple White Noise track? I can't see anything like that in the Radionomy selection, but I'm wondering how the "Track" action of the Renderer Events SmartApp finds tracks to play, because I have nothing in the "Play this Track" section
Hello, I'm not having much luck with this solution (and it would be so cool if it worked!):
Kitchen
.Backyard
. When I send TTS, the audio actually comes out of the Backyard
Chromecast Audio device.I have attempted to uninstall / reinstall but the behaviors remain unchanged.
My Grace Digital player will only allow mute and volume control. Pausing or Stopping player will stop the player but it stops responding until power is recycled.
I cannot find any instructions on what to enter into the url redirect in the settings
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.