Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 40
  1. #1
    Senior Member
    Join Date
    Oct 2008
    Location
    The Hague, Netherlands
    Posts
    139

    scanning / removing deleted files

    I am getting a lot of messages when scanning for new files, like

    [19-12-25 14:34:50.5608] Slim::Utils::Scanner::Local::deleted (703) Handling deleted cue sheet

    I have added 'cue' to the files that do not need to be scanned. But every scan takes several minutes just for 'removing deleted files'. Does someone know how can I get rid of this?

    Thanks
    Living: EtherRegen -> Ultrarendu -> Benchmark DAC2 HGC -> Benchmark AHB2 -> ATC SCM19 v2 & Sennheiser HD650
    Kitchen: SB Touch -> Audio Pro Addon T10 gen2
    Kids rooms: SB Booms
    Bedroom: SB Boom & SB Radio
    Controls: iPeng, Material Skin & LMS via internet
    Server: Windows 10 Pro with LMS 7.9.2
    Spare: 2 SB Touch, 1 SB3, 2 SB Radio

  2. #2
    Senior Member Mycenius's Avatar
    Join Date
    Jun 2012
    Location
    New Zealand
    Posts
    175
    FWIW I have often found you need to clear the library and rescan from scratch to get LMS to ‘forget’ files that have been removed - the db seems to ‘sometimes’ retain records of files that no longer exist. So you might be getting something similar where it’s ‘deleting’ the same files over and over... just my 2 cents - YMMV


    Primary Hi-Fi: VortexBox LMS with SOtM tX-USB; Cirrus ESS Sabre32 DAC (Oppo BDP-105D),Yamaha Aventage CX-A5000; Focal SM9 monitors.
Secondary Hi-Fi: Squeezebox Touch with Focal XS Book powered speakers.
Hi-Fi Peripherals: iPad & iPhones with iPeng, Plantronics Backbeat Pro 2 LE Headphones.
Home Theatre Augmentation: Oppo UDP-203 4K, Apple TV 4K, PS3 w/PlayTV; Focal SM6 monitors (centre 1 x Twin6, rears 2 x Solo6), 2 Focal SM6 Sub6 subwoofers.
Display: Sony 55" 4K KD-55X8500C (Android) LED.
Accessories: Tchernov Classic & Van den Hul interconnects; Blue Jeans & Ruleconnect Power, USB, HDMI & Digital Cables; Thor PS10 Powerstation; Aurios & Vibrapod isolators.

    Hi-Fi 1: QNAP HS-453DX NAS+QLMS/Allo USBridge Signature+Shanti LPS/Cirrus ESS Sabre 32-bit Reference DAC (Oppo 105D)/Yamaha Aventage CX-A5000/Focal SM9s.
    Hi-Fi 2: Sqbox Touch+Shanti LPS/Focal XS Books.
    Hi-Fi 3: PC+Squeezelite-X+Material Skin/Focal XS Books.
    Hi-Fi Misc: iPeng (iPad/iPhones)/Plantronics BB Pro 2 LE Headphones.
    Accessories: Tchernov Classic & Van den Hul ICs; Thor PS10 Power Station; Blue Jeans & Ruleconnect Cables (Power, HDMI, USB & Coaxial); Aurios & Vibrapods.

  3. #3
    Senior Member
    Join Date
    Oct 2008
    Location
    The Hague, Netherlands
    Posts
    139
    Quote Originally Posted by Mycenius View Post
    FWIW I have often found you need to clear the library and rescan from scratch to get LMS to ‘forget’ files that have been removed - the db seems to ‘sometimes’ retain records of files that no longer exist. So you might be getting something similar where it’s ‘deleting’ the same files over and over... just my 2 cents - YMMV


    Primary Hi-Fi: VortexBox LMS with SOtM tX-USB; Cirrus ESS Sabre32 DAC (Oppo BDP-105D),Yamaha Aventage CX-A5000; Focal SM9 monitors.
