Commit Graph

21 Commits

Author SHA1 Message Date
eed46cf266 Extract database clip saving into saveClip()
persistClip() had grown too large and handled multiple concerns.
This change moves the database save logic into saveClip(), making
persistClip() smaller and easier to refactor further.
2025-12-15 22:06:57 +00:00
65ec8cb29a MOVE clip creation method from ClipService to JobService
The original clip creation method in ClipService handled many different services, like metadata handling, callback methods and more. Moving it to a more suitable location in the JobService allows it to easily access the Job object and update it upon failure.
2025-12-15 21:23:01 +00:00
92cb9265ca ADD job failed attribute to display failed status in API
If a compression processing job fails, the JobStatus object within the Job should update to reflect this fail.
2025-12-15 19:57:40 +00:00
739d215c27 REMOVE deleteFile in DirectoryService and replace with local methods 2025-12-07 01:14:08 +00:00
9ebf69a9e7 RENAME VideoMetadata to ClipOptions and update related references 2025-08-19 14:56:50 +02:00
Dylan De Faoite
20f7ec8db4 Backend MP4 conversion (#23)
* ADD conversion queue

* ADD RemuxService for MP4 conversion

* REMOVE unused conversion queue

* REORGANISE Job-related classes

* ADD Job stages

* REVERT to old commit, using Spring Async instead

* ADD asynchronous processing for video tasks

* PATCH and streamline progress tracking

* ADD asynchronous video processing and job restructuring

* REFACTOR job service method

* ADD job remux functionality

* ADD remuxing endpoint

* PATCH complete flag not updating in API response

* ADD progress type in frontend

* ADD reset functionality for job status

* PATCH missing progress bar for subsequent exports

* REDESIGN settings box

* ADD tracking video file conversion in frontend

* PATCH extension bug

* REMOVE autowired decorator
2025-07-31 20:48:34 +02:00
Dylan De Faoite
f0a4eed381 17 clean up services structure (#18)
* Refactor ClipService and MediaService

* Refactor ClipService for less coupling to Jobs

* PATCH unnecessary requests in frontend

* REFACTOR MetadataService to use CommandRunner

* REFACTOR DirectoryService and UploadService

* REFACTOR ClipService

* MERGE MetadataService with MediaService
2025-07-26 22:21:56 +02:00
c512f055ee Refactor FfmpegService to improve progress tracking and streamline command building 2025-07-09 18:25:51 +02:00
159bcac5c4 MOVE user authentication and clip creation to ClipService 2025-07-02 22:03:39 +02:00
6cf454c484 RENAME CompressionService to ClipService and update references 2025-06-25 19:31:37 +02:00
c11cdb0ee6 REFACTOR JobService to not busily wait 2025-06-06 20:08:49 +02:00
c468625a74 PATCH scrollbar issue 2025-05-28 19:49:34 +02:00
96574efcdc add old frontend code back 2025-05-28 14:49:09 +02:00
bce8a5e1d6 IMPROVE input validation 2025-05-15 10:48:40 +02:00
e2c4b81cad RENAME methods for consistency 2025-05-15 10:48:38 +02:00
7e75e16749 REFACTOR job to be a DTO, CompressionService is now stateless 2025-05-11 22:26:32 +02:00
4d59456292 REFACTOR to be more modular 2025-05-09 18:56:24 +02:00
de382feeff CHANGE access levels 2025-05-08 23:00:06 +02:00
d27276b66a ADD FFMPEG conversion 2025-05-08 21:59:03 +02:00
920bcc32b1 ADD logging & ADD map of jobs and Uuids 2025-05-08 18:57:36 +02:00
da5d2ef853 ADD JobService and UploadService 2025-05-05 21:12:35 +02:00