something like this code:
Code:
if (xbmc.getSkinDir() == "PM3.HD"):
xbmc.executebuiltin('Container.SetViewMode(59)')
else:
pass
queeup
Fan Joined: Feb 2009 Reputation: 15 |
2009-06-08 17:43
Post: #1
Can i use this view on my plugins? I can't find proper id.
something like this code: Code: if (xbmc.getSkinDir() == "PM3.HD"):
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2009-06-09 00:35
Post: #2
You shouldn't really be doing it via SetViewMode. Instead, you should simply be setting the content type and relying on the skin to offer the appropriate view types for the user to select from.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
queeup
Fan Joined: Feb 2009 Reputation: 15 |
2009-06-09 16:26
Post: #3
I didn't know that. Thanks for info. You are right, this is what i need
![]() Code: xbmcplugin.setContent(int(sys.argv[1]), 'episodes') |
| find quote |
queeup
Fan Joined: Feb 2009 Reputation: 15 |
2009-06-09 16:36
Post: #4
One more question. Can i activate Library mode inside plugin code?
|
| find quote |