Kodi Community Forum

Full Version: Using ActivateWindow to open a source thats not in library mode?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I on my main menu I have "TV Shows" and "Movies". Both go to the correct places in the Library and all is great. I have some home movies of the kids that obviously don't get scraped into the library. So I was going to add another button on the main menu to go to the smb share thats got the kids movies.

The problem is that when its in library mode, it doesnt seem to switch over to normal file view for just the kids.

can anyone tell me whats wrong please..

for the Library videos im using

ActivateWindow(MyVideos)

and for the kids non-libary i have..

ActivateWindow(MyVideos,Home Videos)
Try:

ActivateWindow(VideoFiles,Home Videos)

Cheers,
Jonathan