Scripting way to upload videos to peertube and youtube
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
554 B

  1. #!/usr/bin/env python
  2. # coding: utf-8
  3. import pluginInterfaces as pi
  4. import utils
  5. import video as vid
  6. class Debug(pi.IConsumerPlugin):
  7. """
  8. Plugin to help knowing the state of prismedia and its variables.
  9. """
  10. def prepare_options(self, video, options):
  11. print("Debug plugin prepare_options:")
  12. print("Video: ", video)
  13. print("Options: ", options)
  14. return True
  15. def finished(self, video, options):
  16. print("Debug plugin finished:")
  17. print("Video: ", video)
  18. print("Options: ", options)