How jzerom/taosync-cas works
TaoSync-CAS is a web-managed automation tool for moving video files through AList/OpenList-compatible engines, with duplicate avoidance based on file identity and the documented CAS filename workflow. Users configure source/destination jobs and storage, then run or schedule jobs and monitor tasks; the job controller dispatches requests into job and task services. The backend also provides engine management, storage discovery, user authentication, and notifications. The README documents the OpenList-CAS handoff, but the exact file-filtering and CAS matching implementation was not sampled, so that link is shown as documented rather than inferred from source.
Main entry points: jobController.py Job API · App.vue Web application · jobClient.py Job execution · jobService.py Job orchestration
Components 24
Web interface
- Web application
web/src/App.vue - Job and task UI
web/src/views/pages/home/desktop.vue - Engine UI
web/src/views/pages/engine/index.vue - Notification UI
web/src/views/pages/notify/index.vue - Settings UI
web/src/views/pages/setting/index.vue
API and access
- Server startup
main.py - Job API
controller/jobController.py - Request authentication
controller/baseController.py - System API
controller/systemController.py
Sync workflow
- Job orchestration
service/syncJob/jobService.py - Job execution
service/syncJob/jobClient.py - Task tracking
service/syncJob/taskService.py - Jobs and snapshots
mapper/jobMapper.py
Engines and services
- AList management
service/alist/alistService.py - AList client
service/alist/alistClient.py - Engine selection
service/engine/engineService.py - Storage mounts
service/storage/storageService.py - Storage discovery
service/storage/discoveryService.py - Storage drivers
service/storage/drivers/base.py - Mount configuration
mapper/storageMapper.py - Notifications
service/notify/notifyService.py - User service
service/system/userService.py
Other components
- User
- OpenList-CAS
Connections 24
- User → Web application: uses
README - Web application → Job and task UI: shows
- Web application → Engine UI: shows
- Web application → Notification UI: shows
- Web application → Settings UI: shows
- Job API → AList management: dispatches
controller/jobController.py - Job API → Storage mounts: dispatches
controller/jobController.py - Job API → Storage discovery: dispatches
controller/jobController.py - Job API → Job orchestration: dispatches
controller/jobController.py - Job API → Task tracking: dispatches
controller/jobController.py - Request authentication → User service: validates user
controller/baseController.py - Job orchestration → Job execution: starts jobs
service/syncJob/jobService.py - Job orchestration → Storage mounts: uses mounts
service/syncJob/jobService.py - Job orchestration → Jobs and snapshots: persists jobs
service/syncJob/jobService.py - Task tracking → Jobs and snapshots: reads task data
service/syncJob/taskService.py - Task tracking → Notifications: requests alerts
service/syncJob/taskService.py - AList management → Engine selection: gets clients
service/alist/alistService.py - Engine selection → AList client: creates client
service/engine/engineService.py - Storage mounts → Mount configuration: reads and writes
service/storage/storageService.py - Storage mounts → Storage drivers: creates driver
service/storage/storageService.py - Job execution → AList client: scans source
- Job execution → Storage drivers: accesses storage
- OpenList-CAS → Job execution: returns processed files
README - Job execution → OpenList-CAS: syncs videos
README