continue cleaning + simplify mtel.ba (right now broken EPG on backend)

This commit is contained in:
theofficialomega
2025-07-18 23:49:04 +02:00
parent 6b3e17861a
commit 5e953b6955
11 changed files with 95 additions and 53 deletions

View File

@@ -1,5 +1,5 @@
import type { GuideData } from '../types/guide'
import { uniqueId } from 'lodash'
import { v4 as uuidv4 } from 'uuid'
export class Guide {
channelId?: string
@@ -21,7 +21,7 @@ export class Guide {
}
getUUID(): string {
if (!this.getStreamId() || !this.siteId) return uniqueId()
if (!this.getStreamId() || !this.siteId) return uuidv4()
return this.getStreamId() + this.siteId
}