diff --git a/plexapi/myplex.py b/plexapi/myplex.py index a878bdafe..b7ff1f038 100644 --- a/plexapi/myplex.py +++ b/plexapi/myplex.py @@ -1012,7 +1012,7 @@ def _toOnlineMetadata(self, objs): """ Convert a list of media objects to online metadata objects. """ # TODO: Add proper support for metadata.provider.plex.tv # Temporary workaround to allow reloading and browsing of online media objects - server = PlexServer(self.METADATA, self._token) + server = PlexServer(self.METADATA, self._token, session=self._session) if not isinstance(objs, list): objs = [objs] diff --git a/plexapi/server.py b/plexapi/server.py index 94bdaf97b..bec9fc083 100644 --- a/plexapi/server.py +++ b/plexapi/server.py @@ -311,7 +311,7 @@ def myPlexAccount(self): """ if self._myPlexAccount is None: from plexapi.myplex import MyPlexAccount - self._myPlexAccount = MyPlexAccount(token=self._token) + self._myPlexAccount = MyPlexAccount(token=self._token, session=self._session) return self._myPlexAccount def _myPlexClientPorts(self):