PDA

View Full Version : Announce: piCorePlayer 3.5.0



Pages : 1 2 [3]

fgj
2018-08-20, 14:18
I am trying to setup piCorePlayer as a standalone LMS and everything works except accessing my pi-connected USB-disk from Windows 10.

I can use the USB-drive from inside LMS - no problem scanning and listening to music.
I have followed the installation page https://www.picoreplayer.org/how_to_add_usb_hdd.shtml.

Everything went smoothly until this: "On your Windows PC, launch Windows Explorer. Right-click on ThisPC and select "Add a network location". Enter the address "\\piCoreLMS\LMSfiles" and then username "tc" and the password that you assigned to Samba at the end of step 6. You should now be able to access the USB disk from the Windows PC."

I am not able to access my USB disk - it says "Access denied" and I am sure the password is right. What can I try?

paul-
2018-08-20, 16:32
Windows 10 is very picky.

1) Make sure you set the Workgroup for all of your devices.
2) Windows 10 will not always show the device in the browser, try to access it by using \\ip.address.of.pcp\sharename

fgj
2018-08-20, 22:02
Windows 10 is very picky.

1) Make sure you set the Workgroup for all of your devices.
2) Windows 10 will not always show the device in the browser, try to access it by using \\ip.address.of.pcp\sharename

Unfortunately no success.

I am not having any trouble of setting up the networkconnection. The problem is when I try to connect user "ts" with my password. "Access denied". What can it be? I can see the connection and I don't know if it is of any use but the connectionname is "LMSfiles (10.0.0.132 (Samba 4.4.4))"

nowhinjing
2018-08-21, 01:02
.. might work after that.

If not, go into pcp web interface and reset the password.

fgj
2018-08-21, 11:14
.. might work after that.

If not, go into pcp web interface and reset the password.

Well, I think I have seen that screen a hundred times without noticing the difference. Thank you! Now my problem is solved.

paul-
2018-08-21, 11:57
Maybe I should change the default username to pcp...... that would mess everyone up.

huxmut
2018-08-21, 13:32
pcp messes up everyone ;)

rmac321
2018-08-23, 13:44
I promise I've searched, but the only answer I've found is for a very old version of pCP. The answer is probably somewhere obvious, but it evades me.

What is the current method for disabling the Web-Server interface? The only reference I have found was on the old website and was to run the setup script ("picoreplayer"). I tried
pcp ? but I don't see anything there. I'm setting up a player/server for my wife at work, but I'd like to lock it down a little. Changing the password is fairly ineffective if all someone has to do is browse to the web interface and change it to something else.

FWIW, this would be a nice addition to the new (very nice) website How-To page.

As always, many thanks to all of you who continue to make pCP such a wonderful program!!!

paul-
2018-08-23, 13:57
setup

rmac321
2018-08-23, 18:02
Yikes that was simple!
How do I have piCorePlayers all over my house and I've never used that?

Thanks!!!

kingswindsor
2018-08-29, 10:29
Hi, this is an intermittent problem I have had with one of my picoreplayers - RPi3 + IQaudio DAC + IQaudio AMP with 7" screen and lirc control. What happens is that after resuming play after a pause, no sound comes out even though squeezelite appears to be working. It then needs multiple re-boots until (for no apparent reason) it produces sound. It then carries on working. There is no low current or overheating going on when this occurs. It has occurred with 3.2x, 3.5 and today 4.0.

I don't know if the cause is software or hardware and, to my untutored eye, the logs look normal except this pcp_boot.log. Any advice would be appreciated and if I should investigate any other logs, please let me know.

George

Starting piCorePlayer setup...
Loading pCP function files and pCP configuration file...sh: 3: unknown operand
Done.
Checking for newpcp.cfg on mmcblk0p1...
Trying to mount /dev/mmcblk0p1.
newpcp.cfg not found on mmcblk0p1.
Setting piCore repository...Done.
Generating drop-down list...Done.
Starting wifi...
sh: 3: unknown operand
sh: 3: unknown operand
Starting WiFi on wlan0...
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending select for 192.168.1.72
udhcpc: lease of 192.168.1.72 obtained, lease time 86400
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.1.1
Done.
Loading configuration file...Done.
Loading pcp-lms-functions...Done.
Waiting for soundcard IQaudIODAC to populate. Done (1).
Waiting for network. Done (1).
Starting ALSA configuration...No state is present for card IQaudIODAC
Found hardware: "IQaudIODAC" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card IQaudIODAC
.No state is present for card IQaudIODAC
Found hardware: "IQaudIODAC" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card IQaudIODAC
.No state is present for card IQaudIODAC
Found hardware: "IQaudIODAC" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card IQaudIODAC
.No state is present for card IQaudIODAC
Found hardware: "IQaudIODAC" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card IQaudIODAC
.No state is present for card IQaudIODAC
Found hardware: "IQaudIODAC" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card IQaudIODAC
.No state is present for card IQaudIODAC
Found hardware: "IQaudIODAC" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card IQaudIODAC
ALSA restore error!
(7)
Done.
Starting lirc with Jivelite support...Done.
Starting Openssh server...Done.
Starting Squeezelite and/or Shairport-sync...
[ INFO ] sh: 3: unknown operand
Restarting Shairport-sync player...
sh: 3: unknown operand
Stopping Shairport-sync player: Shairport-sync...
sh: 3: unknown operand
Starting Shairport-sync player: Shairport-sync...
[ INFO ] Starting Squeezelite player: Squeezelite...
Done.
Starting httpd web server...Done.
Starting auto start FAV...sh: 1: unknown operand
Done.
wlan0 IP: 192.168.1.72
Setting cpu scaling governor...ondemand Done.
Finished piCorePlayer setup.
Starting Jivelite...Done.
crond syncing time...

Sorry if this is confusing to re-start a conversation from August but the problem has come back and I have been able to collect the pcp_squeezelite log to help diagnosis (hopefully)!

To re-cap: periodically, after resuming after a pause or turning on after being off, the player looks as if it is playing normally but produces no sound. When it occurred in August, Paul asked for more detailed squeezelite logs. After a long period of working well, the problem has returned. The log is attached - I have cut out long periods of repetition to leave:-
- Section 1 - from Boot to playing normally (sound OK)
- Section 2 - paused
- Section 3 - unpaused (looks as if it is playing OK but no sound)

Grateful for any advice. It usually fixes itself after 3 re-boots but annoying comes back periodically.

paul-
2018-08-29, 10:47
How are you handling muting control of the amp?

kingswindsor
2018-08-29, 12:12
How are you handling muting control of the amp?

In the mixer settings, the auto-unmute box is checked. Hardware jumper off.
But none of that changes between the working and non-working states.

paul-
2018-08-29, 15:25
In the mixer settings, the auto-unmute box is checked. Hardware jumper off.
But none of that changes between the working and non-working states.

The mute function on the board uses a gpio, make sure you are not using it anywhere else in your system (like lirc)

Greg Erskine
2018-08-29, 16:35
hi kingswindsor,

Your boot log looks like something is very wrong. :(

You should only see "sh: 3: unknown operand" errors if there is a script error or corruption. Obviously, our startup code doesn't normally have these errors, so are you changing anything? or it might be the unique combination of your particular configuration.

regards
Greg

kingswindsor
2018-08-30, 02:48
hi kingswindsor,

Your boot log looks like something is very wrong. :(

You should only see "sh: 3: unknown operand" errors if there is a script error or corruption. Obviously, our startup code doesn't normally have these errors, so are you changing anything? or it might be the unique combination of your particular configuration.

regards
Greg

Very strange. No, I havenít changed anything other than that needed for normal configuration.
The player is on at the moment (after various reboots to restore sound) and the boot log still shows the sh: 3: unknown operand errors. So it doesnít seem to consistently stop it even if though its a bad thing.
More curiously, because this has been going on for some time, I have rebuilt this player with a different RPi, different DAC & amp, different screen, different PcP versions, Lirc/no Lirc. The only things that havenít changed are the power supply and speakers. I have probably used new SD cards too. Iíll do a fresh SD card install and swap out the power supply - but grateful for any other suggestions that might be more specific.

divbo
2018-09-07, 03:07
Hello,
I've setup piCorePlyer 3.5.0 on Raspberry Pi 3 Model B using standard hdmi output with my Denon AV receiver and have noticed the sound is distorted. I've tried to keep settings default. Is this normal? Do I need an additional card like hifiberry for high quality digital audio out?
Many thanks

Does anyone have any suggestions please? I would have through a pi 3 with hdmi is a fairly common setup. How do you find the sound quality?

Thanks

huxmut
2018-09-07, 05:16
Does anyone have any suggestions please? I would have through a pi 3 with hdmi is a fairly common setup. How do you find the sound quality?

Thanks


Hi divbo,

I just flashed a spare pi2 with pCP 4.0 and hooked it up-to my (now quite old) Yamaha 1800 receiver via HDMI
I'm just listening to some Radio Paradise and a couple of albums in FLAC, and I have to say, I dont need a HAT DAC as the quality is excellent.
no crackle or pop or any other misbehaving

Maybe try a fresh write of pCP 4.0 and if that doesnt work maybe a differnt hdmi cable into a different input ?

pCP devs, i used the wpa supp method to setup wifi too. great method. first time i've done a scratch setup of pCP for a little while now. this is really fast and easy.
:thumbsup:

stereoptic
2018-09-07, 12:30
Does anyone have any suggestions please? I would have through a pi 3 with hdmi is a fairly common setup. How do you find the sound quality?

Thanks

Is the volume set at 100%?
You might want to try to go to the main page and install the ffpg library. I had a similar problem with a Marantz AVR and IIRC, that solved my problem.

divbo
2018-10-23, 16:32
Is the volume set at 100%?
You might want to try to go to the main page and install the ffpg library. I had a similar problem with a Marantz AVR and IIRC, that solved my problem.

Hi guys,
Thanks for your help with this. I updated to 4.0 but it seemed the same. Lowering the volume from 100 to 90 seems to improve things. Normally I use the volume on my amp and fix Squeeze to 100%. Is there a problem with the Pi's when set to 100? Why would this cause distortion?

Cheers

mjock3
2018-12-05, 11:25
Hi, been using Raspberry PI for music for many years and have had only a few hicups along the way. Every time I setup up a PI it connects and communicates on my network without any issues. Last year I offered to help a friend set one up in his home and it has been one thing after another. I believe the bulk of the problem is network related. He just recently switched to JRiver Media server. PI is loaded with PICorePlayer 3.5. Had issues hooking up to internet first time, but after rebooting it hooked up with Media Server. Playing music sounding good, he loaded more music on the computer and rebooted to have it show up, yes I know he didn't have to. At that point he lost communication with pi, and was unable to find it with Fing. So we pulled the plug to reboot. After rebooting it showed up again on Fing, but still was not seen on JRemote or JRiver. So tried to reboot computer and still no sign of PI.

Could anyone offer some advice on how to sort through this once and for all??

Thanks in Advance,

Mark

Greg Erskine
2018-12-05, 11:57
Hi Mark,

I wasn't aware that piCorePlayer works with JRiver Media server :confused:

regards
Greg

huxmut
2018-12-05, 12:13
Try making sure everything is working on ethernet cable before going to wifi. It might be poor signal ??
Also try using pCP with LMS as the server and see if that makes a difference.

Man in a van
2018-12-05, 12:21
@ mjock3

If you want to use an rpi with JRiver you need to go here

https://yabb.jriver.com/interact/index.php?topic=111505.0
(https://yabb.jriver.com/interact/index.php?topic=111505.0)

I gave this a try-out earlier this year and have to say I found it very flaky.

I'm not enamoured with JRiver (never have been) but I know some people seem to like it :confused:

mjock3
2018-12-06, 11:23
Yes, I have no problems using Jriver at home with picore, it is seen immediately with no problems. The reason we switch to Jriver is he is running a Mac and using miniís with Jeremote on them. Unfortunately he updated the software on the miniís and can no longer run squeezebox on them. He is using something similar to Netgear powerline bridge in order to eliminate any WiFi problems.
And we continue to have drop out problems regardless. I have been trying to get this working for over a year and just cannot figure it out. Maybe I will see if a long Ethernet cable will cause it to stop. ::confused:

mjock3
2018-12-06, 11:29
Just remembered the PI is showing up on Fing so it is live, will an Ethernet run actually do anything?

huxmut
2018-12-06, 14:16
Fault finding is a process of elimination.
Start with a working system (pCP wired connection to LMS) and make one change at a time.

LivewareProblem
2018-12-19, 04:41
Hi

I've noticed a few post mention triggerhappy (thd) to control volume - how do you install this on PiCorePlayer? is there a guide anywhere I can follow to install and set up the daemon? The GitHub docs mention systemd but I don't see that in tinycore...

Thanks!

paul-
2018-12-19, 06:16
What are you trying to do? Jivelite already has keyboard control.

LivewareProblem
2018-12-19, 06:44
What are you trying to do? Jivelite already has keyboard control.

I've built a hardware volume control knob using a digispark (trinket) USB controller (see https://www.instructables.com/id/Digispark-Volume-Control/) which sends out HID Volume + and Volume - signals over USB... which in Windows works the same as keyboard volume buttons. I'm hoping I can use triggerhappy to use the same hardware control on a headless RPi (assuming the trinket USB device is recognised by the RPi of course!).

Or are there any recommended (easier?) hardware volume controls? Perhaps using an encoder and GPIO?

Thanks!

Jeff07971
2018-12-19, 10:02
I've built a hardware volume control knob using a digispark (trinket) USB controller (see https://www.instructables.com/id/Digispark-Volume-Control/) which sends out HID Volume + and Volume - signals over USB... which in Windows works the same as keyboard volume buttons. I'm hoping I can use triggerhappy to use the same hardware control on a headless RPi (assuming the trinket USB device is recognised by the RPi of course!).

Or are there any recommended (easier?) hardware volume controls? Perhaps using an encoder and GPIO?

Thanks!

Just rewrite the trinket software to send - and + instead of Vol- and Vol+ with the IDE




if (enc_action > 0) {
TrinketHidCombo.pressMultimediaKey(MMKEY_VOL_UP);
}
else if (enc_action < 0) {
TrinketHidCombo.pressMultimediaKey(MMKEY_VOL_DOWN) ;
}



Trinket emulates a keyboard so should be recognised by pCP

paul-
2018-12-19, 12:12
I've built a hardware volume control knob using a digispark (trinket) USB controller (see https://www.instructables.com/id/Digispark-Volume-Control/) which sends out HID Volume + and Volume - signals over USB... which in Windows works the same as keyboard volume buttons. I'm hoping I can use triggerhappy to use the same hardware control on a headless RPi (assuming the trinket USB device is recognised by the RPi of course!).

Or are there any recommended (easier?) hardware volume controls? Perhaps using an encoder and GPIO?

Thanks!

Encoder and gpio is easy. Many ways to implemnet, but this is one that I know works https://github.com/coolio107/SqueezeButtonPi-Daemon

Package name is pcp-sbpd.tcz

LivewareProblem
2018-12-20, 06:17
Many thanks for the replies!

I decided to modify the trinket code, simply because I already had the knob / enclosure / trinket all built and working. I have a spare encoder so may look into the SqueezeButtonPi-Daemon to add controls, if I decide to attach a screen.

That being said, I didn't realise at first that Jivelite needs to be installed / running to catch the keypresses, but I soon figured that out from previous posts :)

If anyone else is interested, here's the updated code stub (I added a PAUSE command 'c' to the encode press button):



if (enc_action > 0) {
TrinketHidCombo.typeChar(43);
}
else if (enc_action < 0) {
TrinketHidCombo.typeChar(45);
}

// remember that the switch is active-high
if (bit_is_set(TRINKET_PINx, PIN_ENCODER_SWITCH))
{
if (sw_was_pressed == 0) // only on initial press, so the keystroke is not repeated while the button is held down
{
TrinketHidCombo.typeChar(99);


Thanks guys for the help, and for piCorePlayer :D

LivewareProblem
2018-12-20, 06:23
Thanks for the replies guys!

I decided to re-write the trinket code, as I already had the knob / encoder / trinket / housing built and configured. I have a spare encoder so may look at the SqueezeButtonPi-Daemon in the future for control if I add a screen.

That being said, I didn't realise it's actually JiveLite that responds to the keyboard presses - I didn't have that installed, but figured that out from previous posts :)

If anyone is interested, this is the code I changed (and added a pause function to the encoder press switch too):


if (enc_action > 0) {
TrinketHidCombo.typeChar(43);
}
else if (enc_action < 0) {
TrinketHidCombo.typeChar(45);
}

// remember that the switch is active-high
if (bit_is_set(TRINKET_PINx, PIN_ENCODER_SWITCH))
{
if (sw_was_pressed == 0) // only on initial press, so the keystroke is not repeated while the button is held down
{
TrinketHidCombo.typeChar(99);


Many thanks again - for the help, and for piCorePlayer! :D

Jeff07971
2018-12-20, 06:39
@LivewareProblem

Good glad you got it working !
I may have a try myself and also possilbly try the Digispark Pro (more I/O's)

@Paul-

Can you clarify something for me please ?
The documents for sbpd seem (or rather do) to say that its output is sent by http to the server and this gives rise to the "Encoder speed" problem
Does Jivelite do the same when using say a USB keyboard and would it have the same limitation ?
I guess I'm asking whether JL "buffers" the volume control signal and is therefore safer for people with high power system ?

Thanks

Jeff

paul-
2018-12-20, 19:08
Iíve never interfaced an encoder with jivelite. (Or sbpd) for that matter. The encoder code in sbpd, is the same as originally done by pippen. It should be easy enough to limit volume change rate in sbpd..... jivelite is a better question for Ralphy....

We have programs that use wiring pi libs to interface with the alsa mixer......but getting squeezelite to send volume information back to LMS for adjusting the volume control on (so the volume slider on jivelite moves with the encoder.)
requires other patches.

nuryev
2018-12-28, 20:01
Hi, I have been running Pcp version 3.5 on my Pi3 with Dac+ for a few months. Since trying to update to the latest Pcp, LMS has only been able to scan and recognise music on my usb and network drives but no songs are able to be played. I have tried a fresh format and etch of Pcp using 3.5. All went well. Then updated LMS which appeared to have been successful. However, although the list of songs on usb and network drives are visible I am still unable get any music playing. Tapping on the play button does not transfer the selected song to the playlist or start the song playing!?!

What have I overlooked? Any assistance and suggestions will be appreciated.

huxmut
2018-12-28, 20:17
Hi, I have been running Pcp version 3.5 on my Pi3 with Dac+ for a few months. Since trying to update to the latest Pcp, LMS has only been able to scan and recognise music on my usb and network drives but no songs are able to be played. I have tried a fresh format and etch of Pcp using 3.5. All went well. Then updated LMS which appeared to have been successful. However, although the list of songs on usb and network drives are visible I am still unable get any music playing. Tapping on the play button does not transfer the selected song to the playlist or start the song playing!?!

What have I overlooked? Any assistance and suggestions will be appreciated.

Is Squeezelite running ?

https://i.ibb.co/tLHkjSc/pcpsqueeze.png (https://ibb.co/0sn84kZ)

or in LMS do you see a player ?

https://i.ibb.co/QMgLbkS/lmssqueeze.png (https://ibb.co/cQB0gwf)

nuryev
2018-12-29, 05:18
Hi,
Thanks for the quick response! :-)

Yes, Squeezelite is running and piCoreplayer can be seen in the 'Choose Player' drop down box.

To respond to your questions I rebooted piCoreplayer and there has been a subtle change! I notice that now the 'Choose Player' drop down box intermittently offers piCoreplayer then switches to Squeezelite as an option, which was not available before. However the problem has not changed in any way.

While the scanned music on both usb and network mounts are still visible; the following persists:
1) Selecting a song needs to be 'forced' for want of a better word by repeated taps on the select button
2) Selected song may play for three seconds, then stop (counter returns to 0.00)
3)Trying to delete the list of unplayable songs using the 'X' does not work. (Or any other buttons for that matter) as if piCoreplayer is frozen or hanging.

Thanks again.

Man in a van
2018-12-29, 06:22
@nuryev

I notice you use the word "tap" and not click.

Do you have the pCP setup attached to a touchscreen?

ronnie

nuryev
2018-12-29, 08:04
Sorry, I should have provided system information.

I have rp 3 with Dac-pro installed in a metal case. The unit is connected with van den hul rcas to my Onkyo P304 pre to Onkyo M504 power amp to Energy Veritas bookshelf speakers. The system is then controlled using an ipad pro.

After the software upgrade, problems started. Since then, I have removed the rpi and dac and connected it to a monitor with keyboard and mouse. This way I can remove the sd card and do formats and installations or use insitu options. All system options and pages are accessed and controlled through the ipad.

I am aware that with mouse and keypad connected as well as HDMI to monitor, that power limitations can cause issues, although this hasn't been a problem before, I have noted that at boot, a power message does pop up on the monitor. Even with usb keyboard and mouse removed, the problem persists.

Man in a van
2018-12-29, 08:47
Which version of pCP are you running? If you also have LMS installed on the same pi, then it is recommended to use the "Standard" version and not the "Audio".

And it's also recommended that any power supply should, at least, match the "official" version

https://uk.rs-online.com/web/p/ac-dc-adapters/9098126/



ronnie

nuryev
2018-12-29, 09:04
Which version of pCP are you running? If you also have LMS installed on the same pi, then it is recommended to use the "Standard" version and not the "Audio".

And it's also recommended that any power supply should, at least, match the "official" version

https://uk.rs-online.com/web/p/ac-dc-adapters/9098126/



ronnie

I updated to PcP version 4.1.0 thats when problems started.

So went back to PcP 3.5.0. But after 3.5.0 running with LMS standard did not solve the problem, thought the the Audio version would solve the problem. But still no luck. So I will revert to Standard again.
I made my purchase on line while holidaying in the UK. The wife was out shopping and I was exploring music streaming options on-line. :-) The delivery from ModMyPi was made within a few days - I was very impressed with the service!
The power supply was ordered from the official Pi supplier in UK and came with the pi3+ dac cables etc. and a complete set of plugs for USA, UK Europe and Asia.

huxmut
2018-12-29, 19:55
Man in a van is onto something here, can you use a web page interface on a PC and select songs etc ?

nuryev
2018-12-30, 00:27
Man in a van is onto something here, can you use a web page interface on a PC and select songs etc ?


This is interesting! I can access pcp using my ipad pro, and can select songs erratically, although they wont play. In response to huxmut's question, I had not even considered accessing the pcp on my macbook until now!

Well, the answer is yes, not only can I access the pcp via a webpage on my mac, I can select songs, play them, delete, pause, add as well as all the other controls I had with my initial installation of earlier versions of PCP, Squeezelite and LMS!
I have just rebooted PCP while typing this message to confirm before sending the response to your question. This looks encouraging, it looks like the issue could be ipad based?!?

nuryev
2018-12-30, 00:28
Are there other ipad users experiencing problems with pcp and the LMS interface?

huxmut
2018-12-30, 00:47
I have some minor issues with Firefox on Android, so I think the real trouble is not with the pCP, but with the browser version ...
But I'm just an end (ab)user of pCP so my experience and troubleshooting are very limited. Sorry I cant help more.
I'd say an advanced user in the Apple system will be able to pinpoint the issue more.

For now, can you try a different browser on the iPad and see what differences it makes ?

Man in a van
2018-12-30, 01:39
Are there other ipad users experiencing problems with pcp and the LMS interface?

Try clearing the browser cache (you may have to google to find how)

Man in a van
2018-12-30, 01:43
This may help


https://www.macworld.co.uk/how-to/iphone/clear-cache-iphone-3609079/

I use

http://squeezepad.com/

Peppi
2018-12-30, 02:46
Hi everyone,

I am new to the forum trying to find an answer to the following:
What is the difference between the audio optimized version of picoreplayer and the standard one.

Could someone explain.

Thanks
Peppi


Gesendet von iPad mit Tapatalk

nuryev
2018-12-30, 03:20
This may help


https://www.macworld.co.uk/how-to/iphone/clear-cache-iphone-3609079/

I use

http://squeezepad.com/


Update. PcP works smoothly with Macbook pro as controller. I tried squeezepad and it worked instantly, starting on the last song played and control options being simple and intuitive. The problem now is that when I disconnect the test setup ie. Ethernet, HDMI keyboard and mouse, and connect the pi3 etc into my stereo, it wont connect with the ipad or macbook. At boot up with hdmi to monitor, wlan tests are successful and show as connected! But Neither the Ipad nor the macbook can connect wirelessly!?!!!

I tried going into pcp wireless setup and turning off the wireless and rebooting. But although wireless does turn on at boot up, there is still no connection ie pcp does not show up on the ipad or macbook screen?

kidstypike
2018-12-30, 03:26
Update. PcP works smoothly with Macbook pro as controller. I tried squeezepad and it worked instantly, starting on the last song played and control options being simple and intuitive. The problem now is that when I disconnect the test setup ie. Ethernet, HDMI keyboard and mouse, and connect the pi3 etc into my stereo, it wont connect with the ipad or macbook. At boot up with hdmi to monitor, wlan tests are successful and show as connected! But Neither the Ipad nor the macbook can connect wirelessly!?!!!

I tried going into pcp wireless setup and turning off the wireless and rebooting. But although wireless does turn on at boot up, there is still no connection ie pcp does not show up on the ipad or macbook screen?


Find the wireless ipaddress of your pi (it's different to the ipaddress used when connected by etherenet) then point your ipad & macbook browsers to that ipaddress.

huxmut
2018-12-30, 03:43
Hi everyone,

I am new to the forum trying to find an answer to the following:
What is the difference between the audio optimized version of picoreplayer and the standard one.

Could someone explain.

Thanks
Peppi


Gesendet von iPad mit Tapatalk


Hey Peppi,

The optimised version has some tweaks to the tiny core kernel and audio components in the software that reduce latency and some other tricky bits.
You'd need a particularly good setup and have a DAC that assumes the master clock of the Pi and DAC and resamples the stream into something approaching perfection before you'd hear the differences.
adding to that is the optimised version has a number of issues/limitations, like doesnt play well with wifi, that make it not suitable for the beginner.
Stick to the standard version, you wont be disappointed :)

kidstypike
2018-12-30, 03:47
Hey Peppi,

The optimised version has some tweaks to the tiny core kernel and audio components in the software that reduce latency and some other tricky bits.
You'd need a particularly good setup and have a DAC that assumes the master clock of the Pi and DAC and resamples the stream into something approaching perfection before you'd hear the differences.
adding to that is the optimised version has a number of issues/limitations, like doesnt play well with wifi, that make it not suitable for the beginner.
Stick to the standard version, you wont be disappointed :)

Make this a sticky! ;)

huxmut
2018-12-30, 03:48
... The problem now is that when I disconnect the test setup ie. Ethernet, HDMI keyboard and mouse, and connect the pi3 etc into my stereo, it wont connect with the ipad or macbook. ...

Glad the first issue is fixed.
as kidstypike has written, the ethernet and wifi get different IP addresses.
you'll see them on your router or I use "Fing".
it will list every device on the network and what address it has.
I see it is available on apple - https://itunes.apple.com/au/app/fing-network-scanner/id430921107?mt=8

huxmut
2018-12-30, 03:52
Make this a sticky! ;)

