mherger wrote:
> It didn't run from LMS, but would run when starting manually? What's the
> helper app path in Settings/Information?
>
> And the terminal would freak out because the spotty helper app is
> writing all audio data to stdout, to be piped to flac/lame or the player
> directly (PCM).
Hi
In case this helps. I'm getting similar results with v 0.2.0 on Ubuntu
16.04 to pinkdot on open suse. No messages in settings/advanced/spotty.
No playback but It creates the credentials file correctly and the help
page disappears, leaving the reset button.
helper directories are listed as
HELPER APPLICATIONS FOLDER
/usr/share/squeezeboxserver/Bin/x86_64-linux,
/usr/share/squeezeboxserver/Bin/i386-linux,
/usr/share/squeezeboxserver/Bin, /usr/local/sbin, /usr/local/bin, /sbin,
/bin, /usr/sbin, /usr/bin, /usr/bin, /usr/local/bin, /usr/sbin,
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/DSDPlayer/Bin/x86_64-linux,
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/DSDPlayer/Bin/i386-linux,
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/DSDPlayer/Bin,
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/x86_64-linux,
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux,
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin
and if I turn on logging at debug level, the log shows an immediate
start and stop.
Code:
--------------------
[17-05-21 10:24:06.9343] Plugins::Spotty::SettingsAuth::startHelper (85)
Starting authentication deamon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/x86_64-linux/spotty
-c "/var/lib/squeezeboxserver/cache/spotty" -n "Spotty Authorization
(UbuntuVM)" -a
[17-05-21 10:24:13.5188] Plugins::Spotty::SettingsAuth::startHelper (85)
Starting authentication deamon:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/x86_64-linux/spotty
-c "/var/lib/squeezeboxserver/cache/spotty" -n "Spotty Authorization
(UbuntuVM)" -a
[17-05-21 10:24:13.6571] Plugins::Spotty::SettingsAuth::shutdown (107)
killing helper application
--------------------
So If I run that command in a terminal,
Code:
--------------------
:~$ uname -a; ldd --version
Linux UbuntuVM 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux
ldd (Ubuntu GLIBC 2.23-0ubuntu7) 2.23
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
:~$
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/x86_64-linux/spotty
-c "/var/lib/squeezeboxserver/cache/spotty" -n "Spotty Authorization
(UbuntuVM)" -a
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error
{ repr: Os { code: 13, message: "Permission denied" } }',
/checkout/src/libcore/result.rs:859
note: Run with `RUST_BACKTRACE=1` for a backtrace.
:~$ RUST_BACKTRACE=1
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/x86_64-linux/spotty
-c "/var/lib/squeezeboxserver/cache/spotty" -n "Spotty Authorization
(UbuntuVM)" -a
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error
{ repr: Os { code: 13, message: "Permission denied" } }',
/checkout/src/libcore/result.rs:859
stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: <unknown>
14: <unknown>
15: <unknown>
16: __libc_start_main
17: <unknown>
:~$ sudo RUST_BACKTRACE=1
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/x86_64-linux/spotty
-c "/var/lib/squeezeboxserver/cache/spotty" -n "Spotty Authorization
(UbuntuVM)" -a
thread 'main' panicked at 'cannot poll Result twice',
/checkout/src/libcore/option.rs:785
stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: <unknown>
14: <unknown>
15: <unknown>
16: <unknown>
17: __libc_start_main
18: <unknown>
--------------------
FWIW Spotty runs fine in a terminal if credentials are entered directly
to the command line and outputs to console. the mobile client then
connects correctly with the spotify client thinking it's playing to
spotty.
Hope this helps and thanks for creating this.
San
------------------------------------------------------------------------
San's Profile: http://forums.slimdevices.com/member.php?userid=1422
View this thread: http://forums.slimdevices.com/showthread.php?t=107418
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins