# Path: resources/lib/model/fanart.py
# class Fanart:
#     def __init__(self, original=None, thumb=None):
#         self.original = original
#         self.thumb = thumb
# 
#     def get_original(self):
#         return self.original
# 
#     def set_original(self, original):
#         self.original = original
# 
#     def get_thumb(self):
#         return self.thumb
# 
#     def set_thumb(self, thumb):
#         self.thumb = thumb


import os
import subprocess
from resources.lib.model.fanart import Fanart
        if self.year is None:
            self.year = other.year

        if self.genre is None:
            self.genre = sorted(other.genre, key=str.lower)
        elif other.genre is not None:
            self.genre = sorted(list(set(self.genre) | set(other.genre)), key=str.lower)

        if self.plot is None:
            self.plot = other.plot
        elif other.plot is not None and len(other.plot) > len(self.plot):
            self.plot = other.plot

        if self.posters is None:
            self.posters = other.posters
        elif other.posters is not None:
            self.posters = list(set(self.posters) | set(other.posters))

        if self.fanarts is None:
            self.fanarts = other.fanarts
        elif other.fanarts is not None:
            new_dict = self.fanarts.copy()
            new_dict.update(other.fanarts)
            self.fanarts = new_dict

        if self.selected_fanart is None or self.selected_fanart == '':
            self.selected_fanart = other.selected_fanart

    def get_fanart(self, alt):
        if self.fanarts is None:

# Path: resources/lib/model/fanart.py
# class Fanart:
#     def __init__(self, original=None, thumb=None):
#         self.original = original
#         self.thumb = thumb
# 
#     def get_original(self):
#         return self.original
# 
#     def set_original(self, original):
#         self.original = original
# 
#     def get_thumb(self):
#         return self.thumb
# 
#     def set_thumb(self, thumb):
#         self.thumb = thumb


# Path: resources/lib/model/game.py
import os
import subprocess
from resources.lib.model.fanart import Fanart

        if self.year is None:
            self.year = other.year

        if self.genre is None:
            self.genre = sorted(other.genre, key=str.lower)
        elif other.genre is not None:
            self.genre = sorted(list(set(self.genre) | set(other.genre)), key=str.lower)

        if self.plot is None:
            self.plot = other.plot
        elif other.plot is not None and len(other.plot) > len(self.plot):
            self.plot = other.plot

        if self.posters is None:
            self.posters = other.posters
        elif other.posters is not None:
            self.posters = list(set(self.posters) | set(other.posters))

        if self.fanarts is None:
            self.fanarts = other.fanarts
        elif other.fanarts is not None:
            new_dict = self.fanarts.copy()
            new_dict.update(other.fanarts)
            self.fanarts = new_dict

        if self.selected_fanart is None or self.selected_fanart == '':
            self.selected_fanart = other.selected_fanart

    def get_fanart(self, alt):
        if self.fanarts is None:

            return Fanart(alt, alt)