# Path: subdownloader/movie.py
# class RemoteMovieCollection(object):
#     def __init__(self):
#         self._movie_networks = []
# 
#     def add_movie(self, movie, query):
#         m_identities = movie.get_identities()
#         for movie_network in self._movie_networks:
#             match_identity = m_identities.matches_identity(movie_network.get_identities())
#             if match_identity == MovieMatch.Equal:
#                 movie_network.add_movie(movie, query)
#         else:
#             self._movie_networks.append(RemoteMovieNetwork(movie, query))
# 
#     def __len__(self):
#         return len(self._movie_networks)
# 
#     def __getitem__(self, item):
#         return self._movie_networks[item]


from subdownloader.movie import RemoteMovieCollection
# -*- coding: utf-8 -*-
# Copyright (c) 2019 SubDownloader Developers - See COPYING - GPLv3




class SubtitlesTextQuery(object):
    def __init__(self, text):
        self._text = text
        self._queries = []

# Path: subdownloader/movie.py
# class RemoteMovieCollection(object):
#     def __init__(self):
#         self._movie_networks = []
# 
#     def add_movie(self, movie, query):
#         m_identities = movie.get_identities()
#         for movie_network in self._movie_networks:
#             match_identity = m_identities.matches_identity(movie_network.get_identities())
#             if match_identity == MovieMatch.Equal:
#                 movie_network.add_movie(movie, query)
#         else:
#             self._movie_networks.append(RemoteMovieNetwork(movie, query))
# 
#     def __len__(self):
#         return len(self._movie_networks)
# 
#     def __getitem__(self, item):
#         return self._movie_networks[item]


# Path: subdownloader/text_query.py
from subdownloader.movie import RemoteMovieCollection

# -*- coding: utf-8 -*-
# Copyright (c) 2019 SubDownloader Developers - See COPYING - GPLv3




class SubtitlesTextQuery(object):
    def __init__(self, text):
        self._text = text
        self._queries = []

        self._movies = RemoteMovieCollection()