SmartThings Community

Generic Media Renderer, Cheap Sonos Alternative (New Topic) New Feature: Radio Stations by Genre


(Ule) #1

Hi, This is a new topic of Generic Media Renderer , I can´t edit the old one.

I have updated the player to version v 2.2.1

The feature I have added its to play radio stations without need a smart app.

Many users have installed the Media Renderer but, they can´t do anything, they do not known how to send music or messages.

This is a easy way to use their speakers to listen good music

The device have 3 new settings,

1.- Genre
2.- Use Multiple Genres
3.- Multiple Genres

The device have 1 new button,

1.- Mode = normal/ station / genre

The new button change the buttons
play/next /previous to
playstation/ next station /previous station and
play station/ next genre/previous genre

Now you can load 10 stations from your favorite genre, and navigate the list, you can load several genres and navigate them.

SmartThings do not allow to get multiple selections in a device, then its necessary to write the genres comma separated in the field, the name must to be exact like the genre list, its not complicated if you want less than 10 genres.

The next update could be to use the command speak to allow no generic music player commands.

There are many good smartapps that use the speak method, and with this you can send something like

cmd:playStation
cmd:genre:Christmas
cmd:nextStation
cmd:nextGenre

Then CORE app can start the music of any genre in the list with all the options that CORE can control.

What do you think?

If you want to support this develop you can donate at https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A6XBY99S5FECL

If you want to read the old topic you can go https://community.smartthings.com/t/release-generic-media-renderer-dlna-speakers-cheap-sonos-alternative-update-v2/

Genres:

Alternative , Adult Alternative , Britpop , Classic Alternative , College , Dancepunk , Dream Pop , Emo , Goth , Grunge , Hardcore , Indie Pop , Indie Rock , Industrial , LoFi , Modern Rock , New Wave , Noise Pop , Post Punk , Power Pop , Punk , Ska , Xtreme , Blues , Acoustic Blues , Cajun and Zydeco , Chicago Blues , Contemporary Blues , Country Blues , Delta Blues , Electric Blues , Classical , Baroque , Chamber , Choral , Classical Period , Early Classical , Impressionist , Modern , Opera , Piano , Romantic , Symphony , Country , Alt Country , Americana , Bluegrass , Classic Country , Contemporary Bluegrass , Contemporary Country , Honky Tonk , Hot Country Hits , Western , Decades , 00s , 30s , 40s , 50s , 60s , 70s , 80s , 90s , Easy Listening , Exotica , Light Rock , Lounge , Orchestral Pop , Polka , Space Age Pop , Electronic , Acid House , Ambient , Big Beat , Breakbeat , Dance , Demo , Disco , Downtempo , Drum and Bass , Dubstep , Electro , Garage , Hard House , House , IDM , Jungle , Progressive , Techno , Trance , Tribal , Trip Hop , Folk , Alternative Folk , Contemporary Folk , Folk Rock , New Acoustic , Old Time , Traditional Folk , World Folk , Inspirational , Christian , Christian Metal , Christian Rap , Christian Rock , Classic Christian , Contemporary Gospel , Gospel , Praise and Worship , Sermons and Services , Southern Gospel , Traditional Gospel , International , African , Afrikaans , Arabic , Asian , Bollywood , Brazilian , Caribbean , Celtic , Chinese , Creole , European , Filipino , French , German , Greek , Hawaiian and Pacific , Hebrew , Hindi , Indian , Islamic , Japanese , Klezmer , Korean , Mediterranean , Middle Eastern , North American , Russian , Soca , South American , Tamil , Turkish , Worldbeat , Zouk , Jazz , Acid Jazz , Avant Garde , Big Band , Bop , Classic Jazz , Cool Jazz , Fusion , Hard Bop , Latin Jazz , Smooth Jazz , Swing , Vocal Jazz , World Fusion , Latin , Bachata , Banda , Bossa Nova , Cumbia , Flamenco , Latin Dance , Latin Pop , Latin Rap and Hip Hop , Latin Rock , Mariachi , Merengue , Ranchera , Reggaeton , Regional Mexican , Salsa , Samba , Tango , Tejano , Tropicalia , Metal , Black Metal , Classic Metal , Death Metal , Extreme Metal , Grindcore , Hair Metal , Heavy Metal , Metalcore , Power Metal , Progressive Metal , Rap Metal , Thrash Metal , Misc , New Age , Environmental , Ethnic Fusion , Healing , Meditation , Spiritual , Pop , Adult Contemporary , Barbershop , Bubblegum Pop , Dance Pop , Idols , JPOP , KPOP , Oldies , Soft Rock , Teen Pop , Top 40 , World Pop , Public Radio , College , News , Sports , Talk , Weather , R&B and Urban , Classic R&B , Contemporary R&B , Doo Wop , Funk , Motown , Neo Soul , Quiet Storm , Soul , Urban Contemporary , Rap , Alternative Rap , Dirty South , East Coast Rap , Freestyle , Gangsta Rap , Hip Hop , Mixtapes , Old School , Turntablism , Underground Hip Hop , West Coast Rap , Reggae , Contemporary Reggae , Dancehall , Dub , Pop Reggae , Ragga , Reggae Roots , Rock Steady , Rock , Adult Album Alternative , British Invasion , Celtic Rock , Classic Rock , Garage Rock , Glam , Hard Rock , Jam Bands , JROCK , Piano Rock , Prog Rock , Psychedelic , Rock & Roll , Rockabilly , Singer and Songwriter , Surf , Seasonal and Holiday , Anniversary , Birthday , Christmas , Halloween , Hanukkah , Honeymoon , Kwanzaa , Valentine , Wedding , Winter , Soundtracks , Anime , Kids , Original Score , Showtunes , Video Game Music , Talk , BlogTalk , Comedy , Community , Educational , Government , News , Old Time Radio , Other Talk , Political , Scanner , Spoken Word , Sports , Technology , Themes , Adult , Best Of , Chill , Eclectic , Experimental , Female , Heartache , Instrumental , LGBT , Love and Romance , Party Mix , Patriotic , Rainy Day Mix , Reality , Sexy , Shuffle , Travel Mix , Tribute , Trippy , Work Mix


RELEASE Generic Media Renderer (DLNA Speakers). Cheap Sonos Alternative (Update V2)
Working Speakers (44 Devices Confirmed , 29 waiting Confirmation) last addition: Klipsch Stadium, Help Us to increase the list
(Bobby) #2

Now I am heart broken, you missed Romanian, CoRE speaks it too…I think @ady624 agrees. Loool. Nice collection!


(Pizzinini) #3

Do the Ivona voices still work? I have entered the credentials in the DTH (i tried 2.1.1 and 2.2.1) and the Media Render Events App and can’t get it to work. I did have them work a couple of months ago…Am I doing something wrong? Thank you!


(Ule) #4

Hi @pizzinini, Its working fine , I have not problems with ivona in Media Renderer events, my key is working since the first day, remember there is a limit off 50k per month, I have never pass the limit, I don’t known if the key could be banned, but the app its working fine.
I have tested with voices en-US Salli and en-US Joey


(Ule) #5

Hi Robert, Thanks for the donation, I really appreciate it.


(Devesh Batra) #6

hi, is there a way to clone from IDE ? i’m unable to pull. Do i have to manually install all the files ?

Just about to buy my first DLNA adapter to play with… Hope this one will work

thanks


(Ule) #7

Hi @BatraD, I don´t understand your problem, you must to intall the media renderer connect smartapp and the player device type, just follow instructions from https://github.com/SmartThingsUle/DLNA-PLAYER


(Andrew) #8

Hey Ule,
Great work on this. I have Just started using your DTH and your App as well. I believe what @BatraD is looking for is the GitHub integration so when you update your code we can Update directly from the IDE with out having to Cut and paste from GitHub. I have been looking for the same, and from what I can tell is the name space is not the same preventing the direct integration.


(Devesh Batra) #9

Andrew - thanks for the reply. that’s exactly what i’m looking for… makes updating apps easier

thanks


(Andrew) #10

Someone please correct me if I am wrong here but I think all that would be necessary to set up GitHub integration would be to change the items to match. @ule is this something you would be willing to do?


(Pizzinini) #11

I checked the ivona site and it says I used 0 out of 50000.

I created new ivona credentials and entered the Access Key and the Secret Key in the Media Render Events app in the “Text for Speach” settings.

In the DTH I tried (1) no key (2) Only Access Key (3) Access Key and Secret Key but none of these scenarios worked.

The Smartthings and Alexa voices works fine in the Media Render Events app.

I also cant get google to work.

Thank you!


(Ule) #12

could you share the logs, when push the app button.

Thanks


(Ule) #13

Hi, Google its very tricky and always block the tts, I already have update the Media Renderer Events and now is working, but remember google tts is limited to 100 chars, and its blocked if it you request very often

I suggest to use in this priority

1.- Smartthings Faster, good voice (when works) only English
2 - Rss voices Fast, Very good voice, Multiple Languages
3.- Ivona Medium Speed, Excelent voice, multiple Languages
4.- Google Fast, Medium voice, Multiple Languages, 100 char limited, blocked very often

Media Renderer events have a safeTTS function to detect if ST voice fails, then use any other voice if it configured.


(Pizzinini) #14

For the Media Render Events, I get:
9:33:39 PM: trace Exiting takeAction()

For DTH 2.2.1 I get:
9:33:44 PM: error org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 75; The reference to entity “text” must end with the ‘;’ delimiter. @ line 228
9:33:42 PM: error org.xml.sax.SAXParseException; lineNumber: 31; columnNumber: 546; The reference to entity “ts” must end with the ‘;’ delimiter. @ line 228


(Pizzinini) #15

by the way… I think the Alexa function is pretty cool!


(Jason "The Enabler" as deemed so by @Smart) #16

What’s that do?


(Pizzinini) #17

I was just about to submit a feature suggestion (not request) for Echosistant to use the Alexa voice for messages using something like this… (maybe something like “simon says”).


(Jason "The Enabler" as deemed so by @Smart) #18

We’ll look into that… see if we can’t make it work…

Are you using EchoSistant?


(Jason "The Enabler" as deemed so by @Smart) #19

So, when you submit the statement to the Alexa part, it sends TTS to the speakers and it comes out in the Alexa Voice?


(Pizzinini) #20

For static messages to one or more speaker I use Media Render Events (I like that you can use different voices or languages!), for dynamic messages I use Echosistant, also to one or more speakers