mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 06:35:57 -05:00
[rss] Change feed virtual_path
Instead of /file:/https:/domain.podcast set it to /https://domain.podcast.com/xxxx
This commit is contained in:
parent
d300ed2a40
commit
946853fdf4
@ -429,6 +429,9 @@ rss_save(struct playlist_info *pli, int *count, enum rss_scan_type scan_type)
|
|||||||
free(pli->title);
|
free(pli->title);
|
||||||
pli->title = safe_strdup(feed_title);
|
pli->title = safe_strdup(feed_title);
|
||||||
|
|
||||||
|
free(pli->virtual_path);
|
||||||
|
pli->virtual_path = safe_asprintf("/%s", pli->path);
|
||||||
|
|
||||||
// Fake the time - useful when we are adding a new stream - since the
|
// Fake the time - useful when we are adding a new stream - since the
|
||||||
// newest podcasts are added first (the stream is most recent first)
|
// newest podcasts are added first (the stream is most recent first)
|
||||||
// having time_added date which is older on the most recent episodes
|
// having time_added date which is older on the most recent episodes
|
||||||
|
Loading…
Reference in New Issue
Block a user