From 83f32f113b85b9da450d5443ef72b90641a38fab Mon Sep 17 00:00:00 2001
From: NotAShelf
Date: Wed, 5 Feb 2025 00:36:25 +0000
Subject: [PATCH] deploy: be3f00b51e7928f144b822d3278626db0fbaebaa
---
.lock | 0
cli/all.html | 1 +
cli/enum.CommandOptions.html | 81 ++
cli/fn.main.html | 1 +
cli/index.html | 1 +
cli/sidebar-items.js | 1 +
cli/struct.Cli.html | 37 +
crates.js | 2 +
help.html | 1 +
index.html | 34 +-
all.html => mrc/all.html | 0
.../constant.SOCKET_PATH.html | 0
.../enum.MpvCommand.html | 14 +-
.../fn.get_property.html | 2 +-
fn.loadfile.html => mrc/fn.loadfile.html | 2 +-
.../fn.playlist_clear.html | 2 +-
.../fn.playlist_move.html | 2 +-
.../fn.playlist_next.html | 2 +-
.../fn.playlist_prev.html | 2 +-
.../fn.playlist_remove.html | 2 +-
fn.quit.html => mrc/fn.quit.html | 2 +-
fn.seek.html => mrc/fn.seek.html | 2 +-
.../fn.send_ipc_command.html | 4 +-
.../fn.set_property.html | 4 +-
mrc/index.html | 33 +
sidebar-items.js => mrc/sidebar-items.js | 0
search-index.js | 4 +
search.desc/cli/cli-desc-0-.js | 1 +
search.desc/mrc/mrc-desc-0-.js | 1 +
search.desc/server/server-desc-0-.js | 1 +
server/all.html | 1 +
server/fn.create_tls_acceptor.html | 1 +
server/fn.handle_connection.html | 4 +
server/fn.main.html | 1 +
server/fn.process_command.html | 1 +
server/index.html | 1 +
server/sidebar-items.js | 1 +
server/struct.Config.html | 39 +
settings.html | 1 +
src-files.js | 3 +
src/cli/cli.rs.html | 685 +++++++++++++++++
src/mrc/lib.rs.html | 715 ++++++++++++++++++
src/server/server.rs.html | 423 +++++++++++
static.files/COPYRIGHT-eb44e4cf.txt | 50 ++
static.files/FiraSans-LICENSE-05ab6dbd.txt | 98 +++
static.files/FiraSans-Medium-e1aa3f0a.woff2 | Bin 0 -> 132780 bytes
static.files/FiraSans-Regular-0fe48ade.woff2 | Bin 0 -> 129188 bytes
static.files/LICENSE-APACHE-a60eea81.txt | 201 +++++
static.files/LICENSE-MIT-23f18e03.txt | 23 +
.../NanumBarunGothic-13b3dcba.ttf.woff2 | Bin 0 -> 399468 bytes
.../NanumBarunGothic-LICENSE-a37d393b.txt | 103 +++
.../SourceCodePro-It-fc8b9304.ttf.woff2 | Bin 0 -> 44896 bytes
.../SourceCodePro-LICENSE-67f54ca7.txt | 97 +++
.../SourceCodePro-Regular-8badfe75.ttf.woff2 | Bin 0 -> 52228 bytes
.../SourceCodePro-Semibold-aa29a496.ttf.woff2 | Bin 0 -> 52348 bytes
.../SourceSerif4-Bold-6d4fd4c0.ttf.woff2 | Bin 0 -> 81540 bytes
.../SourceSerif4-It-ca3b17ed.ttf.woff2 | Bin 0 -> 59716 bytes
static.files/SourceSerif4-LICENSE-a2cfd9d5.md | 98 +++
.../SourceSerif4-Regular-6b053e98.ttf.woff2 | Bin 0 -> 76260 bytes
static.files/favicon-044be391.svg | 24 +
static.files/favicon-32x32-6580c154.png | Bin 0 -> 1125 bytes
static.files/main-5f194d8c.js | 11 +
static.files/normalize-9960930a.css | 2 +
static.files/noscript-893ab5e7.css | 1 +
static.files/rust-logo-9a9549ea.svg | 61 ++
static.files/rustdoc-42caa33d.css | 53 ++
static.files/scrape-examples-d508a8a9.js | 1 +
static.files/search-92e6798f.js | 6 +
static.files/settings-0f613d39.js | 17 +
static.files/src-script-56102188.js | 1 +
static.files/storage-59e33391.js | 23 +
trait.impl/clap_builder/derive/trait.Args.js | 9 +
.../derive/trait.CommandFactory.js | 9 +
.../derive/trait.FromArgMatches.js | 9 +
.../clap_builder/derive/trait.Parser.js | 9 +
.../clap_builder/derive/trait.Subcommand.js | 9 +
trait.impl/core/fmt/trait.Debug.js | 9 +
trait.impl/core/marker/trait.Freeze.js | 9 +
trait.impl/core/marker/trait.Send.js | 9 +
trait.impl/core/marker/trait.Sync.js | 9 +
trait.impl/core/marker/trait.Unpin.js | 9 +
.../panic/unwind_safe/trait.RefUnwindSafe.js | 9 +
.../panic/unwind_safe/trait.UnwindSafe.js | 9 +
83 files changed, 3040 insertions(+), 53 deletions(-)
create mode 100644 .lock
create mode 100644 cli/all.html
create mode 100644 cli/enum.CommandOptions.html
create mode 100644 cli/fn.main.html
create mode 100644 cli/index.html
create mode 100644 cli/sidebar-items.js
create mode 100644 cli/struct.Cli.html
create mode 100644 crates.js
create mode 100644 help.html
rename all.html => mrc/all.html (100%)
rename constant.SOCKET_PATH.html => mrc/constant.SOCKET_PATH.html (100%)
rename enum.MpvCommand.html => mrc/enum.MpvCommand.html (81%)
rename fn.get_property.html => mrc/fn.get_property.html (90%)
rename fn.loadfile.html => mrc/fn.loadfile.html (91%)
rename fn.playlist_clear.html => mrc/fn.playlist_clear.html (90%)
rename fn.playlist_move.html => mrc/fn.playlist_move.html (90%)
rename fn.playlist_next.html => mrc/fn.playlist_next.html (89%)
rename fn.playlist_prev.html => mrc/fn.playlist_prev.html (89%)
rename fn.playlist_remove.html => mrc/fn.playlist_remove.html (90%)
rename fn.quit.html => mrc/fn.quit.html (90%)
rename fn.seek.html => mrc/fn.seek.html (90%)
rename fn.send_ipc_command.html => mrc/fn.send_ipc_command.html (87%)
rename fn.set_property.html => mrc/fn.set_property.html (87%)
create mode 100644 mrc/index.html
rename sidebar-items.js => mrc/sidebar-items.js (100%)
create mode 100644 search-index.js
create mode 100644 search.desc/cli/cli-desc-0-.js
create mode 100644 search.desc/mrc/mrc-desc-0-.js
create mode 100644 search.desc/server/server-desc-0-.js
create mode 100644 server/all.html
create mode 100644 server/fn.create_tls_acceptor.html
create mode 100644 server/fn.handle_connection.html
create mode 100644 server/fn.main.html
create mode 100644 server/fn.process_command.html
create mode 100644 server/index.html
create mode 100644 server/sidebar-items.js
create mode 100644 server/struct.Config.html
create mode 100644 settings.html
create mode 100644 src-files.js
create mode 100644 src/cli/cli.rs.html
create mode 100644 src/mrc/lib.rs.html
create mode 100644 src/server/server.rs.html
create mode 100644 static.files/COPYRIGHT-eb44e4cf.txt
create mode 100644 static.files/FiraSans-LICENSE-05ab6dbd.txt
create mode 100644 static.files/FiraSans-Medium-e1aa3f0a.woff2
create mode 100644 static.files/FiraSans-Regular-0fe48ade.woff2
create mode 100644 static.files/LICENSE-APACHE-a60eea81.txt
create mode 100644 static.files/LICENSE-MIT-23f18e03.txt
create mode 100644 static.files/NanumBarunGothic-13b3dcba.ttf.woff2
create mode 100644 static.files/NanumBarunGothic-LICENSE-a37d393b.txt
create mode 100644 static.files/SourceCodePro-It-fc8b9304.ttf.woff2
create mode 100644 static.files/SourceCodePro-LICENSE-67f54ca7.txt
create mode 100644 static.files/SourceCodePro-Regular-8badfe75.ttf.woff2
create mode 100644 static.files/SourceCodePro-Semibold-aa29a496.ttf.woff2
create mode 100644 static.files/SourceSerif4-Bold-6d4fd4c0.ttf.woff2
create mode 100644 static.files/SourceSerif4-It-ca3b17ed.ttf.woff2
create mode 100644 static.files/SourceSerif4-LICENSE-a2cfd9d5.md
create mode 100644 static.files/SourceSerif4-Regular-6b053e98.ttf.woff2
create mode 100644 static.files/favicon-044be391.svg
create mode 100644 static.files/favicon-32x32-6580c154.png
create mode 100644 static.files/main-5f194d8c.js
create mode 100644 static.files/normalize-9960930a.css
create mode 100644 static.files/noscript-893ab5e7.css
create mode 100644 static.files/rust-logo-9a9549ea.svg
create mode 100644 static.files/rustdoc-42caa33d.css
create mode 100644 static.files/scrape-examples-d508a8a9.js
create mode 100644 static.files/search-92e6798f.js
create mode 100644 static.files/settings-0f613d39.js
create mode 100644 static.files/src-script-56102188.js
create mode 100644 static.files/storage-59e33391.js
create mode 100644 trait.impl/clap_builder/derive/trait.Args.js
create mode 100644 trait.impl/clap_builder/derive/trait.CommandFactory.js
create mode 100644 trait.impl/clap_builder/derive/trait.FromArgMatches.js
create mode 100644 trait.impl/clap_builder/derive/trait.Parser.js
create mode 100644 trait.impl/clap_builder/derive/trait.Subcommand.js
create mode 100644 trait.impl/core/fmt/trait.Debug.js
create mode 100644 trait.impl/core/marker/trait.Freeze.js
create mode 100644 trait.impl/core/marker/trait.Send.js
create mode 100644 trait.impl/core/marker/trait.Sync.js
create mode 100644 trait.impl/core/marker/trait.Unpin.js
create mode 100644 trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js
create mode 100644 trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js
diff --git a/.lock b/.lock
new file mode 100644
index 00000000..e69de29b
diff --git a/cli/all.html b/cli/all.html
new file mode 100644
index 00000000..c9ad48ad
--- /dev/null
+++ b/cli/all.html
@@ -0,0 +1 @@
+List of all items in this crate List of all items Structs Enums Functions
\ No newline at end of file
diff --git a/cli/enum.CommandOptions.html b/cli/enum.CommandOptions.html
new file mode 100644
index 00000000..4a4309f5
--- /dev/null
+++ b/cli/enum.CommandOptions.html
@@ -0,0 +1,81 @@
+CommandOptions in cli - Rust cli Enum CommandOptions Copy item path Source pub(crate) enum CommandOptions {
+Show 14 variants Play {
+ index: Option <usize >,
+ },
+ Pause,
+ Stop,
+ Next,
+ Prev,
+ Seek {
+ seconds: i32 ,
+ },
+ Move {
+ index1: usize ,
+ index2: usize ,
+ },
+ Remove {
+ index: Option <usize >,
+ },
+ Clear,
+ List,
+ Add {
+ filenames: Vec <String >,
+ },
+ Replace {
+ filenames: Vec <String >,
+ },
+ Prop {
+ properties: Vec <String >,
+ },
+ Interactive,
+ }Play media at the specified index in the playlist
+
Fields The index of the media to play
+
Pause the currently playing media
+
Stop the playback and quit MPV
+
Skip to the next item in the playlist
+
Skip to the previous item in the playlist
+
Seek to a specific position in the currently playing media
+
Fields The number of seconds to seek to
+
Move an item in the playlist from one index to another
+
Fields The index of the item to move
+
The index to move the item to
+
Remove an item from the playlist
+
If invoked while playlist has no entries, or if the only entry
+is the active video, then this will exit MPV.
+
Fields The index of the item to remove (optional)
+
Clear the entire playlist
+
List all the items in the playlist
+
Add files to the playlist
+
Needs at least one file to be passed.
+
Fields The filenames of the files to add
+
Replace the current playlist with new files
+
Fields The filenames of the files to replace the playlist with
+
Fetch properties of the current playback or playlist
+
Fields The properties to fetch
+
Enter interactive mode to send commands to MPV IPC
+
Instantiate
Self from [
ArgMatches], parsing the arguments as needed.
Read more Instantiate
Self from [
ArgMatches], parsing the arguments as needed.
Read more Assign values from ArgMatches to self.
Assign values from ArgMatches to self.
Append to [
Command] so it can instantiate
Self via
+[
FromArgMatches::from_arg_matches_mut]
Read more Append to [
Command] so it can instantiate
self via
+[
FromArgMatches::update_from_arg_matches_mut]
Read more Test whether Self can parse a specific subcommand
Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more Returns the argument unchanged.
+
Instruments this type with the provided [
Span], returning an
+
Instrumented wrapper.
Read more Calls U::from(self).
+
That is, this conversion is whatever the implementation of
+From <T> for U chooses to do.
+
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file
diff --git a/cli/fn.main.html b/cli/fn.main.html
new file mode 100644
index 00000000..2f230530
--- /dev/null
+++ b/cli/fn.main.html
@@ -0,0 +1 @@
+main in cli - Rust
\ No newline at end of file
diff --git a/cli/index.html b/cli/index.html
new file mode 100644
index 00000000..cab9a5ba
--- /dev/null
+++ b/cli/index.html
@@ -0,0 +1 @@
+cli - Rust
\ No newline at end of file
diff --git a/cli/sidebar-items.js b/cli/sidebar-items.js
new file mode 100644
index 00000000..804681ff
--- /dev/null
+++ b/cli/sidebar-items.js
@@ -0,0 +1 @@
+window.SIDEBAR_ITEMS = {"enum":["CommandOptions"],"fn":["main"],"struct":["Cli"]};
\ No newline at end of file
diff --git a/cli/struct.Cli.html b/cli/struct.Cli.html
new file mode 100644
index 00000000..ba564614
--- /dev/null
+++ b/cli/struct.Cli.html
@@ -0,0 +1,37 @@
+Cli in cli - Rust cli Struct Cli Copy item path Source pub(crate) struct Cli {
+ pub(crate) debug: bool ,
+ pub(crate) command: CommandOptions ,
+}§ command: CommandOptions Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
Append to [
Command] so it can instantiate
Self via
+[
FromArgMatches::from_arg_matches_mut]
Read more Append to [
Command] so it can instantiate
self via
+[
FromArgMatches::update_from_arg_matches_mut]
Read more Build a [
Command] that can instantiate
Self.
Read more Build a [
Command] that can update
self.
Read more Instantiate
Self from [
ArgMatches], parsing the arguments as needed.
Read more Instantiate
Self from [
ArgMatches], parsing the arguments as needed.
Read more Assign values from ArgMatches to self.
Assign values from ArgMatches to self.
Parse from std::env::args_os(), [exit][Error::exit] on error.
Parse from std::env::args_os(), return Err on error.
Parse from iterator, [exit][Error::exit] on error.
Parse from iterator, return Err on error.
Update from iterator, [exit][Error::exit] on error.
Read more Update from iterator, return Err on error.
Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more Returns the argument unchanged.
+
Instruments this type with the provided [
Span], returning an
+
Instrumented wrapper.
Read more Calls U::from(self).
+
That is, this conversion is whatever the implementation of
+From <T> for U chooses to do.
+
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file
diff --git a/crates.js b/crates.js
new file mode 100644
index 00000000..e7d7b430
--- /dev/null
+++ b/crates.js
@@ -0,0 +1,2 @@
+window.ALL_CRATES = ["cli","mrc","server"];
+//{"start":21,"fragment_lengths":[5,6,9]}
\ No newline at end of file
diff --git a/help.html b/help.html
new file mode 100644
index 00000000..4b211c31
--- /dev/null
+++ b/help.html
@@ -0,0 +1 @@
+Help You need to enable JavaScript to use keyboard commands or search.
For more information, browse the rustdoc handbook .
\ No newline at end of file
diff --git a/index.html b/index.html
index a7ba9784..795116cd 100644
--- a/index.html
+++ b/index.html
@@ -1,33 +1 @@
-mrc - Rust Crate mrc Copy item path Source Expand description MRC
-A library for interacting with the MPV media player using its JSON IPC (Inter-Process Communication) protocol.
-
This crate provides a set of utilities to communicate with MPV’s IPC socket, enabling you to send commands
-and retrieve responses in a structured format.
-
§ Features
-
-Send commands to MPV’s IPC socket
-Retrieve responses in JSON format
-Supports common MPV commands like set_property, seek, and playlist-next
-Flexible socket path configuration
-
-
§ Example Usage
-
use serde_json::json;
-use tokio;
-use mrc::{send_ipc_command, playlist_next, set_property};
-
-#[tokio::main]
- async fn main() {
- let result = playlist_next(None ).await ;
- match result {
- Ok (response) => println! ("Playlist moved to next: {:?}" , response),
- Err (err) => eprintln! ("Error: {:?}" , err),
- }
-
- let property_result = set_property("volume" , & json! (50 ), None ).await ;
- match property_result {
- Ok (response) => println! ("Volume set: {:?}" , response),
- Err (err) => eprintln! ("Error: {:?}" , err),
- }
-}
-
§ Constants§ SOCKET_PATH
-
Default path for the MPV IPC socket: /tmp/mpvsocket
-
§ FunctionsSends the get_property command to retrieve a property value from MPV.
Sends the loadfile command to load a file into MPV.
Sends the playlist-clear command to clear the playlist.
Sends the playlist-move command to move a playlist item from one index to another.
Sends the playlist-next command to move to the next playlist item.
Sends the playlist-prev command to move to the previous playlist item.
Sends the playlist-remove command to remove an item from the playlist.
Sends the quit command to terminate MPV.
Sends the seek command to seek the media playback by a given number of seconds.
Sends a generic IPC command to the specified socket and returns the parsed response data.
Sends the set_property command to MPV to change a property value.
\ No newline at end of file
+
diff --git a/all.html b/mrc/all.html
similarity index 100%
rename from all.html
rename to mrc/all.html
diff --git a/constant.SOCKET_PATH.html b/mrc/constant.SOCKET_PATH.html
similarity index 100%
rename from constant.SOCKET_PATH.html
rename to mrc/constant.SOCKET_PATH.html
diff --git a/enum.MpvCommand.html b/mrc/enum.MpvCommand.html
similarity index 81%
rename from enum.MpvCommand.html
rename to mrc/enum.MpvCommand.html
index 8f378927..1b02fafa 100644
--- a/enum.MpvCommand.html
+++ b/mrc/enum.MpvCommand.html
@@ -31,15 +31,15 @@ string equivalents using the as_str method.
T: 'static + ?Sized ,Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more Returns the argument unchanged.
-
Instruments this type with the provided
Span, returning an
-
Instrumented wrapper.
Read more Instruments this type with the provided [
Span], returning an
+
Instrumented wrapper.
Read more Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.