Re: [SlimDevices: Unix] Power Interruptions & Timezone Loss
An easy way to resolve this is to tell cron (timed tasks tool) to set the time every few hours. https://forums.slimdevices.com/showthread.php?109404-ANNOUNCE-piCorePlayer-4-0-0&p=925614&viewfull=1#post925614 If you set it to run every 10 minutes then you should find that the time is back to normal soon after boot. Another way to do it would be to force a long delay on start up to give it time for the router to come up perhaps only if the outside world cannot be reached. Paul Webster http://dabdig.blogspot.com Author of plugins for Radio France (FIP etc), KCRW and Supla Finland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=112090 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Power Interruptions & Timezone Loss
Redrum wrote: > > So, if PcP boots, and timezone was set previously, does it leave it > alone? Yes. Once set, it never gets touched again. > Because, what I am seeing is that time is fine before power failure, > then on reboot (with no internet access at the time) it gets messed up. > Then when I go to reset the timezone, everything breaks. Timezone should still be OK but the time is not set because there is no internet access to a ntp server. Don't touch the timezone. Currently pCP only sets the time on boot so the time will never get fixed by itself and it may drift over time. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=112090 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Power Interruptions & Timezone Loss
Greg Erskine wrote: > hi Redrum, > > The timezone gets set automatically and saved when you boot, but it must > have a network and internet access. Once set, it will not check again. I > can't see how it could corrupted once set. > > Similarly, ntp sets the time, but it also needs internet access. > > We seem to be getting a lot of these kind of happenings, are the worlds > power systems failing? > > regards > Greg Hi Greg; I think you are on to something...when power is interrupted and restored, the Pcp powers up well before the modem has established internet access. It is crappy DSL, and it takes forever to boot and establish internet access. Up to 5 minutes, seriously. So, if PcP boots, and timezone was set previously, does it leave it alone? If not, and no internet access, what does it do? Because, what I am seeing is that time is fine before power failure, then on reboot (with no internet access at the time) it gets messed up. Then when I go to reset the timezone, everything breaks. I am almost thinking that maybe I can do this instead? Power failure, I see no time on touch, goofy time on boom and radio. stop lms. Just power down and power up pcp (while internet access is established), everyone is happy? It really is an ordeal as I described. One other thing of note - I mentioned that RP FLAC interactive (all streams) doesn't work in this state. I noticed today that while RP FLAC regular stream works, there is no song an album art info displayed. The MP3 streams are fine. I wonder what the significance is. Not sure about the world but this is happening in the Adirondacks in Northern New York, Huge Pine trees that fall down on power lines, crappy DSL on ancient copper infrastructure that can drop out for days. You pass more utility trucks than cars on windy days. But it's beautiful here...the price you pay. I'll try my idea Jim Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806 View this thread: http://forums.slimdevices.com/showthread.php?t=112090 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] power on/off switch
Alverman wrote: > I now have two picoreplayers running. One with the official touchscreen > and a Hifiberry DAC+pro connected to my BEO Ouverture and another > running headless with a Hifiberry Amp2. Both working just fine. Thank > you. > > I know that in the case of Picoreplayer, you can safely remove power to > shutdown the device but I like to be able to switch on/off my equipment > with a switch. I'd like to do that with a momentary switch between Pins > 5 and 6 and a script I found 'here' > (http://www.barryhubbard.com/raspberry-pi/howto-raspberry-pi-raspbian-power-on-off-gpio-button/#comment-1232). > > Among the Squeezelite settings, I see the fields "Power On/Off GPIO" and > "Power On/Off Script" Am I right in assuming that I can accomplish what > I want by a) putting a 0 in the first field and b) putting the path to > the script in the second ? If so, where should I put the script? Hello, I'm wondering if you got to find a way to install that software switch? I'm looking to implement the exact same function but can't proceed with the download and installation of the script via SSH as the are missing dependencies such as ''apt install'', ''git'' etc. Any help will be greatly appreciated! gtj's Profile: http://forums.slimdevices.com/member.php?userid=66771 View this thread: http://forums.slimdevices.com/showthread.php?t=110766 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Power Interruptions & Timezone Loss
hi Redrum, The timezone gets set automatically and saved when you boot, but it must have a network and internet access. Once set, it will not check again. I can't see how it could corrupted once set. Similarly, ntp sets the time, but it also needs internet access. We seem to be getting a lot of these kind of happenings, are the worlds power systems failing? regards Greg Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=112090 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] How to Get my BIOS to Recognize a USB Drive
I don't think there is much risk to brick anything. This is one of the few architectures with 64 bits processor but 32 bits UEFI. A bit tricky. Well done for installing Ubuntu in the first place! You need a UEFI 32 bits target on your USB drive for it to be seen as bootable by your BIOS. If you want to try another linux distribution, I would advise a 32 bits one (x86), but there are very few left! Mostly based on Debian: 'MX linux' (https://mxlinux.org/download-links/) 'Voyager' (https://voyagerlive.org/voyager-10-debian-buster/) Enjoy... truscellino's Profile: http://forums.slimdevices.com/member.php?userid=69928 View this thread: http://forums.slimdevices.com/showthread.php?t=112081 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
It is working now... I change on ALSA setting the buffer size according to the log - and then back to 80 again. And now it is working even after a reboot. Strange Schindler's Profile: http://forums.slimdevices.com/member.php?userid=8461 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
There are lots of 24 bit threads. But could not find anything definitive. 24bit is quite problematic. I would just start your own thread..Make the subject someone descriptive so perhaps a search engine picks up on it for others. What is the format of the files. Flac? 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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=111787 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
this is in the log... /usr/local/bin/squeezelite -n piCorePlayer -o hw:CARD=sndrpihifiberry -a 80:4::1: -d output=info -f /var/log/pcp_squeezelite.log [19:29:48.638467] output_init_alsa:939 init output [19:29:48.638594] output_init_alsa:979 requested alsa_buffer: 80 alsa_period: 4 format: any mmap: 1 [19:29:48.644391] output_init_common:422 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 [19:29:48.656357] output_init_alsa:1005 memory locked [19:29:48.656440] output_init_alsa:1011 glibc detected using mallopt [19:29:48.656747] output_thread:687 open output device: hw:CARD=sndrpihifiberry [19:29:48.657056] alsa_open:351 opening device at: 44100 [19:29:48.661891] alsa_open:422 opened device hw:CARD=sndrpihifiberry using format: S32_LE sample rate: 44100 mmap: 1 [19:29:48.661998] alsa_open:513 buffer: 80 period: 4 -> buffer size: 3528 period size: 882 [19:29:49.025011] _output_frames:64 start buffer frames: 308736 [19:29:49.025167] _output_frames:149 track start sample rate: 44100 replay_gain: 0 [19:33:58.547053] _output_frames:149 track start sample rate: 44100 replay_gain: 0 [19:35:47.029128] output_flush:435 flush output buffer [19:35:47.031649] output_flush:435 flush output buffer [19:35:47.548017] _output_frames:64 start buffer frames: 105984 [19:35:47.548159] _output_frames:149 track start sample rate: 192000 replay_gain: 0 [19:35:47.558229] output_thread:687 open output device: hw:CARD=sndrpihifiberry [19:35:47.560776] alsa_open:351 opening device at: 192000 [19:35:47.561938] alsa_open:422 opened device hw:CARD=sndrpihifiberry using format: S32_LE sample rate: 192000 mmap: 1 [19:35:47.562002] alsa_open:513 buffer: 80 period: 4 -> buffer size: 15360 period size: 3840 If not here - which forum should I go? Schindler's Profile: http://forums.slimdevices.com/member.php?userid=8461 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
well, I feed 24Bit/192kHz from Qobuz and have no sound then. Yes only the player - thanks. Schindler's Profile: http://forums.slimdevices.com/member.php?userid=8461 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
It will play 192k if you feed it 192k samples. If you want to upsample everything, then there are other settings. Thats best discussed in the squeezelite thread. As for power. If this is just a player, that is perfectly fine to pull power. If you installed LMS on this same device, then no, don't pull power. 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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=111787 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
Hello all I just installed my first piCorePlayer and I am using a Pi4 with a HIFIBERRY DAC+ PRO XLR. I quess I have to select as output device: "HifiBerry DAC+ (and Pro, AMP2)? With this setting I can play music but not 24Bit/192kHz. Is there anything else I have to change to get 192kHz? and Can I just cut the power to shutdown the Pi - or will this cause problems with the SD-Card? Thanks.Christian Schindler's Profile: http://forums.slimdevices.com/member.php?userid=8461 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- wrote: > Thats a jivelite question.there are all kinds of things you can do > with that. Best talked about in it's own thread, or the jivelite > thread. > > Have you looked at Custom-Clock - CustomClock helper. Thanks, I was not quite sure if this is a pCP or jivelite thing since the option is in the piCorePlayer section of the settings. And yes, Custom Clock and Helper already installed an configured. StM's Profile: http://forums.slimdevices.com/member.php?userid=69827 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
Steve Agnew wrote: > I've just spent an afternoon setting up a KY-040 encoder to work with > squeezelite and was wondering if there was a simpler approach that would > be easier for normal folk. > > Would it be possible to support USB media controllers natively in > Squeezelite? I think they are supported if you install Jivelite but my > picoreplayer box sits inside an old radio and doesn't have a screen. > Something really simple like this: > > https://www.thingiverse.com/thing:2970774 > > would be awesome, or even something a bit more mainstream like the OSMC > RF media remote controller: > > https://osmc.tv/store/product/osmc-remote-control > > I'm sure there are lots of other remote controls that mimic keyboards. > Would this be a useful thing to have? > > Thanks, Steve. Yes, it is possible to control squeezelite with a usb device that mimics a keyboard with /usr/local/sbin/inputlircd if you manually install the pcp-lirc extension. That being said, it's not an simple setup. I did this recently with the 'Justboom Smart USB Remote' (https://shop.justboom.co/products/justboom-smart-remote) and a 'mini usb keyboard' (https://www.ebay.ca/itm/Mini-Keyboard-I8-2-4g-Wireless-Receiver-Optical-Mouse-For-Android-Tv-Box-Pc/362509407539) while testing a squeezelite change to enable repeating keys support with inputlircd. We don't support inputlircd from the webgui lirc tweaks pages. If you enable lirc through tweaks, pcp will launch lircd at startup which conflicts with inputlircd. You need to install pcp-lircd from the extensions webgui and start it from the user commands, and you must add -i to squeezelite various options field. See 'the manpage' (https://manpages.debian.org/jessie/inputlirc/inputlircd.8.en.html) for option details. You will likely need to create a mapping file (-t) and you might need to add -m 0 and -r 300 in addition to the input device your usb device is sending key events on. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 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] Jivelite for piCorePlayer
Hi Ralphy, thanks for coming back. Your suggestion in post 1123 were commented on in my post 1125, so yes I haven't modified anything and I am not using blank screen (not display off) I hope you can test soon, Cheers Paul *Squeezebox:* Boom x2 (Kitchen and Office), Radio x4 (Kids, Lounge and Bedroom) *Server:* 7.9.2 for PCP *Plugins:* Dynamic Playlists | SQL Playlist | Music Information Screen | TrackStat *Remote:* iPhone6/iPad Air running 'iPeng' (http://penguinlovesmusic.de/2008/11/25/ipeng-application-now-on-app-store/) *Music: *'Last.fm' (http://www.last.fm/user/chunkywizard) Chunkywizard's Profile: http://forums.slimdevices.com/member.php?userid=25868 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
Chunkywizard wrote: > Ralphy, can you replicate this? (it seems another user has already so it > sounds like bug). It would be good if it can be fixed, > > Thanks > > CW I haven't had a chance to look at it yet. Have you tried my suggestion a few posts back? Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 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
Chunkywizard wrote: > I had 'display off' rather than 'blank screen' which is what I has set > for PCP5.0. I've just tried using 'blank screen' and if I set this > screensaver for 'when stopped' then it works fine, but it I set it for > 'When off' then it doesn't do anything (apart from the word 'Off' at the > top of the screen). > > I don't believe I have a modified applet as I wouldn't know how to do > that! > > As it works 'when stopped' and not 'when off' does that tell you > anything? > > CW Ralphy, can you replicate this? (it seems another user has already so it sounds like bug). It would be good if it can be fixed, Thanks CW *Squeezebox:* Boom x2 (Kitchen and Office), Radio x4 (Kids, Lounge and Bedroom) *Server:* 7.9.2 for PCP *Plugins:* Dynamic Playlists | SQL Playlist | Music Information Screen | TrackStat *Remote:* iPhone6/iPad Air running 'iPeng' (http://penguinlovesmusic.de/2008/11/25/ipeng-application-now-on-app-store/) *Music: *'Last.fm' (http://www.last.fm/user/chunkywizard) Chunkywizard's Profile: http://forums.slimdevices.com/member.php?userid=25868 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
[SlimDevices: Unix] Power Interruptions & Timezone Loss
Hi; I hesitate to even mention this issue, but it is unique, I thought I would. I am running LMS on PcP 6 at home, but at my current location, I am running 4.1. If the answer is to install 6 and "then try it" that's fine. I hesitate because it's a bit of work to get at the server and sd card. If the answer is "get a UPS" then that's fine too...:) Pi 3B+, Picore 4.1, running LMS only. I have a USB Hdd with my library attached, so a self contained server/library. The LMS server preferences and cache are moved to the HDD (per picore "how to" instructions). I should also mention I am running SAMBA to create a network drive (windows 10). At this location we have frequent power failures (forest and wind = power lines down), but I have also seen this when I intentionally shut down and restart. The spiral of events and work to restore things is as follows: 1) After the power failure, the timezone in the tweak page must be corrupted. The field is blank. My touch has a blank time screensaver (no time to display). My radio and boom display goofy incorrect times. As a side effect, I noticed that the RP FLAC Interactive streams won't play, but the regular FLAC ones do. note that the rest of the system operates just fine, favorites, music library, etc. It's only when I try to fix the time that I break everything. 2) I go into tweaks, clear the field, and reboot the Pcp. 3) Often the reboot never completes, and I have to manually shut down power, but the end result is LMS has lost it's way. No library, no favorites, in fact (from memory) it might only offer MySB.com 4) I think what happens is the PcP/LMS loses track of the HDD with the LMS data. I usually go into the LMS page, see the USB drive is mounted visually in the UI (but I don't think that LMS sees it). What I have to do is this (on the PcP LMS page): a) move the LMS data to the SD card b)unmount the HDD drive, then remount it. c) move the LMS data back to the HDD 5) What this results in is the loss of my favorites (I have a backup so I manually restore), and I have to do a complete rescan. I am not sure about what happens to the plugins, the ones that I use (RP App, Material Skin, Squeezelite-X, etc) seem to be there, but maybe they are by default. Often, Usually, LMS is streaming when the power failure happens, but it doesn't seem like the SD Card is getting irretrievably corrupted, as I can recover without a reformat/redo. Whats telling is that the system seems to mostly recover from the power failure (except time display, RP interactive), everything works, it sees the HDD, it plays favorites, library. It's when I try to "fix" it is really breaks. We had a windstorm and a couple power failures yesterday, and I am playing my system with a messed up clock, and no flac interactive, but everything else works so, I hesitate to try to fix it :). Maybe it's time to do the version 6 upgrage Jim Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806 View this thread: http://forums.slimdevices.com/showthread.php?t=112090 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite for piCorePlayer
Run51 wrote: > hello > > i try to set 1280*800 hdmi screen with picore 6 on my rpi py > jivelite installed. i have selected 1280*800 skin. Display is ok. > > the problem concerns the touch. it is not aligned with my finger. I > believe it is not calibrated for 1280 * 800. > I also have the mouse pointer displayed. > > With ma2play distro no problem but i prefer picore. > > Can you help me to solve this problem please. > > ThanksHello anyone can help me? Thanks Envoyé de mon P027 en utilisant Tapatalk Run51's Profile: http://forums.slimdevices.com/member.php?userid=70021 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
I for one would love something like this for the server in my car. Currently I use my phone with the server set up as an access point. The problem is, after a while the phone looses connection with the server and won't reconnect without restarting the phone. A USB rotary controller/remote would be perfect. Thanks, Howard Steve Agnew wrote: > I've just spent an afternoon setting up a KY-040 encoder to work with > squeezelite and was wondering if there was a simpler approach that would > be easier for normal folk. > > Would it be possible to support USB media controllers natively in > Squeezelite? I think they are supported if you install Jivelite but my > picoreplayer box sits inside an old radio and doesn't have a screen. > Something really simple like this: > > https://www.thingiverse.com/thing:2970774 > > would be awesome, or even something a bit more mainstream like the OSMC > RF media remote controller: > > https://osmc.tv/store/product/osmc-remote-control > > I'm sure there are lots of other remote controls that mimic keyboards. > Would this be a useful thing to have? > > Thanks, Steve. Howard Passman's Profile: http://forums.slimdevices.com/member.php?userid=16674 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