mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 08:33:23 -05:00
Feed .remote files to the Remote pairing agent
This commit is contained in:
parent
3c7456f545
commit
d47c205452
@ -51,6 +51,7 @@
|
|||||||
#include "filescanner.h"
|
#include "filescanner.h"
|
||||||
#include "conffile.h"
|
#include "conffile.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
#include "remote_pairing.h"
|
||||||
|
|
||||||
|
|
||||||
#define F_SCAN_BULK (1 << 0)
|
#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
|
else
|
||||||
process_playlist(file);
|
process_playlist(file);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else if (strcmp(ext, ".remote") == 0)
|
||||||
|
{
|
||||||
|
remote_pairing_read_pin(file);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user