librespot-java icon indicating copy to clipboard operation
librespot-java copied to clipboard

Shell command work with "ZEROCONF" but not "USER_PASS"

Open GordianDziwis opened this issue 2 years ago • 3 comments

Shell commands work with "ZEROCONF" but not "USER_PASS" on v1.6.1. Yeah weird, toke me some time to catch this critter.

GordianDziwis avatar Aug 25 '21 17:08 GordianDziwis

Can you attach a log with trace verbosity and try toggling the volume for example?

devgianlu avatar Sep 27 '21 15:09 devgianlu

I did this and nothing concerning shell commands was logged. No "Failed executing command" and no "Executed shell command" message.

GordianDziwis avatar Sep 28 '21 10:09 GordianDziwis

Hello, i'm using 1.6.2, and shell commands does not work regardless of the authentication method used.

The configuration:

[shell]
	onTrackSeeked = ""
	onStartedLoading = ""
	onConnectionDropped = "rm -rf /opt/hifi/spocon-connected"
	onMetadataAvailable = ""
	onTrackChanged = ""
	onPanicState = ""
	onFinishedLoading = ""
	# Shell events enabled
	enabled = true
	onPlaybackResumed = ""
	onConnectionEstablished = "touch /opt/hifi/spocon-connected"
	onPlaybackEnded = ""
	onContextChanged = ""
	# Execute the command with `bash -c`
	executeWithBash = true
	onPlaybackPaused = ""
	onInactiveSession = ""
	onVolumeChanged = ""

kondas avatar Dec 30 '22 19:12 kondas