Created
July 21, 2015 11:19
-
-
Save nwgat/d13d133b2130fd924015 to your computer and use it in GitHub Desktop.
fcked up again
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import xbmc | |
| import xbmcgui | |
| import xbmcplugin | |
| addon_handle = int(sys.argv[1]) | |
| url='bluray://udf%3a%2f%2fC%253a%255cetc%255cdisc1.iso%2f/BDMV/PLAYLIST/00000.mpls' | |
| li = xbmcgui.ListItem('BD EP1!') | |
| xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li) | |
| xbmcplugin.endOfDirectory(addon_handle) | |
| # xbmc.Player().play(item=link) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment