Commit Graph

8 Commits

Author SHA1 Message Date
Scott Shambarger
37b1678103 [scripts] Minor updates to pairinghelper.sh option parsing 2017-01-21 15:36:42 -05:00
Scott Shambarger
2cf2eb32aa [scripts] Updated pairinghelper.sh to handle repeated attempts at pairing
Added Usage help, allow a custom config-file, provide better feedback
with unable to read logs or write to media directory.  Fixed log parsing
to only look for pairing success or failure after most recent remote
discovery to allow repeated pairing attempts (possibly with different
remotes).  Better timeout handling, especially as FreeBSD has a delay
in processing the pairing file.
2017-01-21 13:10:59 -05:00
Janus
e7c9cad9a6 Fix paringhelper.sh to operate correctly for device names with apostrophe
Before the fix, a log entry for ‘Foo’s iPhone’ would be parsed as
originating from the device “Foo”. I have changed the matching to
include the parenthesis opening after the closing single quote.
2015-11-14 21:50:09 +01:00
ejurgensen
044d25dbf1 Use printf instead of "echo -e" in pairinghelper.sh
- should work across platforms
2015-02-27 23:01:15 +01:00
protree
5cea89a8d4 Fix Wrong Remote Name
Name of remote in pair.remote was "-e $remote"

Log: [2015-02-26 21:00:16] [  LOG]   remote: Remote '-e remoteXX' not known from mDNS, ignoring

Removing "-e" option works as expected.
2015-02-26 21:03:21 +01:00
protree
30b4d24afc Allow spaces in Library Path
Changed Parsing of Library Path to allow spaces in Library Path
2015-02-26 20:52:49 +01:00
ejurgensen
3d4405a87b Pairing helper improvements 2015-02-14 23:10:58 +01:00
ejurgensen
d449d44cf8 Add a basic helper script for pairing 2015-02-12 22:58:54 +01:00