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[] =
|
||||
{
|
||||
{ "TT2", 0, mfi_offsetof(title), NULL }, /* ID3v2.2 */
|
||||
{ "TIT2", 0, mfi_offsetof(title), NULL }, /* ID3v2.3 */
|
||||
{ "TP1", 0, mfi_offsetof(artist), NULL }, /* ID3v2.2 */
|
||||
{ "TPE1", 0, mfi_offsetof(artist), NULL }, /* ID3v2.3 */
|
||||
{ "TP2", 0, mfi_offsetof(album_artist), NULL }, /* ID3v2.2 */
|
||||
{ "TPE2", 0, mfi_offsetof(album_artist), NULL }, /* ID3v2.3 */
|
||||
{ "TAL", 0, mfi_offsetof(album), NULL }, /* ID3v2.2 */
|
||||
{ "TALB", 0, mfi_offsetof(album), NULL }, /* ID3v2.3 */
|
||||
{ "TCO", 0, mfi_offsetof(genre), NULL }, /* ID3v2.2 */
|
||||
{ "TCON", 0, mfi_offsetof(genre), NULL }, /* ID3v2.3 */
|
||||
{ "TCM", 0, mfi_offsetof(composer), NULL }, /* ID3v2.2 */
|
||||
{ "TCOM", 0, mfi_offsetof(composer), NULL }, /* ID3v2.3 */
|
||||
{ "TRK", 1, mfi_offsetof(track), parse_id3v2_track }, /* ID3v2.2 */
|
||||
{ "TRCK", 1, mfi_offsetof(track), parse_id3v2_track }, /* ID3v2.3 */
|
||||
{ "TPA", 1, mfi_offsetof(disc), parse_id3v2_disc }, /* ID3v2.2 */
|
||||
{ "TPOS", 1, mfi_offsetof(disc), parse_id3v2_disc }, /* ID3v2.3 */
|
||||
{ "TYE", 1, mfi_offsetof(year), NULL }, /* ID3v2.2 */
|
||||
{ "TYER", 1, mfi_offsetof(year), NULL }, /* ID3v2.3 */
|
||||
{ "TDRC", 1, mfi_offsetof(year), NULL }, /* ID3v2.4 */
|
||||
{ "TSOA", 0, mfi_offsetof(album_sort), NULL }, /* ID3v2.4 */
|
||||
{ "XSOA", 0, mfi_offsetof(album_sort), NULL }, /* ID3v2.3 */
|
||||
{ "TSOP", 0, mfi_offsetof(artist_sort), NULL }, /* ID3v2.4 */
|
||||
{ "XSOP", 0, mfi_offsetof(artist_sort), NULL }, /* ID3v2.3 */
|
||||
{ "TSOT", 0, mfi_offsetof(title_sort), NULL }, /* ID3v2.4 */
|
||||
{ "XSOT", 0, mfi_offsetof(title_sort), NULL }, /* ID3v2.3 */
|
||||
{ "TS2", 0, mfi_offsetof(album_artist_sort), NULL }, /* ID3v2.2 */
|
||||
{ "TSO2", 0, mfi_offsetof(album_artist_sort), NULL }, /* ID3v2.3 */
|
||||
{ "TT2", 0, mfi_offsetof(title), NULL }, /* ID3v2.2 */
|
||||
{ "TIT2", 0, mfi_offsetof(title), NULL }, /* ID3v2.3 */
|
||||
{ "TP1", 0, mfi_offsetof(artist), NULL }, /* ID3v2.2 */
|
||||
{ "TPE1", 0, mfi_offsetof(artist), NULL }, /* ID3v2.3 */
|
||||
{ "TP2", 0, mfi_offsetof(album_artist), NULL }, /* ID3v2.2 */
|
||||
{ "TPE2", 0, mfi_offsetof(album_artist), NULL }, /* ID3v2.3 */
|
||||
{ "TAL", 0, mfi_offsetof(album), NULL }, /* ID3v2.2 */
|
||||
{ "TALB", 0, mfi_offsetof(album), NULL }, /* ID3v2.3 */
|
||||
{ "TCO", 0, mfi_offsetof(genre), NULL }, /* ID3v2.2 */
|
||||
{ "TCON", 0, mfi_offsetof(genre), NULL }, /* ID3v2.3 */
|
||||
{ "TCM", 0, mfi_offsetof(composer), NULL }, /* ID3v2.2 */
|
||||
{ "TCOM", 0, mfi_offsetof(composer), NULL }, /* ID3v2.3 */
|
||||
{ "TRK", 1, mfi_offsetof(track), parse_id3v2_track }, /* ID3v2.2 */
|
||||
{ "TRCK", 1, mfi_offsetof(track), parse_id3v2_track }, /* ID3v2.3 */
|
||||
{ "TPA", 1, mfi_offsetof(disc), parse_id3v2_disc }, /* ID3v2.2 */
|
||||
{ "TPOS", 1, mfi_offsetof(disc), parse_id3v2_disc }, /* ID3v2.3 */
|
||||
{ "TYE", 1, mfi_offsetof(year), NULL }, /* ID3v2.2 */
|
||||
{ "TYER", 1, mfi_offsetof(year), NULL }, /* ID3v2.3 */
|
||||
{ "TDRC", 1, mfi_offsetof(year), NULL }, /* ID3v2.4 */
|
||||
{ "TSOA", 0, mfi_offsetof(album_sort), NULL }, /* ID3v2.4 */
|
||||
{ "XSOA", 0, mfi_offsetof(album_sort), NULL }, /* ID3v2.3 */
|
||||
{ "TSOP", 0, mfi_offsetof(artist_sort), NULL }, /* ID3v2.4 */
|
||||
{ "XSOP", 0, mfi_offsetof(artist_sort), NULL }, /* ID3v2.3 */
|
||||
{ "TSOT", 0, mfi_offsetof(title_sort), NULL }, /* ID3v2.4 */
|
||||
{ "XSOT", 0, mfi_offsetof(title_sort), NULL }, /* ID3v2.3 */
|
||||
{ "TS2", 0, mfi_offsetof(album_artist_sort), NULL }, /* ID3v2.2 */
|
||||
{ "TSO2", 0, mfi_offsetof(album_artist_sort), NULL }, /* ID3v2.3 */
|
||||
{ "ALBUMARTISTSORT", 0, mfi_offsetof(album_artist_sort), NULL }, /* ID3v2.x */
|
||||
{ "TSC", 0, mfi_offsetof(composer_sort), NULL }, /* ID3v2.2 */
|
||||
{ "TSOC", 0, mfi_offsetof(composer_sort), NULL }, /* ID3v2.3 */
|
||||
{ "TSC", 0, mfi_offsetof(composer_sort), NULL }, /* ID3v2.2 */
|
||||
{ "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