forked from jurialmunkey/plugin.video.themoviedb.helper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddon.xml
72 lines (72 loc) · 6.01 KB
/
addon.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="UTF-8"?>
<addon id="plugin.video.skin.info.provider"
version="2.4.19a"
name="Skin Info Provider"
provider-name="dimitarcc">
<requires>
<import addon="xbmc.python" version="2.26.0"/>
<import addon="script.module.simplecache" version="1.0.11" />
<import addon="script.module.requests" version="2.9.1"/>
</requires>
<extension point="xbmc.python.pluginsource" library="plugin.py">
<provides>video</provides>
</extension>
<extension point="xbmc.service" library="service.py" />
<extension point="xbmc.python.script" library="script.py" />
<extension point="kodi.context.item">
<menu id="kodi.core.main">
<menu>
<label>TMDbHelper Options</label>
<item library="context-play.py">
<label>Play Using</label>
<visible>[String.IsEqual(ListItem.dbtype,episode) + !String.IsEmpty(ListItem.Property(tvshow.tmdb_id)) + !String.IsEmpty(ListItem.Season) + !String.IsEmpty(ListItem.Episode)] | [String.IsEqual(ListItem.dbtype,movie) + !String.IsEmpty(ListItem.Property(tmdb_id))] </visible>
</item>
<item library="context-open.py">
<label>Browse Seasons</label>
<visible>String.IsEqual(ListItem.dbtype,episode) + !String.IsEmpty(ListItem.Property(tvshow.tmdb_id))</visible>
</item>
<item library="context-watchlist.py">
<label>Add/Remove from Trakt Watchlist</label>
<visible>!String.IsEmpty(ListItem.Property(Container.Info)) + !String.IsEmpty(Window(Home).Property(TMDbHelper.TraktIsAuth)) + !String.IsEmpty(ListItem.Property(tmdb_id)) + [String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie) | String.IsEqual(ListItem.dbtype,tvshow)]</visible>
</item>
<item library="context-history.py">
<label>Add/Remove from Trakt History</label>
<visible>!String.IsEmpty(ListItem.Property(Container.Info)) + !String.IsEmpty(Window(Home).Property(TMDbHelper.TraktIsAuth)) + !String.IsEmpty(ListItem.Property(tmdb_id)) + [String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie) | String.IsEqual(ListItem.dbtype,tvshow)]</visible>
</item>
<item library="context-collection.py">
<label>Add/Remove from Trakt Collection</label>
<visible>!String.IsEmpty(ListItem.Property(Container.Info)) + !String.IsEmpty(Window(Home).Property(TMDbHelper.TraktIsAuth)) + !String.IsEmpty(ListItem.Property(tmdb_id)) + [String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie) | String.IsEqual(ListItem.dbtype,tvshow)]</visible>
</item>
<item library="context-library.py">
<label>Add to Kodi Library</label>
<visible>!String.IsEmpty(ListItem.Property(Container.Info)) + !String.IsEmpty(ListItem.Property(tmdb_id)) + [String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,season)]</visible>
</item>
<item library="context-library-userlist.py">
<label>Add to Kodi Library</label>
<visible>!String.IsEmpty(ListItem.Property(Container.Info)) + String.IsEqual(ListItem.Property(Item.Info),trakt_userlist)</visible>
</item>
<item library="context-addtouserlist.py">
<label>Add to Trakt List</label>
<visible>!String.IsEmpty(Window(Home).Property(TMDbHelper.TraktIsAuth)) + [String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie) | String.IsEqual(ListItem.dbtype,tvshow)] + [!String.IsEmpty(ListItem.Property(tmdb_id)) | !String.IsEmpty(ListItem.DBID)]</visible>
</item>
<item library="context-removefromuserlist.py">
<label>Remove from list</label>
<visible>!String.IsEmpty(Window(Home).Property(TMDbHelper.TraktIsAuth)) + !String.IsEmpty(Window(Home).Property(TMDbHelper.TraktUserSlug)) + !String.IsEmpty(ListItem.Property(Container.User_Slug)) + !String.IsEmpty(ListItem.Property(Container.List_Slug)) + String.IsEqual(Window(Home).Property(TMDbHelper.TraktUserSlug),ListItem.Property(Container.User_Slug))</visible>
</item>
</menu>
</menu>
</extension>
<extension point="xbmc.addon.metadata">
<summary lang="en_GB">TheMovieDb Helper - Now With Trakt Support!</summary>
<description lang="en_GB">TheMovieDb Helper provides details about movies, tvshows and actors from TMDb. Users can access a variety of lists from TMDb and Trakt.</description>
<disclaimer lang="en_GB">Provided by TheMovieDb and Trakt.</disclaimer>
<license>GPL-3.0</license>
<assets>
<icon>icon.png</icon>
<fanart>fanart.jpg</fanart>
<screenshot>resources/screenshot-01.jpg</screenshot>
<screenshot>resources/screenshot-02.jpg</screenshot>
</assets>
<news>2.4.19 - Add second list to monitor[CR]2.4.18 - Add simple split value function[CR]2.4.17 - Remove from list context option and other various improvements to list management[CR]2.4.16 - Trakt list monitor[CR]2.4.15 - Add to Trakt User List context menu option[CR]2.4.13/14 - Fixes[CR]2.4.12 - Fix busy spinner[CR]2.4.11 - Logging unicode fixes[CR]2.4.10 - Fix for KodiDB not being ready on startup[CR]2.4.9 - Generate smart playlist when adding trakt list to library[CR]2.4.8 - Better DBID matching and artwork for next aired[CR]2.4.7 - Better ID matching (remove need for fuzzy matches)[CR]2.4.6 - Allow regex matching[CR]2.4.5 - Change folder path selector to filemanager source[CR]2.4.4 - Check that items aren't in library before adding[CR]2.4.3 - Add prioritise local files option[CR]2.4.2 - Switch to using extendedprogressbar for trakt list adding[CR]2.4.1 - Add quote encoded method in addition to quote_plus for player[CR]2.4.0 - Add context menu option to add complete Trakt user list to library[CR]2.3.6 - Better ID matching for calendar and lists[CR]2.3.5 - Remove TMDb Rate Limiter since API has now removed rate limits[CR]2.3.4 - Fix encoding error[CR]2.3.3 - Add params to Container.Property(Param.{})[CR]2.3.2 - Add ListItem.Property(item.info) and ListItem.Property(item.type) [CR] 2.3.1 - Add ListItem.Property(container.info) and ListItem.Property(container.type)[CR]2.3.0 - New Awards properties</news>
</extension>
</addon>