comparison src/plugins/plugin_misc_radiocol.py @ 790:19262fb77230

plugin room game: improved docstrings, added '_' as prefix for internal methods names
author souliane <souliane@mailoo.org>
date Thu, 09 Jan 2014 10:28:25 +0100
parents bfabeedbf32e
children 1fe00f0c9a91
comparison
equal deleted inserted replaced
789:0cb423500fbb 790:19262fb77230
85 # XXX: the frontend should know the temporary directory where file is put 85 # XXX: the frontend should know the temporary directory where file is put
86 return preload_elt 86 return preload_elt
87 87
88 def radiocolSongAdded(self, referee, song_path, profile): 88 def radiocolSongAdded(self, referee, song_path, profile):
89 """This method is called by libervia when a song has been uploaded 89 """This method is called by libervia when a song has been uploaded
90 @param room_jid_param: jid of the room 90 @param referee: JID of the referee in the room (room userhost + '/' + nick)
91 @song_path: absolute path of the song added 91 @song_path: absolute path of the song added
92 @param profile_key: %(doc_profile_key)s""" 92 @param profile_key: %(doc_profile_key)s"""
93 #XXX: this is a Q&D way for the proof of concept. In the future, the song should 93 #XXX: this is a Q&D way for the proof of concept. In the future, the song should
94 # be streamed to the backend using XMPP file copy 94 # be streamed to the backend using XMPP file copy
95 # Here we cheat because we know we are on the same host, and we don't 95 # Here we cheat because we know we are on the same host, and we don't