Announcement

Collapse
No announcement yet.

Newbie: no music/files on PCP3.2

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

    Newbie: no music/files on PCP3.2

    Hi all,

    Just a few days ago, I discovered pcp and would like to replace openelec on a rpi3, just to use it as a musicplayer.
    I installed as a combined LMS server and Squeezebox player and I'm using squeezer on Android to control the system.

    At first I tried to connect to a networkshare with all my music with an account that has write privileges which seemed to work, except that there is no music in the database.
    Then I tried with some files on a USB stick but with the same results.

    I see the files through putty in the mount points, as well from the networkshare as from the USB drive but the database seems to remain empty.
    Squeezelight and LMS are running.

    Here are both logs from LMS:
    Code:
    [17-06-06 14:21:05.9529] main::init (388) Starting Logitech Media Server (v7.9.0, 1488878280, Wed Mar  8 14:07:50 UTC 2017) perl 5.024000 - arm-linux-gnueabihf-thread-multi-64int
    [17-06-06 14:21:07.5665] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [17-06-06 14:21:07.6111] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [17-06-06 14:21:10.0865] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [17-06-06 14:21:11.0283] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [17-06-06 14:21:16.9266] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [17-06-06 14:21:16.9667] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [17-06-06 14:21:19.6004] main::checkDataSource (1111) Warning: Schema updated or no media found in the database, initiating scan.
    [17-06-06 14:21:33.9399] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [17-06-06 14:21:33.9764] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [17-06-06 14:24:25.7023] Slim::Utils::Misc::findAndScanDirectoryTree (1024) Error: Couldn't find a topLevelObj!
    [17-06-06 14:24:32.0987] Slim::Utils::Misc::findAndScanDirectoryTree (1024) Error: Couldn't find a topLevelObj!
    Code:
    [17-06-06 14:21:25.4369] main::main (205) Starting Logitech Media Server scanner (v7.9.0, 1488878280, Wed Mar  8 14:07:50 UTC 2017) perl 5.024000
    [17-06-06 14:21:26.7253] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [17-06-06 14:21:29.0650] Slim::Music::Import::runImporter (511) Starting Slim::Media::MediaFolderScan scan
    [17-06-06 14:21:29.0667] Slim::Music::Import::endImporter (644) Completed Slim::Media::MediaFolderScan Scan in 0 seconds.
    [17-06-06 14:21:29.5517] Slim::Music::Import::runImporter (511) Starting Slim::Plugin::FullTextSearch::Plugin scan
    [17-06-06 14:21:29.5570] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (396) Starting fulltext index build
    [17-06-06 14:21:29.5585] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (400) Initialize fulltext table
    [17-06-06 14:21:29.5707] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (406) Create fulltext index for tracks
    [17-06-06 14:21:30.1016] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (416) Create fulltext index for albums
    [17-06-06 14:21:30.1241] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (425) Create fulltext index for contributors
    [17-06-06 14:21:30.1474] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (435) Create fulltext index for playlists
    [17-06-06 14:21:30.1880] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (470) Optimize fulltext index
    [17-06-06 14:21:30.2736] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (485) Fulltext index build done!
    [17-06-06 14:21:30.2752] Slim::Music::Import::endImporter (644) Completed Slim::Plugin::FullTextSearch::Plugin Scan in 0 seconds.
    [17-06-06 14:21:30.2815] Slim::Music::Artwork::precacheAllArtwork (619) Starting precacheArtwork for 0 albums
    [17-06-06 14:21:30.2831] Slim::Music::Import::endImporter (644) Completed precacheArtwork Scan in 0 seconds.
    [17-06-06 14:21:30.3020] Slim::Music::Import::runScanPostProcessing (435) Starting Database optimization.
    [17-06-06 14:21:31.4648] Slim::Music::Import::endImporter (644) Completed dbOptimize Scan in 1 seconds.
    Am I missing something?

    Thanks in advance!
    Ernst
    pCP v8.2.0 on all players
    LMS 8.3.0 on Debian Bullseye server in a Linux Container, +27k titles on SMB share
    RPi 3B with Hifiberry AMP2 and official 7" touchscreen (Squeezelite + Jivelite), connected over LAN
    RPi 3B+ as dedicated player, connected over LAN
    2x RPi 3B as dedicated player, connected over WiFi
    LMS material app on Android for control

    #2
    Originally posted by Rnee View Post
    Hi all,

    Just a few days ago, I discovered pcp and would like to replace openelec on a rpi3, just to use it as a musicplayer.
    I installed as a combined LMS server and Squeezebox player and I'm using squeezer on Android to control the system.

    At first I tried to connect to a networkshare with all my music with an account that has write privileges which seemed to work, except that there is no music in the database.
    Then I tried with some files on a USB stick but with the same results.

    I see the files through putty in the mount points, as well from the networkshare as from the USB drive but the database seems to remain empty.
    Squeezelight and LMS are running.

    Here are both logs from LMS:
    Code:
    [17-06-06 14:21:05.9529] main::init (388) Starting Logitech Media Server (v7.9.0, 1488878280, Wed Mar  8 14:07:50 UTC 2017) perl 5.024000 - arm-linux-gnueabihf-thread-multi-64int
    [17-06-06 14:21:07.5665] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [17-06-06 14:21:07.6111] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [17-06-06 14:21:10.0865] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [17-06-06 14:21:11.0283] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [17-06-06 14:21:16.9266] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [17-06-06 14:21:16.9667] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [17-06-06 14:21:19.6004] main::checkDataSource (1111) Warning: Schema updated or no media found in the database, initiating scan.
    [17-06-06 14:21:33.9399] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [17-06-06 14:21:33.9764] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [17-06-06 14:24:25.7023] Slim::Utils::Misc::findAndScanDirectoryTree (1024) Error: Couldn't find a topLevelObj!
    [17-06-06 14:24:32.0987] Slim::Utils::Misc::findAndScanDirectoryTree (1024) Error: Couldn't find a topLevelObj!
    Code:
    [17-06-06 14:21:25.4369] main::main (205) Starting Logitech Media Server scanner (v7.9.0, 1488878280, Wed Mar  8 14:07:50 UTC 2017) perl 5.024000
    [17-06-06 14:21:26.7253] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [17-06-06 14:21:29.0650] Slim::Music::Import::runImporter (511) Starting Slim::Media::MediaFolderScan scan
    [17-06-06 14:21:29.0667] Slim::Music::Import::endImporter (644) Completed Slim::Media::MediaFolderScan Scan in 0 seconds.
    [17-06-06 14:21:29.5517] Slim::Music::Import::runImporter (511) Starting Slim::Plugin::FullTextSearch::Plugin scan
    [17-06-06 14:21:29.5570] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (396) Starting fulltext index build
    [17-06-06 14:21:29.5585] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (400) Initialize fulltext table
    [17-06-06 14:21:29.5707] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (406) Create fulltext index for tracks
    [17-06-06 14:21:30.1016] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (416) Create fulltext index for albums
    [17-06-06 14:21:30.1241] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (425) Create fulltext index for contributors
    [17-06-06 14:21:30.1474] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (435) Create fulltext index for playlists
    [17-06-06 14:21:30.1880] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (470) Optimize fulltext index
    [17-06-06 14:21:30.2736] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (485) Fulltext index build done!
    [17-06-06 14:21:30.2752] Slim::Music::Import::endImporter (644) Completed Slim::Plugin::FullTextSearch::Plugin Scan in 0 seconds.
    [17-06-06 14:21:30.2815] Slim::Music::Artwork::precacheAllArtwork (619) Starting precacheArtwork for 0 albums
    [17-06-06 14:21:30.2831] Slim::Music::Import::endImporter (644) Completed precacheArtwork Scan in 0 seconds.
    [17-06-06 14:21:30.3020] Slim::Music::Import::runScanPostProcessing (435) Starting Database optimization.
    [17-06-06 14:21:31.4648] Slim::Music::Import::endImporter (644) Completed dbOptimize Scan in 1 seconds.
    Am I missing something?

    Thanks in advance!
    Ernst
    This line is missing in your scan log:

    Code:
    [17-06-04 16:06:08.8363] main::main (205) Starting Logitech Media Server scanner (v7.9.1, 1495659078, Thu May 25 04:08:45 UTC 2017) perl 5.024000
    [17-06-04 16:06:09.7851] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [17-06-04 16:06:30.5790] Slim::Music::Import::runImporter (511) Starting Slim::Media::MediaFolderScan scan
    [COLOR=#0000cd][17-06-04 16:06:30.5805] Slim::Utils::Scanner::Local::rescan (181) Discovering audio files in /mnt/flatcap/Music/Squeezebox Music[/COLOR]
    [17-06-04 16:07:34.8337] Slim::Utils::Scanner::Local::__ANON__ (193) Start processing found tracks
    Have you assigned a music folder that LMS should scan?

    Click image for larger version

Name:	Pic03.jpg
Views:	1
Size:	113.6 KB
ID:	1562688
    Server - LMS 8.4.0 RPi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)

    Lounge - DAC32 - AudioEngine B2
    Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier D12
    Bedroom - Echo Show 8

    Spares - 1xSB Touch, 1xSB3, 4xRPi, AVI DM5 speakers

    Comment


      #3
      Hi kidstypike, thanks for you quick response!

      I cannot find anything that looks like your screenshot, below the screenshots of the section of LMS on my pcp.
      Does LMS run on another port?


      TIA
      Rnee
      Attached Files
      Last edited by Rnee; 2017-06-06, 18:03.
      pCP v8.2.0 on all players
      LMS 8.3.0 on Debian Bullseye server in a Linux Container, +27k titles on SMB share
      RPi 3B with Hifiberry AMP2 and official 7" touchscreen (Squeezelite + Jivelite), connected over LAN
      RPi 3B+ as dedicated player, connected over LAN
      2x RPi 3B as dedicated player, connected over WiFi
      LMS material app on Android for control

      Comment


        #4
        Hi kidstypike, thanks for your quick response!

        I thought that by mounting the share, that was all that had to be done.
        At first I couldn't find anything that looked like your screenshot and also nothing n port 9000 but suddenly I discovered the media server but in the meantime music is sounding through the speakers!

        Thanks again!
        R
        pCP v8.2.0 on all players
        LMS 8.3.0 on Debian Bullseye server in a Linux Container, +27k titles on SMB share
        RPi 3B with Hifiberry AMP2 and official 7" touchscreen (Squeezelite + Jivelite), connected over LAN
        RPi 3B+ as dedicated player, connected over LAN
        2x RPi 3B as dedicated player, connected over WiFi
        LMS material app on Android for control

        Comment


          #5
          Click on the Beta tab at the bottom of the piCorePlayer web gui, accept the warning. You should see a "configure LMS" button.

          Click image for larger version

Name:	Pic04.jpg
Views:	1
Size:	47.6 KB
ID:	1562690
          Server - LMS 8.4.0 RPi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)

          Lounge - DAC32 - AudioEngine B2
          Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier D12
          Bedroom - Echo Show 8

          Spares - 1xSB Touch, 1xSB3, 4xRPi, AVI DM5 speakers

          Comment


            #6
            Hi kidstypike, apparently we replied at the same time.
            All is working now, am trying to make a wifi dongle work on an additional RPI.

            Thanks a lot!
            R
            pCP v8.2.0 on all players
            LMS 8.3.0 on Debian Bullseye server in a Linux Container, +27k titles on SMB share
            RPi 3B with Hifiberry AMP2 and official 7" touchscreen (Squeezelite + Jivelite), connected over LAN
            RPi 3B+ as dedicated player, connected over LAN
            2x RPi 3B as dedicated player, connected over WiFi
            LMS material app on Android for control

            Comment

            Working...
            X