Python Library Media
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.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. #
  4. """
  5. media (Media Tools)
  6. ===================
  7. **Author:**
  8. * Dirk Alders <sudo-dirk@mount-mockery.de>
  9. **Description:**
  10. This module helps on all issues with media files, like tags (e.g. exif, id3) and transformations.
  11. **Submodules:**
  12. * :func:`media.get_media_data`
  13. * :class:`media.image`
  14. **Unittest:**
  15. See also the :download:`unittest <../../media/_testresults_/unittest.pdf>` documentation.
  16. """
  17. from .common import CALLBACK_CDDB_CHOICE
  18. from .common import CALLBACK_MAN_INPUT
  19. from .common import get_disc_device
  20. from .common import KEY_ALBUM
  21. from .common import KEY_APERTURE
  22. from .common import KEY_ARTIST
  23. from .common import KEY_BITRATE
  24. from .common import KEY_CAMERA
  25. from .common import KEY_DURATION
  26. from .common import KEY_EXPOSURE_PROGRAM
  27. from .common import KEY_EXPOSURE_TIME
  28. from .common import KEY_FLASH
  29. from .common import KEY_FOCAL_LENGTH
  30. from .common import KEY_GENRE
  31. from .common import KEY_GPS
  32. from .common import KEY_HEIGHT
  33. from .common import KEY_ISO
  34. from .common import KEY_ORIENTATION
  35. from .common import KEY_RATIO
  36. from .common import KEY_SIZE
  37. from .common import KEY_TIME
  38. from .common import KEY_TIME_IS_SUBSTITUTION
  39. from .common import KEY_TITLE
  40. from .common import KEY_TRACK
  41. from .common import KEY_WIDTH
  42. from .common import KEY_YEAR
  43. from .convert import disc_track_rip
  44. from .convert import wav_to_mp3
  45. from .convert import track_to_targetpath
  46. from .image import image
  47. from .image import ORIENTATION_HALF_ROTATED
  48. from .image import ORIENTATION_HORIZONTAL_MIRRORED
  49. from .image import ORIENTATION_LEFT_ROTATED
  50. from .image import ORIENTATION_NORMAL
  51. from .image import ORIENTATION_RIGHT_ROTATED
  52. from .image import ORIENTATION_VERTICAL_MIRRORED
  53. from .image import JOIN_BOT_LEFT, JOIN_BOT_RIGHT
  54. from .image import JOIN_CENTER
  55. from .image import JOIN_TOP_LEFT
  56. from .image import JOIN_TOP_RIGHT
  57. from .metadata import get_media_data
  58. __DEPENDENCIES__ = []
  59. __DESCRIPTION__ = """The Module {\\tt %s} is designed to help on all issues with media files, like tags (e.g. exif, id3) and transformations.
  60. For more Information read the documentation.""" % __name__.replace('_', '\_')
  61. """The Module Description"""
  62. __INTERPRETER__ = (3, )
  63. """The Tested Interpreter-Versions"""