Skip to content

Conversation

@Hellowlol
Copy link
Collaborator

No description provided.

try:
self.sendCommand('timeline/subscribe', port=server_url[1].strip('/'), protocol='http')
except:
except: # noqa: E722
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you say except Exception: I believe pyflakes wont yell at you.

@Hellowlol
Copy link
Collaborator Author

Btw, is the plexapi username password and token in the test computers env? I would like to swap to using env as the current solution uses the config. And i got my own server in the config.. It make local testing painfull.

# we need to reload this as there is a bug in part.delete
# See https://github.com/pkkid/python-plexapi/issues/201
m = movie.reload()
for part in m.iterParts():
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should iterate over media

@Hellowlol
Copy link
Collaborator Author

I'll go ahead and merge this. It's gonna be a while until I have time to complete the rest

@Hellowlol Hellowlol merged commit 5ef90f3 into master Oct 30, 2017
@pkkid
Copy link
Collaborator

pkkid commented Oct 31, 2017

👍

@Hellowlol Hellowlol deleted the covcov branch November 9, 2017 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants