Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Senior Member
    Join Date
    Jun 2009
    Posts
    413

    LMS 8.0 - Playlists comepletely removed (and added) with every new+changed scan

    I've just upgraded to 8.0 - so good to see, LMS is going on Thanks, Michael - and started some testings (You maybe know, I'm the one withe the 800k database and mostly interested in the database "handling").

    I'm just analyzing some changed behaviour in the logs, but first I saw, that ALL playlists are removed with every "new & changed"-scan - and added at a later stage.

    My playlists are all *.m3u (Windows 10 architecture, btw) and they are removed with the deleted (music-)files (I worried why it removed so much "songs" though I didn't delete anything first).

    In a later stage it recognizes all playlists and adds them again.

    In the end, they are (still) there (or: there again) but it takes some time more than the "old way" only to handle changed playlists.

    Is this a bug or wanted behaviour? Is it related to the *.m3u type?

    Thanks
    Frank

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,430

    LMS 8.0 - Playlists comepletely removed(and added) with every new+changed scan

    > I'm just analyzing some changed behaviour in the logs, but first I saw,
    > that ALL playlists are removed with every "new & changed"-scan - and
    > added at a later stage.
    >
    > My playlists are all *.m3u (Windows 10 architecture, btw) and they are
    > removed with the deleted (music-)files (I worried why it removed so much
    > "songs" though I didn't delete anything first).


    Are you testing with your full library? I thought it was only somewhere
    around 600k tracks :-D.

    Please try with a subset and enable debugging for database.sql. IMHO
    nothing should have changed in that part of the code. Are you using any
    music service integration?

    --

    Michael

  3. #3
    Senior Member
    Join Date
    Jun 2009
    Posts
    413
    Quote Originally Posted by mherger View Post

    Please try with a subset and enable debugging for database.sql. IMHO
    nothing should have changed in that part of the code. Are you using any
    music service integration?

    Michael
    No, I have no music servie integration activated - but that I'll test next ;)

    I did TWO scans:

    First a "playlists only"
    and after that (after making some more changes to my playlists) a "new & changed".

    The "playlist only" scan looks "like always"

    [20-06-13 15:33:15.2958] Slim::Utils::Scanner::Local::__ANON__ (381) Rescanning changed audio files (12)

    [20-06-13 15:33:15.2999] Slim::Utils::Scanner::Local::changed (1094) Handling changed playlist file:///M:/__Playlists/0%20Charts%20B%20-%20Top%2030%20-%202020-06-06.m3u
    [20-06-13 15:33:15.3020] Slim::Utils::Scanner::Local::new (905) Handling new playlist file:///M:/__Playlists/0%20Charts%20B%20-%20Top%2030%20-%202020-06-06.m3u
    [20-06-13 15:33:15.6857] Slim::Utils::Scanner::Local::changed (1094) Handling changed playlist file:///M:/__Playlists/0%20Neue%20Alben%20-%202020-05-22.m3u
    [20-06-13 15:33:15.6883] Slim::Utils::Scanner::Local::new (905) Handling new playlist file:///M:/__Playlists/0%20Neue%20Alben%20-%202020-05-22.m3u
    [20-06-13 15:33:18.5626] Slim::Utils::Scanner::Local::changed (1094) Handling changed playlist file:///M:/__Playlists/0%20Neue%20Alben%20-%202020-06-12.m3u
    [20-06-13 15:33:18.5637] Slim::Utils::Scanner::Local::new (905) Handling new playlist file:///M:/__Playlists/0%20Neue%20Alben%20-%202020-06-12.m3u

    [20-06-13 15:33:19.0386] Slim::Music::Import::endImporter (709) Completed Slim::Music::PlaylistFolderScan Scan in 11 seconds.


    The "new & changed" says:

    [20-06-13 17:06:00.0752] Slim::Utils::Scanner::Local::deleteTracks (519) Removing deleted audio files (1056)
    [...] REM: 998 of those deleted files are playlists files (files ending *.m3u)

    [20-06-13 17:08:57.1690] Slim::Utils::Scanner::Local::__ANON__ (301) Scanning new audio files (1005)
    [20-06-13 17:08:57.1733] Slim::Utils::Scanner::Local::new (905) Handling new playlist file:///M:/__Playlists/0%20Charts%20B%20-%20Top%2030%20-%202020-06-06.m3u
    [20-06-13 17:08:57.3257] Slim::Utils::Scanner::Local::new (905) Handling new playlist file:///M:/__Playlists/0%20Charts%20B%20-%20Vlaamse%20Top%2010%20-%202020-06-13.m3u
    [20-06-13 17:08:57.3726] Slim::Utils::Scanner::Local::new (905) Handling new playlist file:///M:/__Playlists/0%20Charts%20D%20-%20Airplay%20Top%2030%20-%202020-06-12.m3u
    [...] REM: Here are all those 998 "new" *.m3u-files added (so from those 1005 audio files 998 are in fact playlists)

    [20-06-13 17:11:38.1406] Slim::Utils::Scanner::Local::__ANON__ (381) Rescanning changed audio files (0)
    [20-06-13 17:11:38.1410] Slim::Music::Import::endImporter (709) Completed Slim::Music::PlaylistFolderScan Scan in 165 seconds.


    Maybe You see the difference between 11 seconds and 165 seconds for the playlist scan, too? This results from handling all playlists as "new"

    Frank

    (by the way, I didn't deactivate any filename extensions, nor for audio files neither for playlists)

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,430

    LMS 8.0 - Playlists comepletely removed(and added) with every new+changed scan

    Please try with a subset and enable debugging for database.sql.

    --

    Michael

  5. #5
    Senior Member
    Join Date
    Jun 2009
    Posts
    413
    Quote Originally Posted by mherger View Post
    Please try with a subset and enable debugging for database.sql.

    --

    Michael
    [20-06-14 21:17:52.8622] main::main (206) Starting Logitech Media Server scanner (v8.0.0, 1591851652, Thu Jun 11 07:13:03 WEDT 2020) perl 5.014001
    [20-06-14 21:17:52.9595] Slim::Schema::forceCommit (2157) Warning: Trying to commit transactions before DB is initialized!
    [20-06-14 21:17:53.2481] Slim::Music::Import::runImporter (577) Starting Slim::Media::MediaFolderScan scan
    [20-06-14 21:17:53.2485] Slim::Utils::Scanner::Local::rescan (179) Discovering audio files in D:\Test_Subset
    [20-06-14 21:17:53.4797] Slim::Utils::Scanner::Local::__ANON__ (191) Start processing found tracks
    [20-06-14 21:17:53.4801] Slim::Utils::Scanner::Local::__ANON__ (199) Connect do DB
    [20-06-14 21:17:53.4803] Slim::Utils::Scanner::Local::__ANON__ (202) Get latest ID
    [20-06-14 21:17:53.4810] Slim::Utils::Scanner::Local::__ANON__ (224) Delete temporary table if exists
    [20-06-14 21:17:53.4812] Slim::Utils::Scanner::Local::__ANON__ (227) Re-build temporary table
    [20-06-14 21:17:53.4824] Slim::Utils::Scanner::Local::__ANON__ (276) Get deleted tracks count
    [20-06-14 21:17:53.4835] Slim::Utils::Scanner::Local::__ANON__ (283) Get new tracks count
    [20-06-14 21:17:53.4838] Slim::Utils::Scanner::Local::__ANON__ (288) Get changed tracks count
    [20-06-14 21:17:53.4844] Slim::Utils::Scanner::Local::deleteTracks (519) Removing deleted audio files (3)
    [20-06-14 21:17:53.5113] Slim::Utils::Scanner::Local::__ANON__ (301) Scanning new audio files (0)
    [20-06-14 21:17:53.5116] Slim::Utils::Scanner::Local::__ANON__ (381) Rescanning changed audio files (0)
    [20-06-14 21:17:53.6085] Slim::Music::Import::endImporter (709) Completed Slim::Media::MediaFolderScan Scan in 0 seconds.
    [20-06-14 21:17:53.6094] Slim::Music::Import::runImporter (577) Starting Slim::Music::PlaylistFolderScan scan
    [20-06-14 21:17:53.6098] Slim::Utils::Scanner::Local::rescan (179) Discovering audio files in D:\Test_Subset\__Playlists
    [20-06-14 21:17:53.6255] Slim::Utils::Scanner::Local::__ANON__ (191) Start processing found tracks
    [20-06-14 21:17:53.6259] Slim::Utils::Scanner::Local::__ANON__ (199) Connect do DB
    [20-06-14 21:17:53.6262] Slim::Utils::Scanner::Local::__ANON__ (202) Get latest ID
    [20-06-14 21:17:53.6266] Slim::Utils::Scanner::Local::__ANON__ (224) Delete temporary table if exists
    [20-06-14 21:17:53.6270] Slim::Utils::Scanner::Local::__ANON__ (227) Re-build temporary table
    [20-06-14 21:17:53.6282] Slim::Utils::Scanner::Local::__ANON__ (276) Get deleted tracks count
    [20-06-14 21:17:53.6294] Slim::Utils::Scanner::Local::__ANON__ (283) Get new tracks count
    [20-06-14 21:17:53.6298] Slim::Utils::Scanner::Local::__ANON__ (288) Get changed tracks count
    [20-06-14 21:17:53.6303] Slim::Utils::Scanner::Local::deleteTracks (519) Removing deleted audio files (0)
    [20-06-14 21:17:53.6305] Slim::Utils::Scanner::Local::__ANON__ (301) Scanning new audio files (3)
    [20-06-14 21:17:53.6369] Slim::Utils::Scanner::Local::new (905) Handling new playlist file:///D:/Test_Subset/__Playlists/Test%201.m3u
    [20-06-14 21:17:53.6990] Slim::Utils::Scanner::Local::new (905) Handling new playlist file:///D:/Test_Subset/__Playlists/Test%202.m3u
    [20-06-14 21:17:53.7456] Slim::Utils::Scanner::Local::new (905) Handling new playlist file:///D:/Test_Subset/__Playlists/Test%203.m3u
    [20-06-14 21:17:53.7768] Slim::Utils::Scanner::Local::__ANON__ (381) Rescanning changed audio files (0)
    [20-06-14 21:17:53.7772] Slim::Music::Import::endImporter (709) Completed Slim::Music::PlaylistFolderScan Scan in 0 seconds.
    [20-06-14 21:17:53.7780] Slim::Music::Import::runImporter (577) Starting Slim::Plugin::ExtendedBrowseModes::Libraries scan
    [20-06-14 21:17:53.7782] Slim::Music::Import::runImporter (577) Starting Slim::Music::VirtualLibraries scan
    [20-06-14 21:17:53.8077] Slim::Music::Import::endImporter (709) Completed Slim::Music::VirtualLibraries Scan in 0 seconds.
    [20-06-14 21:17:53.8094] Slim::Music::Artwork::updateStandaloneArtwork (234) Starting updateStandaloneArtwork for 0 albums
    [20-06-14 21:17:53.8100] Slim::Music::Artwork::precacheAllArtwork (659) Starting precacheArtwork for 0 albums
    [20-06-14 21:17:53.8103] Slim::Music::Import::endImporter (709) Completed precacheArtwork Scan in 0 seconds.
    [20-06-14 21:17:53.8111] Slim::Music::Import::runScanPostProcessing (479) Starting Database optimization.
    [20-06-14 21:17:53.8120] Slim::Utils::SQLHelper::executeSQLFile (51) Executing SQL file C:\PROGRA~2\SQUEEZ~1\server\SQL\SQLite\schema_opti mize.sql
    [20-06-14 21:17:53.8128] Slim::Utils::SQLHelper::executeSQLFile (80) Executing SQL: [ANALYZE;]
    [20-06-14 21:17:54.7221] Slim::Music::Import::endImporter (709) Completed dbOptimize Scan in 0 seconds.

  6. #6
    Senior Member
    Join Date
    Jun 2009
    Posts
    413
    If I set logging scan.scanner to info it's like that, so You can see, the 3 deleted "audio" files are exactly those playlists that are later added again.


    [20-06-14 21:19:22.2462] main::main (206) Starting Logitech Media Server scanner (v8.0.0, 1591851652, Thu Jun 11 07:13:03 WEDT 2020) perl 5.014001
    [20-06-14 21:19:22.3442] Slim::Schema::forceCommit (2157) Warning: Trying to commit transactions before DB is initialized!
    [20-06-14 21:19:22.6494] Slim::Music::Import::runImporter (577) Starting Slim::Media::MediaFolderScan scan
    [20-06-14 21:19:22.6497] Slim::Utils::Scanner::Local::rescan (179) Discovering audio files in D:\Test_Subset
    [20-06-14 21:19:22.6693] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: [
    "progress:1592162362.65289||importer||D:\\Test_Sub set|discovering_directory||1||0||",
    ]
    [20-06-14 21:19:22.7051] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:22.8515] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: [
    "progress:1592162362||importer||D:\\Test_Subset|di scovering_directory||259||259||1592162362.85082",
    ]
    [20-06-14 21:19:22.8551] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:22.8554] Slim::Utils::Scanner::Local::__ANON__ (191) Start processing found tracks
    [20-06-14 21:19:22.8556] Slim::Utils::Scanner::Local::__ANON__ (199) Connect do DB
    [20-06-14 21:19:22.8558] Slim::Utils::Scanner::Local::__ANON__ (202) Get latest ID
    [20-06-14 21:19:22.8562] Slim::Utils::Scanner::Local::__ANON__ (224) Delete temporary table if exists
    [20-06-14 21:19:22.8565] Slim::Utils::Scanner::Local::__ANON__ (227) Re-build temporary table
    [20-06-14 21:19:22.8577] Slim::Utils::Scanner::Local::__ANON__ (276) Get deleted tracks count
    [20-06-14 21:19:22.8589] Slim::Utils::Scanner::Local::__ANON__ (283) Get new tracks count
    [20-06-14 21:19:22.8591] Slim::Utils::Scanner::Local::__ANON__ (288) Get changed tracks count
    [20-06-14 21:19:22.8598] Slim::Utils::Scanner::Local::deleteTracks (519) Removing deleted audio files (3)
    [20-06-14 21:19:22.8614] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: [
    "progress:1592162362.86008||importer||D:\\Test_Sub set|directory_deleted||1||3||",
    ]
    [20-06-14 21:19:22.8646] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:22.8650] Slim::Utils::Scanner::Local::deleted (816) Handling deleted playlist file:///D:/Test_Subset/__Playlists/Test%201.m3u
    [20-06-14 21:19:22.8661] Slim::Utils::Scanner::Local::deleted (816) Handling deleted playlist file:///D:/Test_Subset/__Playlists/Test%202.m3u
    [20-06-14 21:19:22.8671] Slim::Utils::Scanner::Local::deleted (816) Handling deleted playlist file:///D:/Test_Subset/__Playlists/Test%203.m3u
    [20-06-14 21:19:22.8702] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: [
    "progress:1592162362||importer||D:\\Test_Subset|di rectory_deleted||3||3||1592162362.86967",
    ]
    [20-06-14 21:19:22.8732] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:22.8740] Slim::Utils::Scanner::Local::__ANON__ (301) Scanning new audio files (0)
    [20-06-14 21:19:22.8742] Slim::Utils::Scanner::Local::__ANON__ (381) Rescanning changed audio files (0)
    [20-06-14 21:19:23.6995] Slim::Music::Import::endImporter (709) Completed Slim::Media::MediaFolderScan Scan in 1 seconds.
    [20-06-14 21:19:23.7004] Slim::Music::Import::runImporter (577) Starting Slim::Music::PlaylistFolderScan scan
    [20-06-14 21:19:23.7009] Slim::Utils::Scanner::Local::rescan (179) Discovering audio files in D:\Test_Subset\__Playlists
    [20-06-14 21:19:23.7040] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: [
    "progress:1592162363.70233||importer||D:\\Test_Sub set\\__Playlists|discovering_playlist||1||0||",
    ]
    [20-06-14 21:19:23.7087] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:23.7107] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: [
    "progress:1592162363||importer||D:\\Test_Subset\\_ _Playlists|discovering_playlist||4||4||1592162363. 71025",
    ]
    [20-06-14 21:19:23.7242] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:23.7245] Slim::Utils::Scanner::Local::__ANON__ (191) Start processing found tracks
    [20-06-14 21:19:23.7248] Slim::Utils::Scanner::Local::__ANON__ (199) Connect do DB
    [20-06-14 21:19:23.7251] Slim::Utils::Scanner::Local::__ANON__ (202) Get latest ID
    [20-06-14 21:19:23.7255] Slim::Utils::Scanner::Local::__ANON__ (224) Delete temporary table if exists
    [20-06-14 21:19:23.7258] Slim::Utils::Scanner::Local::__ANON__ (227) Re-build temporary table
    [20-06-14 21:19:23.7268] Slim::Utils::Scanner::Local::__ANON__ (276) Get deleted tracks count
    [20-06-14 21:19:23.7279] Slim::Utils::Scanner::Local::__ANON__ (283) Get new tracks count
    [20-06-14 21:19:23.7282] Slim::Utils::Scanner::Local::__ANON__ (288) Get changed tracks count
    [20-06-14 21:19:23.7286] Slim::Utils::Scanner::Local::deleteTracks (519) Removing deleted audio files (0)
    [20-06-14 21:19:23.7288] Slim::Utils::Scanner::Local::__ANON__ (301) Scanning new audio files (3)
    [20-06-14 21:19:23.7299] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: [
    "progress:1592162363.72913||importer||D:\\Test_Sub set\\__Playlists|playlist_new||1||3||",
    ]
    [20-06-14 21:19:23.7396] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:23.7403] Slim::Utils::Scanner::Local::new (905) Handling new playlist file:///D:/Test_Subset/__Playlists/Test%201.m3u
    [20-06-14 21:19:23.7819] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: [
    "progress:1592162363.72913||importer||D:\\Test_Sub set\\__Playlists|playlist_new||2||3||",
    ]
    [20-06-14 21:19:23.7868] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:23.7875] Slim::Utils::Scanner::Local::new (905) Handling new playlist file:///D:/Test_Subset/__Playlists/Test%202.m3u
    [20-06-14 21:19:23.8201] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: [
    "progress:1592162363.72913||importer||D:\\Test_Sub set\\__Playlists|playlist_new||3||3||",
    ]
    [20-06-14 21:19:23.8337] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:23.8345] Slim::Utils::Scanner::Local::new (905) Handling new playlist file:///D:/Test_Subset/__Playlists/Test%203.m3u
    [20-06-14 21:19:23.8608] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: [
    "progress:1592162363||importer||D:\\Test_Subset\\_ _Playlists|playlist_new||3||3||1592162363.86024",
    ]
    [20-06-14 21:19:23.8652] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:23.8663] Slim::Utils::Scanner::Local::__ANON__ (381) Rescanning changed audio files (0)
    [20-06-14 21:19:23.8666] Slim::Music::Import::endImporter (709) Completed Slim::Music::PlaylistFolderScan Scan in 0 seconds.
    [20-06-14 21:19:23.8676] Slim::Music::Import::runImporter (577) Starting Slim::Plugin::ExtendedBrowseModes::Libraries scan
    [20-06-14 21:19:23.8679] Slim::Music::Import::runImporter (577) Starting Slim::Music::VirtualLibraries scan
    [20-06-14 21:19:23.8690] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: [
    "progress:1592162363.8682||importer||virtuallibrar ies||1||1||",
    ]
    [20-06-14 21:19:23.8805] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:23.8840] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: [
    "progress:1592162363||importer||virtuallibraries|| 1||1||1592162363.88359",
    ]
    [20-06-14 21:19:23.8957] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:23.8960] Slim::Music::Import::endImporter (709) Completed Slim::Music::VirtualLibraries Scan in 0 seconds.
    [20-06-14 21:19:23.8977] Slim::Music::Artwork::updateStandaloneArtwork (234) Starting updateStandaloneArtwork for 0 albums
    [20-06-14 21:19:23.8983] Slim::Music::Artwork::precacheAllArtwork (659) Starting precacheArtwork for 0 albums
    [20-06-14 21:19:23.8986] Slim::Music::Import::endImporter (709) Completed precacheArtwork Scan in 0 seconds.
    [20-06-14 21:19:23.8993] Slim::Music::Import::runScanPostProcessing (479) Starting Database optimization.
    [20-06-14 21:19:23.9003] Slim::Utils::SQLHelper::executeSQLFile (51) Executing SQL file C:\PROGRA~2\SQUEEZ~1\server\SQL\SQLite\schema_opti mize.sql
    [20-06-14 21:19:23.9010] Slim::Utils::SQLHelper::executeSQLFile (80) Executing SQL: [ANALYZE;]
    [20-06-14 21:19:23.9042] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: ["progress:1592162363.89987||importer||dboptimize|| 1||2||"]
    [20-06-14 21:19:23.9117] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:24.4200] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: [
    "progress:1592162363||importer||dboptimize||2||2|| 1592162364.41824",
    ]
    [20-06-14 21:19:24.4239] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:24.4242] Slim::Music::Import::endImporter (709) Completed dbOptimize Scan in 0 seconds.
    [20-06-14 21:19:24.4273] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: ["end"]
    [20-06-14 21:19:24.4373] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK
    [20-06-14 21:19:24.4403] Slim::Utils::SQLiteHelper::updateProgress (442) Notify to server: ["exit"]
    [20-06-14 21:19:24.6048] Slim::Utils::SQLiteHelper::updateProgress (466) Notify to server OK

  7. #7
    Senior Member
    Join Date
    Jun 2009
    Posts
    413
    Scanner maybe sees them as "deleted" ("Handling deleted playlist file:///D:/Test_Subset/__Playlists/Test%201.m3u") though they are still there.

    If I do a playlist only scan, this doesn't happen:

    [20-06-14 21:18:17.8960] main::main (206) Starting Logitech Media Server scanner (v8.0.0, 1591851652, Thu Jun 11 07:13:03 WEDT 2020) perl 5.014001
    [20-06-14 21:18:17.9940] Slim::Schema::forceCommit (2157) Warning: Trying to commit transactions before DB is initialized!
    [20-06-14 21:18:18.2883] Slim::Music::Import::runImporter (577) Starting Slim::Music::PlaylistFolderScan scan
    [20-06-14 21:18:18.2888] Slim::Utils::Scanner::Local::rescan (179) Discovering audio files in D:\Test_Subset\__Playlists
    [20-06-14 21:18:18.3727] Slim::Utils::Scanner::Local::__ANON__ (191) Start processing found tracks
    [20-06-14 21:18:18.3730] Slim::Utils::Scanner::Local::__ANON__ (199) Connect do DB
    [20-06-14 21:18:18.3732] Slim::Utils::Scanner::Local::__ANON__ (202) Get latest ID
    [20-06-14 21:18:18.3739] Slim::Utils::Scanner::Local::__ANON__ (224) Delete temporary table if exists
    [20-06-14 21:18:18.3742] Slim::Utils::Scanner::Local::__ANON__ (227) Re-build temporary table
    [20-06-14 21:18:18.3754] Slim::Utils::Scanner::Local::__ANON__ (276) Get deleted tracks count
    [20-06-14 21:18:18.3765] Slim::Utils::Scanner::Local::__ANON__ (283) Get new tracks count
    [20-06-14 21:18:18.3767] Slim::Utils::Scanner::Local::__ANON__ (288) Get changed tracks count
    [20-06-14 21:18:18.3771] Slim::Utils::Scanner::Local::deleteTracks (519) Removing deleted audio files (0)
    [20-06-14 21:18:18.3773] Slim::Utils::Scanner::Local::__ANON__ (301) Scanning new audio files (0)
    [20-06-14 21:18:18.3775] Slim::Utils::Scanner::Local::__ANON__ (381) Rescanning changed audio files (0)
    [20-06-14 21:18:18.3778] Slim::Music::Import::endImporter (709) Completed Slim::Music::PlaylistFolderScan Scan in 0 seconds.
    [20-06-14 21:18:18.3790] Slim::Music::Import::runImporter (577) Starting Slim::Plugin::ExtendedBrowseModes::Libraries scan
    [20-06-14 21:18:18.3792] Slim::Music::Import::runImporter (577) Starting Slim::Music::VirtualLibraries scan
    [20-06-14 21:18:18.4118] Slim::Music::Import::endImporter (709) Completed Slim::Music::VirtualLibraries Scan in 0 seconds.
    [20-06-14 21:18:18.4135] Slim::Music::Artwork::updateStandaloneArtwork (234) Starting updateStandaloneArtwork for 0 albums
    [20-06-14 21:18:18.4141] Slim::Music::Artwork::precacheAllArtwork (659) Starting precacheArtwork for 0 albums
    [20-06-14 21:18:18.4143] Slim::Music::Import::endImporter (709) Completed precacheArtwork Scan in 0 seconds.
    [20-06-14 21:18:18.4149] Slim::Music::Import::runScanPostProcessing (479) Starting Database optimization.
    [20-06-14 21:18:18.4158] Slim::Utils::SQLHelper::executeSQLFile (51) Executing SQL file C:\PROGRA~2\SQUEEZ~1\server\SQL\SQLite\schema_opti mize.sql
    [20-06-14 21:18:18.4164] Slim::Utils::SQLHelper::executeSQLFile (80) Executing SQL: [ANALYZE;]
    [20-06-14 21:18:19.5412] Slim::Music::Import::endImporter (709) Completed dbOptimize Scan in 1 seconds.

    The reson seems to me that my Playlist directory is on the same hard disk as my music files (M:\ and M:\__playlists), so if he scans "M:" he finds the .m3u playlist, sees them as playlists and for some reason deletes them.
    I tried to avoid it by excluding .m3u from music scan but this has no effect.
    If I move the playlists-folder to another hard disk (c:\__Playlists] it's also fine.

    So, I can handle it, but I don't understand the behaviour (why the "music"-scanner is caring about playlists).

    Many thanks again
    Frank

  8. #8
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,430

    LMS 8.0 - Playlists comepletely removed(and added) with every new+changed scan

    > The reson seems to me that my Playlist directory is on the same hard
    > disk as my music files (M:\ and M:\__playlists), so if he scans "M:" he
    > finds the .m3u playlist, sees them as playlists and for some reason
    > deletes them.


    Hmm.... but that should not have changed in LMS8. It's always been
    suggested NOT to use a folder inside the music folder, but I assume
    you've had it set up this way before?

    I'll review relevant changes to see whether I touched on playlist
    scanning in some way.

    --

    Michael

  9. #9
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,430

    LMS 8.0 - Playlists comepletely removed(and added) with every new+changed scan

    > The reson seems to me that my Playlist directory is on the same hard
    > disk as my music files (M:\ and M:\__playlists), so if he scans "M:" he
    > finds the .m3u playlist, sees them as playlists and for some reason
    > deletes them.


    I reviewed the code and didn't see how that would have changed between
    LMS 7.9 and LMS 8. Are you sure it did?

    --

    Michael

  10. #10
    Senior Member
    Join Date
    Jun 2009
    Posts
    413
    Quote Originally Posted by mherger View Post
    I reviewed the code and didn't see how that would have changed between
    LMS 7.9 and LMS 8. Are you sure it did?
    Yes, i had it this way before (using a subfolder) ... and sure..? I would say YES, but You are the expert

    nevertheless:
    I thought it would be a "changing one line thing" (like "excluding the path given in "playlists" from the regular music scan), but if it's more complicated it's maybe not worth You spend too much time in it and I will move my directory (and change the relative paths to absolute ones). Or simply "live with it" (it's 3-5 minutes more with every scan so NOW showstopper!)

    Thanks
    Frank

Posting Permissions

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