public void Update(bool aWaitToFinish = false, String pathToUpdate = "") { mpcCommand = MpcCommand.update; arguments = aWaitToFinish ? " --wait " : ""; arguments = pathToUpdate; Do(); }
public void PlaylistSave(string title) { mpcCommand = MpcCommand.save; arguments = " \"" + title.Normalize() + "\""; //Encoding.Convert() // arguments = @" """ + Encoding.UTF8.GetString(Encoding.GetEncoding("windows-1253").GetBytes(title)) + "" ; //8elei katallhlo escaping Do(); }
public void PlaylistAddSong(String aSongLibraryPath) { mpcCommand = MpcCommand.add; arguments = aSongLibraryPath; //8elei katallhlo escaping Do(); }
public void PlaylistClear() { mpcCommand = MpcCommand.clear; Do(); }
public void Play(int aPosition = 0) { mpcCommand = MpcCommand.play;// "play"; arguments = aPosition.ToString(); Do(); }