mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
[pairing] Rename 'remote_pairing_read_pin' to
'remote_pairing_kickoff_byfile'
This commit is contained in:
parent
b86c0b0520
commit
8ed1c9c0ec
@ -523,7 +523,7 @@ process_file(char *file, struct stat *sb, int type, int flags, int dir_id)
|
|||||||
if (flags & F_SCAN_BULK)
|
if (flags & F_SCAN_BULK)
|
||||||
DPRINTF(E_LOG, L_SCAN, "Bulk scan will ignore '%s' (to process, add it after startup)\n", file);
|
DPRINTF(E_LOG, L_SCAN, "Bulk scan will ignore '%s' (to process, add it after startup)\n", file);
|
||||||
else
|
else
|
||||||
remote_pairing_read_pin(file);
|
remote_pairing_kickoff_byfile(file);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FILE_CTRL_LASTFM:
|
case FILE_CTRL_LASTFM:
|
||||||
|
@ -781,7 +781,7 @@ touch_remote_cb(const char *name, const char *type, const char *domain, const ch
|
|||||||
|
|
||||||
/* Thread: filescanner */
|
/* Thread: filescanner */
|
||||||
void
|
void
|
||||||
remote_pairing_read_pin(char *path)
|
remote_pairing_kickoff_byfile(char *path)
|
||||||
{
|
{
|
||||||
char buf[256];
|
char buf[256];
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#define __REMOTE_PAIRING_H__
|
#define __REMOTE_PAIRING_H__
|
||||||
|
|
||||||
void
|
void
|
||||||
remote_pairing_read_pin(char *path);
|
remote_pairing_kickoff_byfile(char *path);
|
||||||
|
|
||||||
int
|
int
|
||||||
remote_pairing_init(void);
|
remote_pairing_init(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user