feat(route/spotify): add podcasts route to popular

This commit is contained in:
pseudoyu 2024-12-05 01:32:21 +08:00
parent cb551b45e4
commit d81a618b92
No known key found for this signature in database
1 changed files with 5 additions and 4 deletions

View File

@ -1,11 +1,12 @@
import { Route } from '@/types';
import { Route, ViewType } from '@/types';
import utils from './utils';
import ofetch from '@/utils/ofetch';
import { parseDate } from '@/utils/parse-date';
export const route: Route = {
path: '/show/:id',
categories: ['multimedia'],
categories: ['multimedia', 'popular'],
view: ViewType.Audios,
example: '/spotify/show/5CfCWKI5pZ28U0uOzXkDHe',
parameters: { id: 'Show ID' },
features: {
@ -30,8 +31,8 @@ export const route: Route = {
source: ['open.spotify.com/show/:id'],
},
],
name: 'Show',
maintainers: ['caiohsramos'],
name: 'Show/Podcasts',
maintainers: ['caiohsramos', 'pseudoyu'],
handler,
};