From ab7123b884303e5d7e224494f4f59eb4c7279daa Mon Sep 17 00:00:00 2001 From: Sunghwan Bang Date: Mon, 21 Dec 2015 23:19:09 +0900 Subject: [PATCH] =?UTF-8?q?follow-up=200c01eea09b1b3e55a2f4f33518875224ca3?= =?UTF-8?q?a55d0=20=EC=9D=8C=EC=95=85=20=EC=A0=95=EB=B3=B4=EB=A1=9C=20?= =?UTF-8?q?=EA=B0=80=EC=82=AC=20=EA=B2=80=EC=83=89=20=EB=AA=BB=ED=95=98?= =?UTF-8?q?=EB=8D=98=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- osu!Lyrics/Audio.cs | 4 ++-- osu!Lyrics/Beatmap.cs | 8 ++++---- osu!Lyrics/Lyrics.cs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/osu!Lyrics/Audio.cs b/osu!Lyrics/Audio.cs index d014fcd..da473e0 100644 --- a/osu!Lyrics/Audio.cs +++ b/osu!Lyrics/Audio.cs @@ -13,7 +13,7 @@ public Audio() this.Sync = 0; } - public Audio(string path) : this() + public Audio(string path, string beatmapPath) : this() { this.Path = path; try @@ -23,7 +23,7 @@ public Audio(string path) : this() catch {} try { - this.Beatmap = Beatmap.Load(path); + this.Beatmap = Beatmap.Load(beatmapPath); } catch {} } diff --git a/osu!Lyrics/Beatmap.cs b/osu!Lyrics/Beatmap.cs index a006916..71a52bd 100644 --- a/osu!Lyrics/Beatmap.cs +++ b/osu!Lyrics/Beatmap.cs @@ -4,10 +4,10 @@ namespace osu_Lyrics { internal class Beatmap { - public readonly string Artist; - public readonly string ArtistUnicode; - public readonly string Title; - public readonly string TitleUnicode; + public string Artist { get; private set; } + public string ArtistUnicode { get; private set; } + public string Title { get; private set; } + public string TitleUnicode { get; private set; } public Beatmap() {} diff --git a/osu!Lyrics/Lyrics.cs b/osu!Lyrics/Lyrics.cs index 36c2fea..b2c5d45 100644 --- a/osu!Lyrics/Lyrics.cs +++ b/osu!Lyrics/Lyrics.cs @@ -326,7 +326,7 @@ private async void Osu_Signal(string line) new Lyric(0, "가사 받는 중...") }; - curAudio = new Audio(data[1]); + curAudio = new Audio(data[1], data[4]); // 파일 해시로 가사 검색 var newLyrics = await GetLyrics(new Dictionary