mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
Remove url encoding in filescanner_icy
This commit is contained in:
parent
47c61454b6
commit
fc44eeb80f
@ -72,9 +72,6 @@ struct icy_ctx
|
||||
static void
|
||||
free_icy(struct icy_ctx *ctx)
|
||||
{
|
||||
if (ctx->url)
|
||||
free(ctx->url);
|
||||
|
||||
if (ctx)
|
||||
free(ctx);
|
||||
}
|
||||
@ -170,7 +167,7 @@ scan_metadata_icy(char *url, struct media_file_info *mfi)
|
||||
}
|
||||
memset(ctx, 0, sizeof(struct icy_ctx));
|
||||
|
||||
ctx->url = evhttp_encode_uri(url);
|
||||
ctx->url = url;
|
||||
|
||||
/* TODO https */
|
||||
av_url_split(NULL, 0, NULL, 0, ctx->hostname, sizeof(ctx->hostname), &ctx->port, ctx->path, sizeof(ctx->path), ctx->url);
|
||||
|
Loading…
Reference in New Issue
Block a user