Skip to content

Commit

Permalink
added which platform/arch was expected with 'Unable to find Quasar bi…
Browse files Browse the repository at this point in the history
…nary' error (#777)

- open service settings window when remote control settings are disabled
  • Loading branch information
elgatito authored and scakemyer committed Mar 2, 2017
1 parent 66dd28a commit 64f04b8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion resources/language/English/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ msgid "This add-on can only be run from within Quasar"
msgstr ""

msgctxt "#30103"
msgid "Unable to find Quasar binary"
msgid "Unable to find Quasar binary[CR]Required platform:"
msgstr ""

msgctxt "#30104"
Expand Down
4 changes: 2 additions & 2 deletions resources/language/Russian/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,8 @@ msgid "This add-on can only be run from within Quasar"
msgstr "Это дополниние можно запустить только через Quasar"

msgctxt "#30103"
msgid "Unable to find Quasar binary"
msgstr "Quasar binary не найден"
msgid "Unable to find Quasar binary[CR]Required platform:"
msgstr "Quasar binary не найден[CR]Требуемая платформа:"

msgctxt "#30104"
msgid "Insert file or URL"
Expand Down
4 changes: 2 additions & 2 deletions resources/language/Ukrainian/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,8 @@ msgid "This add-on can only be run from within Quasar"
msgstr "Це доповнення можна запустити тілько через Quasar"

msgctxt "#30103"
msgid "Unable to find Quasar binary"
msgstr "Quasar binary не знайдений"
msgid "Unable to find Quasar binary[CR]Required platform:"
msgstr "Quasar binary не знайдений[CR]Необхідна платформа:"

msgctxt "#30104"
msgid "Insert file or URL"
Expand Down
2 changes: 1 addition & 1 deletion resources/language/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ msgid "This add-on can only be run from within Quasar"
msgstr ""

msgctxt "#30103"
msgid "Unable to find Quasar binary"
msgid "Unable to find Quasar binary[CR]Required platform:"
msgstr ""

msgctxt "#30104"
Expand Down
3 changes: 2 additions & 1 deletion resources/site-packages/quasar/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_quasar_binary():
dest_binary_path = os.path.join(dest_binary_dir, binary)

if not os.path.exists(binary_path):
notify(getLocalizedString(30103))
notify((getLocalizedString(30103) + " %(os)s_%(arch)s" % PLATFORM), time=7000)
system_information()
return False, False

Expand Down Expand Up @@ -119,6 +119,7 @@ def jsonrpc_enabled(notify=False):
except Exception as e:
log.error(repr(e))
if notify:
xbmc.executebuiltin("ActivateWindow(ServiceSettings)")
dialog = xbmcgui.Dialog()
dialog.ok("Quasar", getLocalizedString(30199))
return False
Expand Down

0 comments on commit 64f04b8

Please sign in to comment.