Secondary Hi-Fi: Squeezebox Touch with Focal XS Book powered speakers.
Hi-Fi Peripherals: iPad & iPhones with iPeng, Plantronics Backbeat Pro 2 LE Headphones.
Home Theatre Augmentation: Oppo UDP-203 4K, Apple TV 4K, PS3 w/PlayTV; Focal SM6 monitors (centre 1 x Twin6, rears 2 x Solo6), 2 Focal SM6 Sub6 subwoofers.
Display: Sony 55" 4K KD-55X8500C (Android) LED.
Accessories: Tchernov Classic & Van den Hul interconnects; Blue Jeans & Ruleconnect Power, USB, HDMI & Digital Cables; Thor PS10 Powerstation; Aurios & Vibrapod isolators.
    Mmh, cleaning cache and a full rescan did not make a difference, I was hoping that cleaning the cache would solve it. When doing a full rescan it was not removing any deleted files but when I run a normal scan the removing deleted files shows up again...
    Last edited by Blackfiction; 2019-12-28 at 01:04.
    Living: EtherRegen -> Ultrarendu -> Benchmark DAC2 HGC -> Benchmark AHB2 -> ATC SCM19 v2 & Sennheiser HD650
    Kitchen: SB Touch -> Audio Pro Addon T10 gen2
    Kids rooms: SB Booms
    Bedroom: SB Boom & SB Radio
    Controls: iPeng, Material Skin & LMS via internet
    Server: Windows 10 Pro with LMS 7.9.2
    Spare: 2 SB Touch, 1 SB3, 2 SB Radio

  4. #4
    Senior Member Mycenius's Avatar
    Join Date
    Jun 2012
    Location
    New Zealand
    Posts
    175
    Annoying. Sorry my help doesn’t go much past that I’m afraid...


    Primary Hi-Fi: VortexBox LMS with SOtM tX-USB; Cirrus ESS Sabre32 DAC (Oppo BDP-105D),Yamaha Aventage CX-A5000; Focal SM9 monitors.
Secondary Hi-Fi: Squeezebox Touch with Focal XS Book powered speakers.
Hi-Fi Peripherals: iPad & iPhones with iPeng, Plantronics Backbeat Pro 2 LE Headphones.

    Hi-Fi 1: QNAP HS-453DX NAS+QLMS/Allo USBridge Signature+Shanti LPS/Cirrus ESS Sabre 32-bit Reference DAC (Oppo 105D)/Yamaha Aventage CX-A5000/Focal SM9s.
    Hi-Fi 2: Sqbox Touch+Shanti LPS/Focal XS Books.
    Hi-Fi 3: PC+Squeezelite-X+Material Skin/Focal XS Books.
    Hi-Fi Misc: iPeng (iPad/iPhones)/Plantronics BB Pro 2 LE Headphones.
    Accessories: Tchernov Classic & Van den Hul ICs; Thor PS10 Power Station; Blue Jeans & Ruleconnect Cables (Power, HDMI, USB & Coaxial); Aurios & Vibrapods.

  5. #5
    Senior Member
    Join Date
    Oct 2008
    Location
    The Hague, Netherlands
    Posts
    139
    Quote Originally Posted by Mycenius View Post
    Annoying. Sorry my help doesn’t go much past that I’m afraid...


    Primary Hi-Fi: VortexBox LMS with SOtM tX-USB; Cirrus ESS Sabre32 DAC (Oppo BDP-105D),Yamaha Aventage CX-A5000; Focal SM9 monitors.
Secondary Hi-Fi: Squeezebox Touch with Focal XS Book powered speakers.
Hi-Fi Peripherals: iPad & iPhones with iPeng, Plantronics Backbeat Pro 2 LE Headphones.
    thanks. I am also getting this message;

    Slim::Schema::forceCommit (2144) Warning: Trying to commit transactions before DB is initialized!

    Does anyone know what it means?
    Living: EtherRegen -> Ultrarendu -> Benchmark DAC2 HGC -> Benchmark AHB2 -> ATC SCM19 v2 & Sennheiser HD650
    Kitchen: SB Touch -> Audio Pro Addon T10 gen2
    Kids rooms: SB Booms
    Bedroom: SB Boom & SB Radio
    Controls: iPeng, Material Skin & LMS via internet
    Server: Windows 10 Pro with LMS 7.9.2
    Spare: 2 SB Touch, 1 SB3, 2 SB Radio

  6. #6
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,039
    Quote Originally Posted by Blackfiction View Post
    thanks. I am also getting this message;

    Slim::Schema::forceCommit (2144) Warning: Trying to commit transactions before DB is initialized!

    Does anyone know what it means?
    Deal with one problem at a time.

    Enable scanner logging - WebUI Settings/ Advanced/Logging scan.scanner scan.auto to INFO

    Note start time.
    do a "clear library & rescan everything"
    note time when scan finished.

    Look in scanner log (WebUI Setting/Information) between start and end time and see if any more info is provided about the deleted file issue.

    Perhaps you have a file/permission errors and the same file cannot be deleted and so causes the same error every time. Hopefully the log may show up more details so problem can be identified.

  7. #7
    Senior Member kidstypike's Avatar
    Join Date
    Feb 2007
    Location
    Brindle
    Posts
    3,449
    Quote Originally Posted by Blackfiction View Post
    thanks. I am also getting this message;

    Slim::Schema::forceCommit (2144) Warning: Trying to commit transactions before DB is initialized!

    Does anyone know what it means?
    It means nothing. Everyone will see that warning at every scan.

    Code:
    [19-12-26 23:06:14.7619] main::main (205) Starting Logitech Media Server scanner (v7.9.2, 1576909043, Sat Dec 21 07:49:57 CET 2019) perl 5.028000
    [19-12-26 23:06:15.0932] Slim::Schema::forceCommit (2144) Warning: Trying to commit transactions before DB is initialized!
    [19-12-26 23:06:20.2027] Slim::Music::Import::runImporter (511) Starting Slim::Media::MediaFolderScan scan
    [19-12-26 23:06:20.2032] Slim::Utils::Scanner::Local::rescan (181) Discovering audio files in /mnt/musicbox5/Squeezebox music
    Server - LMS 8.0.0 Pi4B 4GB/Flirc case/pCP 6.0.0-b9 18K library, playlists & LMS cache on SSD (ntfs)
    Study - Pi3B+/pCP 5.0.0/pi screen/HiFiBerry DAC+/jivelite,
    Lounge - Pi2/pCP 5.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
    Dining Room - Squeezebox Boom
    Garage - Pi3B/Pi screen/HiFiBerry DAC+/pCP 5.0.0 > Edifier R980T

    Spares - 2xTouch, 1xSB3, 1xRadio, 6xRPi

  8. #8
    Senior Member
    Join Date
    Oct 2008
    Location
    The Hague, Netherlands
    Posts
    139
    Quote Originally Posted by bpa View Post
    Deal with one problem at a time.

    Enable scanner logging - WebUI Settings/ Advanced/Logging scan.scanner scan.auto to INFO

    Note start time.
    do a "clear library & rescan everything"
    note time when scan finished.

    Look in scanner log (WebUI Setting/Information) between start and end time and see if any more info is provided about the deleted file issue.

    Perhaps you have a file/permission errors and the same file cannot be deleted and so causes the same error every time. Hopefully the log may show up more details so problem can be identified.
    Ok, I have done several full and rescans but I still get the same behaviour. I have added the start of the scanner log below. After the last line I get a lot of 'handling deleted audio files...'

    Log:

    [19-12-28 13:41:39.4703] main::main (205) Starting Logitech Media Server scanner (v7.9.2, 1576827350, Fri Dec 20 08:37:57 WEST 2019) perl 5.014001
    [19-12-28 13:41:39.5812] Slim::Schema::forceCommit (2144) Warning: Trying to commit transactions before DB is initialized!
    [19-12-28 13:41:45.0510] Slim::Music::Import::runImporter (511) Starting Slim::Media::MediaFolderScan scan
    [19-12-28 13:41:45.0514] Slim::Utils::Scanner::Local::rescan (181) Discovering audio files in S:\Music\Music - Classical
    [19-12-28 13:41:45.0767] Slim::Utils::SQLiteHelper::updateProgress (439) Notify to server: [
    "progress:1577536905.05539||importer||S:\\Music\\M usic - Classical|discovering_directory||1||0||",
    ]
    [19-12-28 13:41:45.2018] Slim::Utils::SQLiteHelper::updateProgress (463) Notify to server OK
    [19-12-28 13:41:50.0807] Slim::Utils::SQLiteHelper::updateProgress (439) Notify to server: [
    "progress:1577536905.05539||importer||S:\\Music\\M usic - Classical|discovering_directory||497||0||",
    ]
    [19-12-28 13:41:50.0850] Slim::Utils::SQLiteHelper::updateProgress (463) Notify to server OK
    [19-12-28 13:41:55.1173] Slim::Utils::SQLiteHelper::updateProgress (439) Notify to server: [
    "progress:1577536905.05539||importer||S:\\Music\\M usic - Classical|discovering_directory||938||0||",
    ]
    [19-12-28 13:41:55.1219] Slim::Utils::SQLiteHelper::updateProgress (463) Notify to server OK
    [19-12-28 13:42:00.3122] Slim::Utils::SQLiteHelper::updateProgress (439) Notify to server: [
    "progress:1577536905.05539||importer||S:\\Music\\M usic - Classical|discovering_directory||1412||0||",
    ]
    [19-12-28 13:42:00.3166] Slim::Utils::SQLiteHelper::updateProgress (463) Notify to server OK
    [19-12-28 13:42:05.3303] Slim::Utils::SQLiteHelper::updateProgress (439) Notify to server: [
    "progress:1577536905.05539||importer||S:\\Music\\M usic - Classical|discovering_directory||1921||0||",
    ]
    [19-12-28 13:42:05.3349] Slim::Utils::SQLiteHelper::updateProgress (463) Notify to server OK
    [19-12-28 13:42:10.3317] Slim::Utils::SQLiteHelper::updateProgress (439) Notify to server: [
    "progress:1577536905.05539||importer||S:\\Music\\M usic - Classical|discovering_directory||2515||0||",
    ]
    [19-12-28 13:42:10.3361] Slim::Utils::SQLiteHelper::updateProgress (463) Notify to server OK
    [19-12-28 13:42:15.3967] Slim::Utils::SQLiteHelper::updateProgress (439) Notify to server: [
    "progress:1577536905.05539||importer||S:\\Music\\M usic - Classical|discovering_directory||3100||0||",
    ]
    [19-12-28 13:42:15.4012] Slim::Utils::SQLiteHelper::updateProgress (463) Notify to server OK
    [19-12-28 13:42:20.3982] Slim::Utils::SQLiteHelper::updateProgress (439) Notify to server: [
    "progress:1577536905.05539||importer||S:\\Music\\M usic - Classical|discovering_directory||3800||0||",
    ]
    [19-12-28 13:42:20.4026] Slim::Utils::SQLiteHelper::updateProgress (463) Notify to server OK
    [19-12-28 13:42:25.4023] Slim::Utils::SQLiteHelper::updateProgress (439) Notify to server: [
    "progress:1577536905.05539||importer||S:\\Music\\M usic - Classical|discovering_directory||4417||0||",
    ]
    [19-12-28 13:42:25.4067] Slim::Utils::SQLiteHelper::updateProgress (463) Notify to server OK
    [19-12-28 13:42:28.7270] Slim::Utils::SQLiteHelper::updateProgress (439) Notify to server: [
    "progress:1577536905||importer||S:\\Music\\Mus ic - Classical|discovering_directory||4869||4869||15775 36948.72659",
    ]
    [19-12-28 13:42:28.7313] Slim::Utils::SQLiteHelper::updateProgress (463) Notify to server OK
    [19-12-28 13:42:28.7317] Slim::Utils::Scanner::Local::__ANON__ (193) Start processing found tracks
    [19-12-28 13:42:28.7320] Slim::Utils::Scanner::Local::__ANON__ (201) Connect do DB
    [19-12-28 13:42:28.7322] Slim::Utils::Scanner::Local::__ANON__ (204) Get latest ID
    [19-12-28 13:42:28.7327] Slim::Utils::Scanner::Local::__ANON__ (226) Delete temporary table if exists
    [19-12-28 13:42:28.7329] Slim::Utils::Scanner::Local::__ANON__ (229) Re-build temporary table
    [19-12-28 13:42:28.8252] Slim::Utils::Scanner::Local::__ANON__ (278) Get deleted tracks count
    [19-12-28 13:42:28.9755] Slim::Utils::Scanner::Local::__ANON__ (285) Get new tracks count
    [19-12-28 13:42:28.9759] Slim::Utils::Scanner::Local::__ANON__ (290) Get changed tracks count
    [19-12-28 13:42:29.0047] Slim::Utils::Scanner::Local::__ANON__ (296) Removing deleted audio files (25156)
    [19-12-28 13:42:29.0468] Slim::Utils::SQLiteHelper::updateProgress (439) Notify to server: [
    "progress:1577536949.00508||importer||S:\\Music\\M usic - Classical|directory_deleted||1||25156||",
    ]
    [19-12-28 13:42:29.0512] Slim::Utils::SQLiteHelper::updateProgress (463) Notify to server OK
    [19-12-28 13:42:29.0517] Slim::Utils::Scanner::Local::deleted (613) Handling deleted audio file file
    Living: EtherRegen -> Ultrarendu -> Benchmark DAC2 HGC -> Benchmark AHB2 -> ATC SCM19 v2 & Sennheiser HD650
    Kitchen: SB Touch -> Audio Pro Addon T10 gen2
    Kids rooms: SB Booms
    Bedroom: SB Boom & SB Radio
    Controls: iPeng, Material Skin & LMS via internet
    Server: Windows 10 Pro with LMS 7.9.2
    Spare: 2 SB Touch, 1 SB3, 2 SB Radio

  9. #9
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,039
    Back to the beginning
    I have added 'cue' to the files that do not need to be scanned. But every scan takes several minutes just for 'removing deleted files'. Does someone know how can I get rid of this?
    What do you mean by "files that do not need to be scanned" ?

  10. #10
    Senior Member dolodobendan's Avatar
    Join Date
    Dec 2017
    Location
    Braunschweig, Germany
    Posts
    897
    Quote Originally Posted by Blackfiction View Post
    I have added 'cue' to the files that do not need to be scanned.
    Did you also add cue files to the playlist file extensions?
    QLMS 8.0.0@2.10.02 x64 (digimaster) with perl 5.28 dedicated to me. :D / QNAP 469L QTS 4.3.4

Posting Permissions

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