megawubs/pyplex — pull request #4 by lyager (2013-04-15 20:47:48+00:00)
Title: Plex elements got their attributes set on class definition

Instead of setting the attributes for eg. a show on the Show instance, it was set on self.__class__ instead. Thus all object class not the element. Thus fx. title was always the same for all Show objects.

Test:

from server import Server
server = Server("192.168.0.10", 32400)
s_shows = server.library.shows[0]
print s_shows.getContent()