mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
Reindent md_map_id3, no code changes
This commit is contained in:
parent
aa3829854b
commit
91a5250143
@ -165,38 +165,38 @@ parse_id3v2_disc(struct media_file_info *mfi, char *disc_string)
|
|||||||
*/
|
*/
|
||||||
static const struct metadata_map md_map_id3[] =
|
static const struct metadata_map md_map_id3[] =
|
||||||
{
|
{
|
||||||
{ "TT2", 0, mfi_offsetof(title), NULL }, /* ID3v2.2 */
|
{ "TT2", 0, mfi_offsetof(title), NULL }, /* ID3v2.2 */
|
||||||
{ "TIT2", 0, mfi_offsetof(title), NULL }, /* ID3v2.3 */
|
{ "TIT2", 0, mfi_offsetof(title), NULL }, /* ID3v2.3 */
|
||||||
{ "TP1", 0, mfi_offsetof(artist), NULL }, /* ID3v2.2 */
|
{ "TP1", 0, mfi_offsetof(artist), NULL }, /* ID3v2.2 */
|
||||||
{ "TPE1", 0, mfi_offsetof(artist), NULL }, /* ID3v2.3 */
|
{ "TPE1", 0, mfi_offsetof(artist), NULL }, /* ID3v2.3 */
|
||||||
{ "TP2", 0, mfi_offsetof(album_artist), NULL }, /* ID3v2.2 */
|
{ "TP2", 0, mfi_offsetof(album_artist), NULL }, /* ID3v2.2 */
|
||||||
{ "TPE2", 0, mfi_offsetof(album_artist), NULL }, /* ID3v2.3 */
|
{ "TPE2", 0, mfi_offsetof(album_artist), NULL }, /* ID3v2.3 */
|
||||||
{ "TAL", 0, mfi_offsetof(album), NULL }, /* ID3v2.2 */
|
{ "TAL", 0, mfi_offsetof(album), NULL }, /* ID3v2.2 */
|
||||||
{ "TALB", 0, mfi_offsetof(album), NULL }, /* ID3v2.3 */
|
{ "TALB", 0, mfi_offsetof(album), NULL }, /* ID3v2.3 */
|
||||||
{ "TCO", 0, mfi_offsetof(genre), NULL }, /* ID3v2.2 */
|
{ "TCO", 0, mfi_offsetof(genre), NULL }, /* ID3v2.2 */
|
||||||
{ "TCON", 0, mfi_offsetof(genre), NULL }, /* ID3v2.3 */
|
{ "TCON", 0, mfi_offsetof(genre), NULL }, /* ID3v2.3 */
|
||||||
{ "TCM", 0, mfi_offsetof(composer), NULL }, /* ID3v2.2 */
|
{ "TCM", 0, mfi_offsetof(composer), NULL }, /* ID3v2.2 */
|
||||||
{ "TCOM", 0, mfi_offsetof(composer), NULL }, /* ID3v2.3 */
|
{ "TCOM", 0, mfi_offsetof(composer), NULL }, /* ID3v2.3 */
|
||||||
{ "TRK", 1, mfi_offsetof(track), parse_id3v2_track }, /* ID3v2.2 */
|
{ "TRK", 1, mfi_offsetof(track), parse_id3v2_track }, /* ID3v2.2 */
|
||||||
{ "TRCK", 1, mfi_offsetof(track), parse_id3v2_track }, /* ID3v2.3 */
|
{ "TRCK", 1, mfi_offsetof(track), parse_id3v2_track }, /* ID3v2.3 */
|
||||||
{ "TPA", 1, mfi_offsetof(disc), parse_id3v2_disc }, /* ID3v2.2 */
|
{ "TPA", 1, mfi_offsetof(disc), parse_id3v2_disc }, /* ID3v2.2 */
|
||||||
{ "TPOS", 1, mfi_offsetof(disc), parse_id3v2_disc }, /* ID3v2.3 */
|
{ "TPOS", 1, mfi_offsetof(disc), parse_id3v2_disc }, /* ID3v2.3 */
|
||||||
{ "TYE", 1, mfi_offsetof(year), NULL }, /* ID3v2.2 */
|
{ "TYE", 1, mfi_offsetof(year), NULL }, /* ID3v2.2 */
|
||||||
{ "TYER", 1, mfi_offsetof(year), NULL }, /* ID3v2.3 */
|
{ "TYER", 1, mfi_offsetof(year), NULL }, /* ID3v2.3 */
|
||||||
{ "TDRC", 1, mfi_offsetof(year), NULL }, /* ID3v2.4 */
|
{ "TDRC", 1, mfi_offsetof(year), NULL }, /* ID3v2.4 */
|
||||||
{ "TSOA", 0, mfi_offsetof(album_sort), NULL }, /* ID3v2.4 */
|
{ "TSOA", 0, mfi_offsetof(album_sort), NULL }, /* ID3v2.4 */
|
||||||
{ "XSOA", 0, mfi_offsetof(album_sort), NULL }, /* ID3v2.3 */
|
{ "XSOA", 0, mfi_offsetof(album_sort), NULL }, /* ID3v2.3 */
|
||||||
{ "TSOP", 0, mfi_offsetof(artist_sort), NULL }, /* ID3v2.4 */
|
{ "TSOP", 0, mfi_offsetof(artist_sort), NULL }, /* ID3v2.4 */
|
||||||
{ "XSOP", 0, mfi_offsetof(artist_sort), NULL }, /* ID3v2.3 */
|
{ "XSOP", 0, mfi_offsetof(artist_sort), NULL }, /* ID3v2.3 */
|
||||||
{ "TSOT", 0, mfi_offsetof(title_sort), NULL }, /* ID3v2.4 */
|
{ "TSOT", 0, mfi_offsetof(title_sort), NULL }, /* ID3v2.4 */
|
||||||
{ "XSOT", 0, mfi_offsetof(title_sort), NULL }, /* ID3v2.3 */
|
{ "XSOT", 0, mfi_offsetof(title_sort), NULL }, /* ID3v2.3 */
|
||||||
{ "TS2", 0, mfi_offsetof(album_artist_sort), NULL }, /* ID3v2.2 */
|
{ "TS2", 0, mfi_offsetof(album_artist_sort), NULL }, /* ID3v2.2 */
|
||||||
{ "TSO2", 0, mfi_offsetof(album_artist_sort), NULL }, /* ID3v2.3 */
|
{ "TSO2", 0, mfi_offsetof(album_artist_sort), NULL }, /* ID3v2.3 */
|
||||||
{ "ALBUMARTISTSORT", 0, mfi_offsetof(album_artist_sort), NULL }, /* ID3v2.x */
|
{ "ALBUMARTISTSORT", 0, mfi_offsetof(album_artist_sort), NULL }, /* ID3v2.x */
|
||||||
{ "TSC", 0, mfi_offsetof(composer_sort), NULL }, /* ID3v2.2 */
|
{ "TSC", 0, mfi_offsetof(composer_sort), NULL }, /* ID3v2.2 */
|
||||||
{ "TSOC", 0, mfi_offsetof(composer_sort), NULL }, /* ID3v2.3 */
|
{ "TSOC", 0, mfi_offsetof(composer_sort), NULL }, /* ID3v2.3 */
|
||||||
|
|
||||||
{ NULL, 0, 0, NULL }
|
{ NULL, 0, 0, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user