Removed redundant scenes path from Digital Playground main channel.

This commit is contained in:
DebaucheryLibrarian 2022-02-27 21:15:05 +01:00
parent 7b3bdadd44
commit f0d0ee3acc
9 changed files with 92 additions and 34 deletions

View File

@ -102,6 +102,8 @@ export default {
} }
.name { .name {
display: flex;
align-items: center;
color: var(--text-light); color: var(--text-light);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: bold; font-weight: bold;

View File

@ -11,8 +11,22 @@
class="empty" class="empty"
>No results for "{{ $route.query.query }}"</span> >No results for "{{ $route.query.query }}"</span>
<template v-else>
<h2 class="heading">Popular</h2>
<div
class="entity-tiles"
>
<Entity
v-for="entity in popularEntities"
:key="entity.parent ? `entity-tile-${entity.parent.slug}-${entity.slug}` : `entity-tile-${entity.slug}`"
:entity="entity"
/>
</div>
<h2 class="heading">All networks</h2>
<div <div
v-else
class="entity-tiles" class="entity-tiles"
> >
<Entity <Entity
@ -21,6 +35,7 @@
:entity="entity" :entity="entity"
/> />
</div> </div>
</template>
</div> </div>
<Footer /> <Footer />
@ -58,6 +73,45 @@ async function searchEntities() {
this.done = true; this.done = true;
} }
function popularEntities() {
const entitiesBySlug = Object.fromEntries(this.entities.map((entity) => [entity.slug, entity]));
return [
'21sextury',
'amateurallure',
'analvids',
'bamvisions',
'bang',
'bangbros',
'blowpass',
'brazzers',
'burningangel',
'digitalplayground',
'dogfartnetwork',
'dorcel',
'elegantangel',
'evilangel',
'fakehub',
'girlsway',
'hookuphotshot',
'hussiepass',
'insex',
'julesjordan',
'kellymadison',
'kink',
'mofos',
'naughtyamerica',
'newsensations',
'pervcity',
'pornpros',
'private',
'realitykings',
'twistys',
'vixen',
'xempire',
].map((slug) => entitiesBySlug[slug]).filter(Boolean);
}
async function mounted() { async function mounted() {
this.pageTitle = 'Channels'; this.pageTitle = 'Channels';
@ -82,6 +136,7 @@ export default {
}, },
computed: { computed: {
channelCount, channelCount,
popularEntities,
}, },
watch: { watch: {
$route: fetchEntities, $route: fetchEntities,
@ -130,6 +185,10 @@ export default {
font-weight: bold; font-weight: bold;
} }
.heading {
margin: 1rem 0 0 0;
}
@media(max-width: $breakpoint2) { @media(max-width: $breakpoint2) {
.entity-tiles { .entity-tiles {
grid-gap: .5rem; grid-gap: .5rem;

View File

@ -87,7 +87,6 @@ const tagSlugsByCategory = {
'titty-fucking', 'titty-fucking',
'fisting', 'fisting',
'anal-fisting', 'anal-fisting',
'fisting-dp',
], ],
group: [ group: [
'mfm', 'mfm',
@ -108,16 +107,6 @@ const tagSlugsByCategory = {
'bukkake', 'bukkake',
'fake-cum', 'fake-cum',
], ],
toys: [
'toys',
'toy-anal',
'toy-dp',
'double-dildo',
'double-dildo-blowjob',
'double-dildo-kiss',
'double-dildo-anal',
'double-dildo-dp',
],
roleplay: [ roleplay: [
'family', 'family',
'parody', 'parody',
@ -126,6 +115,15 @@ const tagSlugsByCategory = {
'maid', 'maid',
'nun', 'nun',
], ],
extreme: [
'dp',
'airtight',
'dap',
'dvp',
'triple-penetration',
'tap',
'tvp',
],
fetish: [ fetish: [
'bdsm', 'bdsm',
'femdom', 'femdom',
@ -134,15 +132,15 @@ const tagSlugsByCategory = {
'latex', 'latex',
'blindfold', 'blindfold',
], ],
extreme: [ toys: [
'dp', 'toys',
'airtight', 'toy-anal',
'dap', 'toy-dp',
'dvp', 'double-dildo',
'da-tp', 'double-dildo-blowjob',
'dv-tp', 'double-dildo-kiss',
'tap', 'double-dildo-anal',
'tvp', 'double-dildo-dp',
], ],
misc: [ misc: [
'gaping', 'gaping',

View File

@ -1,5 +1,5 @@
exports.up = async (knex) => knex.raw(` exports.up = async (knex) => knex.raw(`
CREATE OR REPLACE FUNCTION entities_scene_total(entity entities) RETURNS integer AS $$ CREATE OR REPLACE FUNCTION entities_scene_total(entity entities) RETURNS bigint AS $$
SELECT COUNT(id) SELECT COUNT(id)
FROM releases FROM releases
WHERE releases.entity_id = entity.id; WHERE releases.entity_id = entity.id;

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -2646,7 +2646,7 @@ const sites = [
{ {
slug: 'digitalplayground', slug: 'digitalplayground',
name: 'Digital Playground', name: 'Digital Playground',
url: 'https://www.digitalplayground.com/scenes', url: 'https://www.digitalplayground.com',
description: '', description: '',
parameters: { extract: true }, parameters: { extract: true },
parent: 'digitalplayground', parent: 'digitalplayground',

View File

@ -727,8 +727,6 @@ const tagMedia = [
['da-tp', 7, 'Polly Petrova in YE069', 'analvids'], ['da-tp', 7, 'Polly Petrova in YE069', 'analvids'],
['da-tp', 5, 'Venera Maxima in GIO1287'], ['da-tp', 5, 'Venera Maxima in GIO1287'],
['da-tp', 6, 'Adriana Chechik in "Gangbang Me"', 'hardx'], ['da-tp', 6, 'Adriana Chechik in "Gangbang Me"', 'hardx'],
['da-tp', 0, 'Natasha Teen in SZ2164'],
['da-tp', 1, 'Francys Belle in SZ1702', 'analvids'],
['dap', 7, 'Adriana Chechik in "DP Masters 6"', 'julesjordan'], ['dap', 7, 'Adriana Chechik in "DP Masters 6"', 'julesjordan'],
['dap', 10, 'Kira Noir', 'hardx'], ['dap', 10, 'Kira Noir', 'hardx'],
['dap', 'emily_pink_legalporno', 'Emily Pink', 'analvids'], ['dap', 'emily_pink_legalporno', 'Emily Pink', 'analvids'],
@ -1049,6 +1047,7 @@ const tagMedia = [
['toy-dp', 0, 'Marley Brinx, Ivy Lebelle and Lyra Law in "Marley Brinx First GGDP"', 'lesbianx'], ['toy-dp', 0, 'Marley Brinx, Ivy Lebelle and Lyra Law in "Marley Brinx First GGDP"', 'lesbianx'],
['toys', 1, 'Chloe Lamour in "Curives In All The Right Places"', 'wetandpuffy'], ['toys', 1, 'Chloe Lamour in "Curives In All The Right Places"', 'wetandpuffy'],
['toys', 'shawna_lenee_sunrisekings', 'Shawna Lenee', 'sunrisekings'], ['toys', 'shawna_lenee_sunrisekings', 'Shawna Lenee', 'sunrisekings'],
['triple-penetration', 'lucky_bee_analvids', 'Lucky Bee', 'analvids'],
['triple-penetration', 'angela_white_julesjordan', 'Angela White in "Her Biggest Gangbang Ever"', 'julesjordan'], ['triple-penetration', 'angela_white_julesjordan', 'Angela White in "Her Biggest Gangbang Ever"', 'julesjordan'],
['triple-penetration', 'ria_sunn_legalporno', 'Ria Sunn in SZ2082', 'analvids'], ['triple-penetration', 'ria_sunn_legalporno', 'Ria Sunn in SZ2082', 'analvids'],
['tvp', 'september_reign_wefuckblackgirls', 'September Reign in "Second Appearance"', 'wefuckblackgirls'], ['tvp', 'september_reign_wefuckblackgirls', 'September Reign in "Second Appearance"', 'wefuckblackgirls'],