mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-01 10:13:45 -04:00
debug msgs for m3u processing. Why are not all playlists showing up?
This commit is contained in:
parent
988f0e5b77
commit
ebf850a12e
@ -26,6 +26,7 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -329,6 +330,9 @@ int scan_foreground(char *path) {
|
|||||||
if(!stat(m3u_path,&sb)) {
|
if(!stat(m3u_path,&sb)) {
|
||||||
/* FIXME: check to see if valid inode! */
|
/* FIXME: check to see if valid inode! */
|
||||||
db_add_playlist_song(playlistid,sb.st_ino);
|
db_add_playlist_song(playlistid,sb.st_ino);
|
||||||
|
} else {
|
||||||
|
DPRINTF(ERR_WARN,"Playlist entry %s bad: %s\n",
|
||||||
|
m3u_path,strerror(errno));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close(fd);
|
close(fd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user