'Returns a Dispersy community from the given channel id. The Community object can be used to delete/add torrents
or modify playlists in a specific channel.'

def get_community_for_channel_id(self, channel_id):

    dispersy_cid = str(self.channel_db_handler.getDispersyCIDFromChannelId(channel_id))
    try:
        return self.session.get_dispersy_instance().get_community(dispersy_cid)
    except CommunityNotFoundException:
        return None
