mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-04 22:11:05 +00:00
17 lines
387 B
Python
17 lines
387 B
Python
from plex.objects.core.base import Descriptor, Property
|
|
|
|
|
|
class Writer(Descriptor):
|
|
id = Property(type=int)
|
|
tag = Property
|
|
|
|
@classmethod
|
|
def from_node(cls, client, node):
|
|
items = []
|
|
|
|
for genre in cls.helpers.findall(node, 'Writer'):
|
|
_, obj = Writer.construct(client, genre, child=True)
|
|
|
|
items.append(obj)
|
|
|
|
return [], items
|