mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-12 15:33:23 -05:00
Merge pull request #97 from m42i/itunes_import
Fix filepath matching for iTunes library import
This commit is contained in:
commit
843e7c86a0
@ -281,10 +281,10 @@ find_track_file(char *location)
|
||||
return 0;
|
||||
}
|
||||
|
||||
plen = strlen("file://localhost/");
|
||||
plen = strlen("file://");
|
||||
|
||||
/* Not a local file ... */
|
||||
if (strncmp(location, "file://localhost/", plen) != 0)
|
||||
if (strncmp(location, "file://", plen) != 0)
|
||||
return 0;
|
||||
|
||||
/* Now search for the library item where the path has closest match to playlist item */
|
||||
|
Loading…
Reference in New Issue
Block a user