Couchpotato

From fakedWiki
Revision as of 20:09, 26 August 2016 by Jan (talk | contribs) (1 revision imported)
(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/