'Get all items that where recelty added to plex.
Required parameters:
count (str):        Number of items to return
Optional parameters:
start (str):        The item number to start at
section_id (str):   The id of the Plex library section
Returns:
json:
{"recently_added":
[{"added_at": "1461572396",
"grandparent_rating_key": "1219",
"grandparent_thumb": "/library/metadata/1219/thumb/1462175063",
"grandparent_title": "Game of Thrones",
"library_name": "",
"media_index": "1",
"media_type": "episode",
"parent_media_index": "6",
"parent_rating_key": "153036",
"parent_thumb": "/library/metadata/153036/thumb/1462175062",
"parent_title": "",
"rating_key": "153037",
"section_id": "2",
"thumb": "/library/metadata/153037/thumb/1462175060",
"title": "The Red Woman",
"year": "2016"'

@cherrypy.expose
@cherrypy.tools.json_out()
@requireAuth(member_of('admin'))
@addtoapi('get_recently_added')
def get_recently_added_details(self, start='0', count='0', section_id='', **kwargs):

    pms_connect = pmsconnect.PmsConnect()
    result = pms_connect.get_recently_added_details(start=start, count=count, section_id=section_id)
    if result:
        return result
    else:
        logger.warn(u'Unable    to    retrieve    data    for    get_recently_added_details.')
