Added Wicked affiliate. Improved Gamma banner tool filename composition.

This commit is contained in:
DebaucheryLibrarian
2026-03-03 01:20:58 +01:00
parent bc5693e44a
commit 68ddc8cb78
2 changed files with 9 additions and 2 deletions

View File

@@ -554,6 +554,11 @@ const affiliates = [
url: 'https://www.g2fame.com/tabooheat/go.php?pr=8&su=2&si=552&ad=277470&pa=index&ar=&buffer=',
comment: 'per signup',
},
{
channel: 'wicked',
url: 'https://www.g2fame.com/wicked/go.php?pr=8&su=2&si=371&ad=277470&pa=index&ar=&buffer=',
comment: 'per signup',
},
// gamma > independent channels
{
channel: 'biphoria',

View File

@@ -92,8 +92,10 @@ async function init() {
const fileTags = tags.slice(0, 4).join('_');
const fileActors = banner.SceneActors?.slice(0, 2).map((actor) => slugify(actor, '_')).join('_');
// actors and tags are unreliable and describe entire scene, not banner, don't include by default
const filename = `${channel}_${banner.Width}_${banner.Height}_${fileActors && argv.actors?.[0] !== false ? fileActors : banner.MediaID}${fileTags && argv.tags ? `-${fileTags}` : ''}.${banner.MediaExt}`;
// tags are unreliable and describe entire scene, not banner, don't include by default
const segments = [channel, banner.Width, banner.Height, banner.MediaID, argv.actors?.[0] !== false && fileActors].filter(Boolean);
const filename = `${segments.join('_')}${argv.tags && argv.tags ? `-${fileTags}` : ''}.${banner.MediaExt || 'jpg'}`;
const filepath = `/tmp/gamma/${channel}/${filename}`;
if (argv.inspect) {