Commit graph

20 commits

Author SHA1 Message Date
mathieui
84e59b05ff Don’t call input completion() functions inside completion methods
Use a placeholder object that can run it afterwards, so that we don’t
have side effects inside those functions.
2016-08-21 15:39:30 +02:00
Emmanuel Gil Peyrot
3a24d88353 Make plugins import from the absolute poezio package. 2016-06-28 00:10:52 +01:00
mathieui
550aa6efa4 Remove useless "installation" parts from the plugin documentations 2014-03-27 23:45:47 +01:00
mathieui
d676c2ee7b Move the plugins documentation
(use automodule directive & docstrings)
2013-04-13 22:33:06 +02:00
mathieui
1797043464 Remove the thread from the mpd_client
(it should be in an external tool, not _inside_ poezio)
2013-03-31 18:30:18 +02:00
mathieui
c1ae17c3d2 Add a timeout in the select() in mpd_client 2013-03-17 18:42:33 +01:00
mathieui
e4f72d05c3 Send the tune only if ther is a change from the previous state 2013-03-11 11:31:28 +01:00
mathieui
f11c15c0ce Stop broadcasting a tune if we are not playing (#1840) 2013-03-11 02:23:31 +01:00
mathieui
4deee7cb0b Implement user-tune publishing in the mpd plugin (#1840) 2013-03-11 02:09:04 +01:00
mathieui
9885203c67 Update the plugins to use the PluginAPI
Also:
- Add get_conversation_messages() to PluginAPI
- Make plugins_autoload colon-separated instead of space-separated
    (for consistency)
- Replace a JID() with a safeJID() in the uptime plugin
2013-03-08 22:53:35 +01:00
mathieui
e1956533a6 Fix #2231 (update the plugins to use the new help system)
And fix some imprecisions/mistakes in the help.
2013-03-01 19:25:31 +01:00
mathieui
ab14923611 Prevent tracebacks in the mpd_client plugin
Do not traceback when:
    - The song has no album
    - the song has no title
    - the song has no artist
    - the playlist is empty
    - mpd is not playing
2012-07-07 04:39:01 +02:00
mathieui
794da2a6f2 Use add_tab_command in the mpd client plugin 2012-05-05 15:45:26 +02:00
Florent Le Coz
920c43dae2 Fix mpd plugin (the colors) 2011-11-14 00:54:50 +01:00
mathieui
d8865bcd45 Typo 2011-11-07 23:32:21 +01:00
Florent Le Coz
840acd3bd4 Actually use the port option for the port… 2011-11-06 21:36:43 +01:00
Florent Le Coz
46ccf6a966 do not catch errors, actually, since there’s a bug in the mpd lib with python3 that makes it impossible to catch. 2011-11-06 20:41:42 +01:00
Florent Le Coz
9cdfe38bcc typo 2011-11-06 20:31:19 +01:00
Florent Le Coz
d62a3a1b1b mpd plugins now accepts a password and catches some errors. 2011-11-06 20:29:46 +01:00
Florent Le Coz
2a9484a680 add a mpd plugin 2011-11-06 20:25:30 +01:00