X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=remote%2Fsource%2Fxinemacontrol.cpp;h=63399a6e4a0bcde7bfd9861b2193c9db9570a44d;hb=6fd809bbdbfe628ef1e63b68665f374751838baf;hp=76108b98f815425b32946dda8d8dec7b97990b19;hpb=ed777426d367df15a67082f5dae0911c21472b5f;p=xinema.git diff --git a/remote/source/xinemacontrol.cpp b/remote/source/xinemacontrol.cpp index 76108b9..63399a6 100644 --- a/remote/source/xinemacontrol.cpp +++ b/remote/source/xinemacontrol.cpp @@ -77,4 +77,19 @@ void XinemaControl::process_reply(const QString &reply) emit subdirectory_added(args); else if(keyword=="file") emit file_added(args); + else if(keyword=="title") + { + title = args; + emit title_changed(title); + } + else if(keyword=="duration") + { + duration = args.toFloat(); + emit duration_changed(duration); + } + else if(keyword=="position") + { + position = args.toFloat(); + emit position_changed(position); + } }