Message pop-ups in Plex\Web

I am trying to get a message to pop up for users if they enter their login credentials in incorrectly - I can get MessageContainer to display the message on on all clients except the Web app. Is this a bug in the web app or is MessageContainer a deprecated function and no longer used? If so is there another function to achieve the same result?



Thanks!


Hi!
MessageContainer is deprecated (just like MediaContainer, DirectoryItem, VideoItem, etc).

MediaContainer is now ObjectContainer
DirectoryItem is now DirectoryObject
VideoItem is now VideoClipObject

See http://dev.plexapp.com/docs/api/objectkit.html for more details.

To display a message, you can use an ObjectContainer and set the 'header' and 'message' attributes:

return ObjectContainer(header="...", message="...")


Plex/Web does not (yet?) support this though.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.