Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
protocole_json [2011/04/12 18:24]
admin
protocole_json [2011/04/26 16:32]
admin [get_state]
Line 159: Line 159:
             "volume": "0",             "volume": "0",
             "time_elapsed": "0",             "time_elapsed": "0",
 +            "playlist_size": "5",
 +            "playlist_current_track": "0",
             "cover_url": "https://127.0.0.1/music.php?player_id=0",             "cover_url": "https://127.0.0.1/music.php?player_id=0",
             "current_track": {             "current_track": {
Line 204: Line 206:
     "audio_players": [     "audio_players": [
         {         {
-            "coverart": "1", +            "player_id": "0", 
-            "current_track": "83", +            "playlist_current_track": "0", 
-            "status": "playing", +            "volume": "33", 
-            "duration": "262", +            "playlist_size": "5", 
-            "artist": "Hint", +            "time_elapsed": "1420.68", 
-            "album": "Shapes 09:01", +            "cover_url": "/music.php?player_id=0", 
-            "title": "School Bell", +            "current_track":
-            "volume": "31", +                "title": "Sun", 
-            "time": "86.09"+                "duration": "0"
 +                "artist": "Sun", 
 +                "album": "", 
 +                "coverart": "1" 
 +            }
 +            "status": "playing"
         }         }
     ]     ]