mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Format returns
This commit is contained in:
parent
5efa138c22
commit
c367857244
@ -130,10 +130,17 @@ public class LrcLyricProvider : ILyricProvider
|
|||||||
// Map metaData values from LRC file to LyricMetadata properties
|
// Map metaData values from LRC file to LyricMetadata properties
|
||||||
LyricMetadata lyricMetadata = MapMetadataValues(fileMetaData);
|
LyricMetadata lyricMetadata = MapMetadataValues(fileMetaData);
|
||||||
|
|
||||||
return new LyricResponse { Metadata = lyricMetadata, Lyrics = lyricList };
|
return new LyricResponse
|
||||||
|
{
|
||||||
|
Metadata = lyricMetadata,
|
||||||
|
Lyrics = lyricList
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
return new LyricResponse { Lyrics = lyricList };
|
return new LyricResponse
|
||||||
|
{
|
||||||
|
Lyrics = lyricList
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -53,6 +53,9 @@ public class TxtLyricProvider : ILyricProvider
|
|||||||
lyricList[lyricLineIndex] = new LyricLine(lyricTextLines[lyricLineIndex]);
|
lyricList[lyricLineIndex] = new LyricLine(lyricTextLines[lyricLineIndex]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new LyricResponse { Lyrics = lyricList };
|
return new LyricResponse
|
||||||
|
{
|
||||||
|
Lyrics = lyricList
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user