This commit is contained in:
yazninja 2022-07-03 19:56:46 +08:00
commit 9df96e9301
7 changed files with 17 additions and 9 deletions

View file

@ -136,7 +136,7 @@
"term.amLive": "Appwe Music Wive", "term.amLive": "Appwe Music Wive",
"term.language": "Wanguage", "term.language": "Wanguage",
"term.funLanguages": "Fun", "term.funLanguages": "Fun",
"term.noLyrics": "Woading... / Wywics nyot found./ Instwumentaw.", "term.noLyrics": ">w< Sowwy Wowwy.. N-Nyo Wywics Avaiwabwe",
"term.copyright": "Copywight", "term.copyright": "Copywight",
"term.rightsReserved": "Aww Wights Wesewved.", "term.rightsReserved": "Aww Wights Wesewved.",
"term.sponsor": "Sponsow this pwoject", "term.sponsor": "Sponsow this pwoject",

View file

@ -103,7 +103,7 @@
"term.recentStations": "recent pisses", "term.recentStations": "recent pisses",
"term.language": "piss around the world", "term.language": "piss around the world",
"term.funLanguages": "piss languages", "term.funLanguages": "piss languages",
"term.noLyrics": "piss…", "term.noLyrics": "out of piss...",
"term.copyright": "copypiss", "term.copyright": "copypiss",
"term.rightsReserved": "all piss reserved.", "term.rightsReserved": "all piss reserved.",
"term.sponsor": "piss on Cider", "term.sponsor": "piss on Cider",

View file

@ -142,7 +142,7 @@
"term.live": "LIVE", "term.live": "LIVE",
"term.language": "Language", "term.language": "Language",
"term.funLanguages": "Fun", "term.funLanguages": "Fun",
"term.noLyrics": "Loading... / Lyrics not found./ Instrumental.", "term.noLyrics": "Instrumental Track / No Lyrics.",
"term.copyright": "Copyright", "term.copyright": "Copyright",
"term.rightsReserved": "All Rights Reserved.", "term.rightsReserved": "All Rights Reserved.",
"term.sponsor": "Sponsor this project", "term.sponsor": "Sponsor this project",

View file

@ -101,7 +101,7 @@
"term.recentStations": "Recent Stations", "term.recentStations": "Recent Stations",
"term.language": "Language", "term.language": "Language",
"term.funLanguages": "Fun", "term.funLanguages": "Fun",
"term.noLyrics": "Loading... / Lyrics not found./ Instrumental.", "term.noLyrics": "Instrumental Track / No Lyrics.",
"term.copyright": "Copyright", "term.copyright": "Copyright",
"term.rightsReserved": "All Rights Reserved.", "term.rightsReserved": "All Rights Reserved.",
"term.sponsor": "Sponsor this project", "term.sponsor": "Sponsor this project",

View file

@ -138,7 +138,7 @@
"term.amLive": "Apple Music Live", "term.amLive": "Apple Music Live",
"term.language": "Language", "term.language": "Language",
"term.funLanguages": "Fun", "term.funLanguages": "Fun",
"term.noLyrics": "Loading... / Lyrics not found./ Instrumental.", "term.noLyrics": "Instrumental Track / No Lyrics.",
"term.copyright": "Copyright", "term.copyright": "Copyright",
"term.rightsReserved": "All Rights Reserved.", "term.rightsReserved": "All Rights Reserved.",
"term.sponsor": "Sponsor this project", "term.sponsor": "Sponsor this project",

View file

