This AWESOME Music Player Looks AMAZING On Your Dashboard

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 233

  • @SmartHomeJunkie
    @SmartHomeJunkie  2 года назад +6

    What do you think about this Music Player? Are there better alternatives in your opinion? Let me know in the comments!

    • @BrendaKincaid
      @BrendaKincaid 25 дней назад

      This tutorial seems to be outdated. The UI has changed, there is no way to add an ID to the player.

    • @SmartHomeJunkie
      @SmartHomeJunkie  25 дней назад

      @ This player still works.

    • @BrendaKincaid
      @BrendaKincaid 25 дней назад

      @@SmartHomeJunkie I believe you, but following the tutorial is impossible. There is no Id to be set.

  • @davidhill8151
    @davidhill8151 2 года назад +7

    Yes for Spotify!

  • @robkircherjr
    @robkircherjr 2 года назад +3

    YES!!! to Spotify. I'm working on this myself and would love to see how you do it.

  • @gilad3121
    @gilad3121 2 года назад +9

    A video on how to connect Spotify would be great
    And also to see how you can play a certain song from Spotify at certain times

    • @efibdn
      @efibdn 2 года назад +1

      There are a lot of videos for Spotify integration, fairly easy. For specific song you can create playlist with one song and create an automation on HA to play that playlist when you need it.

  • @dozog
    @dozog Год назад +1

    This is so great.
    I seldom listen to radio, but sometimes. It was so hard to cast a station from the Radio browser every single time. There are too many stations and no advanced search function.
    This is exactly what I was looking for. So Hartelijk bedankt.

  • @brian.hanifin
    @brian.hanifin 2 года назад +2

    I’ll admit, I don’t often play music at home so I couldn’t see a reason so control music through home assistant. But this video changed mind. I have a couple of common channels I listen to and it would be nice to play those instead of asking Google to “Play some music” while I am coding to distant the dogs from people walking by outside.

  • @gorgorgonzales3090
    @gorgorgonzales3090 2 года назад +2

    Works like a charm, even through the audio out of my raspi, thanks!

  • @atomicpapa
    @atomicpapa 2 года назад +2

    Fantastic tutorial! I already have a couple of stations added and working on more.

  • @onnodekker6799
    @onnodekker6799 2 года назад +16

    Hi Ed, again a great video! I liked it very much. I'm very interested to see how the integration works with Spotify. Thank you.

  • @nielskuijper2119
    @nielskuijper2119 2 года назад +2

    Really nice! I would love to do the same with Spotify, could you make a video fot it please?

  • @willihaus
    @willihaus Год назад +1

    Thank you for the inspiration. I started with your solution, which is very good. I even found a simpler way for managing Radio Station Buttons. You only need one script to play your media. Just pass the content_id and the content_type as data to the script. This way you avoid editing multiple files/scripts for one change. You only have to care about one list of cards, action buttons or whatever.
    I also use "decluttering cards" to use my list of radio-channel buttons in multiple rooms for multiple players and button-mod for a popup to choose the radio channel. This makes it even easier to manage and edit.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад +1

      Yes, great idea. It's evolved at my side as well. I do not use scripts anymore, but use scripts straight in the player yaml now.

    • @DavidKunttu
      @DavidKunttu Год назад

      @@SmartHomeJunkieany chance you can share an updated example of how you do this now?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      @@DavidKunttu See this video. It's in the code that you can download for a coffee:
      Switch Smart Speakers in your Media Player NOW!
      ruclips.net/video/k27p8xBuo5s/видео.html

  • @coreviz
    @coreviz 2 года назад +1

    Thank you for the video!
    If the image does not fit well on the button, try "image" instead of "cover"!

  • @RolandG-y3w
    @RolandG-y3w 2 года назад +4

    Great way to simplify my current setup (using the sonos integration). Any suggestions on how to get the metadata from the stream? I want the player to show current artist and track like it was used to, not just 'streaming from music assistant'
    I see the info appearing in music assistant.... but there is no pass through to the player? BTW: The Mass_player also just shows Music Assistant...
    BTW: Nice to see you are a fellow KINK listener (and some StuBru too)

  • @ajays2060
    @ajays2060 2 года назад +2

    Awesome video! I will try this to add some radio stations but would also love to see video for adding RUclips music (I wonder if integration would be widely different to Spotify)?

  • @sevagjb
    @sevagjb 2 года назад +1

    Thanks Ed,
    I enjoyed your extended explanation, but to be honest I don't have the time, I am busy learning and building firmware 😂,
    this video it will stay in the watch later for some time,
    I always appreciate your time to give us new things, I know is not easy to do.

  • @joseramos3982
    @joseramos3982 2 месяца назад

    Hi. Unfortunately, in Radio browser, you cannot create favorites. I don't understand why this feature doesn't exist. So I made exactly the same way you did. But Radio browser allowed to stream to the device where the companion is installed via the browser. I don't know how to implement this and I need because I want to stream to Bluetooth speakers that are paired with my tablet.
    An idea how to do this ?
    Your tutorials are really great. Thanks a lot.

  • @bat3332
    @bat3332 2 года назад +1

    I used to save you tube videos in playlist like ha dashboard , ha hacs and so on and save the videos accordingly to corresponding playlist . but the amount quality videos you produce i think its better to have playlist separately named as smart home junkie

  • @DraganMoraca
    @DraganMoraca Год назад +1

    Hello there sir,
    is there a way to resize radio logos to be more square rather then rectangle?
    Thank you in advance

  • @RoyPsb68
    @RoyPsb68 Год назад +1

    Hi buddy, I really like this content, but how can I continue listening to the radio when interrupted by automation notifications (doors opening etc). Thank you.

  • @bert-janvandenberg2474
    @bert-janvandenberg2474 2 года назад +1

    Thank
    Good video, installed it in one way.
    Not every thing used, but the sound buttons are good.

  • @Syngor
    @Syngor Год назад +1

    You help me so much with all your video's! I like the hands-on guides you document so well here.

  • @holgerwinkelmann6219
    @holgerwinkelmann6219 2 года назад +1

    would be nice to know how to do this with Sonos play lists

  • @wouterpittelo1584
    @wouterpittelo1584 Год назад +1

    Thanx a lot, finaly i can play some music on my TV

  • @DrZzs
    @DrZzs Год назад +1

    I wanna see you play some of those Guitars!!

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад +1

      Maybe I should start another channel with guitar playing tutorials too... 🤔

  • @remcowetzels
    @remcowetzels 2 года назад +2

    Great video i would love to see one about Spotify

  • @tonip73
    @tonip73 Год назад +1

    Thanks for this - I unfortunately keep getting the failed to call service error.... I will keep trying! No doubt it is user error on my behalf :)

  • @clairerovic
    @clairerovic 2 года назад +1

    I really enjoyed that thanks. I might try to use your previous video and click between radio stations.

  • @milner_time
    @milner_time 2 года назад +2

    Hi, Thank you, spotify integration with multiple google home speakers would be really nice.

    • @Sholofly
      @Sholofly 2 года назад

      Can't you group your speakers in the Home app and add them as entity in HA?

  • @csabasecret
    @csabasecret 2 года назад +1

    I love your tutorials Ed! Just one comment, if you have a network media player like Sonos with HA integration, then life can be even easier as your saved radio stations can be referenced directly in the mini media player. No need for scripts.

  • @Krypt2Nyte
    @Krypt2Nyte Год назад +1

    Thanks for the video. My version of HA in August 2023 needed the link to be /local/community/radio/*****.***

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      You can determine the link yourself depending on where you put your image files. You probably have a community folder within your www folder, but it's not needed.

  • @Rodgauer-ho5ko
    @Rodgauer-ho5ko Год назад

    Hi, great video. However, when I try to paste the background image to the radio folder HA tells me "cannot read properties of null (reading "name"). Please advise.

  • @davidgillespie-sr2wo
    @davidgillespie-sr2wo Год назад +1

    Ed - a fantastic video again! We’ll done. I have it installed and working. One question, did you manage to get station artwork working? I get intermittent stations working and others not and very slow to pull? Thanks in advance.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      Thx. I didn't manage to get the station artwork going. For Spotify it does work. See my other video for that.

  • @jeibar
    @jeibar 2 года назад +1

    I’m definitely doing this , I’d love to see the video with Spotify ass well . Thanks Ed , You’re the best 🫶🏻🫶🏻

  • @adrianguillermocadabon3087
    @adrianguillermocadabon3087 Год назад +1

    GREAT VIDEOS !!!!!! Gracias desde Argentina !!!!

  • @ChrisWolbers
    @ChrisWolbers 2 года назад +3

    Hi, Is it possible in the player to also make a choice of which speaker I am going to use. otherwise you would have to make this for each room (en dat is niet handig denk ik)

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад +2

      I didn't try it, because the scripts point to a specific speaker anyway. I have a media player like this for each room.

  • @kvanluijtelaar
    @kvanluijtelaar Год назад +1

    Great video!! I followed this one and the Spotify one and it's working great!
    one question: Would it be possible to add 2 dropdown lists to the mini player? So that you have 1 for Spotify and 1 for radio stations? (instead of the radio buttons?)
    Thank you for your amazing work!

  • @bm-magic
    @bm-magic 6 месяцев назад

    eine schöne Anleitung...DANKE DAFÜR...habe extra Studio Code Server installiert. Mein Problem: in 5:30...ich habe kein HA Server und kein www Ordner! Wo kann ich die Bilder speichern?

    • @bm-magic
      @bm-magic 6 месяцев назад

      Die Lösung: mit im Verzeichnis homeassistant/ ein neues Verzeichnis mit dem Namen www erstellen...Achtung..Nicht WWW! (Habe zwei Tage gesucht 😞 )

  • @SERGIO09051974
    @SERGIO09051974 2 года назад +1

    This is one of your best videos. Thank you.

  • @koolkiwikat
    @koolkiwikat Год назад +1

    how to toggle different speaker groups and play local media playlists? Im struggling to program a shuffle on local media

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      Switch Smart Speakers in your Media Player NOW!
      ruclips.net/video/k27p8xBuo5s/видео.html

  • @BeardedTinker
    @BeardedTinker 2 года назад +1

    Great video Ed! This is much better visual player than the one I use (drop-down list of radio stations).
    Oh and you look awesome in the hoodie ;)

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      Thank you for the awesome hoodie. It's also very good quality.

  • @marksimpkins5242
    @marksimpkins5242 Год назад

    Hi sorry to trouble you again but is there anyway of getting the Sonos radio stations into the buttons on the mini media player. thanks in advance for your help and advice.

  • @Rimotom0s
    @Rimotom0s Год назад +1

    You are the best! Thanks for this detailed tutorial!

  • @mediacousticsmultimedia7359
    @mediacousticsmultimedia7359 2 года назад +1

    +1 on how to implement spotify to be played back on smart speakers...

  • @0tuttonr
    @0tuttonr Год назад

    How do you fit the icon images in the button box. I changed the syntax to "image" rather than "cover"? Is it just a case of finding a horizontal icon that fits properly?

  • @edgaro.4564
    @edgaro.4564 Год назад

    Does this one play all your mp3 store in the HA (media folder or www), I have all my favorites songs and will like to have it play it in my speaker (google mini). Is this one don’t do it, do you ha a suggestion? Thanks

  • @AlpayGaniBalolu
    @AlpayGaniBalolu 9 месяцев назад

    Thank you for detailed and amazing work.
    All your videos ara made better my H.A
    I have a question.
    Is there anyway to store radio station logos at www folder and change them with chosen station?
    Thank you.

  • @opladertje
    @opladertje 2 года назад +2

    Hi Ed, I've successfully installed the mini media player frontend through HACS (and restarted HA several times), but when editing a dashboard and adding a card, the mini media player card doesnt show up. Do you have any suggestions as on how to continue? I'd love to have a nice little media player in my dashboard, but am a bit at a loss here...

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад +1

      I've seen that once before. I think removing the card from HACS and reinstalling might fix it. And do not forget to clear your browser cache.

    • @opladertje
      @opladertje 2 года назад +1

      @@SmartHomeJunkie You're a genius! That solved my problem, thanks a lot!

  • @erikjanssen5569
    @erikjanssen5569 2 года назад +1

    Loved it build one directly

  • @vacob6494
    @vacob6494 Год назад

    How can I play local media file (mp3) or streaming on Home Assistant Server (speakers connect to HA Server audio out) I can't find the way to setup target to server speaker (my HA server is PC with HA OS)

  • @dennisbaauw
    @dennisbaauw 2 года назад

    Thnx for the guide. I run into the issue that whenever I toggle between the scripts using a physical button it takes quite a while (10-20seconds) for the radio channel to actually load. Any way to improve that?

  • @jovs1407
    @jovs1407 2 года назад +1

    Look very good. Great work again. ;) Is it possible to also change the speaker ? For example , i've a speaker in the kitchen and one in the bathroom. Can i switch between them or make them play the same music?
    Music assistant is btw also a very very nice option. Only thing i don't like is you can't make a card . So if using fully kiosk , you can't use it.

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад +1

      Changing the speaker is not possible atm. You have to create a music player for each speaker.

  • @marksimpkins5242
    @marksimpkins5242 Год назад +1

    Hi and thanks for this awesome media player keep up the good work, following all your videos as i am a complete new starter to home assistant. Can i ask how can i make the jpg image fit the script button on the media player. probably a really stupid question but any help with this would be great many thanks Mark

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      The thing is that the button changes dimensions based on the resulting that you use to view your dashboard. So, you cannot really create a jpg that will fit all resolutions.

    • @marksimpkins5242
      @marksimpkins5242 Год назад

      Thanks for the reply how did you get yours to fit perfectly or was it just luck

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      @@marksimpkins5242 no, I made a screenshot and measured the size for the resolution that I use. Then I created the images myself according to that size.

  • @fantasma62
    @fantasma62 2 года назад +1

    As usual, really enjoying your content. Very easy to follow and very informative.
    So, any way to know what song is playing? Or that depends on the actual radio station?

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      I haven't found a way to show that unfortunately.

    • @fantasma62
      @fantasma62 2 года назад +1

      @@SmartHomeJunkie that’s ok, this is great either way

  • @RoyPsb68
    @RoyPsb68 7 месяцев назад

    Hi Ed, how to use Amazon speaker to listen to browser radio?

  • @ClausArdal
    @ClausArdal 2 года назад +1

    I would really like to see a video about adding Spotify also. And maybe the option to select which speakers it should play on.
    And great videos by the way :)

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад +1

      Keep an eye on my channel today 😉. The last option is not possible currently.

    • @ClausArdal
      @ClausArdal 2 года назад +1

      @@SmartHomeJunkie That sounds great!! Just made the first room and radio channel while my family was still sleeping. Thanks for the tutorials 😀

  • @ungeekenmunich
    @ungeekenmunich 2 года назад +1

    Once again, awesome video! Wanted to do this for a while

  • @xisop
    @xisop 2 года назад +1

    Love this video. Thanks :)
    There is one question I have. When I run a script for a radio stration of choice, the only info I get is URL stream. Is there wa way that you know of to get the stream info? (station name and optionally artist and track info). When I select the same station through my Heos app I'm getting more info :)

  • @grykaserwis
    @grykaserwis Год назад

    Hi I tried but get info Unknown media source, when try to run the script, any idea why?

  • @johnschmdt2489
    @johnschmdt2489 2 года назад +1

    How do you change the text color for your media player? Mine is set to black and is hard to read, I would like to be white like yours is.

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      I think it's part of the theme that you use. I use the default dark theme.

  • @OwnedByRs
    @OwnedByRs Год назад +1

    Is it possible to use 2 dropdown lists for 1 entity? I would like 1 for radio stations and 1 for spotify playlists.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад +1

      Yes, I think it is.

    • @OwnedByRs
      @OwnedByRs Год назад

      @@SmartHomeJunkie do you know how then? I tried to place 2 lists, but it won't work

  • @manosioa
    @manosioa 2 года назад +1

    Amazing work! Thanks! Do you know if this would work with Alexa media player integration with Amazon echos?

    • @videolan
      @videolan 2 года назад +2

      Out of the box, it does not work with Alexa (unless I made a silly mistake) but I think it might be possible by setting up Alexa routines that are called from the card in Home Assistant. A separate routine will be necessary for each radio station.

  • @petercook4350
    @petercook4350 2 года назад +1

    Brilliant video. Thank you

  • @ivanmagd
    @ivanmagd Год назад

    Hi, Ihave been searchimng for simple way of using radio on HA, your example is great, thank you! I'm wondering if there is a way to use the browser or lets say the ipad if you are using it as a HA dashborad like an entity to stram to? I have no media speakers but a few ipads in my home. I can stream directly from the radio browser but find it hard sometimes to search for the radio station i want.

  • @bat3332
    @bat3332 2 года назад +1

    one question though . can i play my local mp3 files from my computer to chrome cast via home assistant instead of radio station?

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      I didn't try that yet. But I guess it might be possible.

  • @MrDenisJoshua
    @MrDenisJoshua 2 года назад +1

    Do you know if I can make some modify in order to choose the output please ?
    I have more google assistance around my home and I would like to choose the output room.
    Thanks a lot for the video

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      That is not possible with this player currently. You have to cretae a player for each speaker. There is an option to group speakers, but as far as I know only Sonos works with that. See the manual of the mini-media player for this.

    • @MrDenisJoshua
      @MrDenisJoshua 2 года назад +1

      @@SmartHomeJunkie I can group speakers also with the google nest speaker (I have 8 pieces around my home)
      But the problem is that I would like to choose one of them every time I want a radio.
      Mabe I'll make one via Node-Red (cause yaml I don't like 🙂)
      For now I use my mobile phone :-)
      Thanks a lot

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      @@MrDenisJoshua Good to know! Did you group them in the mini media player or in the Google Home app? (I meant grouping them in the mini media player)

    • @MrDenisJoshua
      @MrDenisJoshua 2 года назад +1

      @@SmartHomeJunkie I group it in the Google Home APP.

  • @aalabasy2004
    @aalabasy2004 Год назад

    Amazing video like usual I love it, one question please, is it possible to a button to play the played radio on all my speakers?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад +1

      Yes, you can. Create a speaker group in Google Home and address that speaker group in the code.

    • @aalabasy2004
      @aalabasy2004 Год назад

      @@SmartHomeJunkie amazing thank you so much for the reply. I'm so new in home assistant and your videos are the best for me to understand everything. BTW is it possible to show us how we can integrate Google map on home assistant, as I need to check my kids place, as they are already on my Google map and can check their place with my android phone.

  • @ChrisBoehmvideos
    @ChrisBoehmvideos 2 года назад +1

    Another great video, thank you.

  • @truckerallikatuk
    @truckerallikatuk 2 года назад +2

    Does this work on my HA server? I have VLC installed so the server can make sounds on some automations as I don't have a separate media player, this would be handy.

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад +1

      If your HA server can be recognized as a media player you could be lucky I guess.

    • @truckerallikatuk
      @truckerallikatuk 2 года назад +2

      @@SmartHomeJunkie Yes! It works! And I also have Studio Brussel on my shortcuts, after working in the Benelux for several months, I liked the station.

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      @@truckerallikatuk Awesome!!!

  • @CosminFrinculescu
    @CosminFrinculescu Год назад

    Hi Ed. I followed your instructions and created the radio myself, but I encountered the following problem. When I press the buttons with the radio stations, the script is not called and I get the following error: "The script/media_play_kink service could not be called. Service not found." Any idea why? Thanks in advance.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      No idea really. There must be something different. You can also choose to not use scripts and call the service straight in the media player.

  • @scpipad
    @scpipad 2 года назад

    Great video thanks :) I have amazon I'm having trouble getting the radio to play

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      It seems to work different for the Echo. See other people's reactions in the comments. There are some hints there for Echo. I do not own an Echo myself.

  • @jackvandenbergh
    @jackvandenbergh Год назад

    Hi, when I test the script (point 10:40) I get this immediately (after starting) this message in the History: "shut down triggered by service script.turn_on" (Dutch: Is uitgeschakeld getriggerd door service script.turn_on). What could be wrong here?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      I haven't seen this message before. No idea really.

  • @MrNetworkG
    @MrNetworkG Год назад +1

    Thank you for the info

  • @brownlkt
    @brownlkt 2 года назад +1

    Is the way you found the radio stations the way you find other media sources such as Hulu, Netflix, or HBO max to name a few?

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      I do not think so.

    • @brownlkt
      @brownlkt 2 года назад +1

      @@SmartHomeJunkie awesome video as always! I would like to suggest that as a possible video in the future if possible. I haven't found great documentation on that.

  • @sebastiangro4900
    @sebastiangro4900 Год назад

    Hey Ed, how can I listen the radio station on an network AVR (Yamaha RX-S600D)
    I installed the yamaha integration from HACS and I also add the AVR to DLNA Digital Media Renderer. But I don`t know how I have to combine the the radio browser with the AVR in the script. I have the same problem with spotify. Could you or anybody of your comments help me?
    Thx and best regards
    Eniac

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      Hi Eniac,
      I have no idea really. I do not own such a network AVR myself.

  • @robkarpati
    @robkarpati 2 года назад +1

    Hi, thanks for your work, it is a very cool tutorial. Can I add spotify playlists as well? In case yes, how? :) Thank you very much!

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад +4

      Yes you can! See the manual of the media player I will create a video about it too.

    • @robkarpati
      @robkarpati 2 года назад

      @@SmartHomeJunkie Thank you!

  • @kevindesaeger3059
    @kevindesaeger3059 Год назад

    Hi Ed, is the tts function still working for you? In the media player i created with your code, the tts function is not working anymore. the field where to write the tts message is gone.. also when click send, i get the error: cannot call service ...

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      I use the tts function like this:
      service: tts.google_translate_say
      data:
      entity_id: media_player.all_speakers
      message: Hello

  • @tworoelio
    @tworoelio Год назад

    Wondeful information. Tried this with AudioCast m5 but get the message "Entity media_player.family_room does not support this service" any idea how to fix this? Great work on the tuturials!

  • @videolan
    @videolan 2 года назад +1

    Another great video - just making some changes to make it work with Alexa as I think it needs to call an Alexa routine rather than a script that invokes the media player.

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад +1

      Let me know if you succeeded.

    • @anasiot5107
      @anasiot5107 2 года назад +2

      I’m interested too as I was not able to make it run in Alexa devices

    • @alanyoung4256
      @alanyoung4256 2 года назад +1

      Yeah, struggling to get it working on my echo dot. Any progress?

    • @videolan
      @videolan 2 года назад +1

      @@alanyoung4256 Yes - there is a slight problem with Alexa as different stations are provded by different providers. This, in itself, is not too much of a problem but I then found the the "KINK-DNA" station is restricted to the Netherlands on Alexa (using Tunein as the gateway) in the Alexa routine) whereas there is no such geographical restriction with Google! devices.

    • @scpipad
      @scpipad Год назад

      @@videolan Hello, can you explain how to configure TuneIn rotina in HomeAssistant ? Regards :)

  • @samueldaniels5223
    @samueldaniels5223 Год назад

    Hi Ed! I donated to your website and purchased the script. The only issue I have is that some stations require me to then click play as well, while others just play automatically. Any idea how to fix this so I don't have to click the station and then wait for it to buffer and also click the play button? Thanks!

  • @EngineerK
    @EngineerK 2 года назад +1

    Is there a way to make the music destination user selectable?

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      Not sure. I did not try it yet. Someone else in the comments changed the code so that he can use the dance script for multiple players. Maybe that helps you too.

  • @manfredzimmer1199
    @manfredzimmer1199 2 года назад +1

    Again a great video 👍

  • @biegstal
    @biegstal 2 года назад +2

    Ed, nice sweater 😂

  • @ernstrietbergen1876
    @ernstrietbergen1876 2 года назад

    Ok great i'm struggeling now with the size of the button background what size can this be ?

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      You can try 129x36. But, the size differs for each device.

  • @LarsDunemark
    @LarsDunemark 2 года назад +7

    I added a additional modulare way to used the scripts with media-player as an argument to the script.
    Ex:
    ```
    alias: "Media: Play P4 Halland"
    sequence:
    - service: media_player.play_media
    data:
    media_content_id: media-source://radio_browser/6b28428f-b57b-4ace-a559-d483a26f57fa
    media_content_type: music
    enqueue: replace
    target:
    entity_id: "{{ media_player }}"
    mode: single
    icon: mdi:radio
    ```
    Then using the shortcuts:
    ```
    shortcuts:
    columns: 3
    buttons:
    - type: script
    name: P4 Halland
    id: script.media_play_p4_halland
    data:
    media_player: media_player.vardagsrummet
    ```
    This means that I can re-use the same script for all my media players, not sure if there is a better way to add same data payload for all mini-media-players shortcuts.

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      That's a great addition. Thank you!

    • @Sholofly
      @Sholofly 2 года назад +2

      Isn't it possible to pass the media source too with parameters? That means that you can use one script for all channels and all players

    • @LarsDunemark
      @LarsDunemark 2 года назад

      @@Sholofly It should be possible.

    • @LarsDunemark
      @LarsDunemark 2 года назад +4

      @@Sholofly added a new script:
      ```
      alias: "Media: Play music media on device"
      sequence:
      - service: media_player.play_media
      data:
      media_content_id: "{{ media_source }}"
      media_content_type: music
      enqueue: replace
      target:
      entity_id: "{{ media_player }}"
      mode: single
      icon: mdi:multimedia
      ```
      So now I can use shortcuts:
      ```
      shortcuts:
      columns: 3
      buttons:
      - type: script
      name: P4 Halland
      id: script.media_play_music_media_on_device
      data:
      media_player: media_player.vardagsrummet
      media_source: media-source://radio_browser/6b28428f-b57b-4ace-a559-d483a26f57fa
      ```
      Think I will replace my video streaming automation with this type of card instead.

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад +1

      @@Sholofly I think so. You might use the above method and use the media source as a parameter too.

  • @AVworkplace-ArtEZ
    @AVworkplace-ArtEZ 2 года назад

    Thanks for this tutorial, got it running just fine. One question, is there any way to get a icon/custom pic within the defined radio stations?

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      Not at the moment as far as I know.

    • @AVworkplace-ArtEZ
      @AVworkplace-ArtEZ 2 года назад

      @@SmartHomeJunkie to bad, mdi icons work, tried custom images but no luck

    • @AVworkplace-ArtEZ
      @AVworkplace-ArtEZ 2 года назад +1

      Spoke to soon, in yout tutorial you showed how to change from name: to cover: /local/ etc...... THANKS!!!!!!

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      @@AVworkplace-ArtEZ They should work for the player icon. I tried it myself. Put them in the same www folder and call them like you call the background.

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад +1

      @@AVworkplace-ArtEZ Ah, I now see your reaction. You fixed it already! Great!

  • @ChrisBogle
    @ChrisBogle 2 года назад

    Thanks for this video. I have subscribed to your channel. I set up mini Media player card but for some reason cannot get buttons to appear on the card. Did not set up using .jpg file component you suggested. Just the default media receiver. I did add everything else in the code editor section under shortcuts. I am able to play the script but have to enable the mini media player, go into "Related" then select "Part of the following Script" then run the script. Would appreciate any help you can give me to get to see buttons.

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      That sounds like you missed some steps in the tutorial. You can also download the code and use that to see what the difference is.

    • @ChrisBogle
      @ChrisBogle 2 года назад

      @@SmartHomeJunkie Should the script sequence be: - service: media_player.play_media or Media player.select_source then data: media_content_id: media-source: “etc”. The way I have it set up as you suggested brings up a window with headings “info” “History” “Settings” “Related” & I have to select “Related” & run the script manually.

  • @mattrt12
    @mattrt12 Год назад

    is there a way to display what station you are listening to at least?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      I haven't found a way yet unfortunately. For the Spotify player it does work.

  • @robertperkins4909
    @robertperkins4909 2 года назад

    Can this be adapted for Pandora?

  • @janschonenberg3798
    @janschonenberg3798 Год назад

    Hi, is it possible to show the logo of the radio station in the background?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      Unfortunately not.

    • @janschonenberg3798
      @janschonenberg3798 Год назад

      @@SmartHomeJunkie Thanks for your reply. Other question. Is it possible to play TUNEIN audio. I have noticed that if I start TUNEIN audio from an other device (sonos app) that the logo of the radio station will become visible in the HA mini player.

  • @peterdierckx6703
    @peterdierckx6703 2 года назад +1

    glad you listen to StuBru.....👍👍👍

  • @medelta8044
    @medelta8044 7 месяцев назад

    Did the total installation but it can't find the script running on the latest firmware of ha. Copy paste your script.

    • @SmartHomeJunkie
      @SmartHomeJunkie  7 месяцев назад

      It is still working here. 🤷🏼‍♂️ No idea why you don't see it.

    • @medelta8044
      @medelta8044 7 месяцев назад

      @@SmartHomeJunkie the message is service script.media_play_538 not found

  • @Rodgauer-ho5ko
    @Rodgauer-ho5ko Год назад

    Hi, I managed to integrate you pic and also got two radio stations working on the mini media player. However, all the other stations/scripts I have added don't work. I also tried your KINK DNA to rule out it might be linked to some licensing issues. Anybody else made this strange experience ? I copy pasted the scripts which are working and only changed the name and the code from radio browser, so I can rule out a typing error.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      You can download the code to see what the difference is.

    • @Rodgauer-ho5ko
      @Rodgauer-ho5ko Год назад

      @@SmartHomeJunkie Please See below:
      type: custom:mini-media-player
      entity: media_player.texas
      name: Texas
      icon: mdi:radio
      artwork: cover
      source: full
      sound_mode: full
      info: short
      background: /local/community/mini-media-player/radiobackground.jpg
      shortcuts:
      columns: 3
      buttons:
      - type: script
      name: Sunshine
      id: script.media_play_sunshine
      - type: script
      name: FFH
      id: script.media_play_ffh
      - type: script
      name: Hr3
      id: script.media_play_hr3
      - type: script
      name: Youfm
      id: script.media_play_you_fm
      - type: script
      name: Planetradio
      id: script.media_play_planet
      - type: service
      name: favorites
      id: spotcast.start
      data:
      entity_id: media_player.texas
      url: spotify:playlist:/70WzBYND2UydZQOf1RD8qp?si=ROiUOoH8SUSCfjmN6v5CLQ
      random_song: true
      shuffle: true
      group: false
      toggle_power: true
      volume_stateless: false

  • @davedj
    @davedj Год назад

    Great Video thank you. Is there a way to setup the mini player on the dashboard with the ability to select the speaker on the dashboard? I'd like to make use of this but decide on the speaker/speaker group depending on my location.
    Also I note several settings shown in your video like background for example are missing from the config - any ideas or have they been removed in a later version?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад +1

      See this video for that: See also this video:
      Switch Smart Speakers in your Media Player NOW: ruclips.net/video/k27p8xBuo5s/видео.html

  • @Joseph-ko2kl
    @Joseph-ko2kl 2 года назад +1

    I like those planters! 3D printer huh? :)

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад +1

      Yes indeed! Here's the stl: www.printables.com/model/225251-modern-spiral-planter/files

  • @thomaskutz8965
    @thomaskutz8965 Год назад

    Leider funktioniert das bei mir nicht
    Radio ID 960d063e-0601-11e8-ae97-52543be04c81
    habe bereits spotify und wollte jetzt das script einfügen, soweit auch kein fehler. jedoch spielt nichts ab!

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      No idea really. Can you try another radio id?

    • @thomaskutz8965
      @thomaskutz8965 Год назад

      @@SmartHomeJunkieich habe Amazon Lautsprecher als Verursacher ermitteln können. Auf Apple HomePods funktioniert es 👌🏼

  • @RoyPsb68
    @RoyPsb68 Год назад +1

    Awesome 😁👍👍👍

  • @DonClassifieds
    @DonClassifieds 10 месяцев назад

    hi Ed does not work in Home Assistant 2024 on amazon speaker :(

    • @pjdarken
      @pjdarken 9 месяцев назад +1

      I confirm that it doesn't work with Amazon's speakers :( Any advice?
      After a few hours of fighting, I figured it out :)

  • @volkerschendel2797
    @volkerschendel2797 2 года назад

    Does it also work with Echos? I get error messages from my Echo Show

    • @videolan
      @videolan 2 года назад +1

      Not as it stands - See my answer above to Manos Ioannidis for suggestion of using Alexa routines triggered by the Home Assistant card.

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад

      I do not own an Echo yet, so I couldn't test that. Good point. I think I need to tell that in future videos.

    • @GaNuCas
      @GaNuCas 2 года назад +3

      @@SmartHomeJunkie I also get an error regarding text-to-speach. Too bad, this was amazing to use but I only have echos in the house.
      Anyway, great video.

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 года назад +2

      @@GaNuCas I think you need to use a different service call for Echos. I guess I'd have to buy one some day to test it myself.

  • @philipj3486
    @philipj3486 Год назад

    Im not getting the enqueue in the scripts section and its not playing when I run the script any ideas?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      Are you on the latest version of HA?

    • @philipj3486
      @philipj3486 Год назад

      Yes@@SmartHomeJunkie

    • @philipj3486
      @philipj3486 Год назад

      Im running it on HA Yellow

    • @SmartHomeJunkie
      @SmartHomeJunkie  Год назад

      @@philipj3486 What version of HA are you running?

    • @philipj3486
      @philipj3486 Год назад

      The latest Core
      2023.11.3
      Supervisor
      2023.11.6
      Operating System
      11.2.rc1
      Frontend
      20231030.2@@SmartHomeJunkie

  • @jensenjensen824
    @jensenjensen824 2 года назад +1

    Nice