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
6350089e
Commit
6350089e
authored
Feb 23, 2016
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag 'v0.19.13'
release v0.19.13
parents
8e5a67ed
79f2f8cd
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
4 deletions
+23
-4
NEWS
NEWS
+3
-1
configure.ac
configure.ac
+1
-0
DetachedSong.hxx
src/DetachedSong.hxx
+8
-0
Playlist.cxx
src/queue/Playlist.cxx
+1
-1
Tag.hxx
src/tag/Tag.hxx
+9
-1
Daemon.cxx
src/unix/Daemon.cxx
+1
-1
No files found.
NEWS
View file @
6350089e
...
...
@@ -48,11 +48,13 @@ ver 0.20 (not yet released)
* update
- apply .mpdignore matches to subdirectories
ver 0.19.13 (
not yet released
)
ver 0.19.13 (
2016/02/23
)
* tags
- aiff, riff: fix ID3 chunk padding
* decoder
- ffmpeg: support the TAK codec
* fix disappearing duration of remote songs during playback
* initialize supplementary groups with glibc 2.19+
ver 0.19.12 (2015/12/15)
* fix assertion failure on malformed UTF-8 tag
...
...
configure.ac
View file @
6350089e
...
...
@@ -229,6 +229,7 @@ if test x$host_is_linux = xyes; then
fi
AC_CHECK_FUNCS(getpwnam_r getpwuid_r)
AC_CHECK_FUNCS(initgroups)
AC_CHECK_FUNCS(fnmatch)
AC_CHECK_FUNCS(strndup)
...
...
src/DetachedSong.hxx
View file @
6350089e
...
...
@@ -188,6 +188,14 @@ public:
tag
=
std
::
move
(
other
.
tag
);
}
/**
* Similar to the MoveTagFrom(), but move only the #TagItem
* array.
*/
void
MoveTagItemsFrom
(
DetachedSong
&&
other
)
{
tag
.
MoveItemsFrom
(
std
::
move
(
other
.
tag
));
}
time_t
GetLastModified
()
const
{
return
mtime
;
}
...
...
src/queue/Playlist.cxx
View file @
6350089e
...
...
@@ -37,7 +37,7 @@ playlist::TagModified(DetachedSong &&song)
DetachedSong
&
current_song
=
queue
.
GetOrder
(
current
);
if
(
song
.
IsSame
(
current_song
))
current_song
.
MoveTagFrom
(
std
::
move
(
song
));
current_song
.
MoveTag
Items
From
(
std
::
move
(
song
));
queue
.
ModifyAtOrder
(
current
);
queue
.
IncrementVersion
();
...
...
src/tag/Tag.hxx
View file @
6350089e
...
...
@@ -80,9 +80,17 @@ struct Tag {
Tag
&
operator
=
(
Tag
&&
other
)
{
duration
=
other
.
duration
;
has_playlist
=
other
.
has_playlist
;
MoveItemsFrom
(
std
::
move
(
other
));
return
*
this
;
}
/**
* Similar to the move operator, but move only the #TagItem
* array.
*/
void
MoveItemsFrom
(
Tag
&&
other
)
{
std
::
swap
(
items
,
other
.
items
);
std
::
swap
(
num_items
,
other
.
num_items
);
return
*
this
;
}
/**
...
...
src/unix/Daemon.cxx
View file @
6350089e
...
...
@@ -103,7 +103,7 @@ daemonize_set_user(void)
(
int
)
user_gid
);
}
#ifdef
_BSD_SOURCE
#ifdef
HAVE_INITGROUPS
/* init supplementary groups
* (must be done before we change our uid)
*/
...
...
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