mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 00:05:03 -05:00
[library] Ignore RSS items without URL's
This commit is contained in:
parent
1a45a2acda
commit
2af7296723
@ -437,6 +437,12 @@ rss_save(struct playlist_info *pli, int *count, enum rss_scan_type scan_type)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!ri.url)
|
||||
{
|
||||
DPRINTF(E_WARN, L_LIB, "Missing URL for item '%s' (date %s) in RSS feed '%s'\n", ri.title, ri.pubdate, feed_title);
|
||||
continue;
|
||||
}
|
||||
|
||||
db_pl_add_item_bypath(pli->id, ri.url);
|
||||
(*count)++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user