From d47c2054521c0a5d44fe478f8733a80a9a491445 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sat, 16 Jan 2010 11:29:16 +0100 Subject: [PATCH] Feed .remote files to the Remote pairing agent --- src/filescanner.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/filescanner.c b/src/filescanner.c index e07ea1cb..3cc71645 100644 --- a/src/filescanner.c +++ b/src/filescanner.c @@ -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; } }