public void SeekPercentage(int progress) { if (_parent.IsConnected()) { _parent.AsyncIPimpCommand(new CommandInfoIPimp { Action = "seekpercentage", Value = Convert.ToString(progress, CultureInfo.InvariantCulture) }); } }
public void PlayMovie(ApiMovie video) { if (video == null) { return; } if (!_parent.IsConnected()) { return; } if (video.IdFile == 0) { _parent.AsyncIPimpCommand(new CommandInfoIPimp { Action = "playmovie", Filter = video.IdMovie.ToString(CultureInfo.InvariantCulture), Value = "force", Tracks = "no" }); } if (video.IdFile == 1) { _parent.AsyncIPimpCommand(new CommandInfoIPimp { Action = "playmovingpicture", Filter = video.IdMovie.ToString(CultureInfo.InvariantCulture), Value = "force", Tracks = "no" }); } }
public void Quit() { _parent.AsyncIPimpCommand(new CommandInfoIPimp { Action = "poweroption", Value = "5" }); }