Skip to content

Commit 165c560

Browse files
committed
ContextMenu fixes.
Readded graphics, fixed alignment and removed script errors
1 parent 1f36365 commit 165c560

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

resources/skins/Default/720p/traktContextMenu.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<texture border="5">button-nofocus.png</texture>
3434
</control>
3535
<control type="label">
36-
<posx>150</posx>
36+
<posx>0</posx>
3737
<posy>0</posy>
3838
<width>300</width>
3939
<height>40</height>
@@ -67,7 +67,7 @@
6767
<animation effect="fade" time="300">Hidden</animation>
6868
</control>
6969
<control type="label">
70-
<posx>150</posx>
70+
<posx>0</posx>
7171
<posy>0</posy>
7272
<width>300</width>
7373
<height>40</height>
Loading
24.1 KB
Loading
2.87 KB
Loading

script.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def Main():
4242

4343
if args['action'] == 'contextmenu':
4444
buttons = []
45-
media_type = utils.getMediaType()
45+
media_type = __getMediaType()
4646

4747
if media_type in ['movie', 'show', 'season', 'episode']:
4848
buttons.append("rate")
@@ -60,7 +60,7 @@ def Main():
6060
if _action is None:
6161
return
6262

63-
utils.Debug("'%s' selected from trakt.tv action menu" % _action)
63+
logger.debug("'%s' selected from trakt.tv action menu" % _action)
6464
args['action'] = _action
6565

6666
if args['action'] == 'sync':

0 commit comments

Comments
 (0)