]> git.tdb.fi Git - xinema.git/blobdiff - remote/source/xinemacontrol.cpp
Display a playback page on the remote after selecting a file
[xinema.git] / remote / source / xinemacontrol.cpp
index 76108b98f815425b32946dda8d8dec7b97990b19..63399a6e4a0bcde7bfd9861b2193c9db9570a44d 100644 (file)
@@ -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);
+       }
 }