Skip to content

Commit d7e952c

Browse files
authored
Merge pull request #160 from oRevived/master
Fix YT Music
2 parents 512c69c + 0e6c8c6 commit d7e952c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/page/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"TRACK_NAME_SELECTOR": "ytmusic-player-bar .content-info-wrapper .title",
2323
"TRACK_ARTIST_SELECTOR": "ytmusic-player-bar .content-info-wrapper .subtitle yt-formatted-string > :first-child",
2424
"BTN_WRAPPER_SELECTOR": "ytmusic-player-bar ytmusic-like-button-renderer",
25-
"BTN_LIKE_SELECTOR": "ytmusic-player-bar ytmusic-like-button-renderer tp-yt-paper-icon-button:last-of-type",
25+
"BTN_LIKE_SELECTOR": "ytmusic-like-button-renderer button[aria-label='Like']",
2626
"PIP_BTN_SELECTOR": "NONE",
2727
"AUDIO_SELECTOR": "video.html5-main-video"
2828
},

Diff for: src/page/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const localConfig: LocalConfig = (() => {
8080
.${LYRICS_CLASSNAME} {
8181
margin-left: var(--ytmusic-like-button-renderer-button-spacing, 8px);
8282
}
83-
.${LYRICS_CLASSNAME} tp-yt-iron-icon {
83+
.${LYRICS_CLASSNAME} .yt-spec-button-shape-next__icon {
8484
background: var(--ytmusic-text-secondary);
8585
transform: rotate(90deg) scale(1.1);
8686
-webkit-mask: url(${iconUrl}) center / 100% no-repeat;

0 commit comments

Comments
 (0)