mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-23 19:42:31 -05:00
Change ID handling to inode
This commit is contained in:
parent
a330728274
commit
ca10ac95ec
@ -300,6 +300,9 @@ int scan_foreground(char *path) {
|
||||
memset((void*)&mp3file,0,sizeof(mp3file));
|
||||
mp3file.path=mp3_path;
|
||||
mp3file.fname=de.d_name;
|
||||
|
||||
/* FIXME; assumes that st_ino is a u_int_32 */
|
||||
mp3file.id=sb.st_ino;
|
||||
|
||||
/* Do the tag lookup here */
|
||||
if(!scan_gettags(mp3file.path,&mp3file) &&
|
||||
|
@ -37,7 +37,7 @@ typedef struct tag_mp3file {
|
||||
int file_size;
|
||||
|
||||
int got_id3;
|
||||
int id;
|
||||
unsigned int id;
|
||||
} MP3FILE;
|
||||
|
||||
extern int scan_init(char *path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user