Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
Smartelite 0
Hello guys
I have a Json response to an http command that will give me alot of info.
The command is:
Please login or register to see this link.
What i get is:
{
"SourceID": 0,
"QueueCount": 54,
"QueueSongIndex": 14,
"ChangeQueueID": 2,
"ChangeSlideShowID": 1,
"ChangeMetaDataID": 61,
"Status": 2,
"Controls": 51642623,
"RepeatMode": 0,
"ShuffleMode": false,
"CurrSong": {
"Flags": 12289,
"ID": "72a0263645a710284dfce03c3474d15f",
"Title": "Khalik Fakirney",
"Type": 32768,
"ArtworkURI": "http://192.168.1.215:10243/WMPNSSv4/2524841952/0_ezNDNDg4M0VELTBCMDktNDM5OS1BMDZGLUU0NTIzNzIxNUVGN30uMTQuM0I2QkUxQ0U.jpg?albumArt=true",
"Album": "Best of",
"Artists": "Amr Diab",
"Duration": 209,
"Genres": "Other",
"Released": "2009",
"Track": "15",
"BitRate": 176400,
"ListenerCount": 0,
"Rating": 75,
"TotalItems": 0,
"DisplayInfo": [
"Khalik Fakirney",
"Amr Diab",
"Best of",
"Other - 2009"
]
},
"NextSong": {
"Flags": 12289,
"ID": "07b03113edf1322f47bbff2af0a698d8",
"Title": "A3'eb A3'eb",
"Type": 32768,
"ArtworkURI": "http://192.168.1.215:10243/WMPNSSv4/2524841952/0_ezkzNUEzN0FGLUNFQ0YtNDQ4RS1CRTBBLUU0N0Q3NTEyNDJDNX0uMTUuM0I2QkUxQ0U.jpg?albumArt=true",
"Album": "Best of",
"Artists": "Amr Diab",
"Duration": 211,
"Genres": "Other",
"Released": "2009",
"Track": "16",
"BitRate": 176400,
"ListenerCount": 0,
"Rating": 75,
"TotalItems": 0,
"DisplayInfo": [
"A3'eb A3'eb",
"Amr Diab - Best of"
]
},
"CurrProgress": 176,
"SlideShowAvailable": false,
"SearchPromptText": "Search for music by artist, album, or title",
"SourceLockedByZoneID": -1
}
I just want to take the Title and the Album name for example and add them to a label in a Virtual device in HC2
Is there anyway to do so?
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.