Re: [SlimDevices: Unix] iQAudio DAC+ "crashes" sometimes after player has been switched off and on again

2017-07-12 Thread schup011

Seems to be solved.

The two GPIO lines I had connected through the DAC board to the
touchscreen seem to have disturbed the DAC.

Disconnected them and since then could not reproduce the issue.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=107637

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


Re: [SlimDevices: Unix] iQAudio DAC+ "crashes" sometimes after player has been switched off and on again

2017-07-11 Thread schup011

Thanks, will do.

I also discovered that the two additional GPIO pins I had connected are
not needed.

So I will first disconnect those, then test. Afterwards, if it is still
there, I will power the display completely separately, and try again.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=107637

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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-07-10 Thread schup011

Hi guys,

I have an issue with pCP 3.2 (normal) on RasPi 3 Model B, an iQAudio 
DAC+ and official 7'' touchscreen + JiveLite.

Sometimes (regularly, but not any time), the DAC crashes after having
switched off the player and on again. No audio output any more. 

If this happens, I can only fix it by 

1) Setting pCP audio to analogue audio --> Reboot
2) Setting pCP audio to iQAudio DAC + again --> Reboot
3) Hard reset (disconnect 5V after having shutdown pCP).

(all steps to be done, not only one of them).

Any ideas? What logs should I turn on to track this issue?

Thanks a lot!


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

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


Re: [SlimDevices: Unix] iQAudio DAC+ "crashes" sometimes after player has been switched off and on again

2017-07-10 Thread schup011

:D:D:cool:

OK, got it. Yes, I have in fact seen this symbol. Never thought about it
very much. Now, I know more.

I will place a stabilizing 220µF capacitor within the power connection
between DAC and display and then look how it works. Because this is
quite easy to implement.

If that works, for long term, I should think of a good 5V low noise
power supply.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=107637

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


Re: [SlimDevices: Unix] iQAudio DAC+ "crashes" sometimes after player has been switched off and on again

2017-07-10 Thread schup011

No good news.

Capacitor in between DAC and display power did not work at all (DAC gave
no output). Removed it, got audio again, but with the above described
issue.

Then I put several capacitors at the 5V power input of the Raspberry Pi.
No change.

How is separate powering of the display done? At the moment, I have four
wires from Pi (DAC board, respectively) to the display, two of them
being 5V and GND. 
Should I just remove 
5V, or 
5V and GND, or 
all four wires? 

Can the micro USB socket of the display board be used for powering the
display?

Thanks.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=107637

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


[SlimDevices: Unix] iQAudio DAC+ "crashes" sometimes after player has been switched off and on again

2017-07-10 Thread schup011

Hi guys,

I have an issue with pCP 3.20 (normal) on RasPi 3 Model B, an iQAudio 
DAC+ and official 7'' touchscreen + JiveLite.

Sometimes (regularly, but not any time), the DAC crashes after having
switched off the player and on again. No audio output any more. LMS and
Squeezelite seem to be running normally, just no audio output. 

If this happens, I can only fix it by 

1) Setting pCP audio to analogue audio --> Reboot
2) Setting pCP audio to iQAudio DAC + again --> Reboot
3) Hard reset (disconnect 5V after having shutdown pCP).

(all steps to be done, not only one of them).

Any ideas? What logs should I turn on to track this issue?
What happens in Squeezelite with the audio I2S hardware when the player
is switched off / on? 

Thanks a lot!


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=107637

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


Re: [SlimDevices: Unix] iQAudio DAC+ "crashes" sometimes after player has been switched off and on again

2017-07-10 Thread schup011

I initially had the "official" Raspberry Pi 2.5A supply.

Already suspected the power supply (especially now with touchscreen
attached) and bought a 3A supply (noname).

Unfortunately, the problem still occurred.

Should I nevertheless try the CanaKit one?


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=107637

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


Re: [SlimDevices: Unix] iQAudio DAC+ "crashes" sometimes after player has been switched off and on again

2017-07-10 Thread schup011

Well, of course I could power the touchscreen separately. Just have to
figure out how to do it.

Another idea: Insert a large Electrolyte capacitor at the output of the
5V supply. How do you think about that?

What is this lightening bolt?



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=107637

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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-07-21 Thread schup011

I upgraded in-situ from 3.20 to 3.21 Audio.

Everything went through and the version is working fine, including
built-in WiFi of RPi 3.

Thanks, guys, awesome work!



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-10-15 Thread schup011

I use a WiFI connection. As I said, with 3.21 Audio, everything works
perfectly fine, so my simple logic tells me that something must have
changed. :confused:



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-10-15 Thread schup011

Hi folks,

I am using pCP on a Raspberry Pi 3 Model B, with iQAudio DAC+, 7'' 
touchscreen and jivelite.

I had done the update from 3.21 (Audio) to 3.22 (Audio), but regularly
experienced crashes (once a day). This occurred usually when I used the
search (full text search PlugIn) on the touchscreen. It just said
"Connecting to piCorePlayer" or something similar, and did not react
further. Also no control from web interface or App possible. The pCP web
interface showed Squeezelite and LMS running, but LMS did not react,
e.g. no settings or log files available. Without the logs, I could not
track the issue, so I always rebooted pCP, and it worked again for a day
or so.

I then switched back to 3.21 Audio, and everything runs as usual without
a crash.

Nevertheless, I would like to help tracking this issue, but how? I was
told that there were some hot fixes on the 3.22 available, but I had not
installed them. Could they help?


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

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


Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-09-29 Thread schup011

I had similar problems.

Insitu update does not work - sometimes says "Sourceforge not
accessible", sometimes goes forward, but fails latest at the .cfg file
download.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

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


[SlimDevices: Unix] Now Playing Screen in Jivelite not showing up anymore

2017-11-30 Thread schup011

Hi folks,

I have a pCP 3.22 running on Pi 3 Model B with iQAudio DAC + and 7''
touchscreen with jivelite.

Since updating to 3.22, I have a problem coming back regularly. After
several days, the "Now Playing Screen" in Jivelite does not show up any
more. Player works, different streams (TuneIn radio, own music from
network drive, ...) can be played without a problem, and different
remote Apps also work normal. Just Jivelite on the 7'' does not work any
more. To fix, I have to reboot.

In LMS logs, I found:

[17-12-01 06:25:05.5263] Slim::Utils::Misc::msg (1250) Warning:
[06:25:05.5187] Error reading: No space left on device (wanted 4096)

But I have enough space on the drives. Partition of the SD card is big
(1 GB), cache of LMS is on 4 GB ext4 formatted USB stick. Does not
matter where the cache is (moved it back to the SD card or not).

I also removed and reinstalled Jivelite plugin --> no success.

Any ideas? Thanks a lot.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=108328

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


[SlimDevices: Unix] Unmounting USB mounts at piCorePlayer 3.22

2017-11-06 Thread schup011

Hi,

I have a piCorePlayer 3.22 running on RPI 3 Model B with an attached USB
stick for LMS cache and a network share for the music.

Recently, I wanted to test mounting my music USB HDD drive as a second
USB mount in piCorePlayer. Worked perfectly, then I removed the USB HDD
drive  and rebooted piCorePlayer.

After that, LMS and Squeezelite did not start any more because at
startup the second mounted USB drive was not available. And I was not
able to remove the mount in the Web interface. I had to plug the USB HDD
drive in again, reboot and then disable the mount. Only then, LMS and
Squeezelite started normally at the next reboot.

Is this behaviour intended? Unmounting USB drives only possible if the
drive is plugged in? I thought it could happen that an USB stick breaks
and then it would be impossible to replace it.

To be clear: This was not a big problem for me, nevertheless I thought
to share this experience in case this is not intended.

And: Thanks for this great piece of SW!!!



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=108228

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


Re: [SlimDevices: Unix] Now Playing Screen in Jivelite not showing up anymore

2018-01-27 Thread schup011

Hi,

I just wanted to report the solution to this issue.

Squeezelite rev. 999 produced many of these error lines into the
pcp_squeezelite.log:

output_thread:701 start error: File descriptor in bad state

This is as described here: 

http://forums.slimdevices.com/showthread.php?107352-Announce-piCorePlayer-3-20=900682=1#post900682

Seems having to do with my hardware (iQaudio DAC+).

After a few days up and running, the log was around 500MB large. I am
not really sure what happens with such large log files because I thought
piCorePlayer would not write to the SD card at all. 

But definetely, there was some limit at which parts of the system did
not work any more, in all cases JiveLite could not show the Now Playing
Screen any more, but sometimes also LMS crashed.

Solution: One or both of the following two steps:

1) Set Squeezelite logging level to "none" :-).
2) Update Squeezelite to newest revision (v1.8.7-1007).

Hope this helps for others having some (possibly strange) problems.

BTW: I have another piCorePlayer installation without JiveLite and LMS.
There, the log also was flushed with the same messages and stuck at some
size limit, but player was still working.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=108328

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2019-12-19 Thread schup011


Hi folks,

not sure whether I am in the correct thread - just trying.

I have a piCorePlayer system (squeezelite + LMS) running on a Pi Zero W,
with 7 inch WaveShare display.

Everything is running fine - except one thing: The jivelite screensavers
(e.g. at power off) do not work any more since the system is "building"
its own net.

I tried "Blank" and "Screen Off" and "Analogue CLock", none of them
shows up when I push the power button on the Jivelite home screen.

Then I tried again booting with connected LAN, then the savers are
working again. Now I can even pull off the LAN cable, and still the
screensavers work. So it seems that the savers only work when the system
"knows" that it is connected to the internet.

How can I get it working without booting it with connected LAN? It is
planned to be a standalone system where no internet is available.

Thanks a lot for your help!


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2019-12-28 Thread schup011


Yes, I saved them. Did not help.

Anyway, in the meanwhile I added GPIO buttons with SqeezeButtonPi to the
player, and, interestingly, the screensaver shows up if the power
command is triggered by the physical button, but it does not if the
power command is done over touch screen. And yes, I have checked in both
cases that the player goes into "power off". 

The player was a christmas present to my parents :o, therefore it won't
be easy to change things in the next weeks.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0

2020-09-11 Thread schup011


tparvais wrote: 
> Hello only few images . 
> 
> You propose to add these files in filetool ? But which full path should
> I use to point to proper lms server html folder ?

I use the path:

Code:


  
/usr/local/slimserver/Slim/Plugin/Favorites/HTML/EN/html/images/yourFavorite.png



and in the favorites.opml, the path there has to be 


Code:

icon="html/images/yourFavorite.png"



I even have a Samba share for the favorite folder.

I am not aware of having a separate .filetool.lst entry for that, and it
seems to be persistent after reboot (anyway, adding it to the list won't
hurt). Though, I experienced that when I added files when LMS was
running, all added image files got lost. So I recommend to backup them
somewhere.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=111787

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


Re: [SlimDevices: Unix] Request for Comments: Alps

2020-09-11 Thread schup011


I think it is great extending the LMS ecosystem.

One question I was asking myself with your approach was the benefit
compared to existing solutions. If you are using RasPi's, I think there
already is a great solution that covers quite a lot, maybe everything
that is possible with LMS, squeezelite and RasPi's. 

So your solution would cover also x86 hardware. Is that the reason why
you are working on it? Or is there something else?



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=112899

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


Re: [SlimDevices: Unix] Wireless access point on piCorePlayer?

2020-08-26 Thread schup011


schup011 wrote: 
> Ethernet: Rather difficult to realize, because Pi Zero W is not
> physically accessible (or, let's say, it's difficult).
> 
> Don't I loose the access to the web interface during switch over before
> everything is done and credentials are put in? E.g. in order to come
> from normal WiFi to AP mode, one has first to switch off WiFi...

I wanted just to give an update how I finally managed to switch from AP
mode to normal WiFi without using Ethernet:

With the AP still working, I ssh'd into the pCP, and used the setup
commandline tool to change WiFi settings. At the same time, I also
edited wpa_supplicant on the boot partition, not sure if that one was
needed (just wanted to make everything sure).

Then - important step - I switched off AP mode in the web interface (if
you don't, your new WiFi settings will be ignored at the next boot).

I don't remember whether I lose contact immediately and had to
hard-reboot by disconnecting power. Anyway, after the reboot, the Pi
without a problem connected to the new (external) Wifi network.

For the other way round (setting up AP mode while connected to a WiFi
network), I don't know whether there is also a way. I decided to keep
the external router (even without internet connection) because it is way
easier for maintenance. If I want to update, I can easily replace the
external router by my mobile phone in hotspot mode with the same
SSID/password settings. Thus, I can temporarily connect the system to
the internet and do updates.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=108341

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


Re: [SlimDevices: Unix] Wireless access point on piCorePlayer?

2020-08-26 Thread schup011


Greg Erskine wrote: 
> If piCorePlayer finds wpa_supplicant.conf on the boot partition it will
> turn Wifi on, create a new /usr/local/etc/pcp/wpa_supplicant.conf and
> delete wpa_supplicant.conf from the boot partition. If you happen to be
> editing wpa_supplicant.conf.sample on the boot partition it won't have
> any effect.
> 
> Be cautious as the use case of having AP Mode "On" then putting a new
> wpa_supplicant.conf on the boot partition hasn't been thought of (at
> least by me). The results will be interesting.

In fact, of course, I created a new wpa_supplicant.conf. 

Now the "interesting" result :) : I found that wpa_supplicant.conf is
ignored if the AP mode is still turned on. I first had to turn the AP
mode off via the web interface, than my new wpa_supplicant.conf was
recognized and used for finding network.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=108341

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


Re: [SlimDevices: Unix] PiCorePlayer and/or LMS and/or Squeezebox

2020-08-20 Thread schup011


mjbjr wrote: 
> I'd like to thank all of you that responded to my query. I appreciate
> it.
> 
> Monday morning, I spent a few hours trying to get an AP/Hotspot going,
> but without success. Looking around pages here and on the net, I seemed
> to have the correct settings, but still no joy.
> 
> I've moved on... there's a new Volumio release that has cleaned some
> things up,
> though there's a bit to go, and I was able to do one upgrade and one new
> install
> and be up and running in minutes.
> 
> Thanks
> 
> Be Safe
> 
> Vote
> .




I just want to point out that I got exactly such a system running
without problems. The only thing is that at first you need to connect it
to your router or switch via Ethernet because that gives you the
possibility to configure everything. Once you have done that, you can
turn on the AP mode, and it was working right away for me.

The only thing I "discovered" was that this kind of setup is difficult
for maintenance. Maintenance mostly means you would want to update
something, and that is much easier being connected to the internet.

So if you want to come back, just feel free to contact this forum or
myself via PN to get some help. :-)


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=112764

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


[SlimDevices: Unix] How to change perl files of LMS in piCorePlayer

2020-08-20 Thread schup011


Hi everyone,

sorry if this was answered before - I could not find it using search.

I probably found a little problem in LMS and  philippe_44 told me where
I should make the change (/Slim/Networking/Async) in order to test it.

Could anyone help me how to write in
/usr/local/slimserver/Slim/Networking/Async. Linux tells me that it is
readonly.

Thanks!



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=112802

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


Re: [SlimDevices: Unix] How to change perl files of LMS in piCorePlayer

2020-08-21 Thread schup011


paul- wrote: 
> Its actually a symbolic link to a squashfs readonly mounted file
> system.
> 
> First shutdown LMS
> 
> > 
Code:

  >   > 
  > cd /usr/local/slimserver/Slim/Networking/Async
  > sudo rm HTTP.pm
  > sudo cp 
/tmp/tcloop/slimserver//usr/local/slimserver/Slim/Networking/Async/HTTP.pm .
  > 

> > 
> 
> Now you can edit the file, and then restart the server.  This will not
> survive are reboot

Thank you very much, Paul.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=112802

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2020-08-27 Thread schup011


ralphy wrote: 
> Custom Clock screen saver is supported on pcp but it's very different
> from the lua sources for the now playing applet.
> 
> It's located in
> /tmp/tcloop/pcp-jivelite/opt/jivelite/share/jive/applets/NowPlaying but
> you can't modify it there.
> 
> You have to copy the folder to
> /home/tc/.jivelite/userpath/applets/NowPlaying, make changes and  ensure
> you backup the pcp configuration before a reboot or all the changes will
> be lost.

I would also like to tweak that a little bit to show my classical music
tags in a better way. Could anyone help me to understand which
properties (tags) can be read here instead:

(NowPlayingApplet.lua, line 1976):

Code:

function _extractTrackInfo(self, _track)
if _track.track then
local returnTable = {}
table.insert(returnTable, _track.track)
table.insert(returnTable, _track.artist)
table.insert(returnTable, _track.album)
return returnTable
else
return _track.text or "\n\n\n"
end
  end



I would love to read composer and conductor tag here. Is that possible?
I wasn't able to find the definition of this _track object to understand
that better.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] Wireless access point on piCorePlayer?

2020-07-21 Thread schup011


paul- wrote: 
> Yes that is tricky indeed, for as infrequent as you need to update like
> that.   I never intended that all to be done on a zero W.  Not even sure
> how you set it up from the beginning.

I don't critize that. PiCorePlayer is awesome!! And I don't remember
either how I set it up. Maybe I had used ethernet but where it is
now, I don't have a router, I just have a laptop and smartphone with me.
Yes, there are places on earth where there is no Wifi :D.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=108341

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


Re: [SlimDevices: Unix] Wireless access point on piCorePlayer?

2020-07-21 Thread schup011


paul- wrote: 
> If you can plug into the ethernet port, then it will route traffic
> appropriately.  Otherwise you will have to use the web interface to
> switch everything, then put it back when done.

Ethernet: Rather difficult to realize, because Pi Zero W is not
physically accessible (or, let's say, it's difficult).

Don't I loose the access to the web interface during switch over before
everything is done and credentials are put in? E.g. in order to come
from normal WiFi to AP mode, one has first to switch off WiFi...



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=108341

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


Re: [SlimDevices: Unix] Wireless access point on piCorePlayer?

2020-07-22 Thread schup011


Jeff07971 wrote: 
> Is the OP sure they have a RasPi Zero W ?
> 
> 
> 
> 
> 
> The RasPi Zero W has neither the DSI connector for the RPi Touchscreen
> nor an Ethernet connector.
> 
> I realise these could be USB ethernet and a non DSI screen but just
> flagging it.
> 
> Jeff

Yes, I am sure to have a Pi Zero W. I think I connected a USB hub with
Ethernet and plugged into my router.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=108341

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


Re: [SlimDevices: Unix] Wireless access point on piCorePlayer?

2020-07-21 Thread schup011


Sorry to use this thread for my question, but I think it fits to the
discussion here:

I have a standalone Picoreplayer system with RasPi Zero W, set up as
wireless access point. It has a HDD connected and 7 inch touch display
with Jivelite. Everything is running fine, but connections and SD card
of the system are not really accessible :-(.

Nevertheless, as there have been some LMS updates since then and I would
like to use the new versions, I would like to access the internet once
to do all the updates via the 4G connection of my smartphone (smartphone
set as AP), and then switch back to access point mode.

So I wondered whether there is a headless way to switch from AP mode to
"normal" Wifi mode and back to AP mode. Any hints? Using ssh would not
be a problem, just the missing Ethernet connection is a problem. 

Or would it be possible to set it up such that it searches for the Wifi
network to access during boot, and if that is not found, it sets up
itself as its own wireless access point?


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=108341

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2021-08-19 Thread schup011


paul- wrote: 
> pCP8 with RPi 7" DSI or other DPI display + HDMI Audio
> 
> So I've made some progress here, there is no one generic setting that
> works for all.
> 
> You will need to edit the config.txt on the boot partition.
> >   > 
  - Comment out or delete the line  gpu_mem=xxx
  - add a line at the end   max_framebuffers=2
  - add a line at the end   display_default_lcd=1
  - add a line at the end   framebuffer_priority=0  (For RPi 7" DSI
  > LCD screen)
  > > > 
> 
> If you are using a 3rd party DPI screen like the "Hyperpixel" Then you
> will want to set frambuffer_priority=1.

I have tested this:

My system: RasPi Model 3B, Official 7'' screen, external USB HDD for
music library, pCP 6.1 (until now), HDMI audio out to Marantz SR 6013
receiver.

In-situ-updated to pCP 7.0. Squeezelite did not start (as known). Did
the changes to config.txt --> works!
In-situ-updated to pCP 8.0. Squeezelite started, changes in config.txt
were still there (even the commented "gpu_mem="). Had to change
audio out once to "none" and then back to "HDMI audio" --> works!

Thanks for the great work!



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2021-08-02 Thread schup011


paul- wrote: 
> Not everyone is using the same hardware, so the config won't be the same
> for everyone.   I actually tested with a Hyperpixel DSI screen.

OK, promised, I will test, but only in about 16-17 days after vacation.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-02 Thread schup011


philippe_44 wrote: 
> I will have a look but I've finally not made chnages to the "silence
> creation" part (I was thinking about that to have a sream.flac instead
> of stream.mp3) and funny enough, one of the main issue was that no
> player supports properly change of sampling rate during single stream. I
> noticed that for flac and I re-checked for mp3 and saw the same and
> anyway squeezelite code confirms that. So although the mp3 or flac can
> have independant sampling rate per block, players won't analyse every
> block and reprogram themselves. AFAIK (and I'd need to verify that) LMS
> inserts fix silence frames when some silence is required at the
> beginning and the silence files (found in HTML/EN/html) are 44.1 kHz. So
> that problem has (almost) no solution, we can't have many silence files
> (we don't really know which one might be required anyway) and we can't
> easily reprogram DAC on-the-fly

Couldn't LMS modify the header of those silence files when using them
and recalculate the length that it fits to the desired length?



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-02 Thread schup011


Yes, I also did learn only from the code posted above that it was only
applying to MP3. I think for streams, it is really questionable because
if you jump into a radio stream, it does not matter if you loose a
second that is "eaten" by the Amp. Only for files, it could make sense
since lots of classical music files really start at the very first
second.
So I could also imagine to restrict this to files .


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-02 Thread schup011


philippe_44 wrote: 
> I've submitted a PR with that
> 
> > 
Code:

  >   > 
  > if ($client->streamBytes() == 0 && $client->streamformat() eq 'mp3' && 
$client->streamingSong()->samplerate() == 44100) {
  > 

> > 
> It's lazyman version as it will only work for files (samplerate in
> $song object is only set when streaming local files), you could try to
> use
> > 
Code:

  >   > 
  > $client->streamingSong->currentTrack->samplerate
  > 

> > 
> as well if you prefer

If it applies only to MP3 anyway, one could do an "extended lazyman"
version with two different silence files for 44.1 and 48 kHz. Other
sampling rates for MP3 should be really unusual.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-02 Thread schup011


It's really funny and I wonder why I haven't noticed that before. I just
always wondered why there were some jumps and left out music.

And I only realized that something is wrong when I listened to a live
performance of "Tristan und Isolde" with my favourite tenor Jonas
Kaufmann. I thought: "Oh my, he is not in a good shape today, his voice
sounds so extremely deep". ;) Then I checked my recording from DVB-S and
everything was normal...


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-02 Thread schup011


bpa wrote: 
> The log looks OK to me - except for 
> 
> 
> This is odd because IIRC (needs to check) the silence samples LMS uses
> is encoded into 44.1Khz (file silence.mp3 or lbrsilence.mp3)?
> 
> Have you asked LMS to insert a delay (aka silence) through the "audio
> startup time" setting ?
> 
> edit:
> 
> Silence played fast or slow should make no difference but this is a
> weird problem so must consider everything.

You are my hero!

It was the silence. I had entered it because sometimes my Marantz was a
little late in starting. *I set it to zero - and everything is playing
ok.
*
So it seems that we have tracked down the problem. I think it could be
reproduced now with adding the "Audio startup time" to 1s. Of course
would be great to have it working also with the silence. 

Who can fix this?


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2021-08-02 Thread schup011


paul- wrote: 
> pCP8 with RPi 7" DSI or other DPI display + HDMI Audio
> 
> So I've made some progress here, there is no one generic setting that
> works for all.
> 
> You will need to edit the config.txt on the boot partition.
> >   > 
  - Comment out or delete the line  gpu_mem=xxx
  - add a line at the end   max_framebuffers=2
  - add a line at the end   display_default_lcd=1
  - add a line at the end   framebuffer_priority=0  (For RPi 7" DSI
  > LCD screen)
  > > > 
> 
> If you are using a 3rd party DPI screen like the "Hyperpixel" Then you
> will want to set frambuffer_priority=1.

Does this mean pCP8 will then support 7'' official RasPi Touchscreen and
HDMI Audio at the same time? Is it worth giving it a try with an
upgrade? What do you mean by "there is no one generic setting that works
for all"?


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-02 Thread schup011


Here is the same as in post #36, but with a 48 kHz mp3 file, instead of
a stream:


Code:


  [16:06:18.255587] codec_open:264 codec open: 'm'
  [16:06:18.255618] codec_open:281 closing codec: 'f'
  [16:06:18.255860] connect_socket:164 connecting to 192.168.0.161:9000
  [16:06:18.256142] stream_sock:600 header: GET 
/stream.mp3?player=b8:27:eb:74:ea:41 HTTP/1.0
  
  
  [16:06:18.256176] sendSTAT:195 STAT: STMc
  [16:06:18.256260] process_strm:384 set fade mode: 0, channels: 0, invert: 0
  [16:06:18.257108] process:528 audg
  [16:06:18.257152] process_audg:440 audg gainL: 3328 gainR: 3328 adjust: 0
  [16:06:18.257182] set_volume:233 setting internal gain left: 65536 right: 
65536
  [16:06:18.288231] stream_thread:331 headers: len: 491
  HTTP/1.1 200 OK
  Server: Logitech Media Server (8.1.1 - 1610364019)
  Connection: close
  Content-Type: audio/mpeg
  Set-Cookie: Squeezebox-albumView=; path=/
  Set-Cookie: Squeezebox-expandPlayerControl=true; path=/
  Set-Cookie: Squeezebox-expanded-MY_MUSIC=1; path=/
  Set-Cookie: Squeezebox-expanded-FAVORITES=1; path=/
  Set-Cookie: Squeezebox-expanded-PLUGINS=1; path=/
  Set-Cookie: Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=1; path=/
  Set-Cookie: Squeezebox-expanded-RADIO=1; path=/
  
  
  [16:06:18.288349] sendRESP:226 RESP
  [16:06:18.405621] mad_decode:235 mad_frame_decode error: bad main_data_begin 
pointer
  [16:06:18.407177] mad_decode:247 setting track_start
  [16:06:18.407262] mad_decode:276 gapless: skipping 529 frames at start
  [16:06:19.400020] sendSTAT:195 STAT: STMt
  [16:06:20.400647] sendSTAT:195 STAT: STMt
  [16:06:21.002235] process:528 strm
  [16:06:21.002322] process_strm:280 strm command t
  [16:06:21.002357] sendSTAT:195 STAT: STMt
  [16:06:22.003548] sendSTAT:195 STAT: STMt
  [16:06:23.004889] sendSTAT:195 STAT: STMt
  [16:06:24.005577] sendSTAT:195 STAT: STMt
  [16:06:25.006909] sendSTAT:195 STAT: STMt
  [16:06:26.001616] process:528 strm
  [16:06:26.001706] process_strm:280 strm command t
  [16:06:26.001740] sendSTAT:195 STAT: STMt
  [16:06:27.002940] sendSTAT:195 STAT: STMt
  [16:06:27.096859] _output_frames:153 track start sample rate: 44100 
replay_gain: 0
  
  




schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-02 Thread schup011


bpa wrote: 
> to save time - can you which post/log this is shown.  MP3 frame are
> invalid without sample rate and cannot be decoded. It cannot be
> guessed.
> 
> 

Have a look at post #36.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-02 Thread schup011


Here is how LMS reacts for the two different streams (mp3 codec not
excluded in Squeezelite). Looks weird.

First, on 14:07:44, the "problematic" mp3 stream was requested. Then
after a few seconds, it played, but too slow.
Second, on 14:08:05, the aac stream of the same radio was requested.
After a few seconds it played ok.

35403

Also here, something looks not really ok. Many iterative checks of how
to transcode


+---+
|Filename: server.log-4.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=35403|
+---+

----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-02 Thread schup011


bpa wrote: 
> I'm pretty sure it is legacy (and not just MP3 but also just 44.1kHz) as
> native Flac only appeared with SB2 and native AAC with Touch/Radio.
> 
> Now it seems the uneven way of handling formats could result in more
> "false" reports.
> 
> If the added "silence" is still necessary for current DACs - I feel
> users would have been demanding it as they would have needed it to play
> Flac and AAC.

I agree and obviously I have never needed it even if I thought I would.
But my example shows that this has to be solved somehow as it gave
really weird results - Philippe's lazyman solution should be sufficient
for most users, but documentation should then also tell that this
feature works only for mp3 44.1 kHz.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-03 Thread schup011

mherger wrote: 
> > It boiled down to when you have set an « audio startup time » in
> player
> > settings, and mp3 is played, LMS inserts a series of silence frames
> but
> 
> And it does so for mp3 only? Other formats would play correctly as 
> expected?
> 
> > Now, the real question was: is that feature still meaningful or is it
> a
> > reminiscence from the past when mp3 was the only option. I think
> there
> > is still some issues with gaps and MP3 codecs, but I’ve never
> > investigated that part.
> 
> I'm wondering whether this is something SliMP3 and/or SB1 needed. Would
> 
> recent players or Squeezelite work without those files? I'd rather 
> disable this for recent players than add new files.
My pCP setup works fine without. I have set the time to 0. Before, I
thought it would be useful, but never investigated whether I really
needed it.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-02 Thread schup011


bpa wrote: 
> The strange thing is that within the MP3 audio frame header, the sample
> rate of the audio stream is specified.
> The HDMI output device should be opened with the rate found in the MP3
> frame.
> 
> Can you confirm the hardware which is running PCP - what version of a Pi
> hardware so that maybe others can test ?
> What model of Marantz - with HDMI there is negotiation as to what rates
> are supported by HDMI device.

Yeah, the log shows that it does not find the sample rate and maybe
guesses it from the first data

It is a RasPi Model 3B with Marantz SR 6013, JiveLite on official 7''
touchscreen, LMS 8.1 and SqueezeLite updated to current version:


Code:

piCorePlayer | piCorePlayer v6.1.0 | www v0009 | linux 4.19.122-pcpCore_v7 
| piCore v10.3pCP | Squeezelite v1.9.9-1386-pCP



The thing I am really confused about is that with flac or aac, 48 kHz
rates are no problem...


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


paul- wrote: 
> I really get into trouble with transcoding rules.  Not sure why it's not
> going mp3->flc.   But I now see the MP3->MP3 case.  It needs lame.
> 
> Have you installed extension pcp-lame.tcz  (That is not installed by
> default)

It was not installed. I have done that, and restarted LMS, but it did
not change anything, except for that LMS confirms in the settings now
that Lame is installed.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


philippe_44 wrote: 
> oh, then these are stock version, don't need to include them. Do you
> have plugins like C3PO?

Ok. I just have Custom Clock Helper, Custom Browse, Material, Music
Information Screen, YouTube, Title Switcher, Full text search.

I will post the log, to me it looks like the one before.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011
%20Puccini%20Album%20-%20Orchestra%20dell%27Accademia%20Nazionale%20di%20Santa%20Cecilia,%20Antonio%20Pappano,%20Jonas%20Kaufmann/08%20Giacomo%20Puccini%20-%20Tosca%20-%20Akt%20.flac
  [21-08-01 19:57:02.2785] Slim::Player::Protocols::File::open (97) Opening 
file /mnt/intenso/Musik/K008Giacomo Puccini - Jonas Kaufmann - Nessun Dorma 
- The Puccini Album - Orchestra dell'Accademia Nazionale di Santa Cecilia, 
Antonio Pappano, Jonas Kaufmann/08 Giacomo Puccini - Tosca - Akt .flac
  [21-08-01 19:57:02.2800] Slim::Player::Protocols::File::open (189) Seeking in 
0 into /mnt/intenso/Musik/K008Giacomo Puccini - Jonas Kaufmann - Nessun 
Dorma - The Puccini Album - Orchestra dell'Accademia Nazionale di Santa 
Cecilia, Antonio Pappano, Jonas Kaufmann/08 Giacomo Puccini - Tosca - Akt .flac
  [21-08-01 19:57:02.2808] Slim::Player::Song::open (491) URL is a song 
(audio): 
file:///mnt/intenso/Musik/K008%20%20%20%20Giacomo%20Puccini%20-%20Jonas%20Kaufmann%20-%20Nessun%20Dorma%20-%20The%20Puccini%20Album%20-%20Orchestra%20dell%27Accademia%20Nazionale%20di%20Santa%20Cecilia,%20Antonio%20Pappano,%20Jonas%20Kaufmann/08%20Giacomo%20Puccini%20-%20Tosca%20-%20Akt%20.flac,
 type=flc
  [21-08-01 19:57:02.3233] Slim::Player::SongStreamController::new (30) live=1
  [21-08-01 19:57:02.3261] Slim::Player::StreamingController::_Stream (1282) 
b8:27:eb:74:ea:41: stream
  [21-08-01 19:57:02.3311] Slim::Player::StreamingController::_Stream (1319) 
Song queue is now 0
  [21-08-01 19:57:02.3323] Slim::Player::StreamingController::_setPlayingState 
(2377) new playing state BUFFERING
  [21-08-01 19:57:02.3331] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state STREAMING
  [21-08-01 19:57:02.3340] Slim::Player::StreamingController::_eventAction 
(302) b8:27:eb:74:ea:41: NextTrackReady - new state BUFFERING-STREAMING
  [21-08-01 19:57:02.3349] Slim::Player::StreamingController::_eventAction 
(302) b8:27:eb:74:ea:41: Play - new state BUFFERING-STREAMING
  [21-08-01 19:57:02.3463] Slim::Player::StreamingController::_eventAction 
(272) b8:27:eb:74:ea:41: StatusHeartbeat in BUFFERING-STREAMING -> 
Slim::Player::StreamingController::_NoOp
  [21-08-01 19:57:02.6216] 
Slim::Player::StreamingController::playerTrackStarted (2200) b8:27:eb:74:ea:41
  [21-08-01 19:57:02.6222] Slim::Player::StreamingController::_eventAction 
(272) b8:27:eb:74:ea:41: Started in BUFFERING-STREAMING -> 
Slim::Player::StreamingController::_Playing
  [21-08-01 19:57:02.6229] Slim::Player::StreamingController::_setPlayingState 
(2377) new playing state PLAYING
  [21-08-01 19:57:02.6239] Slim::Player::StreamingController::_Playing (368) 
Song 0 has now started playing
  [21-08-01 19:57:02.6254] Slim::Player::StreamingController::_Playing (397) 
Song queue is now 0
  [21-08-01 19:57:02.6259] Slim::Player::StreamingController::_eventAction 
(302) b8:27:eb:74:ea:41: Started - new state PLAYING-STREAMING
  [21-08-01 19:57:02.6270] Slim::Player::StreamingController::_eventAction 
(272) b8:27:eb:74:ea:41: StatusHeartbeat in PLAYING-STREAMING -> 
Slim::Player::StreamingController::_CheckSync
  [21-08-01 19:57:02.6486] Slim::Player::TranscodingHelper::enabledFormat (231) 
Checking to see if flc-flc-*-* is enabled
  [21-08-01 19:57:02.6492] Slim::Player::TranscodingHelper::checkBin (264) 
Checking formats for: flc-flc-*-*
  [21-08-01 19:57:02.6496] Slim::Player::TranscodingHelper::enabledFormat (231) 
Checking to see if flc-flc-*-* is enabled
  [21-08-01 19:57:02.6500] Slim::Player::TranscodingHelper::checkBin (272)
enabled
  [21-08-01 19:57:02.6504] Slim::Player::TranscodingHelper::checkBin (274)   
Found command: -
  [21-08-01 19:57:02.6513] Slim::Player::TranscodingHelper::getConvertCommand2 
(488) Matched: flc->flc via: -
  [21-08-01 19:57:03.6229] Slim::Player::StreamingController::_eventAction 
(272) b8:27:eb:74:ea:41: StatusHeartbeat in PLAYING-STREAMING -> 
Slim::Player::StreamingController::_CheckSync
  [21-08-01 19:57:04.6248] Slim::Player::StreamingController::_eventAction 
(272) b8:27:eb:74:ea:41: StatusHeartbeat in PLAYING-STREAMING -> 
Slim::Player::StreamingController::_CheckSync
  [21-08-01 19:57:05.6260] Slim::Player::StreamingController::_eventAction 
(272) b8:27:eb:74:ea:41: StatusHeartbeat in PLAYING-STREAMING -> 
Slim::Player::StreamingController::_CheckSync
  



----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


philippe_44 wrote: 
> You should submit a log now with lame installed and a copy of your
> convert.conf and custom-convert.conf just to be sure
Ok, will do. Could you tell me where on a pCP system I can find the two
conf files? I have never touched them.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011

Code:

[21-08-01 23:04:58.6796] Slim::Player::StreamingController::_eventAction 
(272) b8:27:eb:74:ea:41: Play in STOPPED-IDLE -> 
Slim::Player::StreamingController::_StopGetNext
  [21-08-01 23:04:58.6805] Slim::Player::StreamingController::_eventAction 
(283) params: index => 0 seekdata => undef
  [21-08-01 23:04:58.6835] Slim::Player::StreamingController::_Stop (610) Song 
queue is now 0
  [21-08-01 23:04:58.6845] Slim::Player::StreamingController::_setPlayingState 
(2377) new playing state STOPPED
  [21-08-01 23:04:58.6853] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state IDLE
  [21-08-01 23:04:58.6890] Slim::Player::Song::new (109) index 0 -> 
file:///mnt/intenso/Musik/P029/01-01.mp3
  [21-08-01 23:04:58.6906] Slim::Player::Song::new (144) live=2
  [21-08-01 23:04:58.6916] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state TRACKWAIT
  [21-08-01 23:04:58.6926] Slim::Player::Song::DESTROY (154) 
DESTROY(Slim::Player::Song=ARRAY(0x95efcd0)) live=1: index=0, 
url=file:///mnt/intenso/Musik/P029/01-01.mp3
  [21-08-01 23:04:58.6968] Slim::Player::StreamingController::_playersMessage 
(796) Aktueller Titel: file:///mnt/intenso/Musik/P029/01-01.mp3
  [21-08-01 23:04:58.7078] Slim::Player::Song::getNextSong (223) 
file:///mnt/intenso/Musik/P029/01-01.mp3
  [21-08-01 23:04:58.7084] Slim::Player::StreamingController::_nextTrackReady 
(744) b8:27:eb:74:ea:41: nextTrack will be index 0
  [21-08-01 23:04:58.7090] Slim::Player::StreamingController::_eventAction 
(272) b8:27:eb:74:ea:41: NextTrackReady in STOPPED-TRACKWAIT -> 
Slim::Player::StreamingController::_Stream
  [21-08-01 23:04:58.7095] Slim::Player::StreamingController::_Stream (1210) 
Song queue is now 0
  [21-08-01 23:04:58.7099] Slim::Player::StreamingController::_Stream (1213) 
b8:27:eb:74:ea:41: preparing to stream song index 0
  [21-08-01 23:04:58.7105] Slim::Player::Song::open (360) 
file:///mnt/intenso/Musik/P029/01-01.mp3
  [21-08-01 23:04:58.7124] Slim::Player::TranscodingHelper::getConvertCommand2 
(485) Error: Didn't find any command matches for type: mp3
  [21-08-01 23:04:58.7129] Slim::Player::Song::open (384) seek=false time=0 
canSeek=0SEEK_ERROR_TRANSCODED
  [21-08-01 23:04:58.7141] Slim::Player::TranscodingHelper::getConvertCommand2 
(485) Error: Didn't find any command matches for type: mp3
  [21-08-01 23:04:58.7146] Slim::Player::Song::open (415) Error: Couldn't 
create command line for mp3 playback for 
[file:///mnt/intenso/Musik/P029/01-01.mp3]
  [21-08-01 23:04:58.7152] Slim::Player::StreamingController::_playersMessage 
(796) Problem: Dateityp kann nicht wiedergegeben werden für:: 
file:///mnt/intenso/Musik/P029/01-01.mp3
  [21-08-01 23:04:58.7199] Slim::Player::StreamingController::_willRetry (1408) 
no retry data
  [21-08-01 23:04:58.7204] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state IDLE
  [21-08-01 23:04:58.7210] Slim::Player::StreamingController::nextsong (889) 
The next song is number 0, was 0
  [21-08-01 23:04:58.7215] Slim::Player::StreamingController::_eventAction 
(302) b8:27:eb:74:ea:41: NextTrackReady - new state STOPPED-IDLE
  



----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


I understand that there are two ways how the conversion from MP3 stream
to PCM for the HDMI Audio is done:

1) LMS decodes to PCM and sends to Squeezelite, that sends directly to
HDMI
2) LMS sends MP3 to Squeezelite, Squeezelite decodes to PCM.

Obviously in my case, neither of both ways is working. Both of them
should, or am I wrong?



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011

paul- wrote: 
> Restrict at the player…..On the squeezelite settings page.

As described before, I tried to restrict to 44.1 kHz (not really what I
want to do, because I want to have both 44.1 and 48 with high quality),
but then the 48 did not play at all...


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


paul- wrote: 
> sox is installed by default with lms on pCP.
> 
> exclude codec will force lms to transcode

Somehow, my LMS won't transcode. At least, if I exclude the mp3 codec,
the stream does not play anymore at all.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


paul- wrote: 
> It does for me.   You will need to check the logging.Player.source
> is a start.

Here you are (situation: codec mp3 excluded at Squeezelite settings
page, then have chosen the mentioned mp3 radio stream to play):


Code:


  [21-08-01 19:27:29.3568] Slim::Player::StreamingController::_Stream (1213) 
b8:27:eb:74:ea:41: preparing to stream song index 0
  [21-08-01 19:27:29.3573] Slim::Player::Song::open (360) 
https://br-edge-3008-dus-ts-cdn.cast.addradio.de/br/brklassik/live/mp3/mid?_art=dj0yJmlwPTUuMTQ2LjE5Mi4xMDQmaWQ9aWNzY3hsLTdvcWZhbW5vYiZ0PTE2Mjc5MjQ4Mzcmcz03ODY2ZjI5YyMyOWUxMmY4MmVkYWMyZGU4MTEzZjZjYjM2OTNmNThlOA
  [21-08-01 19:27:29.3603] Slim::Player::TranscodingHelper::getConvertCommand2 
(485) Error: Didn't find any command matches for type: mp3
  [21-08-01 19:27:29.3609] Slim::Player::Song::open (384) seek=false time=0 
canSeek=0SEEK_ERROR_MP3_UNKNOWN_DURATION
  [21-08-01 19:27:29.3618] Slim::Player::TranscodingHelper::getConvertCommand2 
(485) Error: Didn't find any command matches for type: mp3
  [21-08-01 19:27:29.3623] Slim::Player::Song::open (415) Error: Couldn't 
create command line for mp3 playback for 
[https://br-edge-3008-dus-ts-cdn.cast.addradio.de/br/brklassik/live/mp3/mid?
  



In the LMS file types settings, MP3 can only be chosen "native" or
"disabled". Here, it was "native".


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011

paul- wrote: 
> Need more of the log.  Make sure you have set player.source logging to
> info or debug.

Here is another one (tried to play a 48kHz mp3 from my library):


Code:


  [21-08-01 19:34:52.1620] Slim::Player::StreamingController::_eventAction 
(272) b8:27:eb:74:ea:41: Play in STOPPED-IDLE -> 
Slim::Player::StreamingController::_StopGetNext
  [21-08-01 19:34:52.1625] Slim::Player::StreamingController::_eventAction 
(283) params: seekdata => undef index => 0
  [21-08-01 19:34:52.1637] Slim::Player::StreamingController::_setPlayingState 
(2377) new playing state STOPPED
  [21-08-01 19:34:52.1641] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state IDLE
  [21-08-01 19:34:52.1666] Slim::Player::Song::new (109) index 0 -> 
file:///mnt/intenso/Musik/P029/01-01.mp3
  [21-08-01 19:34:52.1676] Slim::Player::Song::new (144) live=3
  [21-08-01 19:34:52.1680] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state TRACKWAIT
  [21-08-01 19:34:52.1705] Slim::Player::StreamingController::_playersMessage 
(796) Aktueller Titel: file:///mnt/intenso/Musik/P029/01-01.mp3
  [21-08-01 19:34:52.1805] Slim::Player::Song::getNextSong (223) 
file:///mnt/intenso/Musik/P029/01-01.mp3
  [21-08-01 19:34:52.1812] Slim::Player::StreamingController::_nextTrackReady 
(744) b8:27:eb:74:ea:41: nextTrack will be index 0
  [21-08-01 19:34:52.1817] Slim::Player::StreamingController::_eventAction 
(272) b8:27:eb:74:ea:41: NextTrackReady in STOPPED-TRACKWAIT -> 
Slim::Player::StreamingController::_Stream
  [21-08-01 19:34:52.1822] Slim::Player::StreamingController::_Stream (1210) 
Song queue is now 0
  [21-08-01 19:34:52.1827] Slim::Player::StreamingController::_Stream (1213) 
b8:27:eb:74:ea:41: preparing to stream song index 0
  [21-08-01 19:34:52.1832] Slim::Player::Song::open (360) 
file:///mnt/intenso/Musik/P029/01-01.mp3
  [21-08-01 19:34:52.1850] Slim::Player::TranscodingHelper::getConvertCommand2 
(485) Error: Didn't find any command matches for type: mp3
  [21-08-01 19:34:52.1856] Slim::Player::Song::open (384) seek=false time=0 
canSeek=0SEEK_ERROR_TRANSCODED
  [21-08-01 19:34:52.1867] Slim::Player::TranscodingHelper::getConvertCommand2 
(485) Error: Didn't find any command matches for type: mp3
  [21-08-01 19:34:52.1874] Slim::Player::Song::open (415) Error: Couldn't 
create command line for mp3 playback for 
[file:///mnt/intenso/Musik/P029/01-01.mp3]
  [21-08-01 19:34:52.1881] Slim::Player::StreamingController::_playersMessage 
(796) Problem: Dateityp kann nicht wiedergegeben werden für:: 
file:///mnt/intenso/Musik/P029/01-01.mp3
  [21-08-01 19:34:52.1918] Slim::Player::StreamingController::_willRetry (1408) 
no retry data
  [21-08-01 19:34:52.1924] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state IDLE




schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


bpa wrote: 
> It seems your Marantz cannot play 44.1kHz natively but LMS hasn't been
> told this (i.e squeezelite reports it has 44.1Khz capability).  
> 
> If this is the case you to provide squeezelite parameters to tell LMS
> that only 48kHz is supported on Marantz player.

Hm... all 44.1 play well, the 48 ones don't. Anyway, what could be the
correct squeezelite parameters?


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


AAC is no problem. I have only problems with 48 kHz mp3.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


bpa wrote: 
> It seems your Marantz cannot play 44.1kHz natively but LMS hasn't been
> told this (i.e squeezelite reports it has 44.1Khz capability).  
> 
> If this is the case you to provide squeezelite parameters to tell LMS
> that only 48kHz is supported on Marantz player.

I tried the Squeezelite option for max. sample rate and put this to
44100. But then, no 48 kHz stream is working anymore, regardless whether
aac, mp3 or flac. Before, all aac and flac were working flawlessly.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


bpa wrote: 
> Since this fails and -r 44100,48000 works it seems to indicat that your
> LMS resampling is broken or disabled.
> 
> What is your LMS version ? Are you using PCP for LMS or another system ?
> is sox installed ?
> 
> 
> 
> These are distractions.
> Direct stream is for URL to play direct to Squeezelite - only possible
> if it is a compaitbl stream if LMS has to resample - then it will not
> play direct.
> Proxy means LMS gets involved as a relay.

This is the LMS:


Code:

Logitech Media Server Version: 8.1.1 - 1610364019 @ Thu Jan 14 06:27:45 CET 
2021
  Hostname: piCorePlayer
  IP-Adresse des Servers: 192.168.0.161
  Server-HTTP-Portnummer: 9000
  Betriebssystem: piCore - DE - utf8
  Plattformarchitektur: armv8l-linux
  Perl-Version: 5.28.2 - arm-linux-gnueabihf-thread-multi-64int
  Audio::Scan: 1.02
  IO::Socket::SSL: 2.066
  Datenbankversion: DBD::SQLite 1.58 (sqlite 3.22.0)
  Anzahl erkannter Player: 2



and the LMS setting under "File types" does give for mp3 only the choice
"native" or "disabled" (German "deaktiviert").


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


[SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


Hi,

I have a very strange problem discovered very recently, but seems to be
there for years:

I use a radio stream of german BR Klassik very often
(https://streams.br.de/br-klassik_3.m3u). And I soemtimes wondered why
there were some jumps, i.e. the radio seamed to be behind and then left
something out in order to be on time again. Now I discovered that the
stream is played to slow, that means frequency of music is also too low
by ~10% (probably 44 kHz vs. 48 kHz). 

If I use the AAC stream of the same station, unfortunately with only 64
kBit
(https://br-brklassik-live.cast.addradio.de/br/brklassik/live/aac/low),
everything runs well. I tested also all my other favourite radio
streams. All mp3 have the same problems, all aac are ok.

This problem occurs with my living room setup: piCorePlayer 6.1,
Jivelite 7'' touchscreen, HDMI audio out to Marantz Receiver. (Does not
depend on the piCorePLayer version, occured also with pCP 5)
It does not occur with my kirchen setup: piCorePlayer 6.0, headless,
JustBoom AmpZero.

Strangely, I can also sync kitchen to living room (or vice versa), then
both run at the lower frequency.
If I sync another player to the two (SqueezePlayer on Android), the two
pCPs go at the lower frequency, and the SqueezePlayer with the higher
frequency runs away.

Does anyone have a clue? Unfortunately, I cannot update the first pCP to
more recent versions because HDMI audio out does not work then in
conjunction with the JiveLite 7'' touchscreen. 

I suspect this has to do with the Marantz HDMI and seems to be connected
with 48kHz, mp3. The 44.1 kHz mp3 streams from my music collection work
flawlessly, also the 48 kHz flacs.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


paul- wrote: 
> Could the mp3 have invalid headers?

That could be, I cannot really tell. 

But what I can say is that those 48 kHz mp3 streams work on the
"KitchenPlayer" that has a JustBoom DAC and on the Android
SqueezePlayer. They only are too slow on the player with the HDMI audio
output. And it does not matter whether it is a mp3 from radio or one in
my music library.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


bpa wrote: 
> Sorry I wrote it down backwards.
> 
> What model Marantz is your receiver ?
> 
> 
> 
> Normally the supported rates are obtained from the ALSA device 
> The option "-r" can override what rates are supported  so "-r
> 44100,48000" says both 44.1kHz and 48kHz are supported. In your case you
> should try "-r 44100" so that stream that are not 44.1Khz will be
> resampled by LMS.
> 
> 
> 
> I think the stream from Squeezelite to Marantz will always be PCM -
> Squeezelite will decode MP3, Flac , AAC etc into PCM samples. 
> So it will be up to Squeezelite to open the ALSA device with the right
> speed as determined from the audio codec header in the audio stream from
> LMS (assuming that LMS is sending MP3 or Flac to squeezelite and has not
> been disabled in LMS)

I tried -r 44100, but then only 44.1 kHz streams are played. LMS just
does not play the other ones (I press play, then it shortly checks the
stream and control goes back to stopped after 1-2s without having played
anything). 

With -r 44100,48000 the 48 kHz streams play again, but with the problem
I had described before (too slow).

So if this occurs only with mp3 and the output to the HDMI interface is
always supposed to be PCM, doesn't that mean that this problem must lie
in Squeezelite, as flac and aac work without problems? 

BTW: I tried both "Direct streaming" and "Streaming via Proxy" as LMS
settings for this specific player.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


paul- wrote: 
> I would restrict to one sample rate.   44.1 or 48

Well, I have both a lots of ripped CDs (44.1kHz) and radio recordings
(48kHz). I usually don't use 48kHz mp3 in my library (only flac), but
radio streams ofter occur to be mp3 48kHz.


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


paul- wrote: 
> I set my player to not allow mp3 to be sent to it, then tried to play
> that stream.  Seems the encoding is all over the place.
> 
> Sometimes LMS would use sox to convert to flac, and other times, it
> would try to use wmadec (Which does not work on a linux system)

So how could I set my player to not allow mp3 to be sent to it?

Previously sox was mentioned. What is that and how can I check whether
it is installed / working?


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011
:52:09.586217] faad_decode:373 samplerate: 48000 channels: 2
  [01:52:09.586309] faad_decode:378 setting track_start
  [01:52:09.606826] _output_frames:64 start buffer frames: 8192
  [01:52:09.606944] _output_frames:149 track start sample rate: 48000 
replay_gain: 0
  [01:52:09.617003] output_thread:687 open output device: sysdefault:CARD=ALSA
  [01:52:09.623358] alsa_open:351 opening device at: 48000
  [01:52:09.625428] alsa_open:422 opened device sysdefault:CARD=ALSA using 
format: S32_LE sample rate: 48000 mmap: 1
  [01:52:09.625850] alsa_open:513 buffer: 80 period: 4 -> buffer size: 3840 
period size: 960
  [01:52:10.136287] sendSTAT:189 STAT: STMs
  [01:52:10.136480] sendSTAT:189 STAT: STMt
  [01:52:10.136587] process:521 strm
  [01:52:10.136604] process_strm:274 strm command t
  [01:52:10.136620] sendSTAT:189 STAT: STMt
  [01:52:10.136679] process:521 strm
  [01:52:10.136954] process_strm:274 strm command t
  [01:52:10.136970] sendSTAT:189 STAT: STMt
  [01:52:11.138085] sendSTAT:189 STAT: STMt
  
  



----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


philippe_44 wrote: 
> Almost. LMS has the source format and sample rate of a file, the target
> player's maximum sample rate and its supported list of codecs, and an
> optional time offset to start from. With these information, it scans the
> conversion rules to try to find a perfect match or at least a match with
> lowest "cost". The match can say: nothing to transcode, just send file
> or it can say "invoke this external chain of programs to transform from
> source format to that accepted format. Ultimately, the player has to
> decode to PCM, but in LMS, the transcoding might never make PCM
> "visible".
> 
> So to make sure I get that correctly: These 48kHz MP3 do not play at
> all, right?
> It seems that in your case the maximum sample rate reported by the
> player is less than 48kHz and LMS does not find any transcoding rule,
> which would be one of these
> 
> > 
Code:

  >   > 
  > # special case for smart bitrates on mp3 input
  > mp3 mp3 transcode *
  > # IFB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
  > [lame] --silent -q $QUALITY$ $BITRATE$ $RESAMPLE$ --mp3input $FILE$ -
  > 
  > flc flc transcode *
  > # IFT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}E:{NOSTART=I}
  > [flac] -dcs $START$ $END$ --force-raw-format --sign=signed 
--endian=little -- $FILE$ | [sox] -q -t raw --encoding signed-integer -b 
$SAMPLESIZE$ -r $SAMPLERATE$ -c $CHANNELS$ -L - -t flac $RESAMPLE$ -C 0  -  
  > 

> > 
> 
> So it fails

Not really.

The original problem was that 48 kHz MP3 were played too slowly,
probably as if they were 44.1 kHz. The problem does not occur with flac
48 or aac 48.

Then it was proposed to force LMS to transcode instead of Squeezelite.
Therefore, I used the Squeezelite settings to exclude MP3 from the
codecs it would use. 

But this does not work either because LMS somehow can't find a
conversion rule. So with that Squeezelite setting, the MP3 files are not
played at all anymore.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-01 Thread schup011


philippe_44 wrote: 
> 
> 
> So it fails. Put the 'player.source' loglevel to 'debug' and try again

It was at debug all the time, for all those excerpts from the log except
for the very first one in post #19.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-02 Thread schup011


philippe_44 wrote: 
> And it does that will *all* your 48kHz files? Can you upload one
> somewhere? I'll verify that with my squeezelite port on esp32 as well,
> or any of my bridges.

You can verify with the radio stream:
https://streams.br.de/br-klassik_3.m3u

But I think is a very typical one. And it happens only with the HDMI
audio out system Could be a performance or timing problem??



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-02 Thread schup011


philippe_44 wrote: 
> And it does that will *all* your 48kHz files? Can you upload one
> somewhere? I'll verify that with my squeezelite port on esp32 as well,
> or any of my bridges.

It does only occur with 48 kHz mp3 files or streams. I will check
whether the Squeezelite log looks the same with the 48 kHz mp3 radio
stream.

To my knowledge, I have only this one file with 48 kHz mp3, because
usually, in my library, I only have flac. There are some CD downloads
with mp3, but those are 44.1 kHz.



schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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


Re: [SlimDevices: Unix] piCorePlayer: Radio is streamed with wrong frequency

2021-08-04 Thread schup011


mherger wrote: 
> > The fact it only applies to MP3 is inconsistent but nobody cared too
> > much - however it only works for 44.1k - play non 44.1k and you get
> slow
> > playback or chipmunks.
> 
> Does that apply to formats other than mp3, too? Would they fail to play?

I can confirm what bpa describes. I also have tested with flac and
everything works fine. 

In my case, only the 48 kHz MP3 failed and was too slow. I could even
let run two players the same MP3 48 kHz radio stream, one with the
startup time to 1s, one with no start up time, without sync, and the one
without start up time would run away from the other.

Couldn't those lines in the code be tracked back when they were
introduced or changed in order to understand what the reason for
introducing this feature was?


----
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
View this thread: http://forums.slimdevices.com/showthread.php?t=114921

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