Home › Channel Plugin Development
panni
Posts: 1,142Members, Plex Pass, Plex Ninja, TunerTester Plex Ninja
If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
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!
ObjectContainer.no_history and replace_parent do nothing

I've been trying to implement those in the Sub-Zero plugin's ObjectContainers.
As far as I've experienced none of those two attributes change anything in the history behaviour of PlexWeb or Plex4Samsung. Those options simply do nothing.
Can anyone confirm? What's the official take on this?
Tagged:
0
Best Answer
-
dane22 Posts: 10,765Members, Plex Pass, Plex Ninja Plex Ninja
raised an issue
I hate bugs - Tommy Lee Jones, MIB
Join me in developing: epg-dk, str2utf-8, remidx, ExportTools, WebTools
Support the Samsung Client:Donate
Guides I use: Media Naming Guide, Local subtitles, Log-Files, QNAP FAQ, The Plex DanceNO Support via PM, unless called by me
5
Answers
Edit: moved to the correct forum
Many clients don't make use of those properties.
You can't rely on them because they're something every client needs to implement, and channel related things seem to be very low priority for the client devs.
Channels: TwitchMod, ComicReader, ServerCommands, DumbTools
Yeah I was aware of the fact that the clients don't support it.
I was very confused, though, when I noticed that even their own Plex Web client doesn't support those options (anymore?). They're very needed imho.
Can I report this somewhere? Is there a dedicated "development-issues" E-Mail, issue-tracker, or something?
I'd love an official comment on this issue.
State the user case, as detailed as possible, and I'll raise the issue
/T
I hate bugs - Tommy Lee Jones, MIB
Join me in developing: epg-dk, str2utf-8, remidx, ExportTools, WebTools
Support the Samsung Client:Donate
Guides I use: Media Naming Guide, Local subtitles, Log-Files, QNAP FAQ, The Plex Dance
NO Support via PM, unless called by me
Well, the current official documentation,
PlexPlug-inFramework.pdf
, details the usage ofno_history
andreplace_parent
onObjectContainer
instances:Those attributes are very useful in theory, for example when launching a menu item which returns the main/root menu instance again, to emulate a "redirect" to the root menu.
(The framework doesn't seem to allow us to modify or make HTTPRequests like a HTTPResponseRedirect inside the sandboxed URL handling of the plugin ourselves, which is a separate issue.)
In PlexWeb neither of those attributes seem to have any effect.
This results in a user-confusing browser history state, where he presses the back button and triggers any action which was done before, including the root-root menu transition.
In the Sub-Zero plugin, for example, there is a generic library browser built in, with the option to refresh or force-refresh a single item. After the user presses the refresh button, the plugin redirects to the root menu and displays a status message. In this case a
no_history
handling on the last ObjectContainer with said button to skip adding the action itself to the browser history, would be very useful.raised an issue
I hate bugs - Tommy Lee Jones, MIB
Join me in developing: epg-dk, str2utf-8, remidx, ExportTools, WebTools
Support the Samsung Client:Donate
Guides I use: Media Naming Guide, Local subtitles, Log-Files, QNAP FAQ, The Plex Dance
NO Support via PM, unless called by me
Thank you very much!
Well, it's already 2017.
Any news on this issue? As this attributes are still listed in
class ObjectContainer(Framework.modelling.objects.ModelInterfaceObjectContainer)
with some other, but seems to have no effect (alteast I couldn't find them anywhere else in framework).Sadly no :-(
I hate bugs - Tommy Lee Jones, MIB
Join me in developing: epg-dk, str2utf-8, remidx, ExportTools, WebTools
Support the Samsung Client:Donate
Guides I use: Media Naming Guide, Local subtitles, Log-Files, QNAP FAQ, The Plex Dance
NO Support via PM, unless called by me