Do you know for sure that Jivelite is running?
Announcement
Collapse
No announcement yet.
USB Remote Control
Collapse
X
-
Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
-
Sorry for my delay.....I am close to be dad
I do not have any screen connected to rpi, I am using the browser.
I am not sure. What I have done so far is just to install Jivelite from Tweaks. I have done nothing else so far.
Do you want me to run some test? Until yesterday I was running pCP 7.0, now I have updated to 8.1.
Comment
-
when you install jivelite it needs you to select some settings first time you use it. until then jivaite won't respond to keyboard or remote commands.
connect a screen, do the initial setup then try itPiCorePlayer 8.2 on Allo Digi One Signature (Lounge)
PiCorePlayer 8.2 with Hifiberry Digi+ Material running on PI for control (Office)
PiCorePlayer 8.2 with pi official touchscreen and Hifiberry DAC+(Kitchen)
Radio (Bedroom)
PiCorePlayer 8.2 with Allo BOSS DAC (Bedroom)
PiCorePlayer 8.2 with Hifiberry AMP+. Squeezelite=x for control (Garage)
PiCorePlayer 8.2 with Hifiberry AMP+(Patio 2)
PiCorePlayer 8.2 with Hifiberry AMP+(Patio 2)
LMS 8.3 on unRaid 6.11.5 Server (Seneca HDS)
Comment
-
You could look at configuring the USB remote to control Squeezelite instead.Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
Comment
-
Originally posted by Paul Webster View PostYou could look at configuring the USB remote to control Squeezelite instead.
How can I configure the USB remote to control Squeezelite, if the keyboard is working neither? Maybe there is something to do first.
How can I configure my remote with squeezelite, unfortunately the remote control in the examples are a different model than mine.
Comment
-
It is possible to catch the USB keyboard events and launch a script which then connects to LMS.
However, it might be easier to make JiveLite think that it has already been configured.
I have done this before ... but I'll have to find the notes again.
Basically it requires stopping JiveLite (set in pCP to not automatically start on boot and then boot) then put a specially configured file in the right place ... and then reconfigure pCP to start JiveLite on boot and reboot.Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
Comment
-
Originally posted by Paul Webster View PostIt is possible to catch the USB keyboard events and launch a script which then connects to LMS.
However, it might be easier to make JiveLite think that it has already been configured.
I have done this before ... but I'll have to find the notes again.
Basically it requires stopping JiveLite (set in pCP to not automatically start on boot and then boot) then put a specially configured file in the right place ... and then reconfigure pCP to start JiveLite on boot and reboot.
Comment
-
Completely untested ...
You will need SSH connection to your pCP system (for example - using PuTTY)
Set AutoStart to No - pCP web interface/Tweaks/Automatic start of Jivelite when pCP boots
Reboot
Login via SSH to pCP
Verify that Jivelite is not running
Code:ps -ef | grep -i jivelite
/opt/jivelite/bin/jivelite
then it is running - so go back through the steps above.
Now that Jivelite is not running (do not use "kill" to stop it because it will be restarted by a script) you can try the next part
Note - in the command below it is essential that you copy each one, one at a time, and execute them via your SSH session.
Case is important (upper v lower) and the brackets are curly ... use copy/paste
Code:echo settings = {setupDone=true,} > SetupWelcome.lua sudo chown root SetupWelcome.lua sudo mv SetupWelcome.lua .jivelite/userpath/settings/ echo settings = {locale=\"EN\",} > SetupLanguage.lua sudo chown root SetupLanguage.lua sudo mv SetupLanguage.lua .jivelite/userpath/settings/
copy the output and save it to a text file
Then set jivelite to start on boot and rebootPaul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
Comment
-
Originally posted by Paul Webster View PostCompletely untested ...
You will need SSH connection to your pCP system (for example - using PuTTY)
Set AutoStart to No - pCP web interface/Tweaks/Automatic start of Jivelite when pCP boots
Reboot
Login via SSH to pCP
Verify that Jivelite is not running
Code:ps -ef | grep -i jivelite
/opt/jivelite/bin/jivelite
then it is running - so go back through the steps above.
Now that Jivelite is not running (do not use "kill" to stop it because it will be restarted by a script) you can try the next part
Note - in the command below it is essential that you copy each one, one at a time, and execute them via your SSH session.
Case is important (upper v lower) and the brackets are curly ... use copy/paste
Code:echo settings = {setupDone=true,} > SetupWelcome.lua sudo chown root SetupWelcome.lua sudo mv SetupWelcome.lua .jivelite/userpath/settings/ echo settings = {locale="EN",} > SetupLanguage.lua sudo chown root SetupLanguage.lua sudo mv SetupLanguage.lua .jivelite/userpath/settings/
copy the output and save it to a text file
Then set jivelite to start on boot and reboot
I have the errors below:
1) mv: can't rename 'SetupWelcome.lua': No such file or directory
2) mv: can't rename 'SetupLanguage.lua': No such file or directory
3) ls: .jivelite/userpath/settings/: No such file or directory
I have copied what I did below.
[email protected]:~$ ps -ef | grep -i jivelite
9119 tc 0:00 grep -i jivelite
[email protected]:~$ echo settings = {setupDone=true,} > SetupWelcome.lua
[email protected]:~$ sudo chown root SetupWelcome.lua
[email protected]:~$ sudo mv SetupWelcome.lua .jivelite/userpath/settings/
mv: can't rename 'SetupWelcome.lua': No such file or directory
[email protected]:~$ sudo chown root SetupWelcome.lua
[email protected]:~$ sudo mv SetupWelcome.lua .jivelite/userpath/settings/
mv: can't rename 'SetupWelcome.lua': No such file or directory
[email protected]:~$ echo settings = {locale="EN",} > SetupLanguage.lua
[email protected]:~$ sudo chown root SetupLanguage.lua
[email protected]:~$ sudo mv SetupLanguage.lua .jivelite/userpath/settings/
mv: can't rename 'SetupLanguage.lua': No such file or directory
[email protected]:~$ ls -lrt .jivelite/userpath/settings/
ls: .jivelite/userpath/settings/: No such file or directory
before the first step of your guide i had:
[email protected]:~$ ps -ef | grep -i jivelite
8825 root 0:00 {jivelite.sh} /bin/sh /opt/jivelite/bin/jivelite.sh
9845 tc 0:00 grep -i jivelite
Any idea? Thanks again
Comment
-
Ah ... Iguess that the .jivelite/userpath/settings folder does not exist ... perhaps because JiveLite has not exited cleanly.
Try
mkdir .jivelite
mkdir .jivelite/userpath
mkdir .jivelite/userpath/settings
Then repeat the mv commandsPaul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
Comment
-
Excellent, another step forward
Below the result:
[email protected]:~$ ls -lrt .jivelite/userpath/settings/
total 8
-rw-r--r-- 1 root staff 29 Mar 16 23:25 SetupWelcome.lua
-rw-r--r-- 1 root staff 24 Mar 16 23:26 SetupLanguage.lua
I have turned on jivelite and rebooted pcp.
I have pasted the output to a txt file.
After the reboot I have tried the remote control but nothing is happening yet.
Comment
-
Tricky to diagnose without access to the display that JiveLite should be presenting.
I saw that you list of the directory showed 8 items but you only put 2 of them here.
Please post the full list (along with their date/time).Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
Comment
-
Originally posted by Yatsushiro View PostNow I'm confused.
If you don't have a screen attached, then why have you installed Jivelite?Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
Comment
Comment