forked from jbeluch/xbmcswift2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
73 lines (56 loc) · 2.45 KB
/
CHANGES
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
73
0.3
===
- Allow ints to be passed to plugin.url_for() and str() them.
- plugin.set_resolved_url() now takes an item dict instead of a URL. (The URL
is still allowed for backwards compatibility but is decprecated).
- Ability to replace the context menu items by setting 'replace_context_menu'
to True in an item dict.
- pluign.get_setting() now requires an extra paramter, *converter*, which
converts the item from XML to a python type specified by converter.
- Major bug fix to accomodate handles > 0 in XBMC Frodo.
- Auto-call plugin.finish(succeeded=False) if a view returns None.
- XBMC now decides the default player when using plugin.play_video().
- Storages now call sync() when clear() is called.
- Added plugin.clear_function_cache() which clears the storage behind the
@cached and @cached_route decorators.
- Add ability to set stream info for list items. Also, devs can now add
stream_info to item dicts.
- Added the actions module. Contains actions.background() and
actions.update_view() which are convenience wrappers for RunPlugin() and
Container.Update().
- Allow passing of functions to url_for.
- 'properties' key in an item dict should now be a dictionary. A list of tuples
is still allowed for backwards compatibility.
- Addon user is now prompted and storage automatically cleared if it becomes
corrupted.
- Added subtitles support. A 'subtitles' parameter was added to
plugin.set_resolved_url().
- xbmcswift2 URLs and routing code is now indifferent to a trailing slash.
- Bug fixes. See https://github.com/jbeluch/xbmcswift2/issues?milestone=3.
0.2.2
=====
Released on December 16th, 2012
* Bug fixes
0.2.1
=====
Released on November 25th, 2012.
* Update usages of pickle to use cPickle if available.
* Allow settings to be specified as environment variables when running in CLI
mode. e.g. to set a username, the environment variable will be
XBMCSWIFT2_USERNAME.
* Add new keyboard helper method available on a plugin instance.
* Allow TTL to be specified as an arg to the cached_route decorator.
0.2
===
* Addon name, id and filepath are now no longer necessary for Plugin(). They
will be discovered automatically.
* Plugin() now creates the storage folder
* Plugin.set_info now supports different info types
* Sort methods can be passed as strings to plugin.finish()
* Plugin caching has been renamed to storage and now works properly
0.1.1
=====
* Fix package data bug. `xbmcswift2 create` should work properly now.
0.1
===
* Initial release