Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all 5306 articles
Browse latest View live

LMS 8 with large media collection

$
0
0
Hi there,

I'm running LMS v8.0.0-0.1.1580732899 with a large (~1 million files), but thoroughly structured media collection of FLAC, MP3 & OGG tracks on a Linux box.

* Is LMS able/designed to manage this amount of media files at all?
* Is it feasable to have LMS operaing on a read-only NFS mount (across Gigabit Ethernet) instead of local files?
* LMS appears to scan the media file tags only. Is there a possibility of instructing the scanner to derive performer, album & track names from file names and paths instead?
* LMS displays paginated lists in the Web UI. For long lists (~15000 entries), this is a royal pain in the behind. Are there any UI updates that improve/fix this?
* Playlist management: Do I see it correctly that playlists can be externally written to some playlist folder that is configurable in LMS, but each change requires a subsequent rescan of this playlist folder? Is there no easy way/interface for writing the changes directly to the corresponding SQLite DB (library.db, if I see it correctly)?

Best,
Ray

Many errors/warnings at importing into LMS 8.0.0?

$
0
0
Hi!

Today I looked into the scanner.log and saw many errors/warnings at importing:

Code:

[20-04-23 10:20:11.4952] Audio::Scan::scan (64) Warning: APE: [Invalid item key, too short (<2)] /mnt/Musikbox/Music/....mp3

[20-04-23 10:23:54.7416] Slim::Schema::_preCheckAttributes (2610) Invalid ReplayGain tag found in /mnt/Musikbox/Music/....mp3: REPLAYGAIN_TRACK_GAIN -> eplaygai
[20-04-23 10:23:54.7420] Slim::Schema::_preCheckAttributes (2610) Invalid ReplayGain tag found in /mnt/Musikbox/Music/....mp3: REPLAYGAIN_TRACK_PEAK -> eplaygai
[20-04-23 10:23:54.7432] Slim::Schema::_createOrUpdateAlbum (1202) Invalid ReplayGain tag found in /mnt/Musikbox/Music/....mp3: REPLAYGAIN_ALBUM_GAIN -> eplaygai
[20-04-23 10:23:54.7435] Slim::Schema::_createOrUpdateAlbum (1202) Invalid ReplayGain tag found in /mnt/Musikbox/Music/....mp3: REPLAYGAIN_ALBUM_PEAK -> eplaygai

[20-04-23 10:25:00.9748] Audio::Scan::scan (64) Warning: APE: [Invalid UTF-8 value] /mnt/Musikbox/Music/....mp3

[20-04-23 10:26:23.8009] Audio::Scan::scan (64) Warning: Error: Unable to read at least 16 bytes from file (only read 11).

[20-04-23 10:27:19.5853] Audio::Scan::scan (64) Warning: APE: [Tag larger than maximum possible size] /mnt/Musikbox/Music/....mp3

[20-04-23 10:34:10.4340] Slim::Schema::_preCheckAttributes (2610) Invalid ReplayGain tag found in /mnt/Musikbox/Music/....mp3: REPLAYGAIN_TRACK_GAIN -> Inf

[20-04-23 10:51:28.4512] Slim::Utils::GDResizer::resize (205) Warning: Image::Scale libpng error: bad adaptive filter value (/mnt/Musikbox/Music/....mp3)
[20-04-23 10:51:32.9437] Slim::Utils::GDResizer::resize (205) Warning: Image::Scale libjpeg error: Corrupt JPEG data: 53377 extraneous bytes before marker 0xfb (/mnt/Musikbox/Music/....mp3)
[20-04-23 10:51:32.9442] Slim::Utils::GDResizer::resize (205) Warning: Image::Scale libjpeg error: Unsupported marker type 0xfb (/mnt/Musikbox/Music/....mp3)

These seem to be the same messages than before, but a few of them are presented here again:
[20-04-23 10:52:01.5516] Audio::Scan::scan (64) Warning: APE: [Tag larger than maximum possible size] /mnt/Musikbox/Music/....mp3
[20-04-23 10:53:07.6259] Audio::Scan::scan (64) Warning: APE: [Invalid item key, too short (<2)] /mnt/Musikbox/Music/....mp3
[20-04-23 10:56:25.2017] Audio::Scan::scan (64) Warning: Error: Unable to read at least 16 bytes from file (only read 11).

Can someone tell me what these messages mean? What Do I have to to to solve them?
E.g. how can I write correct "REPLAYGAIN" entries? I am using iVolume on the Mac to write those entries and I don't know why they are not correct for a few titles.

Icon b_delete no longer found after Interface switch to Classic and back

$
0
0
Hi,

I just tried the two additional interfaces "classic" and "light" - then switched back to "default" - but now at least one of the play icons are unreachable.

myServer:9000/html/images/b_detete.gif just shows some blank image.

I found the d_delete.gif here: /usr/share/squeezeboxserver/HTML/Default/html/images - if I look at it with a image viewer it appears to be okay but via web interface it is not.
Permissions, location etc. is all the same as b_play.gif - but this one works.

I suspect there is some kind if broken link from the image location to the locations the web server grabs it from - but I cant find it.

Any idea?

LMS 7.9.3 "Get a new browser" message

$
0
0
Sometimes when I refresh LMS in Chrome I see a message briefly flash by at the top of the page. It's not there long enough to read it, but I think it says something about getting a new browser that is compatible with LMS. I have the latest Chrome on Win 10 x64 so this shouldn't be an issue. Can this message be updated/fixed? Thanks.

playing a radion station at a certain time.

$
0
0
Hi , I wish to start playing a certain station or song at a certain time. Is this only feasible with the alarm function? thanks

Catalina question....

$
0
0
> Yep. Working right now. Is the next build going to be supported?

Did you get a warning for LMS? What build? LMS or macOS?

--

Michael

Donate to support development of LMS

$
0
0
Having struggled to find the info on how to make a donation, I thought I’d pop it in a separate thread that’s easier to find..

Albeit that Michael says that he doesn’t actively seek donations, I certainly want to show my appreciation of his work.

Quoting d6g6

Quote:

Its probably about time that we all revisited Michael's web site and followed the donate link at the bottom - http://www.herger.net/slim/index.html

Check if plugin installed (Material Skin) using CLI

$
0
0
I hope the answer to this is simple.

How do I determine if a plugin, specifically Material Skin, is installed using the CLI? Is there a way?

R Greg Dawson

change of IP adress

$
0
0
I recently had to change the IP adress on my PC running LMS, subsequently I am unable to get my Slimdevices to connect to it, when I run the Info from the control panel app I still see the OLD IP address, is there any specific change I need to make, fo the new IP address to take effect ?

Server version 7.9.3 on wired connection
players Slim 3 and Duet all on WiFi connections

any advice would be appreciated
Thank you

TIDAL plugin doesn’t work completely using a Controller

$
0
0
Hello,

I have installed LMS 7.9.2, QOBUZ plugin, TIDAL plugin and subscribed QOBUZ HIFI and TIDAL HIFI.
Both plugin work well if I use my Squeezebox receiver or SqueezeRadio or SqueezePlay, but using the Transporter TIDAL gives some issues :
• If I run my Transporter using LMS Web interface, I can access TIDAL, My apps, TIDAL, favorites, Artist, album, choose one and play it on the Transporter. All is OK
• If I use a SqueezeBox Controller to control the Transporter, I can find in menu and access to TIDAL, My apps, TIDAL, favorites, Artist, album, choose one and play it on the Transporter. All is OK,....

but I don’t see the photo of the CD on my Controller. ( I have the photo on LMS Web interface) . If I use the QOBUZ plugin, I have the photo of the CD on the Controller LCD display

If I use Squeezebox Radio or SqueezePlay and TIDAL, I have the photo on the display.

It's only using the Controller controlling my Transporter, my receiver or my SqueezeRadio to receive TIDAL that I don't have any Photo
First time I thought it was perhaps because Transporter and receiver don't need any photo, so it is not sent, but If I control my SqueezeRadio, no photo on the controller but the photo appears on the SqueezeRadio

Last remark:
If I want to render sound on the Controller, it is impossible to use QOBUZ or TIDAL, I always the message"Connection reset by remote host"

Thanks for help

Logitech Media Server Version: 8.0.0 - 1588080528 keeps rescanning

$
0
0
> I think it started when I enabled the "Online Music Library
> Integration".
> Anyone having similar experiences?


Yes, there's been another report yesterday, or the day before.

Could you please enable logging for plugin.onlinemusiclibrary. And check
your server.log file for any Spotify related entry.

--

Michael

LMS on MacOS Cataline 10.15.4

$
0
0
Hi,

Upgraded to Catalina yesterday (version 10.15.4) from mojave (10.14.6). (iMac (Retina 5K, 27-inch, Late 2015), 3.2 GHz Quad-Core Intel Core i5 24GB memory) Now my squeezebox does not work. Trolling several lines of inquiry I have:

1) reinstalled LMS 7.7.6 which was working before - no joy (nothing appears to select on the squeezebox) (rescanned library)
2) unistalled 7.7.6 and installed 7.9.2 - no joy (nothing appears to select on the squeezebox) (rescanned library)
3) noticing that the rescan in 7.9.2 took only seconds (used to take an hour ~100K files), I opend perl security to full disk
4) rescanned, still only took sends.
5) installed softsqueeze - no joy (nothing appears to select on the squeezebox)
6) looked at the LMS server log and found DB not being accessed with the following output:
[20-05-01 16:44:20.1078] main::init (387) Starting Logitech Media Server (v7.9.2, 1578996832, Tue Jan 14 12:12:14 CET 2020) perl 5.018004 - darwin-thread-multi-2level
[20-05-01 16:44:21.2420] main::init (387) Starting Logitech Media Server (v7.9.2, 1578996832, Tue Jan 14 12:12:14 CET 2020) perl 5.018004 - darwin-thread-multi-2level
[20-05-01 16:44:21.9496] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
[20-05-01 16:44:21.9827] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
[20-05-01 16:44:22.7170] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
[20-05-01 16:44:22.7427] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
[20-05-01 16:44:23.9590] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
[20-05-01 16:44:23.9859] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
[20-05-01 16:44:25.3157] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan.
[20-05-01 16:44:27.9584] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
[20-05-01 16:44:27.9927] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
[20-05-01 16:45:12.7479] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
[20-05-01 16:45:12.7757] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
[20-05-01 16:45:19.6829] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
[20-05-01 16:45:19.7133] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!

Any suggestions would be appreciated before I try copying library to linux or older mac still running El Capitan.

Access LMS via MyQNAPCloud?

$
0
0
I normally run LMS 7.9.2 under picoreplayer on a Raspberry pi, accessing my music collection which is on a QNAP NAS. I use my IPhone 6s, a Squeezebox Touch and a Duet to listen. I also have an instance of LMS running on that NAS, (and just installed QLogitechMediaServer out of curiosity), but don’t normally use it.
I have thought about remote listening on iPhone via internet while away from home, and manually set up port forwarding and a free domain name for a couple weeks a few years, which worked. I have however seen the thread strongly advising against opening up LMS ports to internet, because of security exposures.
My question is - the recent MyQNAPCloud service allows remote access to a QNAP NAS, allegedly securely. Does anyone know if this can be used to stream music from LMS to iPhone?
(Second question - if there are simply instructions somewhere on how to achieve this via VPN using a TalkTalk router, I’d be grateful for a pointer! )
Many thanks in advance
Bryn

server CLI status output is double encoded

$
0
0
Hi -- I tried searching for posts related to this, but came up empty.

If i ask the server to play a track whose name contains an ascii(duplicated, for some reason) apostrophe, the notifications I get from the "listen" command aren't consistent in their percent-encodings and are in some cases double-encoded.

Here's an example. The track I'm playing is
Code:

/opt/music/all/Alison_Krauss-I've_Got_That_Old_Feeling/01-I've_Got_That_Old_Feeling.mp3
There are two apostrophe characters, in the two instances of "I've".

I use the "playlist play" command, directed at the squeezelite player named "den". The pathname is fully percent-encoded, so the apostrophes are now %27.
The server sends back two (well, three, actually -- the second is duplicated for some reason) notifications -- one for the "playlist play" command, and the other one for "open file".

The "playlist play" notification contains raw apostrophes. That may well be legal, but it's a little surprising. Shouldn't they be encoded?

The "open file" notification goes to the other extreme, and returns the apostrophes as %2527, which is an encoded version of %27, which is itself an encoded apostrophe. In other words, the string in the "open file" notification that was encoded for reply already contained encoded apostrophe characters.



Code:

$ telnet slimserver 9090
Trying 192.168.111.4...
Connected to slimserver
listen 1
listen 1
den playlist play %2Fopt%2Fmusic%2Fall%2FAlison_Krauss-I%27ve_Got_That_Old_Feeling%2F01-I%27ve_Got_That_Old_Feeling.mp3
00%3A00%3A00%3A00%3A00%3A27 playlist play %2Fopt%2Fmusic%2Fall%2FAlison_Krauss-I've_Got_That_Old_Feeling%2F01-I've_Got_That_Old_Feeling.mp3 
00%3A00%3A00%3A00%3A00%3A27 playlist jump 0  0
00%3A00%3A00%3A00%3A00%3A27 playlist open file%3A%2F%2F%2Fopt%2Fmusic%2Fall%2FAlison_Krauss-I%2527ve_Got_That_Old_Feeling%2F01-I%2527ve_Got_That_Old_Feeling.mp3
00%3A00%3A00%3A00%3A00%3A27 playlist open file%3A%2F%2F%2Fopt%2Fmusic%2Fall%2FAlison_Krauss-I%2527ve_Got_That_Old_Feeling%2F01-I%2527ve_Got_That_Old_Feeling.mp3
00%3A00%3A00%3A00%3A00%3A27 playlist load_done
00%3A00%3A00%3A00%3A00%3A27 prefset server currentSong 0
00%3A00%3A00%3A00%3A00%3A27 playlist newsong I've%20Got%20That%20Old%20Feeling 0

I have a monitoring script that watches the server notifications, and uses them to keep a record of which tracks were most recently played. It depends on being able to parse the pathname from the "open file" notification. My workaround is obviously to decode the path, and then, if the path still contains the pattern "%[0-9A-F][0-9A-F]", decode it again. This is unlikely to fail, but it would, of course, if I had a track with "%AB" (or other digits) in the name.

I used to be on the developer list, but haven't been for some time. I could ask about this there, but perhaps someone here will have an insight into this -- I think it's pretty clearly a bug. (I'm running what I think is the latest release: "Logitech Media Server Version: 7.9.2 - 1578996832 @ Tue Jan 14 12:17:56 CET 2020")

paul

Can't change web UI port; can't connect to radio stream

$
0
0
Hi all,

Apologies if an answer to either of these lie somewhere on the forum. I dug for a while and found a few related threads but ultimately no solution. I've finally pulled LMS off of my ancient Readynas Ultra 4 Plus and onto a separate Raspberry Pi 3b+, and so far I've really been happy with the results except for two lingering issues.


(EDIT: SOLVED) The first is that I can't change the port of the web UI to port 80. I've tried the following:
  • Setting it under Advanced->Network, but the input field only flashes red, and displays a response that '"80" is not a valid number'
  • Setting it as a command-line argument added to "SLIMOPTIONS" in /etc/default/logitechmediaserver, but it just seems to get ignored and defaults to 9000
  • Setting it by changing the "httpport" value in server.prefs in /var/lib/squeezeboxserver/prefs but it's similarly ignored, and then something resets the value in server.prefs


I have a firewall running but I allowed traffic on port 80, and then just turned the firewall off completely just to be sure but with no luck. As far as I can tell nothing else on the system is using port 80, but I can't say for sure because I don't know how to check. Any thoughts?

The second issue is that I can't connect to the following stream: https://s2.voscast.com:8967/stream.ogg

/var/log/squeezeboxserver/server.log shows this on each attempt: "[20-05-02 16:50:54.8125] Slim::Player::Squeezebox2::statHandler (149) Error: 10:c3:7b:6b:0c:c4: Decoder does not support file format, code 0"

And here is a screenshot of Ogg-related filetype settings:

Name:  Screen Shot 2020-05-02 at 8.56.20 AM.png
Views: 51
Size:  17.9 KB

I can confirm that the stream works in my browser, and other radio streams still work inside LMS. Any ideas?

This is on a Raspberry Pi 3b+ running raspbian buster. The rest of my system info copied from info panel is:

Logitech Media Server Version: 7.9.2 - 1578996832 @ Tue Jan 14 12:16:57 CET 2020
Hostname: undercommon
Server IP Address: 192.168.10.120
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: armv7l-linux
Perl Version: 5.28.1 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 1.02
IO::Socket::SSL: 2.060
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)

Thanks so much for any help :-)
Attached Images
 

Trouble moving music library to external USB drive

$
0
0
Hello,

Having trouble moving my music library from my iMac running Catalina 10.15.4 to an external USB drive, and getting my Touch to play. To be safe I copied the entire Music folder from my User folder, even things I knew LMS wouldn't need. Apple Music app recognizes the library without a hitch. I cannot seem to get LMS to accept the new location, scan the folder, and play to my Squeezebox Touch. I have deleted the previous library location in the LMS Preference Pane, selected the new location, and nothing. It saves, but will not play from the new library location. I've run the cleanup sequence, and cannot get things to work. As soon as I select the previous library location (standard Home Folder location) all is right again - the folder is scanned and everything works.

Is there a procedure to follow when moving the library location that I am missing? BTW, running LMS 7.9.2, latest update AFAIK, although it has been a while since it updated automatically.

Thanks for any help,

Time shift between LMS and pCp

$
0
0
Hello,
I have recently moved my LMS server from Ubuntu to piCorePlayer. After a while I have noted that an alarm on a Radio was playing with 2 hours delay.

My setup is:
piCorePlayer | piCorePlayer v6.0.0 | www v0005 | linux 4.19.105-pcpCore_v7 | piCore v10.3pCP | Squeezelite v1.9.6-1206-pCP
Logitech Media Server Version: 8.0.0 - 1587185153 @ Sat Apr 18 07:25:01 CEST 2020

All plugins that seem to be related to date and time are disabled. I am not connecting to squeezebox.com.
The timezone on pCp (CET-1CEST,M3.5.0,M10.5.0/3) and on the players (GMT+1) seem consistent.

I have looked for the time on the pCp and LMS web interface but I didn't find any. So I logged in by ssh and checked the RPi time, it was correct. The RPi can reach a ntp server.
The time on all the players is correct and consistent.

To get the time considered by LMS, I looked at the LMS logs and here is something strange. After rebooting the RPi, the time is correct on LMS. After restarting the LMS the time shifts back by two hours (but stays correct on RPi).

[20-05-03 13:39:12.6704] main::init (388) Starting Logitech Media Server (v8.0.0, 1587185153, Sat Apr 18 07:25:01 CEST 2020) perl 5.028002 - arm-linux-gnueabihf-thread-multi-64int
[20-05-03 11:40:29.0325] main::init (388) Starting Logitech Media Server (v8.0.0, 1587185153, Sat Apr 18 07:25:01 CEST 2020) perl 5.028002 - arm-linux-gnueabihf-thread-multi-64int

Any idea where to look further?

Update to LMS 8.0

$
0
0
> Thanks for the link, but my AVG virus software blocked it, said the file
> was infected with URL:Blacklist?
> Is it a problem with AVG or something else?


If in doubt go to virustotal.com to check the file in question. If the
vast majority of the results is ok, then you can be pretty confident
it's a false positive in AVG:

https://www.virustotal.com/gui/url/b...ffad/detection

--

Michael

Tidal and Mysqueezebox disappearing from LMS

$
0
0
Hi

I'm using LMS 7.9.3 (version 1588164984 30 April) with two Classics and one Touch. I find that Tidal regularly disappears from the Home/My Apps menu in LMS. I've checked my mysqueezebox account and Tidal is definitely activated with the corrected username.

I've also tried to connect to mysqueezebox through the LMS webpage and I get the message "There was an error loading the remote feed for : (Couldn't resolve IP address for: www.mysqueezebox.com) "

I should add that I can get to mysqueezebox (and TIDAL) using the player remote but I'd prefer to use the LMS webpage if that were possible.

Any thoughts?

How do i use Tidal on LMS 8

$
0
0
> Ah thanks for your answer. I thought I read somewhere that in contrast
> to the < v8 versions, Tidal doesn't need mysqueezebox any more. Or are


Ah, nope, that hasn't changed. You'll still need a mysb account set up.

--

Michael
Viewing all 5306 articles
Browse latest View live