mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-05 02:38:09 -05:00
Save playlist item's URL in the database's URL-column
This commit is contained in:
parent
b6df68b75b
commit
abb0908c6f
@ -386,7 +386,10 @@ process_media_file(char *file, time_t mtime, off_t size, int compilation, int ur
|
|||||||
if (url == 0)
|
if (url == 0)
|
||||||
mfi.data_kind = 0; /* real file */
|
mfi.data_kind = 0; /* real file */
|
||||||
if (url == 1)
|
if (url == 1)
|
||||||
|
{
|
||||||
mfi.data_kind = 1; /* url/stream */
|
mfi.data_kind = 1; /* url/stream */
|
||||||
|
mfi.url = file;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user