mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-24 06:46:20 +08:00
23 lines
818 B
Python
23 lines
818 B
Python
|
from plex.objects.core.base import Property
|
||
|
from plex.objects.library.extra.country import Country
|
||
|
from plex.objects.library.extra.genre import Genre
|
||
|
from plex.objects.library.extra.role import Role
|
||
|
from plex.objects.library.metadata.base import Metadata
|
||
|
from plex.objects.library.video import Video
|
||
|
from plex.objects.mixins.rate import RateMixin
|
||
|
from plex.objects.mixins.scrobble import ScrobbleMixin
|
||
|
|
||
|
|
||
|
class Movie(Video, Metadata, RateMixin, ScrobbleMixin):
|
||
|
country = Property(resolver=lambda: Country.from_node)
|
||
|
genres = Property(resolver=lambda: Genre.from_node)
|
||
|
roles = Property(resolver=lambda: Role.from_node)
|
||
|
|
||
|
studio = Property
|
||
|
content_rating = Property('contentRating')
|
||
|
|
||
|
year = Property(type=int)
|
||
|
originally_available_at = Property('originallyAvailableAt')
|
||
|
|
||
|
tagline = Property
|