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
ae7e25ea
Commit
ae7e25ea
authored
Dec 09, 2016
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag 'v0.19.20'
release v0.19.20
parents
5013de67
fef45d46
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
5 deletions
+18
-5
NEWS
NEWS
+4
-1
LogInit.cxx
src/LogInit.cxx
+1
-1
Queue.cxx
src/queue/Queue.cxx
+4
-3
mpd.service.in
systemd/mpd.service.in
+9
-0
No files found.
NEWS
View file @
ae7e25ea
...
...
@@ -59,7 +59,9 @@ ver 0.20 (not yet released)
* switch the code base to C++14
- GCC 4.9 or clang 3.4 (or newer) recommended
ver 0.19.20 (not yet released)
ver 0.19.20 (2016/12/09)
* protocol
- "setprio" re-enqueues old song if priority has been raised
* decoder
- ffmpeg: ignore empty packets
- pcm: fix corruption bug with partial frames (after short read)
...
...
@@ -67,6 +69,7 @@ ver 0.19.20 (not yet released)
* output
- winmm: fix 8 bit playback
* fix gcc 7.0 -Wimplicit-fallthrough
* systemd: paranoid security settings
ver 0.19.19 (2016/08/23)
* decoder
...
...
src/LogInit.cxx
View file @
ae7e25ea
...
...
@@ -45,7 +45,7 @@ static constexpr Domain log_domain("log");
#ifndef ANDROID
static
int
out_fd
;
static
int
out_fd
=
-
1
;
static
AllocatedPath
out_path
=
AllocatedPath
::
Null
();
static
void
redirect_logs
(
int
fd
)
...
...
src/queue/Queue.cxx
View file @
ae7e25ea
...
...
@@ -427,14 +427,15 @@ Queue::SetPriority(unsigned position, uint8_t priority, int after_order,
if
(
_order
<
(
unsigned
)
after_order
)
{
/* the specified song has been played already
- enqueue it only if its priority has just
become bigger than the current one's */
- enqueue it only if its priority has been
increased and is now bigger than the
current one's */
const
unsigned
after_position
=
OrderToPosition
(
after_order
);
const
Item
*
after_item
=
&
items
[
after_position
];
if
(
old_priority
>
after_item
->
priority
||
if
(
priority
<=
old_
priority
||
priority
<=
after_item
->
priority
)
/* priority hasn't become bigger */
return
true
;
...
...
systemd/mpd.service.in
View file @
ae7e25ea
...
...
@@ -14,6 +14,15 @@ LimitRTTIME=infinity
# disallow writing to /usr, /bin, /sbin, ...
ProtectSystem=yes
# more paranoid security settings
NoNewPrivileges=yes
ProtectKernelTunables=yes
ProtectControlGroups=yes
ProtectKernelModules=yes
# AF_NETLINK is required by libsmbclient, or it will exit() .. *sigh*
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX AF_NETLINK
RestrictNamespaces=yes
[Install]
WantedBy=multi-user.target
Also=mpd.socket
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