Skip to content

Commit

Permalink
feat(route/spotify): add podcasts route to popular
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudoyu committed Dec 4, 2024
1 parent cb551b4 commit d81a618
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/routes/spotify/show.ts
Original file line number Diff line number Diff line change
@@ -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: {
Expand All @@ -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,
};

Expand Down

0 comments on commit d81a618

Please sign in to comment.