Warning on first run that Kodi will restart
This commit is contained in:
parent
7a266906cd
commit
9a5533337f
4 changed files with 8 additions and 1 deletions
|
@ -340,7 +340,7 @@
|
||||||
<string id="33030">Comparing episodes from:</string>
|
<string id="33030">Comparing episodes from:</string>
|
||||||
<string id="33031">Comparing:</string>
|
<string id="33031">Comparing:</string>
|
||||||
<string id="33032">Failed to generate a new device Id. See your logs for more information.</string>
|
<string id="33032">Failed to generate a new device Id. See your logs for more information.</string>
|
||||||
<string id="33033">A new device Id has been generated. Kodi will now restart.</string>
|
<string id="33033">Kodi will now restart to apply the changes.</string>
|
||||||
|
|
||||||
<!-- New to Plex -->
|
<!-- New to Plex -->
|
||||||
<string id="39000">- Number of trailers to play before a movie</string>
|
<string id="39000">- Number of trailers to play before a movie</string>
|
||||||
|
|
|
@ -279,6 +279,8 @@
|
||||||
<string id="30311">Musikstücke</string>
|
<string id="30311">Musikstücke</string>
|
||||||
<string id="30312">Kanäle</string>
|
<string id="30312">Kanäle</string>
|
||||||
|
|
||||||
|
<string id="33033">Kodi wird jetzt neu gestartet um die Änderungen anzuwenden.</string>
|
||||||
|
|
||||||
<!-- New to Plex -->
|
<!-- New to Plex -->
|
||||||
<string id="39000">- Anzahl abzuspielender Trailer vor einem Film</string>
|
<string id="39000">- Anzahl abzuspielender Trailer vor einem Film</string>
|
||||||
<string id="39001">Audio Verstärkung (audio boost) wenn transkodiert wird</string>
|
<string id="39001">Audio Verstärkung (audio boost) wenn transkodiert wird</string>
|
||||||
|
|
|
@ -306,6 +306,7 @@ def resetDeviceId():
|
||||||
utils.logMsg(addonName,
|
utils.logMsg(addonName,
|
||||||
"Successfully removed old deviceId: %s New deviceId: %s"
|
"Successfully removed old deviceId: %s New deviceId: %s"
|
||||||
% (deviceId_old, deviceId), 1)
|
% (deviceId_old, deviceId), 1)
|
||||||
|
# "Kodi will now restart to apply the changes"
|
||||||
dialog.ok(
|
dialog.ok(
|
||||||
heading=addonName,
|
heading=addonName,
|
||||||
line1=language(33033))
|
line1=language(33033))
|
||||||
|
|
|
@ -495,6 +495,10 @@ class InitialSetup():
|
||||||
xbmc.executebuiltin(
|
xbmc.executebuiltin(
|
||||||
'Addon.OpenSettings(plugin.video.plexkodiconnect)')
|
'Addon.OpenSettings(plugin.video.plexkodiconnect)')
|
||||||
else:
|
else:
|
||||||
|
# "Kodi will now restart to apply the changes"
|
||||||
|
dialog.ok(
|
||||||
|
heading=self.addonName,
|
||||||
|
line1=string(33033))
|
||||||
xbmc.executebuiltin('RestartApp')
|
xbmc.executebuiltin('RestartApp')
|
||||||
# We should always restart to ensure e.g. Kodi settings for Music
|
# We should always restart to ensure e.g. Kodi settings for Music
|
||||||
# are in use!
|
# are in use!
|
||||||
|
|
Loading…
Reference in a new issue