Thanks :)

I've been thinking for a little while now that pCP (on this forum) needs a FAQ type thread for questions like the standard vs optimised version differences, that and the ethernet vs wifi IP one too.
I know the team did some great work on the help pages, but this forum gets a lot of repeat business too :)
Just a thought :)

Man in a van
2018-12-30, 04:07
as Man in a van has written, the ethernet and wifi get different IP addresses.



Nowt to do wiv me guv'nor



kidstypike gets the kudos :p

I'll settle for a beer :p

ronnie

huxmut
2018-12-30, 04:09
Whoops ! :eek:

Sorry :)

edit - get your own beer Ronnie, I probably owe kidstypike though :)

paul-
2018-12-30, 08:57
Thanks for the description guys.

If anyone wants to throw a FAQ together in HTML, we can add things to our FAQ page.

Man in a van
2018-12-30, 09:35
Whoops ! :eek:

Sorry :)

edit - get your own beer Ronnie, I probably owe kidstypike though :)


26429 :p:p

ronnie

Peppi
2018-12-30, 14:07
Hey Peppi,

The optimised version has some tweaks to the tiny core kernel and audio components in the software that reduce latency and some other tricky bits.
You'd need a particularly good setup and have a DAC that assumes the master clock of the Pi and DAC and resamples the stream into something approaching perfection before you'd hear the differences.
adding to that is the optimised version has a number of issues/limitations, like doesnt play well with wifi, that make it not suitable for the beginner.
Stick to the standard version, you wont be disappointed :)

