mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-04-19 12:53:56 +02:00
Also: removes the -re ffmpeg option. If this option is passed, ffmpeg won't write to fs-capacitor (and the cache file) as fast as possible. In other words, the cache file won't finish writing until the entire stream has been played.
14 lines
230 B
TypeScript
14 lines
230 B
TypeScript
import {Table, Column, PrimaryKey, Model} from 'sequelize-typescript';
|
|
|
|
@Table
|
|
export default class FileCache extends Model {
|
|
@PrimaryKey
|
|
@Column
|
|
hash!: string;
|
|
|
|
@Column
|
|
bytes!: number;
|
|
|
|
@Column
|
|
accessedAt!: Date;
|
|
}
|