|
11 | 11 | <extension point="xbmc.python.pluginsource" library="plugin.py"> |
12 | 12 | <provides>video audio</provides> |
13 | 13 | </extension> |
| 14 | + <!-- ...and a context menu extension point --> |
| 15 | + <extension point="kodi.context.item"> |
| 16 | + <menu id="kodi.core.main"> |
| 17 | + <item library="context_menu.py" args="switchback"> |
| 18 | + <label>Switchback: $INFO[Window(Home).Property(Switchback_Item)]</label> |
| 19 | + <visible>Integer.IsGreater(Window(Home).Property(Switchback_List_Length),1)</visible> |
| 20 | + </item> |
| 21 | + <item library="context_menu.py" args="switchback_list"> |
| 22 | + <label>32008</label> |
| 23 | + <visible>Integer.IsGreater(Window(Home).Property(Switchback_List_Length),0)</visible> |
| 24 | + </item> |
| 25 | + </menu> |
| 26 | + </extension> |
14 | 27 | <extension point="xbmc.addon.metadata"> |
15 | 28 | <summary lang="en_GB">Utility for fast switching between recently played media.</summary> |
16 | 29 | <description lang="en_GB"> |
17 | 30 | Kodi utility for fast switching between recently played media. |
18 | 31 |
|
19 | 32 | Keeps a list of recently played media - supports Kodi library episodes, movies, PVR channels, songs and non-library files. Does not (yet?) support add-ons or PVR recordings. |
20 | 33 |
|
21 | | -The primary intended use is to make for super easy Switchback between two in progress videos (by binding a remote key to Switchback, see Wiki/Forum thread for info). |
| 34 | +The primary intended use is to make for super easy Switchback between two in-progress videos (by binding a remote key to Switchback, see Wiki/Forum thread for info). |
22 | 35 |
|
23 | 36 | Consider this scenario: |
24 | | -- You are watching 'video A' with your partner. You are interrupted and your partner needs to tend to the kids/howl at the moon. |
25 | | -- You navigate to 'video B' and watch some of that. |
26 | | -- Your partner comes back. |
27 | | -- You hit your one button 'Switchback' and 'video A' starts playing again, no need for tedious navigation etc. |
28 | | -- You are interrupted again - the moon is so very bright tonight - hit your 'Switchback' to resume 'video B' immediately, again with one magic button and no tedious navigation. |
| 37 | +— You are watching 'video A' with your partner. You're interrupted, and your partner needs to tend to the kids/howl at the moon. |
| 38 | +— You navigate to 'video B' and watch some of that. |
| 39 | +— Your partner comes back. |
| 40 | +— You hit your one button 'Switchback' and 'video A' starts playing again, no need for tedious navigation etc. |
| 41 | +— You're interrupted - again - (the moon is so very bright tonight!) hit your 'Switchback' to resume 'video B' immediately, again with one magic button and no tedious navigation. |
29 | 42 | </description> |
30 | 43 | <platform>all</platform> |
31 | 44 | <license>GPL-3.0-only</license> |
|
0 commit comments