Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
Note also that the errors: thread 'main' panicked at 'Authentication failed with reason: BadCredentials', /home/pi/.cargo/git/checkouts/librespot-40ba8a51a8dd7e0d/8c2bd4e/core/src/connection/mod.rs:93:21 still occur at then end of boot log, but now they are well after everything else is started ok. Maybe it is just the action of changing hdmi power that kills the startup script, and these messages are red herrings These messages are caused by incorrect credentials configured for Spotty. Disable the plugin or configure it correctly to get rid of those messages. -- Michael ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
Note also that the errors: thread 'main' panicked at 'Authentication failed with reason: BadCredentials', /home/pi/.cargo/git/checkouts/librespot-40ba8a51a8dd7e0d/8c2bd4e/core/src/connection/mod.rs:93:21 still occur at then end of boot log, but now they are well after everything else is started ok. Maybe it is just the action of changing hdmi power that kills the startup script, and these messages are red herrings trying the vcgencmd display_power commands as root never finishes. maybe that's why the startup script never gets to start httpd. it's not been killed, just still waiting for vcgencmd. Paul Barnett's Profile: http://forums.slimdevices.com/member.php?userid=69720 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] ANNOUNCE: piCorePlayer 6.0.0
aha.. I did not know about /var/log/pcp_boot.log ... here are the last few lines: [ INFO ] Starting Squeezelite player: Squeezelite... Done. Powering off HDMI...thread 'main' panicked at 'Authentication failed with reason: BadCredentials', /home/pi/.cargo/git/checkouts/librespot-40ba8a51a8dd7e0d/8c2bd4e/core/src/connection/mod.rs:93:21 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. thread 'main' panicked at 'Authentication failed with reason: BadCredentials', /home/pi/.cargo/git/checkouts/librespot-40ba8a51a8dd7e0d/8c2bd4e/core/src/connection/mod.rs:93:21 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. thread 'main' panicked at 'Authentication failed with reason: BadCredentials', /home/pi/.cargo/git/checkouts/librespot-40ba8a51a8dd7e0d/8c2bd4e/core/src/connection/mod.rs:93:21 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. thread 'main' panicked at 'Authentication failed with reason: BadCredentials', /home/pi/.cargo/git/checkouts/librespot-40ba8a51a8dd7e0d/8c2bd4e/core/src/connection/mod.rs:93:21 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. thread 'main' panicked at 'Authentication failed with reason: BadCredentials', /home/pi/.cargo/git/checkouts/librespot-40ba8a51a8dd7e0d/8c2bd4e/core/src/connection/mod.rs:93:21 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. thread 'main' panicked at 'Authentication failed with reason: BadCredentials', /home/pi/.cargo/git/checkouts/librespot-40ba8a51a8dd7e0d/8c2bd4e/core/src/connection/mod.rs:93:21 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. So it looks like the startup script died at power off hdmi, before getting around to starting the gui. I changed the hdmi power switch from off to on, (in tweaks) and it is now working as expected. (I dont recall changing this switch, but maybe..) Note that in the gui, setting the switch to on never replied. and after a reboot, was still set to off, so maybe gui had the same problem as startup. Anyway, setting it to on in the gui, no reply, then a backup from the main screen, then reboot, fixed it. Paul Barnett's Profile: http://forums.slimdevices.com/member.php?userid=69720 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] ANNOUNCE: piCorePlayer 6.0.0
Paul_Barnett wrote: > HI. Latest picoreplayer 6.1.0 on rpi4/8gb. Not sure why this is no > longer working. It was working fine until (surely a coincidence), I > changed wifi netowrk & password. Since then, squeezelite and lms still > start at power up, and work as before. BUT gui (httpd on 80) is not > starting. I can ssh to it and start it manually, and then it works fine > (until next reboot). pcp.cfg has disable_gui set to 0 > > Is there any log file I can look at to help diag the problem, Or > anything else I should look at. (it is acting as if disable_gui is set > to 1 - can anything else set this flag? Hi Paul_Barnett, That's a weird one. I have never seen that before. The only 2 variables relate to httpd. Code: GUI_DISABLE="0" WWW_PORT="80" I don't understand what's happening? The disable web GUI creates a file /tmp/stop_httpd.sh to disable httpd after "x" seconds. Using this undocumented command may work: http://192.168.1.xxx/cgi-bin/security.cgi?CALLED_BY=Disable+GUI I think the quickest option is to do a clean install. The boot log should show what's happening regarding httpd. regards Greg Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 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] piCorePlayer Documentation
Hi Jim, Thanks for your input. The new publishing process makes it a lot easier write and update documentation, so that is a major obstacle removed. I agree with what you are saying but as a general rule, but documentation is never going to be just right because the audience is at different levels of understanding. Personally I like something like this: Click [Resize FS] to resize the file system--see "Resizing file system". An clear action with a brief concise description and a link to detailed information. So: - An expert would read: Click [Resize FS] - A normal user would read: Click [Resize FS] to resize the file system - While a novice would read: Click [Resize FS] to resize the file system--see "Resizing file system". regards Greg Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=112996 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Slimmer
Hi Paul, i think it's related to some recent update, because last comments previous mine, state same problem. I don't understand if the project is still maintained, because if the problem were in Slimmer itself, i would have no way to solve it. :( Thanks Emanuele emanue|e's Profile: http://forums.slimdevices.com/member.php?userid=70721 View this thread: http://forums.slimdevices.com/showthread.php?t=105819 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
Yup. And if you want to permanently map a drive to cut down the amount of UNC typing and/or if you are using specific user credentials then try something like this: net use s: \\piCoreLMS\LMSfiles /user:me my-password /persistent:Yes To check the mapping: net use mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044 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] ANNOUNCE: piCorePlayer 6.0.0
copy "myfile.mp3" "\\piCoreLMS\LMSfiles" mkdir "\\piCoreLMS\LMSfiles\afolder" In those examples the double-quotes are not really needed because there are no spaces in the paths ... but does not hurt to have them in and serves as a good reminder for when you do have spaces in file/folder names. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 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] ANNOUNCE: piCorePlayer 6.0.0
mr-b wrote: > Time to fill in an RFE for a Browse button in the UI. ;-) It's saved me > multiple times as it verifies that various network/permission things are > accessible or working. > > I think your Workgroup should still be "WORKGROUP" though. ;-) > > Try doing a CLI file copy to see what the error is. Explorer error codes > suck. In fact Explorer copy sucks generally. I use robocopy for > comprehensive/large file copy operations, and you can also log the > output to a file to check for errors. Rsync is good too for Linux > leaning folks. Thanks for the reply @mr-b Sorry I'd used an old screenshot, I already had my Workgroup set to WORKGROUP. ;) My DOS commands are a little rusty, how would I connect to the share that Samba has created? It's not like I can go (for example) Code: E: to enter the share location. Looking at the share properties in explorer the target is \\piCoreLMS\LMSfiles what does that mean in terms of its actual drive allocation? Sorry if I'm being a bit stupid! :( gizmo1990's Profile: http://forums.slimdevices.com/member.php?userid=68249 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] ANNOUNCE: piCorePlayer 6.0.0
HI. Latest picoreplayer 6.1.0 on rpi4/8gb. Not sure why this is no longer working. It was working fine until (surely a coincidence), I changed wifi netowrk & password. Since then, squeezelite and lms still start at power up, and work as before. BUT gui (httpd on 80) is not starting. I can ssh to it and start it manually, and then it works fine (until next reboot). pcp.cfg has disable_gui set to 0 Is there any log file I can look at to help diag the problem, Or anything else I should look at. (it is acting as if disable_gui is set to 1 - can anything else set this flag? Paul_Barnett's Profile: http://forums.slimdevices.com/member.php?userid=54976 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] Announce: Slimmer
I think we need someone who has Slimmer with LCDProc running in pCP to show what they did to get it working. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=105819 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] HDMI audio (tv turns on) or Hifiberry Digi+ Pro
Just in case ... you could check the config.txt file for "DOS" style line endings. I would imagine that RPi code can handle multiple formats of line-endings but perhaps not ... so make sure that they are Unix-style. One way to do this is to edit the file in Notepad++ and check via Edit/EOL Conversion Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=112974 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] HDMI audio (tv turns on) or Hifiberry Digi+ Pro
Ive been reading, but this is really not a pCP thing its the capabilities of the rpi. But i do t understand what you are even trying to do. Why is the HDMI cable connected At all? Display is the 7 touchscreen and hifiberry is audio. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=112974 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] HDMI audio (tv turns on) or Hifiberry Digi+ Pro
Casagrande wrote: > Yes I followed 'these' > (https://www.picoreplayer.org/how_to_edit_config_txt.shtml) > instructions. Allthough I didn't know how to edit (or subsequently save) > the file in Putty. First used Putty to mount, then used WinSCP to edit. > And then Putty to reboot. Putty is a comms application used to communicate and/or transfer files. Winscp does much the same but has an editor - not why you used Putty before and after nor where you edited the file. I think you need to ask the main HDMI/CEC question (with your results so far) on a PCP dedicated thread ( such as https://forums.slimdevices.com/showthread.php?111787-ANNOUNCE-piCorePlayer-6-0-0 ) where your question will be seen by the PCP developers as well many PCP users. At the moment your topic title doesn't mention PCP and so the thread may not be read by those with PCP expertise. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=112974 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer Documentation
Greg (and others); I took a quick look through, this is wonderful, thank you for the effort to date. I do have a thought though... When I setup my first picore player, I followed the "how to" step by step and was successful, but often didn't understand "why", what the purpose of the step was. For example "resize the file system", "Move Cache and prefs", etc. After a lot of time in these forums, addressing issues, reading the efforts of others, I slowly understood much of what those steps mean, what they are actually doing. I got to understand the system. Of course following the how tos I got up and operational quick, I just didn't fully understand what I had just built, and therefore what I could/should change. For example, I get frequent power failures with a picore (server only) and attached USB HDD. The power interruptions caused the HDD mount to get lost. I had to remount the HDD and sometimes rebuild LMS. All this because I moved Cache and Prefs to the HDD. Now, I keep them on the SD, in fact, I created a third partition on the SD for cache and prefs (per a recommendation from Paul). I never understood what the step meant, or that it was not required to have an operational system. I now (through the forums) know. So, if I can make a suggestion (I would be willing to help if I could), maybe think to add some "what it is you are doing and why" to the steps. EG: 1) Why do I have to resize the file system? Are there factors that would make a user want to make it even bigger? 2) When I am moving cache and prefs, what does this mean? Even adding, "this step is recommended but optional because..." Not trying to create extra work, just thought I would give you a perspective from the experience I went through as a LMS vet, but a Picore noob (at the time). I might have been more mystified if I was a full noob :) Jim Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806 View this thread: http://forums.slimdevices.com/showthread.php?t=112996 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] HDMI audio (tv turns on) or Hifiberry Digi+ Pro
bpa wrote: > No idea but all references to it says you must put it into the > config.txt in the partition that is used when booting the Pi. It is > only effective when booting the Pi. Yes I followed 'these' (https://www.picoreplayer.org/how_to_edit_config_txt.shtml) instructions. Allthough I didn't know how to edit (or subsequently save) the file in Putty. First used Putty to mount, then used WinSCP to edit. And then Putty to reboot. - *Squeezeboxes:* 2x Boom (bedroom and spare), 1x piCorePlayer on Pi Model 3B+ with 7" Touchscreen and HiFiBerry Digi+ Pro connected via RCA to Arcam AVR390 (living room and kitchen, replacement for defective Squeezebox Receiver), 1x piCorePlayer on Pi Model 4B connected via mini jack/RCA to Arcam AVR100 (study, ongoing project) - *Control:* Orange Squeeze - *Server:* LMS 7.9.1 on ReadyNas Ultra 2 - *Library location:* ReadyNas Ultra 2 Casagrande's Profile: http://forums.slimdevices.com/member.php?userid=44788 View this thread: http://forums.slimdevices.com/showthread.php?t=112974 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Slimmer
Paul Webster wrote: > That is a shame ... it all looks good. > > Perhaps try running Slimmer without the parameters for LCDProc so that > it uses its defaults (although it really should not make a difference > because the parameters that you gave it are the deafults). No way :( Tried to empty slimmer.conf like this: OPTIONS="" and restart. I have same network error. :( emanue|e's Profile: http://forums.slimdevices.com/member.php?userid=70721 View this thread: http://forums.slimdevices.com/showthread.php?t=105819 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Slimmer
That is a shame ... it all looks good. Perhaps try running Slimmer without the parameters for LCDProc so that it uses its defaults (although it really should not make a difference because the parameters that you gave it are the deafults). Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=105819 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Slimmer
Hi Paul, here is what you asked for: tc@piCorePlayer:~$ ps -ef | grep -i lcd 8272 nobody0:00 /usr/local/sbin/LCDd -c /usr/local/etc/LCDd.conf 8409 tc0:00 grep -i lcd and tc@piCorePlayer:~$ sudo netstat -tulpn | grep LISTEN netstat: /proc/net/tcp6: No such file or directory netstat: /proc/net/udp6: No such file or directory tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN 7903/httpd tcp0 0 0.0.0.0:22 0.0.0.0:* LISTEN 7836/sshd tcp0 0 127.0.0.1:13666 0.0.0.0:* LISTEN 8272/LCDd Thank you for support! Emanuele emanue|e's Profile: http://forums.slimdevices.com/member.php?userid=70721 View this thread: http://forums.slimdevices.com/showthread.php?t=105819 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix