title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Asset on Pi not finding Library items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alan ROBINSON

    • Jan 2017
    • 9

    Asset on Pi not finding Library items

    I have installed Asset on my Pi. The music is on a windows network PC which I have set up according to the instructions0 Via the Browser interface I have set up the library location /home/pi/nas. The library is very large (100,000+ items). I have set in motion a rescan. I use Kinsky as my control point. The Asset Icon appears on Kinsky but after several hours there are no details to be seen.
    Is there a limitation on file size with the free 30 day version?
    I have successfully connected to Minimserver running on the same Pi to the same library via Kinsky
  • Spoon
    Administrator
    • Apr 2002
    • 44582

    #2
    Re: Asset on Pi not finding Library items

    If is likely Asset cannot browse the files on the Windows Network PC, try browsing /home/pi/nas through the SSH shell on the pi to see if you can browse files from the pi.
    Spoon
    www.dbpoweramp.com

    Comment

    • Alan ROBINSON

      • Jan 2017
      • 9

      #3
      Re: Asset on Pi not finding Library items

      Originally posted by Spoon
      If is likely Asset cannot browse the files on the Windows Network PC, try browsing /home/pi/nas through the SSH shell on the pi to see if you can browse files from the pi.
      via ssh (using ls ?) there is nothing on /home/pi/nas. I can confirm this via the gui which says /home/pi/nas is empty.

      My set up followed the instructions
      cd /home/pi
      sudo mkdir nas
      sudo chmod 777 nas

      sudo nano /etc/fstab
      //192.168.0.43/music /home/pi/nas cifs username=***********,password=**************,_netd ev,sec=ntlm 0 0

      Is this the correct way?

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 44582

        #4
        Re: Asset on Pi not finding Library items

        Looks ok, but if cannot browse then is not mounting correctly, you have rebooted the pi?
        Spoon
        www.dbpoweramp.com

        Comment

        • Alan ROBINSON

          • Jan 2017
          • 9

          #5
          Re: Asset on Pi not finding Library items

          yes, a couple of times.
          To get Minimserver to work, I needed to create a mount and then point to that.
          sudo mount -t cifs -o username=*********,password=************* //192.168.0.43/Music /mnt/minimmusic
          which then shows up when I df -h

          Comment

          • Spoon
            Administrator
            • Apr 2002
            • 44582

            #6
            Re: Asset on Pi not finding Library items

            If you already have the mount point working then you can use that instead, it just needs to be a location that can be browsed (with ls) and lists files.
            Spoon
            www.dbpoweramp.com

            Comment

            • Alan ROBINSON

              • Jan 2017
              • 9

              #7
              Re: Asset on Pi not finding Library items

              Originally posted by Spoon
              If you already have the mount point working then you can use that instead, it just needs to be a location that can be browsed (with ls) and lists files.
              I've got it working although it loses the mount configuration with a reboot

              I'll continue testing. Are you interested in knowing the configuration that worked?

              I am using Kinsky as a control point, would you recommend something other?

              Comment

              • Spoon
                Administrator
                • Apr 2002
                • 44582

                #8
                Re: Asset on Pi not finding Library items

                Kinsky is ok.

                Yes post the configuration please.
                Spoon
                www.dbpoweramp.com

                Comment

                • Alan ROBINSON

                  • Jan 2017
                  • 9

                  #9
                  Re: Asset on Pi not finding Library items

                  I was about to start writing up the configuration when I noticed that my Asset UPnP library on Kinsky was empty. There had been no reboots to my Pi or to my Windows server overnight. I requested a rescan but that brought nothing
                  I looked at the configuration page on the browser and found that the Watched Media Folders section was empty. I re-typed my folder and it is now re-creating my library. This takes quite a few hours as there are lots of titles
                  How can this happen and how can I stop it happening again?

                  Comment

                  • Spoon
                    Administrator
                    • Apr 2002
                    • 44582

                    #10
                    Re: Asset on Pi not finding Library items

                    It can happen if the pi restarted and the configuration folder set on the pi is not a permanent storage (which is wiped after a reboot).

                    Why not run Asset on the Windows machine?
                    Spoon
                    www.dbpoweramp.com

                    Comment

                    • Alan ROBINSON

                      • Jan 2017
                      • 9

                      #11
                      Re: Asset on Pi not finding Library items

                      Originally posted by Spoon
                      It can happen if the pi restarted and the configuration folder set on the pi is not a permanent storage (which is wiped after a reboot).

                      Why not run Asset on the Windows machine?
                      The Pi hadn't re-started so I don't really understand. Where do I check the configuration on the Pi? Instructions say ~/.dBpoweramp but I'm not sufficiently into Linux to work out how to use this information.

                      The reason for doing this was to make a cheap headless music mediaserver, hence the Pi

                      Comment

                      • Spoon
                        Administrator
                        • Apr 2002
                        • 44582

                        #12
                        Re: Asset on Pi not finding Library items

                        You would SSH connect then:

                        cd ~/.dBpoweramp

                        You might not be able to browse to this location using a GUI as .folders on Linux are hidden.
                        Spoon
                        www.dbpoweramp.com

                        Comment

                        • Alan ROBINSON

                          • Jan 2017
                          • 9

                          #13
                          Re: Asset on Pi not finding Library items

                          Originally posted by Spoon
                          You would SSH connect then:

                          cd ~/.dBpoweramp

                          You might not be able to browse to this location using a GUI as .folders on Linux are hidden.
                          ls gives me Asset-ID uMediaLibrary-v3 Unreg. And the rescan is no longer finding any files. I'll check through all my configuration files to try and find out why

                          Comment

                          • Alan ROBINSON

                            • Jan 2017
                            • 9

                            #14
                            Re: Asset on Pi not finding Library items

                            I have continued to try to resolve the problem but not found a solution
                            I have created my mount on the Pi to point to my Windows network music directory and when I type /mnt/******* into Watched Media Folders it then successfully loads the 100,000+ items into my Asset library that I can access through Kinsky - it does take several hours to do so.
                            However, if I merely close down the Browser configuration window by exiting my Firefox, the whole lot disapears (I am not closing down the Pi nor Kinsky nor the PC running Pi just the browser)
                            Reopening the browser configuration window shows that the Watched Media is now blank and that there are zero items in the library. Kinsky also finds zero items
                            I then need to re-type the Watched Media folder, click on rescan and wait another 3 hours

                            Comment

                            • Alan ROBINSON

                              • Jan 2017
                              • 9

                              #15
                              Re: Asset on Pi not finding Library items

                              Originally posted by Alan ROBINSON
                              I have continued to try to resolve the problem but not found a solution
                              I have created my mount on the Pi to point to my Windows network music directory and when I type /mnt/******* into Watched Media Folders it then successfully loads the 100,000+ items into my Asset library that I can access through Kinsky - it does take several hours to do so.
                              However, if I merely close down the Browser configuration window by exiting my Firefox, the whole lot disapears (I am not closing down the Pi nor Kinsky nor the PC running Pi just the browser)
                              Reopening the browser configuration window shows that the Watched Media is now blank and that there are zero items in the library. Kinsky also finds zero items
                              I then need to re-type the Watched Media folder, click on rescan and wait another 3 hours
                              Is there not an answer to this? I monitor Asset on my Pi from my PC browser. If I switch off the browser page then the configuration of Content directory is wiped out thus closing down access to my music files via my Kinsky Control Point running on my PC

                              If I run sudo nano ~/.dBpoweramp/uMediaLibrary-v3/MediaFoldersWatch.txt on my Pi it tells me /mnt

                              If I then close down the browser on my PC and again look sudo nano ~/.dBpoweramp/uMediaLibrary-v3/MediaFoldersWatch.txt the file is empty and my monitor tells me that there are no files in my library so I start again. I cannot understand how closing down the browser page on my PC can modify a txt file on my Pi or does the txt file need permanent confirmation?
                              Last edited by Alan ROBINSON; January 23, 2017, 10:57 AM.

                              Comment

                              Working...

                              ]]>