Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LiveTV support (both DVR and free Plex streaming/IPTV) - Requesting code review #543

Open
wants to merge 6 commits into
base: master
from

Conversation

@nwithan8
Copy link
Contributor

@nwithan8 nwithan8 commented Aug 7, 2020

First time working with XML data. Seems rather straightforward once I understood how you handled parsing.
Have not written test files yet, waiting for feedback if you could give any.

nwithan8 added 6 commits Mar 16, 2020
Catch-up
plexapi/base.py Show resolved Hide resolved
self.items = self.findItems(data)


@utils.registerPlexObject

This comment has been minimized.

@Hellowlol

Hellowlol Aug 9, 2020
Collaborator

Your using the decorator so the object can be built. Have you checked that this dont conflict with other xml object that uses the same tag (so the correct class is built)

@@ -32,6 +33,8 @@ def _loadData(self, data):
""" Load attribute values from Plex XML response. """
self._data = data
self.listType = 'video'
self.guid = data.attrib.get('guid')

This comment has been minimized.

@Hellowlol

Hellowlol Aug 9, 2020
Collaborator

Im not sold on the changed to the video class. This is getting reusing many places. Would it be better for subclass used own class for live tv/recordings) ? Im not sure.

@Hellowlol
Copy link
Collaborator

@Hellowlol Hellowlol commented Aug 9, 2020

Nice work. Livetv etc support has been non existent because no contributer have used it. :)

@nwithan8
Copy link
Contributor Author

@nwithan8 nwithan8 commented Aug 10, 2020

Thanks for the feedback. I will make the necessary changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.