mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 21:59:58 -05:00
* Batch reorganization is supported for both Domain and Channel Collections. * Batch reorganization happens when any Collection does not match the respective file format. For example, a Channel Collection file format that does not match the `yt_dlp_options.file_name_format` will show `needs_reorganization`. * Individual Collections can always be reorganized. The reorganization is a little more aggressive. Useful for when some files may have been missed in the batch reorganization.
15 lines
432 B
Python
15 lines
432 B
Python
from wrolpi.errors import APIError
|
|
|
|
__all__ = ['UnknownCollection', 'ReorganizationConflict']
|
|
|
|
|
|
class UnknownCollection(APIError):
|
|
"""Cannot find Collection"""
|
|
code = 'UNKNOWN_COLLECTION'
|
|
summary = 'Cannot find Collection'
|
|
|
|
|
|
class ReorganizationConflict(APIError):
|
|
"""Reorganization would cause filename conflicts"""
|
|
code = 'REORGANIZATION_CONFLICT'
|
|
summary = 'Reorganization would cause filename conflicts'
|