2019-10-19, 03:34
(2019-10-19, 02:37)drinfernoo Wrote:Not possible.(2019-10-19, 01:11)jurialmunkey Wrote:(2019-09-26, 05:10)Seattle2Nashville Wrote: @jurialmunkey
A little while back I asked you if it was possible to add a working "Browse" button to the info panel for content from addons. You were able to get it working as long as you were already in the addon. You mentioned looking into it for widgets on the home screen as well. Jw if theres been any progress?
It seems like auraMOD has been able to add the browse tv show option we talked about and a play option and trakt manager option to the info panel. SerpantDrago told me to look into the xml files to see how it's done but I have no idea what I'm looking for. I'm wondering if you can take a look? There's a post on git regarding it, I'll pm you
@Seattle2Nashville - I think the Browse/Play issue should be fixed now. Can you test and confirm?
https://github.com/jurialmunkey/skin.arc....52-alpha6
This does seem to be working, and even browses into the seasons of shows... but can't work "backwards" from an episode. Is it possible to get a "Browse Season" or "Browse Show" option whenever Information is viewed for an episode?
The Play/Browse fix simply hides the Play button if the IsFolder flag is set and instead shows a custom "Browse" button which just opens the video window and sets the container path to the folderpath value (I'm simplifying a little bit, but that's the basic gist).
Code:
ActivateWindow(videos,$INFO[ListItem.FolderPath],return)
ListItem.FolderPath basically stores the "next" folder that will open if the item is clicked on. To open the "Seasons" of a tvshow from the Episode, the skin would need to know what the "FolderPath" of the base tvshow. However, there is no equivalent path label that contains this info at the episode level.
It could be done in the Kodi library if the skin has a way to get the tvshow dbid because the paths follow a consistent structure.
For instance, the seasons for a tvshow are available with:
Code:
videodb://tvshows/titles/TVSHOW-DBID/
Code:
videodb://tvshows/titles/TVSHOW-DBID/SEASON-NUMBER/
However, unlike the Kodi library, there is no consistent path structure for add-ons - so there is no way to know what the seasons/episodes path would be.