def req_datatype_video_list_byid(self, video_ids, custom_partial_paths=None):
     """Retrieve a video list which contains the specified by video ids and return a CustomVideoList object"""
     LOG.debug('Requesting a video list for {} videos', video_ids)
     paths = build_paths(['videos', video_ids],
                         custom_partial_paths if custom_partial_paths else VIDEO_LIST_PARTIAL_PATHS)
     path_response = self.nfsession.path_request(paths)
     return CustomVideoList(path_response)
    def req_video_list_chunked(self, chunked_video_list, perpetual_range_selector=None):
        """Retrieve a video list which contains the video ids specified"""
        if not any(isinstance(item, list) for item in chunked_video_list):
            raise InvalidVideoListTypeError('The chunked_video_list not contains a list of a list of videoids')
        merged_response = {}
        for videoids_list in chunked_video_list:
            path = build_paths(['videos', videoids_list], VIDEO_LIST_PARTIAL_PATHS)
            path_response = self.nfsession.path_request(path)
            common.merge_dicts(path_response, merged_response)

        if perpetual_range_selector:
            merged_response.update(perpetual_range_selector)
        return CustomVideoList(merged_response)