Couchpotato

From fakedWiki
Revision as of 00:58, 14 January 2016 by Jan (talk | contribs) (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'); ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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/