+ else if(keyword=="state")
+ {
+ if(args=="STOPPED")
+ playback_state = STOPPED;
+ else if(args=="PAUSED")
+ playback_state = PAUSED;
+ else if(args=="PLAYING")
+ playback_state = PLAYING;
+ emit playback_state_changed(playback_state);
+ }
+ 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);
+ }