1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-02-27 16:22:49 +00:00
bazarr/libs/plex/objects/library/extra/country.py

11 lines
272 B
Python
Raw Normal View History

2018-10-31 16:08:29 +00:00
from plex.objects.core.base import Descriptor, Property
class Country(Descriptor):
id = Property(type=int)
tag = Property
@classmethod
def from_node(cls, client, node):
return cls.construct(client, cls.helpers.find(node, 'Country'), child=True)