mirror of
https://github.com/iptv-org/epg
synced 2025-12-22 13:26:56 -05:00
continue cleaning + simplify mtel.ba (right now broken EPG on backend)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user