Adding additional Variables to Yamaha AVR device driver

Discuss topics related to the plugins and uses for MLServer beta
Dkip
New Member
New Member
Posts: 27
Joined: Sun Feb 26, 2006 1:25 pm
Contact:

Adding additional Variables to Yamaha AVR device driver

Postby Dkip » Tue Nov 24, 2015 12:12 am

Is there a way for me to add additional Variables to Yamaha AVR device driver? We user our zone out channels nearly exclusively to drive Spotify
In the past I have been able to grab Artist, Album and track from this reply string.

<Feature_Availability>Ready</Feature_Availability><Playback_Info>Stop</Playback_Info><Meta_Info><Artist>Jidenna</Artist><Album>Classic Man</Album><Track>Classic Man</Track></Meta_Info><Input_Logo><Url_S>/YamahaRemoteControl/Logos/Logo005.png</Url_S><Url_M></Url_M><Url_L></Url_L></Input_Logo>

Its my hope one day to be able to use this to get album art but for now I would be happy with the Artist, Album and Track

is there a tutorial somewhere for me to see how to properly add these or is it part of the driver

Thanks

Dave

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Adding additional Variables to Yamaha AVR device driver

Postby CinemarDave » Tue Nov 24, 2015 8:37 pm

Is that metadata appearing in the Yamaha device driver event log now or would the driver have to query for it? If it is currently in the driver events send me the event log so I can see exactly how it is logged. If I have to query for it I'll have to know how. In either case there is nothing you can do as it is driver code that I have to update.

Dkip
New Member
New Member
Posts: 27
Joined: Sun Feb 26, 2006 1:25 pm
Contact:

Re: Adding additional Variables to Yamaha AVR device driver

Postby Dkip » Tue Nov 24, 2015 11:34 pm

This information shows in the log and is reported with every change
if I skip through a few tracks it looks like this

2015-11-24 11:08:15 PM RX: @SYS:MODELNAME=RX-A3030
2015-11-24 11:08:15 PM RX: @SPOTIFY:PLAYBACKINFO=Play
2015-11-24 11:08:16 PM RX: @SPOTIFY:ARTIST=Jidenna
2015-11-24 11:08:16 PM RX: @SPOTIFY:ALBUM=Classic Man
2015-11-24 11:08:16 PM RX: @SPOTIFY:TRACK=Classic Man
2015-11-24 11:08:28 PM RX: @SPOTIFY:TRACK=Sweet Home Alabama
2015-11-24 11:08:28 PM RX: @SPOTIFY:ALBUM=Second Helping
2015-11-24 11:08:28 PM RX: @SPOTIFY:ARTIST=Lynyrd Skynyrd
2015-11-24 11:08:30 PM RX: @SPOTIFY:TRACK=Hotel California
2015-11-24 11:08:30 PM RX: @SPOTIFY:ALBUM=Hotel California (Remastered)
2015-11-24 11:08:30 PM RX: @SPOTIFY:ARTIST=Eagles
2015-11-24 11:08:39 PM RX: @SPOTIFY:TRACK=Poison
2015-11-24 11:08:39 PM RX: @SPOTIFY:ALBUM=Alice Cooper Classicks
2015-11-24 11:08:39 PM RX: @SPOTIFY:ARTIST=Alice Cooper
2015-11-24 11:08:42 PM RX: @SPOTIFY:TRACK=Cheerleader - Felix Jaehn Remix Radio Edit
2015-11-24 11:08:42 PM RX: @SPOTIFY:ALBUM=Cheerleader (Felix Jaehn Remix Radio Edit)
2015-11-24 11:08:42 PM RX: @SPOTIFY:ARTIST=OMI
2015-11-24 11:08:44 PM ProcessCommand Cmd=[1~Model] Client=[]
2015-11-24 11:08:44 PM TX:1 @SYS:MODELNAME=?

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Adding additional Variables to Yamaha AVR device driver

Postby CinemarDave » Wed Nov 25, 2015 1:13 pm

I just modified the Yamaha driver to pick up these additional items. Give it a try. You'll see variables like

av_<<id>>_spotify_artist
av_<<id>>_spotify_album
av_<<id>>_spotify_song

along with the generic variables

av_<<id>>_artist
av_<<id>>_album
av_<<id>>_song

Let me know if it works as expected.

Dkip
New Member
New Member
Posts: 27
Joined: Sun Feb 26, 2006 1:25 pm
Contact:

Re: Adding additional Variables to Yamaha AVR device driver

Postby Dkip » Wed Nov 25, 2015 10:30 pm

Thanks Dave

It works perfectly


Return to “MLServer Questions & Answers”

Who is online

Users browsing this forum: No registered users and 1 guest