Open evertiro opened 6 years ago
I feel this goes back to https://forum.kodi.tv/showthread.php?tid=306301
The code has ActivateWindow(videos, pluginpath, return) return being the key element it should return.. I am going to wait a little while for a response. If none is given I will try to hack it.
I'd been tossing around trying to write a custom handler that would allow redirecting back to the parent video. You're likely right however...
Fixed. I was activating a new window for the plugin when in the video window which was replacing the path history. So I changed to a if statement to update window if in videos. If you will test and as it should work then if your good I will close this issue.
Testing the latest
Works for me! I do wish it would drop you exactly where you initiated it from, but that'd be a bit more of a headache.
You mean when you go back you wish the information would show back up?
I wish it would return you to exactly where you hit 'special features' from. So if it was an info window, return there. If it's context menu from home screen widget, return there. Wherever.
This may could be done with some serious hacking.... The info dialog has to be closed before I can open the addon window... so with that I could capture that your coming from the info window but the skin itself would need to add if previous window is () or I could set a property when opening the addon that would have to be cleared and when you return to the skin window have it clear the property and active the info dialog again... hoping that the original movie still has focus in the list and open the right info dialog for the right movie.
And unfortunately the home menu would also need a similar but more complex hack because it has so many different lists.
That's about the same workflow I'd come up with.
Copied from forum post: https://forum.kodi.tv/showthread.php?tid=327042&pid=2711062#pid2711062
When I launch it from video info dialog, I need to close the dialog first (which is fine). However, when I press back from special features, I end up on the home screen instead of in the library.