Couchpotato: Difference between revisions
From fakedWiki
(Created page with "Change the profile/quality for all movies (batch/bulk/mass) <pre> for id in $(curl -s http://127.0.0.1:9082/movies/api/<APIKEY>/movie.list | jq .movies[]._id | sed 's/"//g'); ...") |
m (1 revision imported) |
Latest revision as of 20:09, 26 August 2016
Change the profile/quality for all movies (batch/bulk/mass)
for id in $(curl -s http://127.0.0.1:9082/movies/api/<APIKEY>/movie.list | jq .movies[]._id | sed 's/"//g'); do curl -q "http://127.0.0.1:9082/movies/api/<APIKEY>/movie.edit/?id=$id&profile_id=<PROFILE_ID>"; done
You can get the PROFILE_ID from
https://faked.org/movies/api/<APIKEY>/profile.list/