Feed .remote files to the Remote pairing agent

This commit is contained in:
Julien BLACHE 2010-01-16 11:29:16 +01:00
parent 3c7456f545
commit d47c205452

View File

@ -51,6 +51,7 @@
#include "filescanner.h"
#include "conffile.h"
#include "misc.h"
#include "remote_pairing.h"
#define F_SCAN_BULK (1 << 0)
@ -373,6 +374,12 @@ process_file(char *file, time_t mtime, off_t size, int compilation, int flags)
else
process_playlist(file);
return;
}
else if (strcmp(ext, ".remote") == 0)
{
remote_pairing_read_pin(file);
return;
}
}