'Get a list of all libraries on your server.
Required parameters:
None
Optional parameters:
None
Returns:
json:
[{"art": "/:/resources/show-fanart.jpg",
"child_count": "3745",
"count": "62",
"parent_count": "240",
"section_id": "2",
"section_name": "TV Shows",
"section_type": "show",
"thumb": "/:/resources/show.png"'

@cherrypy.expose
@cherrypy.tools.json_out()
@requireAuth(member_of('admin'))
@addtoapi('get_libraries')
def get_full_libraries_list(self, **kwargs):

    pms_connect = pmsconnect.PmsConnect()
    result = pms_connect.get_library_details()
    if result:
        return result
    else:
        logger.warn(u'Unable    to    retrieve    data    for    get_full_libraries_list.')
