Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aannenko authored Oct 1, 2024
1 parent a66db50 commit 1aeee31
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Here are some examples (replace `<docker_host>` with the hostname or IP address
# See all torrents registered in Transmission Manager
iwr http://<docker_host>:9092/api/v1/torrents | ConvertFrom-Json
# Register a new torrent in Transmission Manager, send it to Transmission for download and check for the updates every day at 11:00 and 17:00
# Register a new torrent in Transmission Manager, send it to Transmission for download and check for torrent updates every day at 11:00 and 17:00
iwr http://<docker_host>:9092/api/v1/torrents -Method Post -ContentType application/json -Body '{"webPageUri":"https://nnmclub.to/forum/viewtopic.php?t=1712711","downloadDir":"/tvshows","cron":"0 11,17 * * *"}'
# Can't wait for Transmission Manager to refresh your torrent #3 at the scheduled time? Force-refresh it yourself!
Expand All @@ -114,9 +114,6 @@ iwr http://<docker_host>:9092/api/v1/torrents/3 -Method Post -ContentType applic
# Force-refresh all torrents which are still known to Transmission
iwr http://<docker_host>:9092/api/v1/torrents | ConvertFrom-Json | % { iwr "http://<docker_host>:9092/api/v1/torrents/$($_.id)" -Method Post -ContentType application/json }
# Re-add all torrents registered in Transmission Manager to Transmission (similar to refresh but also adds torrents back to Transmission if they were removed from there)
iwr http://<docker_host>:9092/api/v1/torrents | ConvertFrom-Json | % { iwr http://<docker_host>:9092/api/v1/torrents -Method Post -ContentType application/json -Body "{""webPageUri"":""$($_.webPageUri)"",""downloadDir"":""$($_.downloadDir)"",""cron"":""$($_.cron)""}" }
# Unregister torrent #5 from Transmission Manager but do not touch it in Transmission
iwr http://<docker_host>:9092/api/v1/torrents/5 -Method Delete
```
Expand Down

0 comments on commit 1aeee31

Please sign in to comment.