<div><div><br><div class="gmail_quote">On Mon, Feb 22, 2010 at 10:46 PM, git version control <span dir="ltr"><<a href="mailto:git@videolan.org">git@videolan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
vlc | branch: master | Fabio Ritrovato <<a href="mailto:sephiroth87@videolan.org">sephiroth87@videolan.org</a>> | Mon Feb 22 22:41:57 2010 +0100| [d38329b4dbcc1901e2f3ac147e1dd0697a174a7e] | committer: Fabio Ritrovato<br>
<br>
Lua SD: let the user know we are working<br>
<br>
> <a href="http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d38329b4dbcc1901e2f3ac147e1dd0697a174a7e" target="_blank">http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d38329b4dbcc1901e2f3ac147e1dd0697a174a7e</a><br>
---<br>
<br>
share/lua/sd/fmc.lua | 2 ++<br>
share/lua/sd/freebox.lua | 2 ++<br>
share/lua/sd/icecast.lua | 2 ++<br>
3 files changed, 6 insertions(+), 0 deletions(-)<br>
<br>
diff --git a/share/lua/sd/fmc.lua b/share/lua/sd/fmc.lua<br>
index 98ebf75..c1a9b3f 100644<br>
--- a/share/lua/sd/fmc.lua<br>
+++ b/share/lua/sd/fmc.lua<br>
@@ -26,6 +26,7 @@ function descriptor()<br>
end<br>
<br>
function main()<br>
+ local loading = vlc.sd.add_item( {path="vlc://nop",title="Loading..."} )<br></blockquote><div><br></div>Even if the end result is nice in some context. It's not very generic. (read it's very bad in Lunettes ;-) where we use some trick to hide empty SD, or would prefer a spinning indicator).<div>
<br></div><div><div>The way to properly to it in Qt is to watch for the vlc_ServicesDiscoveryStarted and vlc_ServicesDiscoveryEnded event. At least it used to work that way. If it is not you should look forward adding a new infrastructure for such event and let the client handle it.</div>
<div><br></div><div>I was displaying a spinning indicator in libvlc test prog using the corresponding libvlc's event. And this was working great some time ago. I don't think this was broken.</div><div><br></div></div>
<div>Pierre. </div></div><br></div></div>