'Change the pause state of a show
:param indexer_id: The unique id of the show to update
:param pause: ``True`` to pause the show, ``False`` to resume the show, ``None`` to toggle the pause state
:return: A tuple containing:
- an error message if the pause state could not be changed, ``None`` otherwise
- the show object that was updated, if it exists, ``None`` otherwise'

@staticmethod
def pause(indexer_id, pause=None):

    (error, show) = Show._validate_indexer_id(indexer_id)
    if (error is not None):
        return (error, show)
    if (pause is None):
        show.paused = (not show.paused)
    else:
        show.paused = pause
    show.saveToDB()
    return (None, show)
