oliver

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • 22. Mai 2018 at 23:54 #35822

    Ok are there any solutions? The only reason i made all the effort was to use my squeezebox as Airplay speaker. It would be kind of disappointing if this would not work in the end.

    17. Mai 2018 at 22:33 #35751

    The Raspberry Pi is connected via LAN the Squeezebox Radio is connected via WiFi. Normally i only use Apple Music for streaming/listen to music but i still have my old mp3 archive, so i just copied some mp3s over to the LMS music directory on the RaspberryPi (/home/pi/music) and played them on the Squeezebox. I had no pauses with this!

    At the moment it seems that the pauses occur only when streaming music from my iPhone to the Squeezebox using LMS (Shairtunes)! But it also seems that some songs have less pauses, but i am not sure about that!

    I also stream to my regular Airplay speaker in my living room (which is also connected via WiFi to my network) from the iPhone, but this works without pauses!

    16. Mai 2018 at 17:25 #35728

    Thanks, i made some basic tests and it seems your solution solves the problem but i will have to wait till tomorrow to really know.

    I do not know if creating a subdirectory (playlist) in /home/pi/music is really necessary but i did and i also changed the permissions to 777. This time saving a playlist in the LMS webinterface crates a coresponding file in /home/pi/music/playlist! So that is a success i guess. But i also noticed that the owner of the file is a user called „squeezeboxserver“ and not the user „pi“, so this is something that has to be adressed during the installation of LMS! Either created a home directory for „squeezeboxserver“ or make some sane default regarding the music/playlist storage directories including the right permissions.
    I think changing the permissions to 777 is just a workaround, it would be better to have an own home directory for the squeezeboxuser.

    14. Mai 2018 at 22:13 #35687

    The health checker shows:

    Internet: Connected
    CPU Load: 0.32
    SD Card Usage: 17%
    Temp CPU: 54.2
    Power Supply: OK

    no usb device is conected to the pi.

    13. Mai 2018 at 22:31 #35659

    i have an update on the topic:
    i was not able to solve the problem, but out of curiosity i ordered one of the new raspberry Pi 3+ models and tried exactly the same i did with the old model and this time it worked!
    Not out of the box of course, because the shairtunes plugin did not work at first, but after installing the bug fix the problem was fixed. Shairtunes is listed as working in the LMS plugin overview and i can stream music from my iPhone to my Squeezebox Radio.
    But there is one problem still: when i stream music, there is a short pause every few seconds…

    7. Mai 2018 at 18:15 #35566

    I did. But again the (original?) shairtunes2 plugin is still unchecked and „failed to load“ in the internal LMS-interface plugin list. I did not found any other shairtunes plugins in that list. This is the current debug log:

    [18-05-07 18:10:05.4486] main::init (388) Starting Logitech Media Server (v7.9.0, 1488878280, Wed Mar  8 14:18:44 UTC 2017) perl 5.024001 - arm-linux-gnueabihf-thread-multi-64int
    [18-05-07 18:10:13.8570] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [18-05-07 18:10:13.9218] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [18-05-07 18:10:16.6118] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [18-05-07 18:10:16.6540] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [18-05-07 18:10:23.6233] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::ShairTunes2W::Plugin] failed to load:
    Can't load '/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/lib/5.24/arm-linux-gnueabihf-thread-multi-64int/auto/Crypt/OpenSSL/RSA/RSA.so' for module Crypt::OpenSSL::RSA: libssl.so.1.0.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden at /usr/lib/arm-linux-gnueabihf/perl/5.24/DynaLoader.pm line 187.
     at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 33.
    Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 33.
    BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 33.
    Compilation failed in require at (eval 912) line 1.
    BEGIN failed--compilation aborted at (eval 912) line 1.
    
    [18-05-07 18:10:23.6764] Slim::Utils::PluginManager::load (323) Error: Couldn't load Plugins::ShairTunes2W::Plugin
    [18-05-07 18:10:24.7250] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [18-05-07 18:10:24.7652] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [18-05-07 18:10:28.8339] main::checkDataSource (1111) Warning: Schema updated or no media found in the database, initiating scan.
    [18-05-07 18:11:14.7384] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [18-05-07 18:11:14.7813] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    
    5. Mai 2018 at 15:44 #35522

    btw: here is some debug output related to shairtunes:

    [18-05-04 18:33:55.4384] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::ShairTunes2W::Plugin] failed to load:
    Can't load '/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/lib/5.24/arm-linux-gnueabihf-thread-multi-64int/auto/Crypt/OpenSSL/RSA/RSA.so' for module Crypt::OpenSSL::RSA: libssl.so.1.0.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden at /usr/lib/arm-linux-gnueabihf/perl/5.24/DynaLoader.pm line 187.
    � at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 33.
    Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 33.
    BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 33.
    Compilation failed in require at (eval 913) line 1.
    BEGIN failed--compilation aborted at (eval 913) line 1.
    
    [18-05-04 18:33:55.4977] Slim::Utils::PluginManager::load (323) Error: Couldn't load Plugins::ShairTunes2W::Plugin
    [18-05-04 18:33:57.3647] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [18-05-04 18:33:57.4071] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [18-05-04 18:34:01.3389] main::checkDataSource (1111) Warning: Schema updated or no media found in the database, initiating scan.
    [18-05-04 18:34:43.3515] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
    [18-05-04 18:34:44.0774] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    4. Mai 2018 at 18:45 #35520

    I was not able to recover the Squeezebox-Server application so i just wrote the max2play image again on my SD-card and reinstalled everything. Then i did the following:
    – booted the Raspberry Pi 1 B
    – as soon as the max2play web interface was reachable, i made the basic stuff (set my emailadress, seleced the basic mode, expanded the filesystem, upgraded max2play and rebooted)
    – then i went to the squeezebox-server tab of the max2play webinterface and installed the SB-server, there where three options available: LMS 7.9.0, LMS 7.9.1 and Nightly 7.9, this time i installed LMS 7.9.0 (last time i installed 7.9.1 but as this did not work in the end i wanted to try a different version)
    – after the installation of LMS finished i went to the web interface of LMS and made the basic configuration (select music and playlist directory and so on)
    – then i went to the plugin settings of the LMS web interface and selected shairtunes 2 (fork)
    – i got the message that LMS has to be restarted to make the changes work, so i did restart LMS from the max2play web interface
    – then i went back to the LMS web interface plugin settings and found shairtunes2 (fork) unchecked!! but with the message next to it: „could not load plugin“ (actually the message was in german: „plugin konnte nicht geladen werden“)

    so i am back at the same problem again, shairtunes2 is not working.

    What is the problem here and how can i solve it?

Viewing 8 posts - 1 through 8 (of 8 total)