Added Wicked affiliate. Improved Gamma banner tool filename composition.
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user