Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<addon id="script.trakt" name="Trakt" version="3.0.1" provider-name="Trakt.tv"> | ||
<requires> | ||
<import addon="xbmc.python" version="2.1.0"/> | ||
<import addon="xbmc.python" version="2.20.0"/> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
razzeee
Author
Owner
|
||
<import addon="script.module.simplejson" version="3.3.0"/> | ||
<import addon="script.module.trakt" version="2.3.1"/> | ||
<import addon="script.module.dateutil" version="2.4.2"/> | ||
|
@@ -10,6 +10,18 @@ | |
<provides>executable</provides> | ||
</extension> | ||
<extension point="xbmc.service" name="trakt.service" library="default.py" start="login" /> | ||
<extension point="kodi.context.item" library="rateContextMenu.py"> | ||
<item> | ||
<label>32150</label> | ||
<visible>StringCompare(ListItem.dbtype,movie) | StringCompare(ListItem.dbtype,tvshow) | StringCompare(ListItem.dbtype,season) | StringCompare(ListItem.dbtype,episode)</visible> | ||
</item> | ||
</extension> | ||
<extension point="kodi.context.item" library="toggleWatchedContextMenu.py"> | ||
<item> | ||
<label>32151</label> | ||
<visible>StringCompare(ListItem.dbtype,movie) | StringCompare(ListItem.dbtype,tvshow) | StringCompare(ListItem.dbtype,season) | StringCompare(ListItem.dbtype,episode)</visible> | ||
</item> | ||
</extension> | ||
<extension point="xbmc.addon.metadata" name="trakt.metadata"> | ||
<summary lang="da">TV og film program for Trakt.tv</summary> | ||
<summary lang="de">TV und Film Scrobbler für Trakt.tv</summary> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
import xbmc | ||
import utilities | ||
|
||
if __name__ == '__main__': | ||
xbmc.executebuiltin("RunScript(script.trakt,action=rate,media_type=%s,dbid=%s)" % (utilities.getMediaType(), xbmc.getInfoLabel("ListItem.DBID"))) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
import xbmc | ||
|
||
if __name__ == '__main__': | ||
xbmc.executebuiltin("RunScript(script.trakt,action=togglewatched)") |
Hey, are you sure you want to force the update on the xbmc.python dependency now? The updated dependency will also force everyone to update to Isengard ASAP if they want fixes to 3.0.1. From what I can tell, if you are still running helix everything still works, and since the contextmenu is new for Isengard anyway, it's no issue on Helix if it doesn't work. (I'm still doing dev on Helix)