@ -21,6 +21,8 @@
"term.login": "登入", "term.login": "登入",
"term.quit" : "結束", "term.quit" : "結束",
"term.about": "關於", "term.about": "關於",
"term.cast" : "投影",
"term.cast2" : "投影到裝置",
"term.privateSession": "私人時間", "term.privateSession": "私人時間",
"term.queue": "待播清單", "term.queue": "待播清單",
"term.lyrics": "歌詞", "term.lyrics": "歌詞",
@ -222,13 +224,14 @@
"action.deletepreset": "刪除預設", "action.deletepreset": "刪除預設",
"action.open": "開啟", "action.open": "開啟",
"action.cast.chromecast": "Chromecast", "action.cast.chromecast": "Chromecast",
"action.cast.todevices": "投到裝置", "action.cast.todevices": "投到裝置",
"action.cast.stop": "停止投到所有裝置", "action.cast.stop": "停止投到所有裝置",
"action.cast.airplay": "AirPlay", "action.cast.airplay": "AirPlay",
"action.cast.airplay.underdevelopment": "AirPlay 仍處於開發階段中,敬請期待。", "action.cast.airplay.underdevelopment": "AirPlay 仍處於開發階段中,敬請期待。",
"action.cast.scan": "尋找", "action.cast.scan": "尋找",
"action.cast.scanning": "尋找中...", "action.cast.scanning": "尋找中...",
"action.createNew": "新增...", "action.createNew": "新增...",
"action.refresh": "重新整理",
"settings.header.general": "一般", "settings.header.general": "一般",
"settings.header.general.description": "調整 Cider 的一般設定", "settings.header.general.description": "調整 Cider 的一般設定",
"settings.option.general.resumebehavior": "還原行為", "settings.option.general.resumebehavior": "還原行為",
@ -341,6 +344,7 @@
"settings.option.visual.theme.github.openfolder": "開啟主題存放位置", "settings.option.visual.theme.github.openfolder": "開啟主題存放位置",
"settings.option.visual.theme.github.explore": "探索 GitHub 上的主題", "settings.option.visual.theme.github.explore": "探索 GitHub 上的主題",
"settings.prompt.visual.theme.github.URL": "輸入你要安裝的主題網址", "settings.prompt.visual.theme.github.URL": "輸入你要安裝的主題網址",
"settings.option.visual.theme.checkForUpdates": "檢查更新",
"settings.option.visual.theme.manageStyles": "管理主題", "settings.option.visual.theme.manageStyles": "管理主題",
"settings.option.visual.theme.uninstall": "移除", "settings.option.visual.theme.uninstall": "移除",
"settings.option.visual.theme.viewInfo": "查看資訊", "settings.option.visual.theme.viewInfo": "查看資訊",
@ -375,7 +379,7 @@
"settings.option.lyrics.musixmatchPreferredLanguage": "Musixmatch 歌詞優先語言偏好選項", "settings.option.lyrics.musixmatchPreferredLanguage": "Musixmatch 歌詞優先語言偏好選項",
"settings.option.lyrics.enableYoutubeLyrics": "播放 MV 時,使用 YouTube 歌詞", "settings.option.lyrics.enableYoutubeLyrics": "播放 MV 時,使用 YouTube 歌詞",
"settings.option.lyrics.enableQQLyrics": "開啟 QQ 音樂的歌詞", "settings.option.lyrics.enableQQLyrics": "開啟 QQ 音樂的歌詞",
"settings.header.connectivity": "外部連接", "settings.header.connectivity": "連接",
"settings.header.connectivity.description": "調整 Cider 與外部的連接", "settings.header.connectivity.description": "調整 Cider 與外部的連接",
"settings.option.connectivity.playbackNotifications": "歌曲播放通知", "settings.option.connectivity.playbackNotifications": "歌曲播放通知",
"settings.option.connectivity.discordRPC": "Discord 動態", "settings.option.connectivity.discordRPC": "Discord 動態",

View file

@ -989,7 +989,11 @@ const app = new Vue({
} }
if (previewURL == null && ((app.mk.nowPlayingItem?._songId ?? (app.mk.nowPlayingItem["songId"] ?? app.mk.nowPlayingItem.relationships.catalog.data[0].id)) != -1)) { if (previewURL == null && ((app.mk.nowPlayingItem?._songId ?? (app.mk.nowPlayingItem["songId"] ?? app.mk.nowPlayingItem.relationships.catalog.data[0].id)) != -1)) {
app.mk.api.v3.music(`/v1/catalog/${app.mk.storefrontId}/songs/${app.mk.nowPlayingItem?._songId ?? (app.mk.nowPlayingItem["songId"] ?? app.mk.nowPlayingItem.relationships.catalog.data[0].id)}`).then((response) => { app.mk.api.v3.music(`/v1/catalog/${app.mk.storefrontId}/songs/${app.mk.nowPlayingItem?._songId ?? (app.mk.nowPlayingItem["songId"] ?? app.mk.nowPlayingItem.relationships.catalog.data[0].id)}`).then((response) => {
previewURL = response.data.data[0].attributes.previews[0].url ?? false; try {previewURL = response.data.data[0].attributes.previews[0].url;} catch(e) {
if (e instanceof TypeError === false) { console.debug("[Cider][MaikiwiSoundCheck] normalizer function err: " + e) }
else {
if (localFiles === true) {CiderAudio.audioNodes.gainNode.gain.value = 0.8222426499470}}
}
if (previewURL) { if (previewURL) {
console.debug("[Cider][MaikiwiSoundCheck] previewURL response.data.data[0].attributes.previews[0].url: " + previewURL) console.debug("[Cider][MaikiwiSoundCheck] previewURL response.data.data[0].attributes.previews[0].url: " + previewURL)
ipcRenderer.send('getPreviewURL', previewURL) ipcRenderer.send('getPreviewURL', previewURL)