Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Sep 2008
    Location
    Barcelona
    Posts
    76

    Custom Clock with PiCorePlayer + jivelite

    Hi,
    I'm running PicorePlayer 8.0.0 with Jivelite using the official 7" touch screen and trying to use SuperDateTime savescreen.
    I found I needed to install first custom clock applet and Custom Clock helper. problem is, after installing Custom Clock applet and rebooting device there is no custom clock under Extras nor available as screen saver.
    Any idea how to troubleshoot this? I checked logs but could see nothing. Maybe need to increase level of detail for LMS logs?
    PicorePlayer 8.0.0
    Squeezelite v1.9.9-1386-pCP

    Thanks in advance!
    MartÝ

  2. #2
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,782
    You need to install the applet manually to your pCP device. Look at the /home/tc/.jivelite folder.

    Then be sure to backup when done. I can get more detail later if needed.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  3. #3
    Member
    Join Date
    Sep 2008
    Location
    Barcelona
    Posts
    76
    Quote Originally Posted by paul- View Post
    You need to install the applet manually to your pCP device. Look at the /home/tc/.jivelite folder.

    Then be sure to backup when done. I can get more detail later if needed.
    Thank you, Paul. Working on it but facing issues because only root has write permissions on that folder and cannot use scp from my Mac. Still thinking of a workaround.

  4. #4
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,782
    You can either setup winSCP to use root permissions, or login via command prompt, and change the permissions of the folder

    sudo chmod -R /home/tc/.jivelite

    Then upload with winscp.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  5. #5
    Member
    Join Date
    Sep 2008
    Location
    Barcelona
    Posts
    76
    Hi Paul,
    managed to copy CustomClock files to the USB drive containing my music and from there I could just use "sudo cp"
    Problem is, I create folder ~/.jivelite/userpath/applets/CustomClock, then copy the files, perform a backup, reboot pCP and then.... the folder is gone

    Any idea?

  6. #6
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,782
    My guess is that the files were not readable by the backup process. Files in your home directory should be owned by user tc. Itĺs best to change the ownership. Of the .jivelite folder to user tc.

    Your folder structure should look similar to.

    Code:
    home/tc/.profile
    home/tc/.jivelite/
    home/tc/.jivelite/userpath/
    home/tc/.jivelite/userpath/settings/
    home/tc/.jivelite/userpath/settings/ChooseMusicSource.lua
    home/tc/.jivelite/userpath/settings/piCorePlayer.lua
    home/tc/.jivelite/userpath/settings/DesktopJive.lua
    home/tc/.jivelite/userpath/settings/SetupWelcome.lua
    home/tc/.jivelite/userpath/settings/CustomizeHomeMenu.lua
    home/tc/.jivelite/userpath/settings/SetupWallpaper.lua
    home/tc/.jivelite/userpath/settings/SelectSkin.lua
    home/tc/.jivelite/userpath/settings/LicenseManager.lua
    home/tc/.jivelite/userpath/settings/CustomClock.lua
    home/tc/.jivelite/userpath/settings/SetupLanguage.lua
    home/tc/.jivelite/userpath/settings/ScreenSavers.lua
    home/tc/.jivelite/userpath/settings/NowPlaying.lua
    home/tc/.jivelite/userpath/settings/SetupAppletInstaller.lua
    home/tc/.jivelite/userpath/settings/SlimDiscovery.lua
    home/tc/.jivelite/userpath/applets/
    home/tc/.jivelite/userpath/applets/CustomClock/
    home/tc/.jivelite/userpath/applets/CustomClock/CustomVUMeter.lua
    home/tc/.jivelite/userpath/applets/CustomClock/CustomSpectrumMeter.lua
    home/tc/.jivelite/userpath/applets/CustomClock/CustomClockMeta.lua
    home/tc/.jivelite/userpath/applets/CustomClock/CustomClockApplet.lua
    home/tc/.jivelite/userpath/applets/CustomClock/strings.txt
    home/tc/.jivelite/userpath/wallpapers/
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  7. #7
    Member
    Join Date
    Sep 2008
    Location
    Barcelona
    Posts
    76
    there is something wrong with backup.
    I change owner to tc for .jivelite

    tc@pCP:~$ sudo chown -R tc ./.jivelite/
    tc@pCP:~$ ls -al
    total 28
    drwxr-s--- 5 tc staff 240 Jan 1 1970 ./
    drwxrwxr-x 3 root staff 60 Jan 6 2017 ../
    drwxr-xr-x 2 tc staff 40 Jul 10 2021 .X.d/
    -rw-r--r-- 1 tc staff 114 Jul 10 2021 .alsaequal.presets
    -rw-rw-r-- 1 tc staff 71 Apr 20 10:21 .ash_history
    -rw-r--r-- 1 tc staff 1016 Jul 10 2021 .ashrc
    drwxr-sr-x 3 tc staff 60 Jan 1 1970 .jivelite/
    drwxr-s--- 3 tc staff 60 Jan 6 2017 .local/
    -rw-rw-r-- 1 tc staff 920 Jun 9 2019 .profile
    -rw-r--r-- 1 root staff 74 Jan 3 18:04 .slimserver.cfg
    -rwxr-xr-x 1 tc staff 2135 Jul 10 2021 pcp-powerbutton.sh
    -rwxr-xr-x 1 tc staff 713 Jul 10 2021 powerscript.sh

    Then backup pCP, reboot and owner is root again

    tc@pCP:~$ ls -al
    total 28
    drwxr-s--- 5 tc staff 240 Jan 1 1970 ./
    drwxrwxr-x 3 root staff 60 Jan 6 2017 ../
    drwxr-xr-x 2 tc staff 40 Jul 10 2021 .X.d/
    -rw-r--r-- 1 tc staff 114 Jul 10 2021 .alsaequal.presets
    -rw-rw-r-- 1 tc staff 7 Apr 20 10:28 .ash_history
    -rw-r--r-- 1 tc staff 1016 Jul 10 2021 .ashrc
    drwxr-sr-x 3 root staff 60 Jan 1 1970 .jivelite/
    drwxr-s--- 3 tc staff 60 Jan 6 2017 .local/
    -rw-rw-r-- 1 tc staff 920 Jun 9 2019 .profile
    -rw-r--r-- 1 root staff 74 Jan 3 18:04 .slimserver.cfg
    -rwxr-xr-x 1 tc staff 2135 Jul 10 2021 pcp-powerbutton.sh
    -rwxr-xr-x 1 tc staff 713 Jul 10 2021 powerscript.sh


    So, looks like backup is not working, isn't it?
    Last edited by waldo; 2022-04-20 at 01:34.

  8. #8
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,782
    The jivelite process might be doing that. As long as its world readable it should be fine.

    Are the files in the backup tar file?
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  9. #9
    Member
    Join Date
    Sep 2008
    Location
    Barcelona
    Posts
    76
    Quote Originally Posted by paul- View Post
    The jivelite process might be doing that. As long as its world readable it should be fine.

    Are the files in the backup tar file?
    Will check asap but allow some time (pretty busy at work)

  10. #10
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,782
    I know the feeling.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •