Save playlist item's URL in the database's URL-column

This commit is contained in:
ejurgensen 2013-08-19 21:30:08 +02:00
parent b6df68b75b
commit abb0908c6f

View File

@ -384,9 +384,12 @@ process_media_file(char *file, time_t mtime, off_t size, int compilation, int ur
{
ret = scan_metadata_ffmpeg(file, &mfi);
if (url == 0)
mfi.data_kind = 0; /* real file */
mfi.data_kind = 0; /* real file */
if (url == 1)
mfi.data_kind = 1; /* url/stream */
{
mfi.data_kind = 1; /* url/stream */
mfi.url = file;
}
}
if (ret < 0)