Thanks for explaining.
I am using a Hifiberry + pro with the pi 3+ connected to a tube amp and Jim lab cobalt 816
I am very happy with the sound and will stick to the standard version. [emoji16]


Gesendet von iPad mit Tapatalk

Greg Erskine
2018-12-30, 14:14
hi Peppi,

When you change to pCP4.0.0 (or greater) you will get a lot more messages and warnings if you try to load the non-standard version.

Trying to make a greater distinction between the two versions, we changed the names to:


pCP4.0.0 Standard Version
pCP4.0.0 Experimental RealTime Kernel


regards
Greg

huxmut
2018-12-30, 23:28
You should offer a "standard" and a "awesome audio" and the "pi killer real time kernal" version.
The first two both being identical...

Great efforts this year Team pCP. It seems this tiny distro is always improving and advancing.
Thanks a ton :)

rores
2019-06-05, 07:21
Hi Greg,
would it be possible to implement the fantastic ALSA plugin "alsaloudness" :o
as the name says, it brings a loudness functionality which i like verry much, because even when I listen to music not so loud, I have nevertheless a nice bass :-)
This would be great because I dont know how to implement the plugin by my self in tiny core linux :-(
Thanks and best regards, Roland

Greg Erskine
2019-06-05, 15:23
hi rores,

We have no plans to implement "alsaloudness", but...

[Tweaks] in [Advanced] mode > "Audio tweaks" > "ALSA 10 band Equalizer"

should do the job. There is a Preset named BASS.

regards
Greg

rores
2019-06-06, 03:46
yes, I know the equalizer but the advantage of loudness is that the effect is volume dependent regulated :)

