Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix Hama Movies 'no attribute 'seasons'
2016-07-09 12:01:17,644 (7f9501ffb700) : CRITICAL (agentkit:1067) - Exception in the update function of agent named 'HamaMovies', called with guid 'com.plexapp.agents.hama://anidb-8821?lang=en' (most recent call last): File "/usr/lib/plexmediaserver/Resources/Plug-ins-a17e99e/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1065, in _update agent.update(obj, media, lang, **kwargs) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Hama.bundle/Contents/Code/__init__.py", line 878, in update def update(self, metadata, media, lang, force ): self.Update(metadata, media, lang, force, True ) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Hama.bundle/Contents/Code/__init__.py", line 643, in Update elif len(media.seasons)>2 or max(map(int, media.seasons.keys()))>1: keys = ["tvdbid: %s" % (WEB_LINK % (TVDB_SERIE_URL % tvdbid, tvdbid) )] AttributeError: 'MediaTree' object has no attribute 'seasons'
- Loading branch information