Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
95b62a84
Commit
95b62a84
authored
Apr 21, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'add-original-year-tag' of
git://github.com/tremby/MPD
parents
c788c76d
ccb4f44c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
0 deletions
+14
-0
NEWS
NEWS
+2
-0
ProxyDatabasePlugin.cxx
src/db/plugins/ProxyDatabasePlugin.cxx
+3
-0
HaikuOutputPlugin.cxx
src/output/plugins/HaikuOutputPlugin.cxx
+1
-0
Id3Scan.cxx
src/tag/Id3Scan.cxx
+6
-0
Names.c
src/tag/Names.c
+1
-0
Type.h
src/tag/Type.h
+1
-0
No files found.
NEWS
View file @
95b62a84
...
...
@@ -2,6 +2,8 @@ ver 0.21 (not yet released)
* protocol
- "tagtypes" can be used to hide tags
- "find" and "search" can sort
* tags
- new tag "OriginalDate"
* output
- alsa: non-blocking mode
...
...
src/db/plugins/ProxyDatabasePlugin.cxx
View file @
95b62a84
...
...
@@ -158,6 +158,9 @@ static constexpr struct {
{
TAG_NAME
,
MPD_TAG_NAME
},
{
TAG_GENRE
,
MPD_TAG_GENRE
},
{
TAG_DATE
,
MPD_TAG_DATE
},
#if LIBMPDCLIENT_CHECK_VERSION(2,12,0)
{
TAG_ORIGINAL_DATE
,
MPD_TAG_ORIGINAL_DATE
},
#endif
{
TAG_COMPOSER
,
MPD_TAG_COMPOSER
},
{
TAG_PERFORMER
,
MPD_TAG_PERFORMER
},
{
TAG_COMMENT
,
MPD_TAG_COMMENT
},
...
...
src/output/plugins/HaikuOutputPlugin.cxx
View file @
95b62a84
...
...
@@ -395,6 +395,7 @@ HaikuOutput::SendTag(const Tag &tag)
break
;
case
TAG_GENRE
:
case
TAG_DATE
:
case
TAG_ORIGINAL_DATE
:
case
TAG_PERFORMER
:
case
TAG_COMMENT
:
case
TAG_DISC
:
...
...
src/tag/Id3Scan.cxx
View file @
95b62a84
...
...
@@ -55,6 +55,10 @@
#define ID3_FRAME_ALBUM_ARTIST "TPE2"
#endif
#ifndef ID3_FRAME_ORIGINAL_RELEASE_DATE
#define ID3_FRAME_ORIGINAL_RELEASE_DATE "TDOR"
#endif
gcc_pure
static
id3_utf8_t
*
tag_id3_getstring
(
const
struct
id3_frame
*
frame
,
unsigned
i
)
...
...
@@ -317,6 +321,8 @@ scan_id3_tag(struct id3_tag *tag,
handler
,
handler_ctx
);
tag_id3_import_text
(
tag
,
ID3_FRAME_YEAR
,
TAG_DATE
,
handler
,
handler_ctx
);
tag_id3_import_text
(
tag
,
ID3_FRAME_ORIGINAL_RELEASE_DATE
,
TAG_ORIGINAL_DATE
,
handler
,
handler_ctx
);
tag_id3_import_text
(
tag
,
ID3_FRAME_GENRE
,
TAG_GENRE
,
handler
,
handler_ctx
);
tag_id3_import_text
(
tag
,
ID3_FRAME_COMPOSER
,
TAG_COMPOSER
,
...
...
src/tag/Names.c
View file @
95b62a84
...
...
@@ -32,6 +32,7 @@ const char *const tag_item_names[TAG_NUM_OF_ITEM_TYPES] = {
[
TAG_NAME
]
=
"Name"
,
[
TAG_GENRE
]
=
"Genre"
,
[
TAG_DATE
]
=
"Date"
,
[
TAG_ORIGINAL_DATE
]
=
"OriginalDate"
,
[
TAG_COMPOSER
]
=
"Composer"
,
[
TAG_PERFORMER
]
=
"Performer"
,
[
TAG_COMMENT
]
=
"Comment"
,
...
...
src/tag/Type.h
View file @
95b62a84
...
...
@@ -46,6 +46,7 @@ enum TagType
TAG_NAME
,
TAG_GENRE
,
TAG_DATE
,
TAG_ORIGINAL_DATE
,
TAG_COMPOSER
,
TAG_PERFORMER
,
TAG_COMMENT
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment