Skip to content

Commit

Permalink
Replace deprecated "medias/task/" API call
Browse files Browse the repository at this point in the history
  • Loading branch information
sdiemer committed Feb 6, 2024
1 parent 7ddf453 commit 67ff4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/transcode_all_videos.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def transcode_all_videos(msc):
print('// Media %s: %s' % (index, item['oid']))
try:
# behavior: action to do on existing resources
msc.api('medias/task/', method='post', data=dict(
msc.api('tasks/start/', method='post', data=dict(
oid=item['oid'],
task='transcoding',
params=json.dumps(dict(priority='low', behavior='delete'))
Expand Down

0 comments on commit 67ff4ec

Please sign in to comment.