mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
feat(formatters): include release group for gdrive format only
This commit is contained in:
@@ -36,9 +36,17 @@ export function gdriveFormat(
|
||||
|
||||
// let description: string = `${stream.quality !== 'Unknown' ? '🎥 ' + stream.quality + ' ' : ''}${stream.encode !== 'Unknown' ? '🎞️ ' + stream.encode : ''}`;
|
||||
let description: string = '';
|
||||
if (stream.quality || stream.encode) {
|
||||
if (
|
||||
stream.quality ||
|
||||
stream.encode ||
|
||||
(stream.releaseGroup && !minimalistic)
|
||||
) {
|
||||
description += stream.quality !== 'Unknown' ? `🎥 ${stream.quality} ` : '';
|
||||
description += stream.encode !== 'Unknown' ? `🎞️ ${stream.encode} ` : '';
|
||||
description +=
|
||||
stream.releaseGroup !== 'Unknown' && !minimalistic
|
||||
? `🏷️ ${stream.releaseGroup}`
|
||||
: '';
|
||||
description += '\n';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user