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
a6d9998e
Commit
a6d9998e
authored
Jan 22, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db/proxy: copy "Last-Modified" from remote directories
parent
a42f9e4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
NEWS
NEWS
+1
-0
ProxyDatabasePlugin.cxx
src/db/ProxyDatabasePlugin.cxx
+2
-1
No files found.
NEWS
View file @
a6d9998e
...
...
@@ -4,6 +4,7 @@ ver 0.19 (not yet released)
- "lsinfo" and "readcomments" allowed for remote files
* database
- proxy: forward "idle" events
- proxy: copy "Last-Modified" from remote directories
- upnp: new plugin
* playlist
- soundcloud: use https instead of http
...
...
src/db/ProxyDatabasePlugin.cxx
View file @
a6d9998e
...
...
@@ -525,9 +525,10 @@ Visit(struct mpd_connection *connection,
VisitPlaylist
visit_playlist
,
Error
&
error
)
{
const
char
*
path
=
mpd_directory_get_path
(
directory
);
time_t
mtime
=
mpd_directory_get_last_modified
(
directory
);
if
(
visit_directory
&&
!
visit_directory
(
LightDirectory
(
path
,
0
),
error
))
!
visit_directory
(
LightDirectory
(
path
,
mtime
),
error
))
return
false
;
if
(
recursive
&&
...
...
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