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
65e56ff8
Commit
65e56ff8
authored
Nov 06, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist/{m3u,pls}: removed URI checks
The caller is responsible for verifying the song URI.
parent
a4970c66
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
m3u_playlist_plugin.c
src/playlist/m3u_playlist_plugin.c
+1
-1
pls_playlist_plugin.c
src/playlist/pls_playlist_plugin.c
+0
-6
No files found.
src/playlist/m3u_playlist_plugin.c
View file @
65e56ff8
...
...
@@ -64,7 +64,7 @@ m3u_read(struct playlist_provider *_playlist)
while
(
*
line
!=
0
&&
g_ascii_isspace
(
*
line
))
++
line
;
}
while
(
line
[
0
]
==
'#'
||
!
uri_has_scheme
(
line
)
);
}
while
(
line
[
0
]
==
'#'
||
*
line
==
0
);
return
song_remote_new
(
line
);
}
...
...
src/playlist/pls_playlist_plugin.c
View file @
65e56ff8
...
...
@@ -66,12 +66,6 @@ static void pls_parser(GKeyFile *keyfile, struct pls_playlist *playlist)
}
g_free
(
key
);
/* Don't load local path */
if
(
!
uri_has_scheme
(
value
)){
g_free
(
value
);
continue
;
}
song
=
song_remote_new
(
value
);
g_free
(
value
);
...
...
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