def searchType(libtype):
libtype = compat.ustr(libtype)<EOL>if libtype in [compat.ustr(v) for v in SEARCHTYPES.values()]:<EOL><INDENT>return libtype<EOL><DEDENT>if SEARCHTYPES.get(libtype) is not None:<EOL><INDENT>return SEARCHTYPES[libtype]<EOL><DEDENT>raise NotFound('<STR_LIT>' % libtype)<EOL>
Returns the integer value of the library string type.

        Parameters:
            libtype (str): LibType to lookup (movie, show, season, episode, artist, album, track,
                                              collection)
        Raises:
            :class:`plexapi.exceptions.NotFound`: Unknown libtype