Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

No InputObject for InputDirectoryObject

Sophos84Sophos84 Members Posts: 24 ✭✭

iam create an InputDirectoryObject for user inputs in my Plugin, but they don't show an input field. I have a route for the callback, but they don't called. Hers my minimized code:

<a href="/profile/handler%28prefix">@handler(prefix</a>, name, icon, art) def Main(): Log.Info('makeView: passed') oc = ObjectContainer() oc.add(InputDirectoryObject(key=Callback(addURL), title='This is a InputDicrectoryObject', summary='Click here to add Text', prompt='Enter the Url where to find the Recommendations')) return oc

<a href="/profile/route%28prefix">@route(prefix</a> + '/addURL') def addURL(query): test = query Log.Info('addLink: message' + test) return ObjectContainer(header='Added', message='Added: ' + test)

The Log info from the Main method is write in the logs, but don't the Log info for the addURL Method. What am I doing wrong? Any Ideas?

Best Answer


  • Sophos84Sophos84 Members Posts: 24 ✭✭

    Thanks for the answer, thats very sadly :(. Have you a list of supported devices?

    Theres another way to make it possible that a user can deposit an input in form of text?

  • dane22dane22 Members, Plex Pass, Plex Ninja Posts: 9,714 Plex Ninja

    No list sadly, and don't know any other way sadly.

    Bare in mind here, that what you are trying to do, is not what the framework is intended for!


  • shopgirl284shopgirl284 Members, Plex Pass, Forum Moderator Posts: 2,379 Forum Mod

    I use the InputDirectoryObject() and SearchDirectoryObject() in a few channels.

    InputDirectoryObject() and SearchDirectoryObject() are only supported on the Plex player app for Roku and Andriod.

    InputDirectoryObject() and SearchDirectoryObject() also work for Plex Web, but there are some limitations with Plex Web. Plex Web will only recognize the first input option in a directory, so if you use multiple input object in one directory, Plex Web will only recognize the first one. And user must blindly know to use the Search Dialog box at the top of the screen for input. But it will show that directory as an option in the drop down menu that appears when you enter data in that Search Box at the top of the screen while in that directory.

    And no Plex player apps currently support the Global Search for channels (inclusion of any results from a Search Service into the overall search results for a Plex player app). This cannot be addressed by the individual Plex player app developers. The data they pull is managed by Plex Media Server and separated into the various sections and it does not include a section for channel results, so the PMS developers would need to address this first.

    I have added issues to all of the various Plex player apps issue list hoping it will be addressed. But I was told that this is "just not a priority for Plex right now," which really bothers me. And they wonder why Plex channel developers do not stick around.

    The Roku app developer is one of the few that works very hard to make sure Plex channels and the Framework are supported. I suggest that everyone use the Roku app if they care to use Plex channels.

Sign In or Register to comment.