Firefox OS/Vaani/Music

From MozillaWiki
Jump to navigation Jump to search

Music

Design:

Proposal 1

Vaani-music-iac-proposal1.png

Commands & Protocols

1. Play music

     "custom_commands": [{
       "@context": "http://schema.org/PlayAction",
       "@type": "PlayAction",
     }]


2. Stop

     "custom_commands": [{
       "@context": "http://schema.org/Deactivation",
       "@type": "Deactivation",
     }]


3. Pause

     "custom_commands": [{
       "@context": "http://schema.org/SuspendAction",
       "@type": "SuspendAction",
     }]

4. Previous / Next

     "custom_commands": [{
       "@context": "http://schema.org/",
       "@type": "",
     }]


5. Who is the artist / What album is this

     "custom_commands": [{
       "@context": "http://schema.org/AskAction",
       "@type": "AskAction",
       "object": "Question",
       "target": {
         "@type": "IAC",
         "name": "vaani-music",
         "data": {
           "type": "webapp",
           "manifest": "@manifest",
           "entry_point": "@entry_point"
         }
       }
     }]

Lacking:

Discussion

1. with kelly, reza
2. with media team
3. confirm syntax schema.org
4. new IAC connection (will become Vaani API)