-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit
- Loading branch information
Showing
14 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Dummy file to make this directory a package. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<addon id="script.steambp.launch" name="Steam" version="1.0.0" provider-name="LotteHime"> | ||
<requires> | ||
<import addon="xbmc.python" version="3.0.0"/> | ||
</requires> | ||
<extension point="xbmc.python.script" library="default.py"> | ||
<provides>game</provides> | ||
</extension> | ||
<extension point="xbmc.addon.metadata"> | ||
<summary lang="en">Launch Steam in Big Picture Mode and manage Kodi close and re-open.</summary> | ||
<description lang="en">Launches Steam in Big Picture Mode from within Kodi, closes Kodi and when Steam is exited, returns to Kodi.</description> | ||
<platform>windx</platform> | ||
<language>en</language> | ||
<license></license> | ||
<forum></forum> | ||
<website></website> | ||
<source>https://github.com/lottehime</source> | ||
<email></email> | ||
<donate></donate> | ||
<assets> | ||
<icon>icon.png</icon> | ||
<fanart>fanart.jpg</fanart> | ||
<screenshot>resources/screenshot-01.jpg</screenshot> | ||
<banner>resources/banner.jpg</banner> | ||
<logo>resources/logo.png</logo> | ||
</assets> | ||
</extension> | ||
</addon> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
1.0.0 | ||
|
||
First version |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from __future__ import unicode_literals | ||
import resources.main | ||
resources.main |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Dummy file to make this directory a package. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions
18
script.steambp.launch/resources/language/resource.language.en_gb/strings.po
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Kodi Media Center language file | ||
msgid "" | ||
msgstr "" | ||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: en\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
msgctxt "#32001" | ||
msgid "Login Settings" | ||
msgstr "Login Settings" | ||
|
||
msgctxt "#32011" | ||
msgid "Install Dir" | ||
msgstr "Install Dir" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import os | ||
import sys | ||
import subprocess | ||
import time | ||
import shutil | ||
import stat | ||
import xbmc | ||
import xbmcaddon | ||
import xbmcplugin | ||
import xbmcgui | ||
import xbmcvfs | ||
|
||
osWin = xbmc.getCondVisibility('system.platform.windows') | ||
|
||
installdir = xbmcaddon.Addon().getSetting("installdir") | ||
|
||
url = 'steam://open/bigpicture' | ||
|
||
if osWin: | ||
# ___ Open the url with the default web browser | ||
#xbmc.executebuiltin("System.Exec(cmd.exe /c start "+url+")") | ||
xbmc.executebuiltin('System.Exec(cmd.exe /c title "Managing Steam and Kodi..." && taskkill /im kodi.exe && start /w '+url+' && start "" "'+installdir+'")') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | ||
<settings> | ||
<category label="32001"> | ||
<setting label="32011" type="text" id="installdir" default="C:\\Program Files\\Kodi\\kodi.exe"/> | ||
</category> | ||
</settings> |