davis
2020-01-09, 13:05
Hi,


I've just installed piCorePlayer v5.0.0 on an rpi0w, and I thought I'd try out a Bluetooth connection while I wait for the DAC to arrive. I know it's experimental, and beta, and that's completely understood.
However, when I try to scan for devices, it simply shows the line "[ INFO ] Scanning for Bluetooth Devices, make sure device is in pair mode..." and doesn't actually show any scan results. The "pair" dropdown-list remains empty too.

I took a look, and I /think/ this is because the WebUI relies on the utility "bluetoothctl" (called from /usr/local/bin/pcp-bt-functions), which in turn relies on libreadline.so.8. I don't think this is installed, or similar, because when I try to run "bluetoothctl" manually from an ssh session I get: "bluetoothctl: error while loading shared libraries: libreadline.so.8: cannot open shared object file: No such file or directory". I did try installing the readline package from the repo (which took some reading about TCB's packaging!) but it says it was already installed.

I know the bluetooth hardware is working, because I can use "hcitool scan" and see the speakers I'm trying to pair with.

Does this make any kind of sense? Can I add the device manually, bypassing bluetoothctl?

(great project anyway; sadly a couple of my squeezeboxes died so I'm building their replacements)

paul-
2020-01-09, 14:23
There must be a dependancy issue in 5.0.0. I'll have to check. I would recommend using the 6.0.0-b7 for bluetooth. In my experience it works much better.

davis
2020-01-09, 15:22
There must be a dependancy issue in 5.0.0. I'll have to check. I would recommend using the 6.0.0-b7 for bluetooth. In my experience it works much better.

Hmm. That seems significantly better, in that the bluetooth page allows me to discover and pair with a speaker, but the "Bluetooth" option has now disappeared from the audio output options and now Squeezelite seems to fail to run. I'm still looking for the debug logs on that, but if I had to guess I think it's something to do with the fact that the pairing connection is lost after rebooting PCP. I'll continue poking about because it seems so close to being perfect!

Edit:

I think this is probably the reason; a kernel panic in dmesg:

[ 27.323545] WARNING: CPU: 0 PID: 10 at net/wireless/reg.c:418 restore_regulatory_settings+0xb8/0x478 [cfg80211]
[ 27.323558] Unexpected user alpha2: "G
[ 27.323562] Modules linked in: rfcomm bnep spidev hci_uart serdev btbcm bluetooth ecdh_generic brcmfmac brcmutil sha256_generic cfg80211 snd_soc_bcm2835_i2s regmap_mmio snd_bcm2835(C) rfkill snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer snd spi_bcm2835 i2c_bcm2835 fixed squashfs sch_fq_codel lz4 lz4_compress zram zsmalloc raspberrypi_hwmon hwmon
[ 27.323683] CPU: 0 PID: 10 Comm: kworker/0:1 Tainted: G C 4.19.80-pcpCore #1
[ 27.323688] Hardware name: BCM2835
[ 27.324527] Workqueue: events_power_efficient crda_timeout_work [cfg80211]
[ 27.324580] [<c0017eac>] (unwind_backtrace) from [<c0014d68>] (show_stack+0x20/0x24)
[ 27.324610] [<c0014d68>] (show_stack) from [<c0668fbc>] (dump_stack+0x20/0x28)
[ 27.324636] [<c0668fbc>] (dump_stack) from [<c0024604>] (__warn+0xe0/0x108)
[ 27.324652] [<c0024604>] (__warn) from [<c0024680>] (warn_slowpath_fmt+0x54/0x74)
[ 27.325497] [<c0024680>] (warn_slowpath_fmt) from [<bf158ee4>] (restore_regulatory_settings+0xb8/0x478 [cfg80211])
[ 27.327115] [<bf158ee4>] (restore_regulatory_settings [cfg80211]) from [<bf159400>] (crda_timeout_work+0x30/0x3c [cfg80211])
[ 27.327953] [<bf159400>] (crda_timeout_work [cfg80211]) from [<c003cda0>] (process_one_work+0x1f8/0x45c)
[ 27.327979] [<c003cda0>] (process_one_work) from [<c003d040>] (worker_thread+0x3c/0x5a4)
[ 27.327995] [<c003d040>] (worker_thread) from [<c0042e8c>] (kthread+0x14c/0x164)
[ 27.328011] [<c0042e8c>] (kthread) from [<c00090ac>] (ret_from_fork+0x14/0x28)
[ 27.328019] Exception stack(0xdd559fb0 to 0xdd559ff8)
[ 27.328029] 9fa0: 00000000 00000000 00000000 00000000
[ 27.328040] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 27.328050] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 27.328058] ---[ end trace d22d512a5444365f ]---

paul-
2020-01-09, 17:42
That kernel error is from not setting you WiFi. Country. COde correctly

Please continue use this in the 6.0.0 thread.

byKnight
2020-05-14, 12:30
I see plenty there's been a maturing capability to stream Bluetooth audio *from* the piCorePlayer. But I would love the ability to stream Bluetooth *to* the piCorePlayer from my phone.

I have several piCorePlayers in my home, and I'm adding one to the back yard, wired to a couple of self-powered speakers. I would love the ability to occasionally pair my phone to the piCorePlayer and stream audio from my phone through the piCorePlayer.

Any chance this could be added to piCorePlayer?

Paul Webster
2020-05-14, 12:50
Good news for you - it already can!
In pCP 6 choose "streamer" in the Bluetooth page.

byKnight
2020-05-14, 14:08
Good news for you - it already can!
In pCP 6 choose "streamer" in the Bluetooth page.

Thanks! I didn't realize that.

Running pCP 6 on a RPi3B+, I've the enabled the onboard Bluetooth, installed and started up the pCP Bluetooth support, and enabled Streamer for Audio Input under Tweaks.

I set the pCP to be discoverable on the Bluetooth page. I paired my phone with it. Both the phone and the Bluetooth page on the pCP indicate they're successfully paired.

05-14 16:49 EDT INFO ---- Caught Connect signal ----
05-14 16:49 EDT DEBUG /org/bluealsa/hci0/dev_D4_C9_4B_06_D8_69/a2dpsnk/source
05-14 16:49 EDT DEBUG HCI:hci0
05-14 16:49 EDT INFO MAC:D4:C9:4B:06:D8:69
05-14 16:49 EDT INFO TRANSPORT:a2dpsnk


But nothing I play on my phone can be heard through the pCP.

Paul Webster
2020-05-14, 14:31
You have to think of your Bluetooth source as an internet radio stream and ask LMS to play that stream URL (from the Tweaks page) on one of your LMS players.

byKnight
2020-05-14, 14:59
You have to think of your Bluetooth source as an internet radio stream and ask LMS to play that stream URL (from the Tweaks page) on one of your LMS players.

Tried that. Still no sound.

But I did find while searching through the threads here a reference to a pCP Patch Update. Applied that.

Now I've got my phone streaming directly to the player without having to use the stream in LMS. Cool!

WadDad
2020-05-17, 07:43
Hi! What remote control unite can you recommend to use with piCorePlayer? I prefer one side RCU and something from Aliexpress.

PugRallye
2020-05-31, 05:01
Hi all,

Apologies if this is user error/dumb question, but I'm trying to figure out how I can get pCP to automatically refresh the USB mount when it starts.

I've noticed that if I reboot the Pi (it's a Pi4 that I'm using as a LMS server) and then try to play music, it starts to screw up the music DB - i.e. files that are on the disc seem to disappear from the LMS library/can't be played etc.

This results in me having to do a full rescan (remove and add everything) in order to correct things.

I take this to be because the ID/information about the mount point has changed on reboot?

If so, can I get pCP to refresh this automatically on restart?

Thank you...

paul-
2020-05-31, 05:10
Please use the appropriate thread....you are not using pCP 3.5.0

Let this thread die.



Your usb device is taking too long to become ready at boot. You need to add some delay. On the extras menu, there is a bootcodes screen. Increase the value of waitusb.

PugRallye
2020-05-31, 06:04
Please use the appropriate thread....you are not using pCP 3.5.0

Let this thread die.



Your usb device is taking too long to become ready at boot. You need to add some delay. On the extras menu, there is a bootcodes screen. Increase the value of waitusb.

Thank you, that seems to have done the trick - and sincere apologies for posting in an old thread...