[rss] Change feed virtual_path

Instead of /file:/https:/domain.podcast set it to /https://domain.podcast.com/xxxx
This commit is contained in:
ejurgensen 2020-04-25 21:51:00 +02:00
parent d300ed2a40
commit 946853fdf4

View File

@ -429,6 +429,9 @@ rss_save(struct playlist_info *pli, int *count, enum rss_scan_type scan_type)
free(pli->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
// newest podcasts are added first (the stream is most recent first)
// having time_added date which is older on the most recent episodes