diff --git a/mrc/fn.get_property.html b/mrc/fn.get_property.html index 06f16dd7..42bad364 100644 --- a/mrc/fn.get_property.html +++ b/mrc/fn.get_property.html @@ -1,7 +1,7 @@ get_property in mrc - Rust

Function get_property

Source
pub async fn get_property(
     property: &str,
     socket_path: Option<&str>,
-) -> Result<Option<Value>>
Expand description

Sends the get_property command to retrieve a property value from MPV.

+) -> Result<Option<Value>>
Expand description

Sends the get_property command to retrieve a property value from MPV.

§Arguments

  • property: The name of the property to retrieve.
  • diff --git a/mrc/fn.loadfile.html b/mrc/fn.loadfile.html index 51c9d12c..d183bba4 100644 --- a/mrc/fn.loadfile.html +++ b/mrc/fn.loadfile.html @@ -2,7 +2,7 @@ filename: &str, append: bool, socket_path: Option<&str>, -) -> Result<Option<Value>>
    Expand description

    Sends the loadfile command to load a file into MPV.

    +) -> Result<Option<Value>>
    Expand description

    Sends the loadfile command to load a file into MPV.

    §Arguments

    • filename: The name of the file to load.
    • diff --git a/mrc/fn.playlist_clear.html b/mrc/fn.playlist_clear.html index d41df181..caa582b3 100644 --- a/mrc/fn.playlist_clear.html +++ b/mrc/fn.playlist_clear.html @@ -1,4 +1,4 @@ -playlist_clear in mrc - Rust

      Function playlist_clear

      Source
      pub async fn playlist_clear(socket_path: Option<&str>) -> Result<Option<Value>>
      Expand description

      Sends the playlist-clear command to clear the playlist.

      +playlist_clear in mrc - Rust

      Function playlist_clear

      Source
      pub async fn playlist_clear(socket_path: Option<&str>) -> Result<Option<Value>>
      Expand description

      Sends the playlist-clear command to clear the playlist.

      §Arguments

      • socket_path: An optional custom socket path.
      • diff --git a/mrc/fn.playlist_move.html b/mrc/fn.playlist_move.html index 20e79bb6..36a27d5e 100644 --- a/mrc/fn.playlist_move.html +++ b/mrc/fn.playlist_move.html @@ -2,7 +2,7 @@ from_index: usize, to_index: usize, socket_path: Option<&str>, -) -> Result<Option<Value>>
        Expand description

        Sends the playlist-move command to move a playlist item from one index to another.

        +) -> Result<Option<Value>>
        Expand description

        Sends the playlist-move command to move a playlist item from one index to another.

        §Arguments

        • from_index: The index of the item to move.
        • diff --git a/mrc/fn.playlist_next.html b/mrc/fn.playlist_next.html index dba68c12..6e7e5267 100644 --- a/mrc/fn.playlist_next.html +++ b/mrc/fn.playlist_next.html @@ -1,4 +1,4 @@ -playlist_next in mrc - Rust

          Function playlist_next

          Source
          pub async fn playlist_next(socket_path: Option<&str>) -> Result<Option<Value>>
          Expand description

          Sends the playlist-next command to move to the next playlist item.

          +playlist_next in mrc - Rust

          Function playlist_next

          Source
          pub async fn playlist_next(socket_path: Option<&str>) -> Result<Option<Value>>
          Expand description

          Sends the playlist-next command to move to the next playlist item.

          §Arguments

          • socket_path: An optional custom socket path.
          • diff --git a/mrc/fn.playlist_prev.html b/mrc/fn.playlist_prev.html index cb8a1b53..3d9bc1d0 100644 --- a/mrc/fn.playlist_prev.html +++ b/mrc/fn.playlist_prev.html @@ -1,4 +1,4 @@ -playlist_prev in mrc - Rust

            Function playlist_prev

            Source
            pub async fn playlist_prev(socket_path: Option<&str>) -> Result<Option<Value>>
            Expand description

            Sends the playlist-prev command to move to the previous playlist item.

            +playlist_prev in mrc - Rust

            Function playlist_prev

            Source
            pub async fn playlist_prev(socket_path: Option<&str>) -> Result<Option<Value>>
            Expand description

            Sends the playlist-prev command to move to the previous playlist item.

            §Arguments

            • socket_path: An optional custom socket path.
            • diff --git a/mrc/fn.playlist_remove.html b/mrc/fn.playlist_remove.html index 58194567..cb5bd50f 100644 --- a/mrc/fn.playlist_remove.html +++ b/mrc/fn.playlist_remove.html @@ -1,7 +1,7 @@ playlist_remove in mrc - Rust

              Function playlist_remove

              Source
              pub async fn playlist_remove(
                   index: Option<usize>,
                   socket_path: Option<&str>,
              -) -> Result<Option<Value>>
              Expand description

              Sends the playlist-remove command to remove an item from the playlist.

              +) -> Result<Option<Value>>
              Expand description

              Sends the playlist-remove command to remove an item from the playlist.

              §Arguments

              • index: The index of the item to remove, or None to remove the current item.
              • diff --git a/mrc/fn.quit.html b/mrc/fn.quit.html index 8dba33ee..4970850f 100644 --- a/mrc/fn.quit.html +++ b/mrc/fn.quit.html @@ -1,4 +1,4 @@ -quit in mrc - Rust

                Function quit

                Source
                pub async fn quit(socket_path: Option<&str>) -> Result<Option<Value>>
                Expand description

                Sends the quit command to terminate MPV.

                +quit in mrc - Rust

                Function quit

                Source
                pub async fn quit(socket_path: Option<&str>) -> Result<Option<Value>>
                Expand description

                Sends the quit command to terminate MPV.

                §Arguments

                • socket_path: An optional custom socket path.
                • diff --git a/mrc/fn.seek.html b/mrc/fn.seek.html index 777d1431..217ebe13 100644 --- a/mrc/fn.seek.html +++ b/mrc/fn.seek.html @@ -1,7 +1,7 @@ seek in mrc - Rust

                  Function seek

                  Source
                  pub async fn seek(
                       seconds: f64,
                       socket_path: Option<&str>,
                  -) -> Result<Option<Value>>
                  Expand description

                  Sends the seek command to seek the media playback by a given number of seconds.

                  +) -> Result<Option<Value>>
                  Expand description

                  Sends the seek command to seek the media playback by a given number of seconds.

                  §Arguments

                  • seconds: The number of seconds to seek.
                  • diff --git a/mrc/fn.send_ipc_command.html b/mrc/fn.send_ipc_command.html index 3728c844..160c39b0 100644 --- a/mrc/fn.send_ipc_command.html +++ b/mrc/fn.send_ipc_command.html @@ -1,8 +1,8 @@ send_ipc_command in mrc - Rust

                    Function send_ipc_command

                    Source
                    pub async fn send_ipc_command(
                         command: &str,
                    -    args: &[Value],
                    +    args: &[Value],
                         socket_path: Option<&str>,
                    -) -> Result<Option<Value>>
                    Expand description

                    Sends a generic IPC command to the specified socket and returns the parsed response data.

                    +) -> Result<Option<Value>>
                    Expand description

                    Sends a generic IPC command to the specified socket and returns the parsed response data.

                    §Arguments

                    • command: The name of the command to send to MPV.
                    • diff --git a/mrc/fn.set_property.html b/mrc/fn.set_property.html index 935590b5..d70d4963 100644 --- a/mrc/fn.set_property.html +++ b/mrc/fn.set_property.html @@ -1,8 +1,8 @@ set_property in mrc - Rust

                      Function set_property

                      Source
                      pub async fn set_property(
                           property: &str,
                      -    value: &Value,
                      +    value: &Value,
                           socket_path: Option<&str>,
                      -) -> Result<Option<Value>>
                      Expand description

                      Sends the set_property command to MPV to change a property value.

                      +) -> Result<Option<Value>>
                      Expand description

                      Sends the set_property command to MPV to change a property value.

                      §Arguments

                      • property: The name of the property to set.