Renames
This commit is contained in:
parent
b4512e4809
commit
451debedbb
19 changed files with 127 additions and 114 deletions
|
|
@ -142,7 +142,7 @@ impl HttpApi {
|
|||
|
||||
fn torrent_playlist_items(handle: &ManagedTorrent) -> Result<Vec<(usize, String)>> {
|
||||
let mut playlist_items = handle
|
||||
.info()
|
||||
.shared()
|
||||
.info
|
||||
.iter_filenames_and_lengths()?
|
||||
.enumerate()
|
||||
|
|
@ -216,8 +216,8 @@ impl HttpApi {
|
|||
.await?;
|
||||
let (info, content) = match added {
|
||||
crate::AddTorrentResponse::AlreadyManaged(_, handle) => (
|
||||
handle.info().info.clone(),
|
||||
handle.info().torrent_bytes.clone(),
|
||||
handle.shared().info.clone(),
|
||||
handle.shared().torrent_bytes.clone(),
|
||||
),
|
||||
crate::AddTorrentResponse::ListOnly(ListOnlyResponse {
|
||||
info,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue