Added /tour filter to affiliate link composition. Added note to scene tag edit field.

This commit is contained in:
2026-03-06 05:13:21 +01:00
parent 16bf7b019f
commit c55f6d2cf2
3 changed files with 7 additions and 2 deletions

View File

@@ -262,6 +262,7 @@ const fields = computed(() => [
type: 'tags',
value: scene.value.tags.toSorted((tagA, tagB) => tagA.name.localeCompare(tagB.name)),
simplify: false,
note: 'Actor-specific tags should only be used where confusion is reasonable, such as group scenes in which some perform anal, and some don\'t.',
},
{
key: 'movies',

View File

@@ -31,6 +31,10 @@ export function getAffiliateSceneUrl(scene) {
return watchUrl;
}
if (scene.affiliate.parameters.channelScenes === false && scene.channel && scene.affiliate.entityId !== scene.channel.id) {
return watchUrl;
}
if (scene.affiliate.parameters.dynamicScene) {
const scenePath = new URL(watchUrl).pathname;
@@ -65,7 +69,7 @@ export function getAffiliateSceneUrl(scene) {
&& (!scene.channel.isIndependent || scene.channel.id === scene.affiliate.entityId)) {
const { pathname, search } = new URL(watchUrl);
return `${affiliateUrl}${pathname.replace(/^\/trial/, '')}${search}`; // replace needed for Jules Jordan, verify behavior on other sites
return `${affiliateUrl}${pathname.replace(/^\/(trial|tour)/, '')}${search}`; // replace needed for Jules Jordan and HussiePass, verify behavior on other sites
}
const affiliateUrlComponents = new URL(affiliateUrl);

2
static

Submodule static updated: a91edb84a1...474685693d