-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extracting the ID or ULR of an Album_Art #23
Comments
I finally made some progress but i'm stuck again.. I added this to simpleCommand.js to extract the URL:
Now i can print th URL to the Console with this code: But if i want to add the IP Adress: The output of the console is: |
All calls return promises, not the actual result, it should be probably something like this.
|
Thank you for helping on that very basic level. That writes the full URL to the console :) How do i manage to have the FullAlbumArtURL available outside this function?! My goal is to have a module that returns the full URL to another function.
But the image is then undefined? |
promises are async, it's not possbile to get the result in a sync manner, you have to use
|
Hi PSeitz, |
Hi PSeitz,
thank you for creating this piece of code. I'm trying to use it for creating a driver for my NEEO remote.
Can you please add some commands for extracting info about the playback?
The Request for this would be:
<YAMAHA_AV cmd="GET"><SERVER><Play_Info>GetParam</Play_Info></SERVER></YAMAHA_AV>
Response is then for example:
<YAMAHA_AV rsp="GET" RC="0"><SERVER><Play_Info><Feature_Availability>Ready</Feature_Availability><Playback_Info>Play</Playback_Info><Play_Mode><Repeat>One</Repeat><Shuffle>Off</Shuffle></Play_Mode><Time><Elapsed>1:26</Elapsed></Time><Meta_Info><Artist>A.A. Milne read by Alan Bennett</Artist><Album>Winnie the Pooh</Album><Song>Eeyore, The Old Grey Donkey...</Song></Meta_Info><Album_ART><URL>/YamahaRemoteControl/AlbumART/AlbumART6475.jpg</URL><ID>64752</ID><Format>JPEG</Format></Album_ART></Play_Info></SERVER></YAMAHA_AV>
I would love to integrate the Album_ART into my project so i need the ID or URL of the Album_Art that is played back.
Can you please help to extract this information? I have a very basic knowledge of coding so help would be really appreciated.
The text was updated successfully, but these errors were encountered: