Implement parent_id=-1

This commit is contained in:
Igor Katson 2024-08-31 19:09:59 +01:00
parent 8ab3d4d428
commit 79a8451519
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
3 changed files with 10 additions and 10 deletions

View file

@ -25,7 +25,7 @@ async fn main() -> anyhow::Result<()> {
mime_type: Some(Mime::from_str("video/x-matroska")?),
url: "http://192.168.0.165:3030/torrents/4/stream/0/file.mkv".to_owned(),
id: 1,
parent_id: Some(0),
parent_id: 0,
})];
const HTTP_PORT: u16 = 9005;