Kodi Community Forum

Full Version: Return parameter in ActivateWindow to musicfiles
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've got some music streams in a music source called 'Radio' and access them for within the main menu with the XBMC.ActivateWindow(musicfiles, Radio, return) command. The 'return' parameter doesn't seem to have any effect because when I'm in the Radio source and push the back button on my remote it takes me to the root of the music files sources instead of back to the main menu.

Is this return parameter only valid for library links? And if so; is there an other way to make the back button return to the main menu when entering the Radio source as expected?
Currently it's musiclib and videolib (and addonsbrowser) only.

Certainly no reason it shouldn't be generalized. A patch would be welcome - I have a feeling there's a trac ticket already (likely assigned to me)

EDIT: Here it is: http://trac.xbmc.org/ticket/7032

Cheers,
Jonathan