diff --git a/src/filescanner.c b/src/filescanner.c index fab7ec51..5e23647e 100644 --- a/src/filescanner.c +++ b/src/filescanner.c @@ -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)