Announcement

Collapse
No announcement yet.

Custom Clock with PiCorePlayer + jivelite

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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
    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

    Comment


      #3
      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.

      Comment


        #4
        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

        Comment


          #5
          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?

          Comment


            #6
            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

            Comment


              #7
              there is something wrong with backup.
              I change owner to tc for .jivelite

              [email protected]:~$ sudo chown -R tc ./.jivelite/
              [email protected]:~$ 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

              [email protected]:~$ 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, 10:34.

              Comment


                #8
                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

                Comment


                  #9
                  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)

                  Comment


                    #10
                    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

                    Comment


                      #11
                      Bringing this thread to life after a long time.
                      Turns out initial problems were caused by faulty SD card
                      Now Custom Clock is installed and available but when I Goto Settings/Screen/Screensavers/Custom Clock Settings/Config #x in my player, no styles are available to choose from

                      Any ideas?

                      Comment


                        #12
                        OK, almost by chance but got it. In Custom Clock Helper I had to choose a style and modify it checking off the "jivelite800x480" model.
                        Now I could chose that style in the player.

                        Comment


                          #13
                          Can’t get the custom clock to show up under screensavers

                          Migrating from an SB2 w/ SDT v5.11.24

                          piCorePlayer v8.2.0
                          Squeezelite v1.9.9-1403-pCP
                          LMS 7.94 running on Mac 10.15.7

                          In piCorePlayer
                          Applet installer it shows License Manager and then Custom Clock (reinstall). No matter what I do it keeps showing reinstall (v 1.01.004)
                          Superdatetime shows up under extras

                          On the LMS side
                          SDT v 5.11.24 is installed
                          CustomClockHelper is installed (v2.11.94)
                          License Manager v1.1.40 is installed and under settings everything is Licensed except Spicefly SugarCube

                          Issue is on the PCP I can’t get the custom clock to show up under screensavers.

                          Earlier post stated "You need to install the applet manually to your pCP device. Look at the /home/tc/.jivelite folder."

                          I can ssh into the device or use cyberduck from my Mac. Need a little help on how to obtain and then tx the files to the SD Card on the pi. Under /home/tc I do not see a .jivelite folder.

                          TY
                          Last edited by gages; 2022-10-02, 03:18.

                          Comment


                            #14
                            This thread has a lot of info. https://forums.slimdevices.com/showt...t=Custom+clock
                            Last edited by paul-; 2022-10-09, 05:09.
                            piCorePlayer a small player for the Raspberry Pi in RAM.
                            Homepage: https://www.picoreplayer.org

                            Please donate if you like the piCorePlayer

                            Comment


                              #15
                              OK, was able to access the .jivelite folder and copy over the files to userpath/applets/CustomClock

                              Now v1.01.004 shows as installed. So making progress.

                              I export the SDT Weather Fahrenheit - jivelite800x480,touch

                              Now what do I do?

                              Comment

                              Working...
                              X