Причёсинг

This commit is contained in:
2026-04-16 15:30:19 +03:00
parent 5bbee7caa6
commit 4f00554147
4 changed files with 15 additions and 8 deletions

View File

@@ -34,7 +34,7 @@ AE Anons автоматизирует создание видеороликов
### 1. Клонирование репозитория
```bash
git clone https://github.com/your-org/ae_anons.git
git clone https://git.tvstart.ru/lexx/AE_Anons.git
cd ae_anons
```
@@ -51,12 +51,17 @@ cargo build --release
Создайте файл `.env` в корне проекта:
```env
NAS_FQDN=https://your-synology-nas.example.com:5001
NAS_USER=service_account
NAS_PASS=secure_password
NAS_FILE=/Team Folder/Broadcast/Auto_Anons/schedule.osheet
NEXRENDER_API_URL=http://nexrender-server:3000/api/v1/jobs
OUTPUT_FOLDER=//file-server/edit/Auto_Anons
# Synology NAS
NAS_FQDN=https://your-nas.domain.com
NAS_USER=your_username
NAS_PASS=your_password
NAS_FILE=/team-folders/path/to/your/file.osheet
# Nexrender
NEXRENDER_API_URL=http://your-nexrender-server:3000/api/v1/jobs
OUTPUT_FOLDER=//your-storage/path/to/output
# Logging
RUST_LOG=info
```

View File

@@ -2,7 +2,7 @@ mod config;
mod nexrender;
mod synology;
use anyhow::{anyhow, Context, Result};
use anyhow::{anyhow, Result};
use calamine::{Data, Reader, Xlsx};
use chrono::{Duration, NaiveDate};
use config::Config;

View File

@@ -1,3 +1,4 @@
#![allow(dead_code)]
use chrono::{Datelike, NaiveDate};
use serde::Serialize;
use serde_json::json;

View File

@@ -1,3 +1,4 @@
#![allow(dead_code)]
use log;
use reqwest::{
multipart::{Form, Part},