Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 52
  1. #11
    Senior Member
    Join Date
    Nov 2007
    Posts
    109
    Confirmed that MPlayer -- and the PlayWMA plugin -- no longer work under Catalina.

    MPlayer OSX Extended does work in Catalina. But LMS does not recognize this version, and the PlayWMA plugin does not operate.

    A fix to recognize 64-bit versions of MPlayer in future LMS Betas would be most welcome.

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

    LMS on MacOS 10.15 "Catalina"?

    > HOWEVER, if it is not already on these lists, perl must be added to the
    > list of "Full Disc Access" applications in Security & Privacy settings
    > under System Preferences in Catalina.


    Hmm... did macOS ask you to do so?

    I'm wondering whether my using pre-release versions from the very early
    days would show slightly different behaviour. I can't remember this.

    Next year we'll likely face bigger issues: there are rumours that the
    next version of macOS will no longer come with Perl installed :-(.

    --

    Michael

  3. #13
    Senior Member
    Join Date
    Nov 2007
    Posts
    109
    Quote Originally Posted by mherger View Post
    > HOWEVER, if it is not already on these lists, perl must be added to the
    > list of "Full Disc Access" applications in Security & Privacy settings
    > under System Preferences in Catalina.


    Hmm... did macOS ask you to do so?

    I'm wondering whether my using pre-release versions from the very early
    days would show slightly different behaviour. I can't remember this.

    Next year we'll likely face bigger issues: there are rumours that the
    next version of macOS will no longer come with Perl installed :-(.

    --

    Michael
    No. What actually happened is that LMS could no longer access any folders on the host system as media library targets. The system gave no prompts. The media library just ‘disappeared’ in LMS, as “empty”.

    In my LMS implementation, all media and user data except those forced to the OS drive to run the apps, are kept on an external TB stack. Including all audio files.

    Catalina now finally does that in a virtual sense via further hidden partitioning of the boot volume into a “Data” drive, where OS user data is kept. Under Catalina, the core OS now operates in its own separate read-only volume. A protected play pen of sorts. What I had been indirectly trying to do for over 20 years.

    In the past, the OS has left my external data drive mainly unmolested, so there was never a library issue before. But Catalina implements a more aggressive file access protection/permissions protocol than Mojave. It now more aggressively limits access to external and removable drives. I recalled encountering similar issues with 3rd party backup apps in Mojave, as they also access the OS volume. The workaround is to give the apps full disk access permissions. Once I was able to get perl listed with those same permissions, LMS was able to access its external library targets again.

    Catalina is still a little buggy. It took a couple reboots for the permissions to finally stick as an automatic setting.

    There are some other bugs, such as MPlayer incompatibility, and the chromecast bridge plugin needs to be manually restarted once LMS is fully started. Then it runs fine. I presume it is a similar delayed permissions hang.

    If Apple drops perl, that will certainly make life harder.

  4. #14
    Junior Member
    Join Date
    Oct 2019
    Posts
    2
    I will keep running LMS on Mojave for now, I just moved it there from High Sierra. But I've been poking around the new Music app in Catalina a bit today to check that a few scripts I use for some tag related stuff still work. Short version, they do: Apple Scripts in ~/Library/Music/Scripts can be run in Music in Catalina more or less like they did from ~/Library/iTunes/Scripts before.

    The script below is not meant as a solution to the missing .xml file. It is ugly, not very tested, sends keypresses to the Music application, and it will probably break unless used carefully. But it will attempt to tell the Music app to do a File - Library - Export Library... and put it in ~/Music/iTunes/iTunes Music Library.xml which is probably where LMS expects to find it. So it is not production ready, but it appears to work on my test installation. So I figured someone else might want to look at half automating the export of the xml file for LMS, or other applications using the legacy xml format.

    You can open the script in Script Editor and export it as an Application to run it by double clicking on it. You will have to grant it access in Security Preferences of Catalina. With minor modifications it should be able to export specific playlists to xml. And you can of course do the same manually from the Music app on Catalina, which is safer. I am probably not going to use this for LMS myself.

    Code:
    tell application "Music"
    	activate
    end tell
    
    tell application "System Events"
    	tell application process "Music"
    		tell menu 1 of menu bar item "File" of menu bar 1
    			click menu item "Export Library…" of menu 1 of menu item "Library"
    		end tell
    		repeat until exists window "Save"
    			delay 0.1
    		end repeat
    		
    		set musicfolderpath to get path to music folder
    		set libraryxmlpath to POSIX path of musicfolderpath
    		
    		tell window "Save"
    			keystroke "g" using {command down, shift down}
    			repeat until exists sheet 1
    				delay 0.1
    			end repeat
    			
    			tell sheet 1
    				keystroke libraryxmlpath
    				keystroke "/iTunes"
    				click button "Go"
    			end tell
    			tell window "Save"
    				keystroke "iTunes Music Library.xml"
    			end tell
    			click button "Save"
    			if sheet 1 exists then
    				click button "Replace" of sheet 1
    			end if
    		end tell
    	end tell
    end tell

  5. #15
    Junior Member
    Join Date
    Mar 2006
    Location
    Ireland
    Posts
    25

    Empty Library

    I gave perl full disk access but it still doesn't find anything on my USB drive. And my players have disappeared too - Help!?

    Logitech Media Server Version: 7.9.2 - 1568726655 @ Tue Sep 17 15:45:31 CEST 2019
    Operating system: macOS 10.15 - EN - utf8
    Perl Version: 5.18.4 - darwin-thread-multi-2level
    Audio::Scan: 1.02
    IO::Socket::SSL: 2.066
    Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
    Total Players Recognized: 0

    Log:
    [19-10-09 12:16:17.1847] Slim::Utils::SQLiteHelper:ostConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [19-10-09 12:16:17.2379] Slim::Schema::forceCommit (2144) Warning: Trying to commit transactions before DB is initialized!

    [19-10-09 12:16:16.2550] main::main (205) Starting Logitech Media Server scanner (v7.9.2, 1568726655, Tue Sep 17 15:45:31 CEST 2019) perl 5.018004
    [19-10-09 12:16:16.4584] Slim::Schema::forceCommit (2144) Warning: Trying to commit transactions before DB is initialized!
    [19-10-09 12:16:16.7550] Slim::Music::Import::runImporter (511) Starting Slim::Media::MediaFolderScan scan
    [19-10-09 12:16:16.7552] Slim::Utils::Scanner::Local::rescan (181) Discovering audio files in /Volumes/3TB-Mirror/Music
    [19-10-09 12:16:16.7777] Slim::Utils::Scanner::Local::Async::__ANON__ (71) Error scanning file or folder: /Volumes/3TB-Mirror/Music: Operation not permitted
    [19-10-09 12:16:16.8090] Slim::Utils::Scanner::Local::__ANON__ (193) Start processing found tracks
    [19-10-09 12:16:16.8091] Slim::Utils::Scanner::Local::__ANON__ (201) Connect do DB
    [19-10-09 12:16:16.8092] Slim::Utils::Scanner::Local::__ANON__ (204) Get latest ID
    [19-10-09 12:16:16.8094] Slim::Utils::Scanner::Local::__ANON__ (226) Delete temporary table if exists
    [19-10-09 12:16:16.8095] Slim::Utils::Scanner::Local::__ANON__ (229) Re-build temporary table
    [19-10-09 12:16:16.8098] Slim::Utils::Scanner::Local::__ANON__ (278) Get deleted tracks count
    [19-10-09 12:16:16.8099] Slim::Utils::Scanner::Local::__ANON__ (285) Get new tracks count
    [19-10-09 12:16:16.8100] Slim::Utils::Scanner::Local::__ANON__ (290) Get changed tracks count
    [19-10-09 12:16:16.8101] Slim::Utils::Scanner::Local::__ANON__ (296) Removing deleted audio files (0)
    [19-10-09 12:16:16.8102] Slim::Utils::Scanner::Local::__ANON__ (374) Scanning new audio files (0)
    [19-10-09 12:16:16.8103] Slim::Utils::Scanner::Local::__ANON__ (454) Rescanning changed audio files (0)
    [19-10-09 12:16:16.8105] Slim::Music::Import::endImporter (643) Completed Slim::Media::MediaFolderScan Scan in 0 seconds.
    [19-10-09 12:16:16.8108] Slim::Music::Import::runImporter (511) Starting Slim::Music::PlaylistFolderScan scan
    [19-10-09 12:16:16.8110] Slim::Utils::Scanner::Local::rescan (181) Discovering audio files in /Users/nick/Music/Playlists
    [19-10-09 12:16:16.8205] Slim::Utils::Scanner::Local::__ANON__ (193) Start processing found tracks
    [19-10-09 12:16:16.8207] Slim::Utils::Scanner::Local::__ANON__ (201) Connect do DB
    [19-10-09 12:16:16.8208] Slim::Utils::Scanner::Local::__ANON__ (204) Get latest ID
    [19-10-09 12:16:16.8211] Slim::Utils::Scanner::Local::__ANON__ (226) Delete temporary table if exists
    [19-10-09 12:16:16.8214] Slim::Utils::Scanner::Local::__ANON__ (229) Re-build temporary table
    [19-10-09 12:16:16.8219] Slim::Utils::Scanner::Local::__ANON__ (278) Get deleted tracks count
    [19-10-09 12:16:16.8221] Slim::Utils::Scanner::Local::__ANON__ (285) Get new tracks count
    [19-10-09 12:16:16.8223] Slim::Utils::Scanner::Local::__ANON__ (290) Get changed tracks count
    [19-10-09 12:16:16.8225] Slim::Utils::Scanner::Local::__ANON__ (296) Removing deleted audio files (0)
    [19-10-09 12:16:16.8225] Slim::Utils::Scanner::Local::__ANON__ (374) Scanning new audio files (0)
    [19-10-09 12:16:16.8227] Slim::Utils::Scanner::Local::__ANON__ (454) Rescanning changed audio files (0)
    [19-10-09 12:16:16.8229] Slim::Music::Import::endImporter (643) Completed Slim::Music::PlaylistFolderScan Scan in 0 seconds.
    [19-10-09 12:16:16.8234] Slim::Music::Import::runImporter (511) Starting Slim::Plugin::FullTextSearch::Plugin scan
    [19-10-09 12:16:16.8240] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (413) Starting fulltext index build
    [19-10-09 12:16:16.8241] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (417) Initialize fulltext table
    [19-10-09 12:16:16.8248] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (430) Create fulltext index for tracks
    [19-10-09 12:16:16.8287] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (440) Create fulltext index for albums
    [19-10-09 12:16:16.8292] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (449) Create fulltext index for contributors
    [19-10-09 12:16:16.8296] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (459) Create fulltext index for playlists
    [19-10-09 12:16:16.8324] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (494) Optimize fulltext index
    [19-10-09 12:16:16.8371] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (509) Fulltext index build done!
    [19-10-09 12:16:16.8373] Slim::Music::Import::endImporter (643) Completed Slim::Plugin::FullTextSearch::Plugin Scan in 0 seconds.
    [19-10-09 12:16:16.8383] Slim::Music::Artwork:recacheAllArtwork (637) Starting precacheArtwork for 0 albums
    [19-10-09 12:16:16.8386] Slim::Music::Import::endImporter (643) Completed precacheArtwork Scan in 0 seconds.
    [19-10-09 12:16:16.8389] Slim::Music::Import::runScanPostProcessing (435) Starting Database optimization.
    [19-10-09 12:16:17.1670] Slim::Music::Import::endImporter (643) Completed dbOptimize Scan in 0 seconds.

    Nick

    Quote Originally Posted by sgmlaw View Post
    No. What actually happened is that LMS could no longer access any folders on the host system as media library targets. The system gave no prompts. The media library just ‘disappeared’ in LMS, as “empty”.

    In my LMS implementation, all media and user data except those forced to the OS drive to run the apps, are kept on an external TB stack. Including all audio files.

    Catalina now finally does that in a virtual sense via further hidden partitioning of the boot volume into a “Data” drive, where OS user data is kept. Under Catalina, the core OS now operates in its own separate read-only volume. A protected play pen of sorts. What I had been indirectly trying to do for over 20 years.

    In the past, the OS has left my external data drive mainly unmolested, so there was never a library issue before. But Catalina implements a more aggressive file access protection/permissions protocol than Mojave. It now more aggressively limits access to external and removable drives. I recalled encountering similar issues with 3rd party backup apps in Mojave, as they also access the OS volume. The workaround is to give the apps full disk access permissions. Once I was able to get perl listed with those same permissions, LMS was able to access its external library targets again.
    Last edited by pettefar; 2019-10-09 at 04:25. Reason: Added log stuff
    --
    Hobby Electronicist
    Unix Fiddler
    Biker

  6. #16
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,312
    Quote Originally Posted by roundjr View Post
    The script below is not meant as a solution to the missing .xml file. It is ugly, not very tested, sends keypresses to the Music application, and it will probably break unless used carefully. But it will attempt to tell the Music app to do a File - Library - Export Library... and put it in ~/Music/iTunes/iTunes Music Library.xml which is probably where LMS expects to find it.
    I totally missed the key of your script when first skimming your posting: you can still export the music information to an XML file. Whether you do this automatically using a script or manually. It's still possible. And I think that needs some exploration. Thanks a lot for the hint!

    Here's a blog posting describing the manual export: https://kirkville.com/how-to-export-...acos-catalina/
    Michael

    http://www.herger.net/slim-plugins - Spotty, MusicArtistInfo

  7. #17
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,827
    Quote Originally Posted by sgmlaw View Post
    Confirmed that MPlayer -- and the PlayWMA plugin -- no longer work under Catalina.

    MPlayer OSX Extended does work in Catalina. But LMS does not recognize this version, and the PlayWMA plugin does not operate.

    A fix to recognize 64-bit versions of MPlayer in future LMS Betas would be most welcome.
    This really should be logged in the PlayWMA thread as it is nto part of LMS and it is only by accident I saw this as I have no Apple gear.

  8. #18
    Senior Member
    Join Date
    Nov 2007
    Posts
    109
    Quote Originally Posted by pettefar View Post
    I gave perl full disk access but it still doesn't find anything on my USB drive. And my players have disappeared too - Help!?

    Logitech Media Server Version: 7.9.2 - 1568726655 @ Tue Sep 17 15:45:31 CEST 2019
    Operating system: macOS 10.15 - EN - utf8
    Perl Version: 5.18.4 - darwin-thread-multi-2level
    Audio::Scan: 1.02
    IO::Socket::SSL: 2.066
    Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
    Total Players Recognized: 0

    Log:
    [19-10-09 12:16:17.1847] Slim::Utils::SQLiteHelper:ostConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [19-10-09 12:16:17.2379] Slim::Schema::forceCommit (2144) Warning: Trying to commit transactions before DB is initialized!

    [19-10-09 12:16:16.2550] main::main (205) Starting Logitech Media Server scanner (v7.9.2, 1568726655, Tue Sep 17 15:45:31 CEST 2019) perl 5.018004
    [19-10-09 12:16:16.4584] Slim::Schema::forceCommit (2144) Warning: Trying to commit transactions before DB is initialized!
    [19-10-09 12:16:16.7550] Slim::Music::Import::runImporter (511) Starting Slim::Media::MediaFolderScan scan
    [19-10-09 12:16:16.7552] Slim::Utils::Scanner::Local::rescan (181) Discovering audio files in /Volumes/3TB-Mirror/Music
    [19-10-09 12:16:16.7777] Slim::Utils::Scanner::Local::Async::__ANON__ (71) Error scanning file or folder: /Volumes/3TB-Mirror/Music: Operation not permitted
    [19-10-09 12:16:16.8090] Slim::Utils::Scanner::Local::__ANON__ (193) Start processing found tracks
    [19-10-09 12:16:16.8091] Slim::Utils::Scanner::Local::__ANON__ (201) Connect do DB
    [19-10-09 12:16:16.8092] Slim::Utils::Scanner::Local::__ANON__ (204) Get latest ID
    [19-10-09 12:16:16.8094] Slim::Utils::Scanner::Local::__ANON__ (226) Delete temporary table if exists
    [19-10-09 12:16:16.8095] Slim::Utils::Scanner::Local::__ANON__ (229) Re-build temporary table
    [19-10-09 12:16:16.8098] Slim::Utils::Scanner::Local::__ANON__ (278) Get deleted tracks count
    [19-10-09 12:16:16.8099] Slim::Utils::Scanner::Local::__ANON__ (285) Get new tracks count
    [19-10-09 12:16:16.8100] Slim::Utils::Scanner::Local::__ANON__ (290) Get changed tracks count
    [19-10-09 12:16:16.8101] Slim::Utils::Scanner::Local::__ANON__ (296) Removing deleted audio files (0)
    [19-10-09 12:16:16.8102] Slim::Utils::Scanner::Local::__ANON__ (374) Scanning new audio files (0)
    [19-10-09 12:16:16.8103] Slim::Utils::Scanner::Local::__ANON__ (454) Rescanning changed audio files (0)
    [19-10-09 12:16:16.8105] Slim::Music::Import::endImporter (643) Completed Slim::Media::MediaFolderScan Scan in 0 seconds.
    [19-10-09 12:16:16.8108] Slim::Music::Import::runImporter (511) Starting Slim::Music::PlaylistFolderScan scan
    [19-10-09 12:16:16.8110] Slim::Utils::Scanner::Local::rescan (181) Discovering audio files in /Users/nick/Music/Playlists
    [19-10-09 12:16:16.8205] Slim::Utils::Scanner::Local::__ANON__ (193) Start processing found tracks
    [19-10-09 12:16:16.8207] Slim::Utils::Scanner::Local::__ANON__ (201) Connect do DB
    [19-10-09 12:16:16.8208] Slim::Utils::Scanner::Local::__ANON__ (204) Get latest ID
    [19-10-09 12:16:16.8211] Slim::Utils::Scanner::Local::__ANON__ (226) Delete temporary table if exists
    [19-10-09 12:16:16.8214] Slim::Utils::Scanner::Local::__ANON__ (229) Re-build temporary table
    [19-10-09 12:16:16.8219] Slim::Utils::Scanner::Local::__ANON__ (278) Get deleted tracks count
    [19-10-09 12:16:16.8221] Slim::Utils::Scanner::Local::__ANON__ (285) Get new tracks count
    [19-10-09 12:16:16.8223] Slim::Utils::Scanner::Local::__ANON__ (290) Get changed tracks count
    [19-10-09 12:16:16.8225] Slim::Utils::Scanner::Local::__ANON__ (296) Removing deleted audio files (0)
    [19-10-09 12:16:16.8225] Slim::Utils::Scanner::Local::__ANON__ (374) Scanning new audio files (0)
    [19-10-09 12:16:16.8227] Slim::Utils::Scanner::Local::__ANON__ (454) Rescanning changed audio files (0)
    [19-10-09 12:16:16.8229] Slim::Music::Import::endImporter (643) Completed Slim::Music::PlaylistFolderScan Scan in 0 seconds.
    [19-10-09 12:16:16.8234] Slim::Music::Import::runImporter (511) Starting Slim::Plugin::FullTextSearch::Plugin scan
    [19-10-09 12:16:16.8240] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (413) Starting fulltext index build
    [19-10-09 12:16:16.8241] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (417) Initialize fulltext table
    [19-10-09 12:16:16.8248] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (430) Create fulltext index for tracks
    [19-10-09 12:16:16.8287] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (440) Create fulltext index for albums
    [19-10-09 12:16:16.8292] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (449) Create fulltext index for contributors
    [19-10-09 12:16:16.8296] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (459) Create fulltext index for playlists
    [19-10-09 12:16:16.8324] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (494) Optimize fulltext index
    [19-10-09 12:16:16.8371] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (509) Fulltext index build done!
    [19-10-09 12:16:16.8373] Slim::Music::Import::endImporter (643) Completed Slim::Plugin::FullTextSearch::Plugin Scan in 0 seconds.
    [19-10-09 12:16:16.8383] Slim::Music::Artwork:recacheAllArtwork (637) Starting precacheArtwork for 0 albums
    [19-10-09 12:16:16.8386] Slim::Music::Import::endImporter (643) Completed precacheArtwork Scan in 0 seconds.
    [19-10-09 12:16:16.8389] Slim::Music::Import::runScanPostProcessing (435) Starting Database optimization.
    [19-10-09 12:16:17.1670] Slim::Music::Import::endImporter (643) Completed dbOptimize Scan in 0 seconds.

    Nick
    You may have a more extensive permissions issue blocking clients.

    I recall people having start up issues even under Mojave and earlier macOS versions because of permission changes impacting LMS folders.

    You may need to enter terminal commands to give LMS elevated folder permissions, or it will hang on start up or incompletely start. I believe this is independent from Full Disk Access permissions.

    My recollection is that an automated script app was even built to address it. You would need to search the board archives to locate the app or the specific terminal script commands.

    If you have not already ran that script, that may be causing your issue. You may even need to re-enter the script under Catalina.

    I suspect that there are multiple permissions issues now arising under Catalina. This new OS is very aggressive about permissions, and it is baked into the architecture, so there is no way to de-tune it globally.

    Also make sure that the software firewall is turned off, or that appropriate exceptions are indicated.

    The latest 7.9.x build runs under Catalina (at least on my machine), so it is not a core incompatibility issue. But it was a PITA to negotiate the permissions obstacles this time around, and there are still some glitches.

  9. #19
    Senior Member
    Join Date
    Nov 2007
    Posts
    109
    Quote Originally Posted by bpa View Post
    This really should be logged in the PlayWMA thread as it is nto part of LMS and it is only by accident I saw this as I have no Apple gear.
    I did not know there was a PlayWMA thread. But I'm very glad that you stumbled on this.

  10. #20
    Junior Member
    Join Date
    Mar 2006
    Location
    Ireland
    Posts
    25
    I started the server from Terminal and it works fine!
    --
    Hobby Electronicist
    Unix Fiddler
    Biker

Posting Permissions

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