Skip to content

Commit 31bffee

Browse files
authored
Merge pull request #3688 from reosarevok/MBS-14211
MBS-14211: Add Naver Vibe to sidebar
2 parents e4fb6e9 + 6063ec4 commit 31bffee

File tree

5 files changed

+27
-0
lines changed

5 files changed

+27
-0
lines changed

lib/MusicBrainz/Server/Data/URL.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ my %URL_SPECIALIZATIONS = (
146146
'MVDbase' => qr{^https?://(?:www\.)?mvdbase\.com/}i,
147147
'MySpace' => qr{^https?://(?:www\.)?myspace\.com/}i,
148148
'Napster' => qr{^https?://[\w-]{2}\.napster\.com/}i,
149+
'NaverVibe' => qr{^https?://vibe\.naver\.com/}i,
149150
'NDL' => qr{^https?://(?:www\.)?iss\.ndl\.go\.jp/}i,
150151
'NDLAuthorities' => qr{^https?://id\.ndl\.go\.jp/}i,
151152
'NicoNicoVideo' => qr{^https?://(?:www\.)?nicovideo\.jp/}i,
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package MusicBrainz::Server::Entity::URL::NaverVibe;
2+
3+
use Moose;
4+
5+
use MusicBrainz::Server::Translation qw( l );
6+
7+
extends 'MusicBrainz::Server::Entity::URL';
8+
with 'MusicBrainz::Server::Entity::URL::Sidebar';
9+
10+
sub sidebar_name { l('Stream at Naver VIBE') }
11+
12+
__PACKAGE__->meta->make_immutable;
13+
no Moose;
14+
1;
15+
16+
=head1 COPYRIGHT AND LICENSE
17+
18+
Copyright (C) 2025 MetaBrainz Foundation
19+
20+
This file is part of MusicBrainz, the open internet music database,
21+
and is licensed under the GPL version 2, or (at your option) any
22+
later version: http://www.gnu.org/licenses/gpl-2.0.txt
23+
24+
=cut
1.57 KB
Loading

root/static/scripts/common/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ export const FAVICON_CLASSES: {
265265
'utaten.com': 'utaten',
266266
'vgmdb.net': 'vgmdb',
267267
'viaf.org': 'viaf',
268+
'vibe.naver.com': 'navervibe',
268269
'vimeo.com/ondemand': 'vimeoondemand',
269270
// eslint-disable-next-line sort-keys
270271
'vimeo.com': 'vimeo',

root/static/styles/favicons.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
.favicon("muzikum", 32);
130130
.favicon("myspace", 32);
131131
.favicon("napster", 32);
132+
.favicon("navervibe", 32);
132133
.favicon("ndl");
133134
.favicon("niconicovideo", 32);
134135
.favicon("oclc");

0 commit comments

Comments
 (0)