Re: [SlimDevices: Unix] Announce: Squeeze on Arch - developer version

2019-09-15 Thread Lestrad


Thanks immensely for this help. I've done everything below ...  

Roland0 wrote: 
> Change the [Network] section of both files to this:
> 
> > 
Code:

  >   > 
  > [Network]
  > DHCP=ipv4
  > LinkLocalAddressing=ipv4
  > IPv6AcceptRA=no
  > DNSSEC=no
  > 

> > 
> 
> 
> Check before rebooting (if you configure these files incorrectly, you
> won't have network connectivity) :
> > 
Code:

  >   > systemctl restart systemd-networkd.service

> > 
> 
> after a reboot, check:
> > 
Code:

  >   > sysctl net.ipv6.conf.all.disable_ipv6 net.ipv6.conf.lo.disable_ipv6 
net.ipv6.conf.eth0.disable_ipv6

> > 
> 
> which should show 1 for all entries
> 
> Finally, check with ifconfig if the IPv6 address is gone

... and everything checks out. I did all of the above with the expected
results and rebooted the Wandboard and stopped and restarted LMS several
times. 

BUT I STILL CAN'T ACCESS THE SETTINGS IN LMS UNLESS I SET
PROTECTSETTINGS TO 0 IN SERVER.PREFS. AND ONCE I OPEN SETTINGS, THE
TOUCH IS NOT RECOGNIZED. AND THE TOUCH STILL CAN'T CONNECT TO LMS ON THE
WANDBOARD, EVEN THOUGH IT SEES THE LIBRARY (I CHANGED THE NAME OF THE
LIBRARY AGAIN AND THE TOUCH SEES THE NEW NAME).

I realize that the problem may be unrelated to IPv6. 

Also, we're now off the topic of SqueezeOnArch, and this thread may be
due for retirement. Perhaps I should start a new thread concerning the
"LMS won't work on Arch Linux" problem (in the hope of getting M. Herger
to join the crowd)? Paul, if you're still out there I'd love to have
your thoughts, too.

Good listening in the meantime, and once again thanks to all of you for
your help... and also, apologies for my ignorance.

Les



___
Logitech Media Server Version: Logitech Media Server Version: 7.9.2 -
ARCH-AUR-REL.7.9.2.arch2 running on Wandboard Quad, music library on
SATA HDD
Squeezebox Touch plugged into run-of-the-mill stereo rig via Musical
Fidelity X-Act, extra speakers in kitchen, basement, and bedroom
connected by ordinary copper cable.

Lestrad's Profile: http://forums.slimdevices.com/member.php?userid=40857
View this thread: http://forums.slimdevices.com/showthread.php?t=101624

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support

2019-09-15 Thread cfuttrup


Is there a list of problems or activities that needs to be tagged off
before version 6 can come out of beta and be released? Just curious.



cfuttrup's Profile: http://forums.slimdevices.com/member.php?userid=32784
View this thread: http://forums.slimdevices.com/showthread.php?t=110727

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Is piCore what I need? Help!

2019-09-15 Thread paul-


You can hook up a receiver to the RPI GPIO.

Something like this.  https://www.adafruit.com/product/157



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110960

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Is piCore what I need? Help!

2019-09-15 Thread ScottAM


ralphy wrote: 
> Squeezelite doesn't relay all buttons as the IR support was only
> intended for player transport control. 
> 
> You can see what commands are currently supported in 'ir.c'
> (https://github.com/ralph-irving/squeezelite/blob/master/ir.c#L72).

Would it be difficult to add in all the buttons on the squeeze classic
remote? My wife is very used to using the remote to get around.

Also, what's the simplest way to hook up an IR receiver? I'm not seeing
anything cheaper than USB Infrared Toy v2 (~20$). Are there better
options?



ScottAM's Profile: http://forums.slimdevices.com/member.php?userid=69412
View this thread: http://forums.slimdevices.com/showthread.php?t=110960

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0

2019-09-15 Thread ryangodammit


Hey Ralphy,

Thanks for the awesomely simple instructions, super easy for me to
follow.

Check it out, picoreplayer/jivelite wireless arcade controller

https://youtu.be/G9sQLqRjvYU   28206


+---+
|Filename: 1Capture.JPG |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=28206|
+---+


ryangodammit's Profile: http://forums.slimdevices.com/member.php?userid=67252
View this thread: http://forums.slimdevices.com/showthread.php?t=110642

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Is piCore what I need? Help!

2019-09-15 Thread paul-


Hifiberry and Allo have good products.

The disconnect would be squeezelite's implementation, as it has the
ability to go look for another server if the server quits communicating.
Here is the squeezelite startup with logging set to
slimproto=sdebug..The player power is off, nothing is playing
right now.   So the stream command t is coming from the server every 4-5
second


Code:


  usr/local/bin/squeezelite -n Pi4-4G-devel -a 80:4::1: -d slimproto=sdebug -f 
/var/log/pcp_squeezelite.log 
  [19:41:52.732933] discover_server:788 sending discovery
  [19:41:52.733570] discover_server:799 got response from: 192.168.0.141:3483
  [19:41:52.733781] slimproto:887 connecting to 192.168.0.141:3483
  [19:41:52.734076] slimproto:926 connected
  [19:41:52.734097] sendHELO:142 mac: xx:xx:xx:xx:xx
  [19:41:52.734109] sendHELO:144 cap: 
CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.6-1194-pCP,ModelName=SqueezeLite,MaxSampleRate=768000,aac,ogg,ops,ogf,flc,aif,pcm,mp3
  [19:41:52.736288] process:521 strm
  [19:41:52.736302] process_strm:274 strm command q
  [19:41:52.736316] sendSTAT:165 ms_played: 0
  [19:41:52.736326] sendSTAT:189 STAT: STMf
  [19:41:52.736335] sendSTAT:194 received bytesL: 0 streambuf: 0 outputbuf: 0 
calc elapsed: 0 real elapsed: 323536 (diff: -323536) device: 46 delay: 3
  [19:41:52.736594] process:521 setd
  [19:41:52.736607] sendSETDName:248 set playername: Pi4-4G-devel
  [19:41:52.736692] process:521 setd
  [19:41:52.737000] process:521 aude
  [19:41:52.737011] process_aude:415 enable spdif: 0 dac: 0
  [19:41:52.737307] process:521 audg
  [19:41:52.737318] process_audg:433 audg gainL: 14080 gainR: 14080 adjust: 1
  [19:41:54.134711] process:521 strm
  [19:41:54.134789] process_strm:274 strm command t
  [19:41:54.134821] sendSTAT:165 ms_played: 0
  [19:41:54.134849] sendSTAT:189 STAT: STMt
  [19:41:54.134873] sendSTAT:194 received bytesL: 0 streambuf: 0 outputbuf: 0 
calc elapsed: 0 real elapsed: 324934 (diff: -324934) device: 46 delay: 1401
  [19:41:59.011873] process:521 strm
  [19:41:59.011951] process_strm:274 strm command t
  [19:41:59.011983] sendSTAT:165 ms_played: 0
  [19:41:59.012011] sendSTAT:189 STAT: STMt
  [19:41:59.012034] sendSTAT:194 received bytesL: 0 streambuf: 0 outputbuf: 0 
calc elapsed: 0 real elapsed: 329811 (diff: -329811) device: 46 delay: 6278
  [19:42:03.011705] process:521 strm
  [19:42:03.011785] process_strm:274 strm command t
  [19:42:03.011818] sendSTAT:165 ms_played: 0
  [19:42:03.011846] sendSTAT:189 STAT: STMt
  [19:42:03.011870] sendSTAT:194 received bytesL: 0 streambuf: 0 outputbuf: 0 
calc elapsed: 0 real elapsed: 333811 (diff: -333811) device: 46 delay: 10278
  [19:42:07.011804] process:521 strm
  [19:42:07.011846] process_strm:274 strm command t
  [19:42:07.011859] sendSTAT:165 ms_played: 0
  [19:42:07.011871] sendSTAT:189 STAT: STMt
  [19:42:07.011881] sendSTAT:194 received bytesL: 0 streambuf: 0 outputbuf: 0 
calc elapsed: 0 real elapsed: 337811 (diff: -337811) device: 46 delay: 14278
  [19:42:11.011441] process:521 strm
  [19:42:11.011522] process_strm:274 strm command t
  [19:42:11.011554] sendSTAT:165 ms_played: 0
  [19:42:11.011583] sendSTAT:189 STAT: STMt
  [19:42:11.011608] sendSTAT:194 received bytesL: 0 streambuf: 0 outputbuf: 0 
calc elapsed: 0 real elapsed: 341811 (diff: -341811) device: 46 delay: 18278
  




piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110960

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread mrw

Franck@ wrote: 
> Your remarks forced me to have a fresh look at the problem ... problem
> solved now! You saved my weekend! I did not work for nothing!
It’s always pleasing to learn that one has contributed towards solving a
problem. I did not anticipate that wholesale slaughter of your cue files
would be part of the solution. But, whatever it takes !



mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread Franck@


Roland0 wrote: 
> Try adding locale=fr_FR.UTF-8 to the options in fstab
> Things to check:
> Identify what encoding the cue file is in (e.g. with file). If it isn't
> UTF-8, convert it with e.g. iconv and try with this file.
> Make sure you're using a UTF-8 capable terminal (e.g. putty need to be
> configured for it iirc), grep for the file name in the cue file, and
> then copy/paste the file name directly from the output as an argument
> for ls - does this work?

Thank you for these tips Roland0.
I'm sure they'll serve me someday. (I would not have thought of doing
this.)



Franck@'s Profile: http://forums.slimdevices.com/member.php?userid=68468
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread Franck@


SpiderJon wrote: 
> Just a couple of questions/observations:
> 
> Why is the first entry commented out? Have you tried the entry with
> nls=utf8 in it? The 'active' entry doesn't include a char encoding.
> 
> You say you've installed ntfs-3g, but it only says ntfs in your fstab
> file.
> 
> (Fwiw, I run LMS on a Pi3 B+ on Raspbian using an NTFS disk and have
> lots of files with accented chars in, from several languages, and
> haven't encountered a scanning problem, so I think you should be
> optimistic about being able to get it work... eventually :-)

Thanks for the encouragement SpiderJon.

There is a commented line in the file fstab, because I spent the day
trying multiple syntaxes, not knowing where to look. In my last tests, I
simply returned to the configuration proposed here:
https://www.raspberrypi.org/documentation/configuration/external-storage.md

I used the keyword "ntfs" in the fstab file because the single site
fstab manpage "ntfs" (not "ntfs-3g") and I found many examples on the
internet with "ntfs" ( without "-3g"). I do not know if I did well.

However, I installed the package "ntfs-3g" :

Code:

pi@pisalon:~ $ dpkg --status ntfs-3g
  Package: ntfs-3g
  Status: install ok installed
  Priority: optional
  Section: otherosfs
  Installed-Size: 1256
  Maintainer: Laszlo Boszormenyi (GCS) 
  Architecture: armhf
  Version: 1:2017.3.23AR.3-3
  Depends: libc6 (>= 2.17), libgcrypt20 (>= 1.8.0), libgnutls30 (>= 3.6.5), 
libgpg-error0 (>= 1.14), libntfs-3g883 (= 1:2017.3.23AR.3-3)
  Pre-Depends: fuse
  Description: read/write NTFS driver for FUSE
  NTFS-3G uses FUSE (Filesystem in Userspace) to provide support for the NTFS
  filesystem used by Microsoft Windows.
  Homepage: http://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html




Franck@'s Profile: http://forums.slimdevices.com/member.php?userid=68468
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread Franck@

mrw wrote: 
> Not really.
> 
> Perhaps there are two problems:
> 
> The -server.log- indicates some kind of issue when full text scanning.
> It might be worth stopping LMS and deleting
> -/var/lib/squeezeboxserver/cache/library.db-. Then restart and try
> again.
> 
> The -syslog- suggests some kind of character code/unicode issue with
> your ntfs set up, or with the file names on disk, or perhaps the text in
> the cue files.
> 
> I have never used ntfs, or ntfs-3g, and I don't know what is required by
> way of fstab set up, nor when that particular error message comes up and
> what it might be indicating.
> 
> The file name in question doesn't look particularly challenging, but
> there are two ways of saying 'è' (and many other characters) in unicode
> which can be the source of great frustration if there are mismatches
> somewhere along the line. (Unicode NFC versus Unicode NFD). Could it be
> that your cue file has something in NFD when the file name is actually
> in NFC ? Or vice versa ? Just a wild thought.
> 
> EDIT:
> Additional wild thought: Might your cue file be in ISO-8859-.. with file
> names in unicode ?

Thanks a lot mrw!

Your remarks forced me to have a fresh look at the problem ... problem
solved now! You saved my weekend! I did not work for nothing!

To search too much, I lost myself alone ... I looked in the wrong
direction by insisting on the NTFS disk while the problem came from .cue
files.

In fact, solutions like Max2Play or piCorePlayer have huge benefits.
They allow many beginners like me to easily discover the LMS solution.
When, a few years ago, I burned my Squeezebox Touch using a bad power
supply, these solutions allowed me to continue enjoying my music.

That said, these solutions also have some small drawbacks. They make
lazy! For several years, I let everything work without ever reading a
log file. If I did, I would have seen that the error messages that
occupied my weekend have always been present.

When I started ripping my CDs, I used to systematically generate a .cue
file and store it in a subdirectory. By simple security, not intending
to use them ... These .cue files have become completely obsolete. (My
music files have been renamed in the meantime.)

By deleting the .cue files and
/var/lib/squeezeboxserver/cache/library.db, all the error messages
disappeared, both in the LMS logs and in the syslog file. It's magic ...
and unexpected at the end of the weekend.

Indirect consequence: the scan of the library is now much faster.

Thanks again !



Franck@'s Profile: http://forums.slimdevices.com/member.php?userid=68468
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeeze on Arch - developer version

2019-09-15 Thread Roland0


Lestrad wrote: 
> But in the meantime, here are the full contents of the two files in
> /etc/systemd/network/:
> 
> eth0.network:
> > 
Code:

  >   > 
  > [Match]
  > Name=eth0
  > 
  > [Network]
  > DHCP=yes
  > DNSSEC=no

> > 
> 
> en.network:
> 
> > 
Code:

  >   > [Match]
  > Name=en*
  > 
  > [Network]
  > DHCP=yes
  > DNSSEC=no
  > 

> > 
> 
> 


Change the [Network] section of both files to this:


Code:


  [Network]
  DHCP=ipv4
  LinkLocalAddressing=ipv4
  IPv6AcceptRA=no
  DNSSEC=no
  




Check before rebooting (if you configure these files incorrectly, you
won't have network connectivity) :

Code:

systemctl restart systemd-networkd.service



after a reboot, check:

Code:

sysctl net.ipv6.conf.all.disable_ipv6 net.ipv6.conf.lo.disable_ipv6 
net.ipv6.conf.eth0.disable_ipv6



which should show 1 for all entries

Finally, check with ifconfig if the IPv6 address is gone



SW: 'Web UI for LMS'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
| 'Playlist Editor / Generator'
(http://forums.slimdevices.com/showthread.php?108199-Announce-LMS-Playlist-Editor)
| 'Music Classification'
(http://forums.slimdevices.com/showthread.php?108278-Announce-Essentia-Integration-music-classification-(moods-genres-))
| 'Similar Music'
(http://forums.slimdevices.com/showthread.php?108495-Announce-LMSmusly-play-similar-music)
| 'LMSlib2go' (https://www.nexus0.net/pub/sw/lmslib2go/)
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth/ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=101624

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread Roland0


Try adding locale=fr_FR.UTF-8 to the options in fstab
Things to check:
Identify what encoding the cue file is in (e.g. with file). If it isn't
UTF-8, convert it with e.g. iconv and try with this file.
Make sure you're using a UTF-8 capable terminal (e.g. putty need to be
configured for it iirc), grep for the file name in the cue file, and
then copy/paste the file name directly from the output as an argument
for ls - does this work?



SW: 'Web UI for LMS'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
| 'Playlist Editor / Generator'
(http://forums.slimdevices.com/showthread.php?108199-Announce-LMS-Playlist-Editor)
| 'Music Classification'
(http://forums.slimdevices.com/showthread.php?108278-Announce-Essentia-Integration-music-classification-(moods-genres-))
| 'Similar Music'
(http://forums.slimdevices.com/showthread.php?108495-Announce-LMSmusly-play-similar-music)
| 'LMSlib2go' (https://www.nexus0.net/pub/sw/lmslib2go/)
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth/ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Is piCore what I need? Help!

2019-09-15 Thread garym


The hifiberry Digi+ has Toslink output.   (also, I've been a happy user
of the hifiberry Dac+)



*Home:* VBA 4TB (2.5)>LMS 7.9.2>Transporter, Touch, Boom, Radio (all
ethernet)
*Cottage:* VBA 3TB (2.4)>LMS 7.9.1>Touch>Benchmark DAC I, Boom, Radio
w/Battery (ethernet, Radio WIFI)
*Office:* Win10(64)>LMS 7.9.2>Squeezelite
*The Wild (no internet): *PiCorePlayer 4.0 on rPi 3B+, hifiberry
Dac+Pro, 4TB USB (LMS & Squeezelite) 
*Controllers:* iPhone6 & iPadAir2 (iPeng), CONTROLLER, or SqueezePlay
7.8 on Win10(64) laptop
*Files:* ripping: dbpa > FLAC; post-rip: mp3tag, PerfectTunes;
Streaming: Spotify

garym's Profile: http://forums.slimdevices.com/member.php?userid=17325
View this thread: http://forums.slimdevices.com/showthread.php?t=110960

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Is piCore what I need? Help!

2019-09-15 Thread ScottAM


Paul Webster wrote: 
> Your best bet might be to install LMS somewhere in your network and then
> turn on slimproto debugging and hook up a Squeezelite to it to see what
> is going on - or run Squeezelite with debugging turned on since it does
> dump out quite a lot of slimproto info as it goes.
> 
> 
> LMS web UI/settings/advance/logging/(network.protocol.slimproto) -
> SlimProto (Squeezebox / Transporter) Protocol

Actually, I'm happy to report that when I worked around two problems
(the UDP discovery protocol changed so I just set squeezelite to look
directly for the server's ip; and; squeezelite wants to see messages
every few seconds, so I set the volume to what it already is at
internals), the rest just worked. I have lots of testing to do but at
least I have a solution. I will try putting up the standard LMS and
seeing how it gets around the timeout (since I doubt it sends volume
commands over and over), thanks.

Next up is getting audio off the awful 3.5mm jack. For my main stereo I
need optical (TOSlink) output. (Don't need a DAC, in other words). A
cheap soundcard I have has an optical out but only has 16 bit depth, and
it doesn't sound good. What's my best bet for getting TOSlink out from a
pi at 24-bit depth? (Having the additional option of DAC and stareo
analog outputs wouldn't be a bad thing.)

The other systems do need a DAC and RCA outputs, but my need for high
fidelity isn't quite as extreme.  Have people been happy with HIFIBERRY
DAC+ offering?



ScottAM's Profile: http://forums.slimdevices.com/member.php?userid=69412
View this thread: http://forums.slimdevices.com/showthread.php?t=110960

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Is piCore what I need? Help!

2019-09-15 Thread Paul Webster


Your best bet might be to install LMS somewhere in your network and then
turn on slimproto debugging and hook up a Squeezelite to it to see what
is going on - or run Squeezelite with debugging turned on since it does
dump out quite a lot of slimproto info as it goes.


LMS web UI/settings/advance/logging/(network.protocol.slimproto) -
SlimProto (Squeezebox / Transporter) Protocol



Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=110960

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread SpiderJon


Just a couple of questions/observations:

Franck@ wrote: 
> 
> 
> /etc/fstab
> > 
Code:

  >   > #LABEL=SAMSUNG /media/SAMSUNG ntfs 
defaults,nofail,uid=1000,gid=1000,umask=000,nls=utf8,utf8 0 0
  > LABEL=SAMSUNG /media/SAMSUNG ntfs defaults,auto,users,rw,nofail,umask=000 0 0

> > 
> 
> 

Why is the first entry commented out? Have you tried the entry with
nls=utf8 in it? The 'active' entry doesn't include a char encoding.

You say you've installed ntfs-3g, but it only says ntfs in your fstab
file.

(Fwiw, I run LMS on a Pi3 B+ on Raspbian using an NTFS disk and have
lots of files with accented chars in, from several languages, so I think
you should be optimistic about being able to get it work... eventually
:-)



SpiderJon's Profile: http://forums.slimdevices.com/member.php?userid=21798
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Station logo not shown

2019-09-15 Thread Alverman


While trying to describe what I had done I may have stumbled upon a
partial solution.

It appears that you can add to the favourites list in two ways:
1) go to "my apps" - select the appropriate app e.g. "TuneIn" - select
the station you want by long pressing on the name - in the popup select
"save to favorites" - confirmRESULT: station appears in the
favourites list with its logo.
2) go to "my apps" - select the appropriate app e.g. "TuneIn" - select
the station you want by a quick tap - the station begins to play - press
on + sign in the upper right corner - select "save station to favorites"
- confirm RESULT: station appears in the favourites list without is
logo.

I think it would be better if the second path were to eliminated. It
would avoid confusion.

Also, it appears that stations selected via Shoutcast never present a
logo.

However, this only solves half of the mystery.

Even when a station shows its logo in the favourites list, selecting it
not always brings up the logo in the playback window. Sometimes you need
to select the station a second time for it to become visible. Some
stations never show their logo in the playback window. I made a small
video that I hope clarifies that a bit better.

https://toeternietoe.ddns.net/index.php/s/geAWmSmrLkMKozC



Alverman's Profile: http://forums.slimdevices.com/member.php?userid=69227
View this thread: http://forums.slimdevices.com/showthread.php?t=110969

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Is piCore what I need? Help!

2019-09-15 Thread ScottAM


paul- wrote: 
> Other than reading source code,  did you look at the wiki
> 
> http://wiki.slimdevices.com/index.php/SlimProtoDeveloperGuide

I have; it doesn't all apply to squeezelite, which doesn't use several
of those commands. It's an improvement on what was available back when I
wrote my server, but it's nothing like enough. Where for example does it
mention that as of version x, command z has to be sent every n seconds
or there's an automatic disconnect?



ScottAM's Profile: http://forums.slimdevices.com/member.php?userid=69412
View this thread: http://forums.slimdevices.com/showthread.php?t=110960

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread mrw

Franck@ wrote: 
> 
> Do you have an idea ?
> 

Not really.

Perhaps there are two problems:

The -server.log- indicates some kind of issue when full text scanning.
It might be worth stopping LMS and deleting
-/var/lib/squeezeboxserver/cache/library.db-. Then restart and try
again.

The -syslog- suggests some kind of character code/unicode issue with
your ntfs set up, or with the file names on disk, or perhaps the text in
the cue files.

I have never used ntfs, or ntfs-3g, and I don't know what is required by
way of fstab set up, nor when that particular error message comes up and
what it might be indicating.

The file name in question doesn't look particularly challenging, but
there are two ways of saying 'è' (and many other characters) in unicode
which can be the source of great frustration if there are mismatches
somewhere along the line. (Unicode NFC versus Unicode NFD). Could it be
that your cue file has something in NFD when the file name is actually
in NFC ? Or vice versa ? Just a wild thought.



mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread Franck@


Yes, it is likely ... On the other hand, the errors that I observe
during the scan in the file /var/log/syslog do not seem related to
metadata.

> I'm running Buster-lite on a rpi4B at the moment. 
And LMS works without errors? With an NTFS disk?



Franck@'s Profile: http://forums.slimdevices.com/member.php?userid=68468
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread Man in a van


Franck@ wrote: 
> Hello,
> 
> I try unsuccessfully to run LMS on a Raspberry Pi 3 B+ with Raspbian
> Buster Lite. The music files are stored on an NTFS external hard drive.
> (I do not want to use piCorePlayer or Max2Play because the Raspberry Pi
> must host other applications than LMS.)
> 
> Everything works except the scan of the library (full rescan from
> scratch). These are the character sets (utf8 and others) that seems to
> generate the problem. The errors begin to appear in the second step of
> the analysis. The detection of files/directories is working properly.
> It's the analysis of new music files that generates errors.
> 
> scanner.log :
> > 
Code:

  >   > [19-09-15 10:42:35.0422] Slim::Utils::Scanner::Local::new (891) 
Handling new playlist 
file:///media/SAMSUNG/Musique/Classique/-%20Compilation%20-/Copland%20-%20Lutoslawski%20-%20Nielsen%20(Clarinet%20Concertos)/Copland,%20Clarinet%20Concerto%20-%20Lutoslawski,%20Dance%20Preludes%20-%20Nielsen,%20Clarinet%20Concerto%20(Janet%20Hilton).cue
  > [19-09-15 10:42:36.2021] Slim::Utils::Scanner::Local::new (891) Handling 
new playlist 
file:///media/SAMSUNG/Musique/Classique/-%20Compilation%20-/Dimitri%20Ashkenazy%20-%20Works%20for%20Clarinet%20and%20Piano/cover/Various%20Composers%20-%20Works%20for%20Clarinet%20and%20Piano%20-%20Dimitri%20Ashkenazy,%20Vladimir%20Ashkenazy.cue
  > [19-09-15 10:42:36.2289] Slim::Formats::Playlists::CUE::parse (473) Error: 
Couldn't find referenced FILE: [/media/SAMSUNG/Musique/Classique/- Compilation 
-/Dimitri Ashkenazy - Works for Clarinet and Piano/cover/Various Composers - 
Works for Clarinet and Piano - Dimitri Ashkenazy, Vladimir Ashkenazy.flac] on 
disk! Skipping!
  > [19-09-15 10:42:36.2300] Slim::Formats::Playlists::CUE::parse (473) Error: 
Couldn't find referenced FILE: [/media/SAMSUNG/Musique/Classique/- Compilation 
-/Dimitri Ashkenazy - Works for Clarinet and Piano/cover/Various Composers - 
Works for Clarinet and Piano - Dimitri Ashkenazy, Vladimir Ashkenazy.flac] on 
disk! Skipping!

> > 
> 
> server.log :
> > 
Code:

  >   > [19-09-15 10:42:40.2129] 
Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (525) Fulltext index 
missing or outdated - re-building
  > [19-09-15 10:42:40.2147] Slim::Schema::Storage::throw_exception (122) 
Error: DBI Exception: DBD::SQLite::db selectcol_arrayref failed: no such table: 
fulltext_terms [for Statement "
  > SELECT term, d FROM (
  > SELECT term, SUM(documents) d
  > FROM fulltext_terms
  > WHERE NOT col IN ('*', 1, 0) AND LENGTH(term) > 1
  > GROUP BY term
  > ORDER BY d DESC
  > )
  > WHERE d > 500
  > "]
  > [19-09-15 10:42:40.2157] Slim::Schema::Storage::throw_exception (122) 
Backtrace:
  > 
  > frame 0: Slim::Utils::Log::logBacktrace 
(/usr/share/perl5/Slim/Schema/Storage.pm line 122)
  > frame 1: Slim::Schema::Storage::throw_exception 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1007)
  > frame 2: DBIx::Class::Storage::DBI::__ANON__ 
(/usr/share/perl5/Slim/Plugin/FullTextSearch/Plugin.pm line 532)
  > frame 3: Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms 
(/usr/share/perl5/Slim/Plugin/FullTextSearch/Plugin.pm line 118)
  > frame 4: Slim::Plugin::FullTextSearch::Plugin::__ANON__ 
(/usr/share/perl5/Slim/Control/Request.pm line 2058)
  > frame 5: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 2058)
  > frame 6: Slim::Control::Request::notify 
(/usr/share/perl5/Slim/Control/Request.pm line 859)
  > frame 7: Slim::Control::Request::checkNotifications 
(/usr/sbin/squeezeboxserver line 708)
  > frame 8: main::idle (/usr/sbin/squeezeboxserver line 677)
  > frame 9: main::main (/usr/sbin/squeezeboxserver line 1210)
  > 
  > [19-09-15 10:42:40.2164] Slim::Control::Request::notify (2060) Error: 
Failed notify: Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db 
selectcol_arrayref failed: no such table: fulltext_terms [for Statement "
  > SELECT term, d FROM (
  > SELECT term, SUM(documents) d
  > FROM fulltext_terms
  > WHERE NOT col IN ('*', 1, 0) AND LENGTH(term) > 1
  > GROUP BY term
  > ORDER BY d DESC
  > )
  > WHERE d > 500
  > "] at /usr/share/perl5/Slim/Schema/Storage.pm line 126

> > 
> 
> 
> Do you have an idea ?
> 
> I have been looking for two days without success ...
> 
> Thanks in advance.

I'm afraid you will need someone who understands the mysteries of
metadata:(:confused::o

all the best

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Is piCore what I need? Help!

2019-09-15 Thread paul-


Other than reading source code,  did you look at the wiki

http://wiki.slimdevices.com/index.php/SlimProtoDeveloperGuide



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110960

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Is piCore what I need? Help!

2019-09-15 Thread ScottAM


So I've set up a Raspberry pi with PiCore, and it boots fine and offers
a web page, which I was able to use to configure SqueezeLite to talk to
my custom squeeze server. Kudos, this seems like a well-thought-out web
interface.

I wasn't shocked to discover SqueezeLite and my server don't agree on
the slim protocol - my server was written for version 81 of the
squeezebox software, years ago, and of course things have changed.

The first obstacle is that squeezelite expects to see a command sent to
it from the server every ~30 seconds, or it disconnects. My server
doesn't send anything periodically (and the original Classic was fine
with that); and it's not obvious what I should send - I could do a hack
like sending the volume over and over, but that can't be what's
intended. The squeezelite code isn't particularly commented. I can
slowly slog through the trial and error of "just keep trying stuff" but
I'm hoping I can approach this more cleverly. What I probably need is
the ability to contact the author and pester him with questions, but I
don't know how.

What's my best resource for figuring out what I need to change? My goal
is to change only my server. I haven't found (helpful) documentation;
does anyone have experience with the slim protocol? If I should be
asking somewhere else, where? Any help welcome.



ScottAM's Profile: http://forums.slimdevices.com/member.php?userid=69412
View this thread: http://forums.slimdevices.com/showthread.php?t=110960

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread Franck@

Man in a van wrote: 
> Have you already done
> > 
Code:

  >   > sudo apt-get install ntfs-3g

> > 

Yes it's done.

Man in a van wrote: 
> the external HD self powered or bus powered.
> If the latter, is the power supply for the pi sufficient.

Self powered but I have used it for several months/years with the same
Raspberry Pi and piCorePlayer/Max2Play without problem. Currently, it is
working properly with OSMC. I just have some errors during the "scan" of
LMS (see above).

Man in a van wrote: 
> here is a guide I have followed in the past
> https://thepihut.com/blogs/raspberry-pi-tutorials/how-to-mount-an-external-hard-drive-on-the-raspberry-pi-raspian

Thank you for the info. Normally, I have already done all that. I even
tried several mount options in /etc/fstab, without success.

The hard disk is usable in SSH, even with accents in the file names.

Code:

pi@pisalon:/media/SAMSUNG/Musique/Classique/Saint-Saëns Camille $ ls -l
  total 8
  drwxrwxrwx 1 root root 8192 janv.  9  2016 "Camille Saint-Saëns - Les 3 
Symphonies, La Jeunesse d'Hercule"




Franck@'s Profile: http://forums.slimdevices.com/member.php?userid=68468
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread Man in a van


Have you already done


Code:

sudo apt-get install ntfs-3g



and is the external HD self powered or bus powered.

If the latter, is the power supply for the pi sufficient.

here is a guide I have followed in the past

https://thepihut.com/blogs/raspberry-pi-tutorials/how-to-mount-an-external-hard-drive-on-the-raspberry-pi-raspian


ronnie

I'm running Buster-lite on a rpi4B at the moment.



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread slartibartfast


Franck@ wrote: 
> Here : https://www.raspberrypi.org/downloads/raspbian/
> I chose the "Lite" version.Ah so it is still Raspbian. When I wanted a 
> replacement for Raspbian
Stretch I wanted pure Debian.

Sent from my SM-G900F using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread Franck@


slartibartfast wrote: 
> How did you install Debian Buster on a Pi?

Here : https://www.raspberrypi.org/downloads/raspbian/
I chose the "Lite" version.



Franck@'s Profile: http://forums.slimdevices.com/member.php?userid=68468
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread slartibartfast


Franck@ wrote: 
> That's right. I have the license and I have used it for several years.
> It's even Max2Play that initially decided me to choose a Raspberry Pi
> for LMS.
> 
> Now, with the years, I prefer myself to choose the settings of the Linux
> environment. That's why I prefer to avoid starting from an existing
> package like Max2Play, PiCorePlayer, OSMC or other. It also allows me to
> learn ... Even if, here, these errors annoy me a little ...Fair enough. How 
> did you install Debian Buster on a Pi? When I was
looking for an alternative for Raspbian Stretch before it became
possible to install MusicIP on it I could only find OSMC.

Sent from my SM-G900F using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread Franck@


slartibartfast wrote: 
> Max2Play doesn't prevent you running other applications as far as I
> know.

That's right. I have the license and I have used it for several years.
It's even Max2Play that initially decided me to choose a Raspberry Pi
for LMS.

Now, with the years, I prefer myself to choose the settings of the Linux
environment. That's why I prefer to avoid starting from an existing
package like Max2Play, PiCorePlayer, OSMC or other. It also allows me to
learn ... Even if, here, these errors annoy me a little ...



Franck@'s Profile: http://forums.slimdevices.com/member.php?userid=68468
View this thread: http://forums.slimdevices.com/showthread.php?t=110970

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread slartibartfast

Franck@ wrote: 
> Hello,
> 
> I try unsuccessfully to run LMS on a Raspberry Pi 3 B+ with Raspbian
> Buster Lite. The music files are stored on an NTFS external hard drive.
> (I do not want to use piCorePlayer or Max2Play because the Raspberry Pi
> must host other applications than LMS.)
> 
> Everything works except the scan of the library (full rescan from
> scratch). These are the character sets (utf8 and others) that seems to
> generate the problem. The errors begin to appear in the second step of
> the analysis. The detection of files/directories is working properly.
> It's the analysis of new music files that generates errors.
> 
> scanner.log :
> > 
Code:

  >   > [19-09-15 10:42:35.0422] Slim::Utils::Scanner::Local::new (891) 
Handling new playlist 
file:///media/SAMSUNG/Musique/Classique/-%20Compilation%20-/Copland%20-%20Lutoslawski%20-%20Nielsen%20(Clarinet%20Concertos)/Copland,%20Clarinet%20Concerto%20-%20Lutoslawski,%20Dance%20Preludes%20-%20Nielsen,%20Clarinet%20Concerto%20(Janet%20Hilton).cue
  > [19-09-15 10:42:36.2021] Slim::Utils::Scanner::Local::new (891) Handling 
new playlist 
file:///media/SAMSUNG/Musique/Classique/-%20Compilation%20-/Dimitri%20Ashkenazy%20-%20Works%20for%20Clarinet%20and%20Piano/cover/Various%20Composers%20-%20Works%20for%20Clarinet%20and%20Piano%20-%20Dimitri%20Ashkenazy,%20Vladimir%20Ashkenazy.cue
  > [19-09-15 10:42:36.2289] Slim::Formats::Playlists::CUE::parse (473) Error: 
Couldn't find referenced FILE: [/media/SAMSUNG/Musique/Classique/- Compilation 
-/Dimitri Ashkenazy - Works for Clarinet and Piano/cover/Various Composers - 
Works for Clarinet and Piano - Dimitri Ashkenazy, Vladimir Ashkenazy.flac] on 
disk! Skipping!
  > [19-09-15 10:42:36.2300] Slim::Formats::Playlists::CUE::parse (473) Error: 
Couldn't find referenced FILE: [/media/SAMSUNG/Musique/Classique/- Compilation 
-/Dimitri Ashkenazy - Works for Clarinet and Piano/cover/Various Composers - 
Works for Clarinet and Piano - Dimitri Ashkenazy, Vladimir Ashkenazy.flac] on 
disk! Skipping!

> > 
> 
> server.log :
> > 
Code:

  >   > [19-09-15 10:42:40.2129] 
Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (525) Fulltext index 
missing or outdated - re-building
  > [19-09-15 10:42:40.2147] Slim::Schema::Storage::throw_exception (122) 
Error: DBI Exception: DBD::SQLite::db selectcol_arrayref failed: no such table: 
fulltext_terms [for Statement "
  > SELECT term, d FROM (
  > SELECT term, SUM(documents) d
  > FROM fulltext_terms
  > WHERE NOT col IN ('*', 1, 0) AND LENGTH(term) > 1
  > GROUP BY term
  > ORDER BY d DESC
  > )
  > WHERE d > 500
  > "]
  > [19-09-15 10:42:40.2157] Slim::Schema::Storage::throw_exception (122) 
Backtrace:
  > 
  > frame 0: Slim::Utils::Log::logBacktrace 
(/usr/share/perl5/Slim/Schema/Storage.pm line 122)
  > frame 1: Slim::Schema::Storage::throw_exception 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1007)
  > frame 2: DBIx::Class::Storage::DBI::__ANON__ 
(/usr/share/perl5/Slim/Plugin/FullTextSearch/Plugin.pm line 532)
  > frame 3: Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms 
(/usr/share/perl5/Slim/Plugin/FullTextSearch/Plugin.pm line 118)
  > frame 4: Slim::Plugin::FullTextSearch::Plugin::__ANON__ 
(/usr/share/perl5/Slim/Control/Request.pm line 2058)
  > frame 5: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 2058)
  > frame 6: Slim::Control::Request::notify 
(/usr/share/perl5/Slim/Control/Request.pm line 859)
  > frame 7: Slim::Control::Request::checkNotifications 
(/usr/sbin/squeezeboxserver line 708)
  > frame 8: main::idle (/usr/sbin/squeezeboxserver line 677)
  > frame 9: main::main (/usr/sbin/squeezeboxserver line 1210)
  > 
  > [19-09-15 10:42:40.2164] Slim::Control::Request::notify (2060) Error: 
Failed notify: Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db 
selectcol_arrayref failed: no such table: fulltext_terms [for Statement "
  > SELECT term, d FROM (
  > SELECT term, SUM(documents) d
  > FROM fulltext_terms
  > WHERE NOT col IN ('*', 1, 0) AND LENGTH(term) > 1
  > GROUP BY term
  > ORDER BY d DESC
  > )
  > WHERE d > 500
  > "] at /usr/share/perl5/Slim/Schema/Storage.pm line 126

> > 
> 
> /var/log/syslog :
> > 
Code:

  >   > /var/log/syslog
  > Sep 15 10:42:33 pisalon ntfs-3g[449]: Could not convert filename to 
Unicode: 'Spohr, Rietz, Solère, Heinze - Clarinet in Concert - Thea King.flac': 
ChaÃ[emoji2400]ne multi-octets ou Ã[emoji2398]tendue de caractères invalide ou 
incomplète
  > Sep 15 10:42:33 pisalon ntfs-3g[449]: Could not convert filename to 
Unicode: 'Spohr, Rietz, Solère, Heinze - Clarinet in Concert - Thea King.flac': 
ChaÃ[emoji2400]ne multi-octets ou Ã[emoji2398]tendue de caractères invalide ou 
incomplète

> > 
> 
> LMS :
> > 
Code:

  >   > Logitech Media Server
  > Logitech Media Server Version : 7.9.2 - 1567938514 @ Sun Sep 8 12:49:29 
CEST 2019
  

[SlimDevices: Unix] Raspbian, Pi 3 B+ and LMS : scan problem with encoding

2019-09-15 Thread Franck@

Hello,

I try unsuccessfully to run LMS on a Raspberry Pi 3 B+ with Raspbian
Buster Lite. The music files are stored on an NTFS external hard drive.
(I do not want to use piCorePlayer or Max2Play because the Raspberry Pi
must host other applications than LMS.)

Everything works except the scan of the library (full rescan from
scratch). These are the character sets (utf8 and others) that seems to
generate the problem. The errors begin to appear in the second step of
the analysis. The detection of files/directories is working properly.
It's the analysis of new music files that generates errors.

scanner.log :

Code:

[19-09-15 10:42:35.0422] Slim::Utils::Scanner::Local::new (891) Handling 
new playlist 
file:///media/SAMSUNG/Musique/Classique/-%20Compilation%20-/Copland%20-%20Lutoslawski%20-%20Nielsen%20(Clarinet%20Concertos)/Copland,%20Clarinet%20Concerto%20-%20Lutoslawski,%20Dance%20Preludes%20-%20Nielsen,%20Clarinet%20Concerto%20(Janet%20Hilton).cue
  [19-09-15 10:42:36.2021] Slim::Utils::Scanner::Local::new (891) Handling new 
playlist 
file:///media/SAMSUNG/Musique/Classique/-%20Compilation%20-/Dimitri%20Ashkenazy%20-%20Works%20for%20Clarinet%20and%20Piano/cover/Various%20Composers%20-%20Works%20for%20Clarinet%20and%20Piano%20-%20Dimitri%20Ashkenazy,%20Vladimir%20Ashkenazy.cue
  [19-09-15 10:42:36.2289] Slim::Formats::Playlists::CUE::parse (473) Error: 
Couldn't find referenced FILE: [/media/SAMSUNG/Musique/Classique/- Compilation 
-/Dimitri Ashkenazy - Works for Clarinet and Piano/cover/Various Composers - 
Works for Clarinet and Piano - Dimitri Ashkenazy, Vladimir Ashkenazy.flac] on 
disk! Skipping!
  [19-09-15 10:42:36.2300] Slim::Formats::Playlists::CUE::parse (473) Error: 
Couldn't find referenced FILE: [/media/SAMSUNG/Musique/Classique/- Compilation 
-/Dimitri Ashkenazy - Works for Clarinet and Piano/cover/Various Composers - 
Works for Clarinet and Piano - Dimitri Ashkenazy, Vladimir Ashkenazy.flac] on 
disk! Skipping!



server.log :

Code:

[19-09-15 10:42:40.2129] 
Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (525) Fulltext index 
missing or outdated - re-building
  [19-09-15 10:42:40.2147] Slim::Schema::Storage::throw_exception (122) Error: 
DBI Exception: DBD::SQLite::db selectcol_arrayref failed: no such table: 
fulltext_terms [for Statement "
SELECT term, d FROM (
SELECT term, SUM(documents) d
FROM fulltext_terms
WHERE NOT col IN ('*', 1, 0) AND LENGTH(term) > 1
GROUP BY term
ORDER BY d DESC
)
WHERE d > 500
"]
  [19-09-15 10:42:40.2157] Slim::Schema::Storage::throw_exception (122) 
Backtrace:
  
  frame 0: Slim::Utils::Log::logBacktrace 
(/usr/share/perl5/Slim/Schema/Storage.pm line 122)
  frame 1: Slim::Schema::Storage::throw_exception 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1007)
  frame 2: DBIx::Class::Storage::DBI::__ANON__ 
(/usr/share/perl5/Slim/Plugin/FullTextSearch/Plugin.pm line 532)
  frame 3: Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms 
(/usr/share/perl5/Slim/Plugin/FullTextSearch/Plugin.pm line 118)
  frame 4: Slim::Plugin::FullTextSearch::Plugin::__ANON__ 
(/usr/share/perl5/Slim/Control/Request.pm line 2058)
  frame 5: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 2058)
  frame 6: Slim::Control::Request::notify 
(/usr/share/perl5/Slim/Control/Request.pm line 859)
  frame 7: Slim::Control::Request::checkNotifications 
(/usr/sbin/squeezeboxserver line 708)
  frame 8: main::idle (/usr/sbin/squeezeboxserver line 677)
  frame 9: main::main (/usr/sbin/squeezeboxserver line 1210)
  
  [19-09-15 10:42:40.2164] Slim::Control::Request::notify (2060) Error: Failed 
notify: Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db 
selectcol_arrayref failed: no such table: fulltext_terms [for Statement "
SELECT term, d FROM (
SELECT term, SUM(documents) d
FROM fulltext_terms
WHERE NOT col IN ('*', 1, 0) AND LENGTH(term) > 1
GROUP BY term
ORDER BY d DESC
)
WHERE d > 500
"] at /usr/share/perl5/Slim/Schema/Storage.pm line 126



/var/log/syslog :

Code:

/var/log/syslog
  Sep 15 10:42:33 pisalon ntfs-3g[449]: Could not convert filename to Unicode: 
'Spohr, Rietz, Solère, Heinze - Clarinet in Concert - Thea King.flac': Chaîne 
multi-octets ou étendue de caractères invalide ou incomplète
  Sep 15 10:42:33 pisalon ntfs-3g[449]: Could not convert filename to Unicode: 
'Spohr, Rietz, Solère, Heinze - Clarinet in Concert - Thea King.flac': Chaîne 
multi-octets ou étendue de caractères invalide ou incomplète



LMS :

Code:

Logitech 

Re: [SlimDevices: Unix] Station logo not shown

2019-09-15 Thread Paul Webster


Can you give some examples of stations that exhibit this problem and how
you access them ... and what happens if you search for those stations
again?



Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=110969

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] Station logo not shown

2019-09-15 Thread Alverman


I have one Squeezebox Classic and two PCP players, one with a Hifiberry
DAC+ pro and the official 7" screen and one with a 4.3" touchscreen and
a Hifiberry AMP2. I also occasionally use Squeezeplayer on my phone and
tablet.

When I add a station to my favorites list with my old Squeezebox
classic, it then shows on the favorites list with its logo on all other
players. Also when playing that station, the logo is displayed normally.


When I do the same on any of my PCP players, the logo is not shown, not
in the favorites list and not when the station is playing.
Do I need to adjust something in PCP or is this a known problem?



Alverman's Profile: http://forums.slimdevices.com/member.php?userid=69227
View this thread: http://forums.slimdevices.com/showthread.php?t=110969

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix