Advertisement
yaotungyu

batch publish template

May 7th, 2021
1,074
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.47 KB | None | 0 0
  1. from aronado import _sg_query_util
  2. shots = _sg_query_util.sg_list_shots(episodes=['103','104'],status_list=['rdy'],artist_list=[])
  3.  
  4. shots.sort()
  5. addToClipBoard
  6. '103_260_010 > 103_550_250'
  7. '104_010_010 > 104_230_015'
  8. addToClipBoard(','.join(runshots))
  9.  
  10. from aronado import Batch_Creator
  11. btchCrtr = Batch_Creator.Batch_Creator('tempLgtPub_beta')
  12. btchCrtr.shot_list = runshots
  13. note_create = btchCrtr._create_batch_note()
  14. btchCrtr._populate_server_jobs(note_create['id'])
  15.  
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement