[cleanup] WS and namming consistency
This commit is contained in:
parent
2ccbc80565
commit
7f923f8ce0
8 changed files with 44 additions and 44 deletions
|
@ -13,8 +13,8 @@
|
||||||
<extension point="xbmc.service" library="service.py">
|
<extension point="xbmc.service" library="service.py">
|
||||||
</extension>
|
</extension>
|
||||||
<extension point="xbmc.addon.metadata">
|
<extension point="xbmc.addon.metadata">
|
||||||
<summary>Play BluRays from XBMC with MakeMKV</summary>
|
<summary>Play Blu-Ray from XBMC with MakeMKV</summary>
|
||||||
<description>Uses MakeMKV streaming ability to play BlueRay Discs</description>
|
<description>Uses MakeMKV streaming ability to play Blu-Ray Discs</description>
|
||||||
<platform>all</platform>
|
<platform>all</platform>
|
||||||
</extension>
|
</extension>
|
||||||
</addon>
|
</addon>
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
<string id="50005">duration</string>
|
<string id="50005">duration</string>
|
||||||
<string id="50006">chapters</string>
|
<string id="50006">chapters</string>
|
||||||
<!-- Progress Dialog -->
|
<!-- Progress Dialog -->
|
||||||
<string id="50050">Starting BluRay script</string>
|
<string id="50050">Starting Blu-Ray script</string>
|
||||||
<string id="50051">Initializing</string>
|
<string id="50051">Initializing</string>
|
||||||
<string id="50052">Waiting for BluRay to be prepared</string>
|
<string id="50052">Waiting for Blu-Ray to be prepared</string>
|
||||||
<string id="50053">Starting Disc</string>
|
<string id="50053">Starting Disc</string>
|
||||||
<string id="50054">Starting Image</string>
|
<string id="50054">Starting Image</string>
|
||||||
<string id="50055">Starting Directory</string>
|
<string id="50055">Starting Directory</string>
|
||||||
|
|
|
@ -18,7 +18,7 @@ import settings, file, mkvparser, brlog, makemkv
|
||||||
|
|
||||||
_log = brlog.BrLog('tracker service')
|
_log = brlog.BrLog('tracker service')
|
||||||
|
|
||||||
_log.info('Starting the BluRay tracker service')
|
_log.info('Starting the Blu-Ray tracker service')
|
||||||
|
|
||||||
|
|
||||||
class MyPlayer(xbmc.Player):
|
class MyPlayer(xbmc.Player):
|
||||||
|
@ -39,7 +39,7 @@ myPlayer = MyPlayer()
|
||||||
xbmc.sleep(4)
|
xbmc.sleep(4)
|
||||||
if not makemkv.MakeMkvInteraction().makeMkvExists():
|
if not makemkv.MakeMkvInteraction().makeMkvExists():
|
||||||
imagePath = os.path.join(__addon__.getAddonInfo('path'), 'resources', 'images', 'alerticon.png')
|
imagePath = os.path.join(__addon__.getAddonInfo('path'), 'resources', 'images', 'alerticon.png')
|
||||||
xbmc.executebuiltin('Notification("MakeMkv", "The MakeMKV bluray plugin cannot find MakeMkv. Please configure the plugin to point to it", "15000", "%s")' % (imagePath))
|
xbmc.executebuiltin('Notification("MakeMkv", "The MakeMKV Blu-Ray plugin cannot find MakeMkv. Please configure the plugin to point to it", "15000", "%s")' % (imagePath))
|
||||||
|
|
||||||
while (not xbmc.abortRequested):
|
while (not xbmc.abortRequested):
|
||||||
xbmc.sleep(4)
|
xbmc.sleep(4)
|
||||||
|
|
Loading…
Reference in a new issue