User:Ncarthy: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
'''Returns:'''  
'''Returns:'''  
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA">
{
'''Type:''' ''object''<br />
  "properties": {
'''Properties:'''
    "limits": {
* ''[[#List.LimitsReturned|List.LimitsReturned]]''  limits
      "$ref": "List.LimitsReturned",
* [ ''[[#Audio.Details.Song|Audio.Details.Song]]''[]  songs ]
      "required": true
    },
    "songs": {
      "items": {
        "$ref": "Audio.Details.Song"
      },
      "type": "array"
    }
  },
  "type": "object"
}
</div>
</div>
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{
Line 55: Line 44:
   ],
   ],
   "returns": {
   "returns": {
    "type": "object",
     "properties": {
     "properties": {
       "limits": {
       "limits": {
         "$ref": "List.LimitsReturned",
        "required": true,
        "required": true
         "$ref": "List.LimitsReturned"
       },
       },
       "songs": {
       "songs": {
Line 64: Line 54:
           "$ref": "Audio.Details.Song"
           "$ref": "Audio.Details.Song"
         },
         },
         "type": "array"
         "type": "array",
        "required": false
       }
       }
     },
     }
    "type": "object"
   }
   }
}</syntaxhighlight>}}
}</syntaxhighlight>}}

Revision as of 01:24, 19 February 2017

Retrieve recently added songs
Permissions:

  • ReadData

Parameters:

  1. [ List.Amount albumlimit = -1 ]
  2. [ Audio.Fields.Song properties ]
  3. [ List.Limits limits ]
  4. [ List.Sort sort ]

Returns:

Type: object
Properties: