X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fclient.cpp;h=0130846f92c888a6838756a499f33df4357425d8;hb=a5fc8a4255dabc9d5d514e597a7b19ffd5baf793;hp=161c57f252eed6e1ef85872743255ab6cfc9af72;hpb=85d198e71b7d1d6279db4e2f22d9a1393b8369ff;p=xinema.git diff --git a/source/client.cpp b/source/client.cpp index 161c57f..0130846 100644 --- a/source/client.cpp +++ b/source/client.cpp @@ -137,6 +137,7 @@ void Client::list_directory(const FS::Path &dn) send_reply("file "+*i); } + send_reply("directory_end"); } void Client::stream_created(XineStream &stream) @@ -157,7 +158,10 @@ void Client::stream_created(XineStream &stream) send_reply("title "+title); if(const Time::TimeDelta &dur = stream.get_duration()) + { stream_duration_changed(dur); + stream_position_changed(stream.get_position()); + } stream_channels_changed(); stream_audio_channel_changed(stream.get_current_audio_channel());