'Get a library\'s details.
Required parameters:
section_id (str):               The id of the Plex library section
Optional parameters:
None
Returns:
json:
{"child_count": null,
"count": 887,
"do_notify": 1,
"do_notify_created": 1,
"keep_history": 1,
"library_art": "/:/resources/movie-fanart.jpg",
"library_thumb": "/:/resources/movie.png",
"parent_count": null,
"section_id": 1,
"section_name": "Movies",
"section_type": "movie"'

@cherrypy.expose
@cherrypy.tools.json_out()
@requireAuth(member_of('admin'))
@addtoapi()
def get_library(self, section_id=None, **kwargs):

    if section_id:
        library_data = libraries.Libraries()
        library_details = library_data.get_details(section_id=section_id)
        if library_details:
            return library_details
        else:
            logger.warn(u'Unable    to    retrieve    data    for    get_library.')
    else:
        logger.warn(u'Library    details    requested    but    no    section_id    received.')
