mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-26 22:23:17 -05:00
Save playlist item's URL in the database's URL-column
This commit is contained in:
parent
b6df68b75b
commit
abb0908c6f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user