Automated music library format conversion with cuesheet detection, tagging support and configurable regex to obtain tags from filenames. Configuration with ini-files to support multiple locations with multiple quality requirements.
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.

41 lines
1.3 KiB

  1. """
  2. Name: exceptions.py
  3. Porpose: defines class Exceptions for ffcuesplitter
  4. Platform: MacOs, Gnu/Linux, FreeBSD
  5. Writer: jeanslack <jeanlucperni@gmail.com>
  6. license: GPL3
  7. Rev: February 03 2022
  8. Code checker: flake8 and pylint
  9. ####################################################################
  10. This file is part of FFcuesplitter.
  11. FFcuesplitter is free software: you can redistribute it and/or modify
  12. it under the terms of the GNU General Public License as published by
  13. the Free Software Foundation, either version 3 of the License, or
  14. (at your option) any later version.
  15. FFcuesplitter is distributed in the hope that it will be useful,
  16. but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. GNU General Public License for more details.
  19. You should have received a copy of the GNU General Public License
  20. along with FFcuesplitter. If not, see <http://www.gnu.org/licenses/>.
  21. """
  22. class FFMpegError(Exception):
  23. """Excepion raised by FFMpeg class"""
  24. class FFProbeError(Exception):
  25. """Excepion raised by FFProbe class"""
  26. class InvalidFileError(Exception):
  27. """Exception type raised when CUE file is invalid."""
  28. class FFCueSplitterError(Exception):
  29. """Exception raised in all other cases."""