Closed luka6000 closed 2 years ago
@jesserockz mind having a look please ?
sorry guys, I've completely refactored the code to parse the tag data only once. Now it's more clean and works as expected.
Changes overall look good. Just depends if you want to include them in the main repo YAML @adonno ?
@jesserockz I thought that could be useful since a lot of people want to use it as a jukebox and would you advise against it ? if so we could create a second YAML for jukebox only
@adonno No I have nothing against adding this into the main YAML. I do think it would make it easier for people to then use unmodified.
This modification will allow to read Spotify and Apple Music playlist url from NDEF tag and use it in HA incoming as event music_tag. Additionally, there is a write_music_tag service which allow to write any url as NDEF on the tag