Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0
If you start LMS with the music files not mounted, it causes all kinds of problems with the library 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=113512 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0
hellrider77 wrote: > There is something I wanted to ask since I ce back to using pCP few > months ago. > Will rt-kernel ever come back? I always felt it sounded better (not only > with pCP but also with Daphile). > Another option would be to offer a way to load custom kernels (a > script?). > > Thanks a lot. The biggest problem is a functioning kernel. Nobody in a semi official channel maintains a working RT kernel for rpi. If there is a working kernel, then its just packaging the kernel modules. 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=114828 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0
mr-b wrote: > > My question in case it wasn't clear was about why fsck in read-only mode > indicated free count issues if fsck had been run on boot? Or does fsck > not fix those? You cannot run fsck to make repairs on a mounted file system. When fsck runs at boot, the file system is not mounted, so it can run normally. If your filesystem wont get repaired, it is likely a failing sdcard. 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=114828 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Linux noob
psketch wrote: > Now you've got the commands sorted, you could add them to a .sh file in > /home/tc and run it using a custom cron command in the cron section in > Tweaks maybe, unless you actually want to reboot each day of course. An overnight reboot isnt a bad idea. A number of people report SQ deterioration over time which is sorted by a full system reboot. I get it on 2 pis very occasionally. Both are Pi2 and both use USB Dacs. A reboot always sorts it. VB2.4[/B] STORAGE *QNAP TS419P (NFS) [B]Living Room* Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s *Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s *Dining Room* SB Boom *Kitchen* UE Radio (upgraded to SB Radio) *Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones *Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers *Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes Everything controlled by iPeng & Material on iOS d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051 View this thread: http://forums.slimdevices.com/showthread.php?t=114879 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Linux noob
Now you've got the commands sorted, you could add them to a .sh file in /home/tc and run it using a custom cron command in the cron section in Tweaks maybe, unless you actually want to reboot each day of course. psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114879 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0
There is something I wanted to ask since I ce back to using pCP few months ago. Will rt-kernel ever come back? I always felt it sounded better (not only with pCP but also with Daphile). Another option would be to offer a way to load custom kernels (a script?). Thanks a lot. hellrider77's Profile: http://forums.slimdevices.com/member.php?userid=68706 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] Linux noob
Thanks to all that have replied. Regarding the use of a rpi4 instead of something hardware. I got the pi in a nice cabinet for free. So it seemed obvious to go for that. When I got SSH to work, things got much easier. I think I'm done setting up. Maybe some minor tweaking remains. I'm sure it's far from best practice. But it works and I don't have to do anything to keep it going. I set the pCP to reboot every night. And in User Command #1 I have this: rsync -av --delete /mnt/Data/ServerFolders/Data/ /mnt/Back1/Data/ and in #2 the same, only the name of my other backupdisk. This way backup runs every night and I can easily trigger and extra backup if needed. I get a couple of errors from the mount and command that fails but it doesn't seem to cause any actual problems. LMS and Samba runs nicely. I think I'm gonna be happy about this setup for years to come. BR Mogens 2 Radios (1 battery), 2 Controllers, 2 Receivers, SqueezeCommander, OrangeSqueeze and SqueezePlayer on Samsung Galaxy Nexus. Muele's Profile: http://forums.slimdevices.com/member.php?userid=21310 View this thread: http://forums.slimdevices.com/showthread.php?t=114879 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0
Yup, no argument on that front! But there's no point passing just 'y' to fsck since the vol is mounted i.e. tc@PCP-XLR-LMS:~$ e2fsck -y /dev/mmcblk0p2 e2fsck 1.45.6 (20-Mar-2020) /dev/mmcblk0p2 is mounted. e2fsck: Cannot continue, aborting. I'm confused as to what you're suggesting. My question in case it wasn't clear was about why fsck in read-only mode indicated free count issues if fsck had been run on boot? Or does fsck not fix those? mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044 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 7.0.0
garym wrote: > Where are your music library files located? On a attached USB drive? On > a NAS, or ???From what you describe it is as if the rPi doesn't see > your file locations at the time you try to rescan. And at a complete > re-start, it is "finding" the files again. The files are on a NAS. We did have a power cut which upset the ip address of the Pi running LMS server. I then fixed this in the router settings by linking the ip address to the MAC. The address of the NAS was already fix in this way, so the Pi should have still had the correct address for the NAS. Ian IAN *Library*: Netgear NAS Duo *Server*: RPi3 / PiCorePlayer with LMS 8.0 *Main System*: RPi2 / iQAudio DAC+ / PiCorePlayer *Second System*: RPiZero / iQAudio DAC Zero / PiCorePlayer *PC:* Squeezelite-X IanHaynes's Profile: http://forums.slimdevices.com/member.php?userid=68595 View this thread: http://forums.slimdevices.com/showthread.php?t=113512 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0
It's pretty clear to me, you cannot combine options. https://man7.org/linux/man-pages/man8/e2fsck.8.html 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=114828 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0
IanHaynes wrote: > Having added new albums I've now had two instances where, when I select > 'Look for new and changed media files', the entire library is deleted > rather than being rescanned. In trying to recover this, selecting 'Clear > library and rescan everything' does nothing. If I reboot the server from > the LMS page it does nothing either. I have to shut down completely > (power-down) after which it does then rescan completely. > > Do you have any thoughts on what may have gone wrong and how I can stop > this? > > Ian Where are your music library files located? On a attached USB drive? On a NAS, or ???From what you describe it is as if the rPi doesn't see your file locations at the time you try to rescan. And at a complete re-start, it is "finding" the files again. *Home:* Pi4B-8GB/pCP8.x/4TB>LMS 8.1.x>Transporter, Touch, Boom, Radio (all ethernet) *Cottage:* rPi4B-4GB/pCP7.x/4TB>LMS 8.1.x>Touch>Benchmark DAC I, Boom, Radio w/Battery (Radio WIFI) *Office:* Win10(64)>foobar2000 *The Wild: *rPi3B+/pCP7.x/4TB>LMS 8.1.x>hifiberry Dac+Pro (LMS & Squeezelite) *Controllers:* iPhone11 & iPadAir3 (iPeng), CONTROLLER, Material Skin, or SqueezePlay 7.8 on Win10(64) *Files:* -Ripping-: dBpoweramp > FLAC; -Post-rip-: mp3tag, PerfectTunes, TuneFusion; -Streaming:- Spotify garym's Profile: http://forums.slimdevices.com/member.php?userid=17325 View this thread: http://forums.slimdevices.com/showthread.php?t=113512 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0
Having added new albums I've now had two instances where, when I select 'Look for new and changed media files', the entire library is deleted rather than being rescanned. In trying to recover this, selecting 'Clear library and rescan everything' does nothing. If I reboot the server from the LMS page it does nothing either. I have to shut down completely (power-down) after which it does then rescan completely. Do you have any thoughts on what may have gone wrong and how I can stop this? Ian IAN *Library*: Netgear NAS Duo *Server*: RPi3 / PiCorePlayer with LMS 8.0 *Main System*: RPi2 / iQAudio DAC+ / PiCorePlayer *Second System*: RPiZero / iQAudio DAC Zero / PiCorePlayer *PC:* Squeezelite-X IanHaynes's Profile: http://forums.slimdevices.com/member.php?userid=68595 View this thread: http://forums.slimdevices.com/showthread.php?t=113512 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0
Huh? Sorry I don't understand. mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044 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
Pass the -y parameter (assume yes to all questions). The -y parameter is used during boot. 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=114828 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0
Well it certainly works fine on another PCP with a screen: 35359 Though the boot says PCPCore-v7. But on my other one, fsck still shows incorrect free counts, which I'd assumed fsck would correct. Code: tc@PCP-XLR-LMS:~$ e2fsck -n /dev/mmcblk0p2 e2fsck 1.45.6 (20-Mar-2020) Warning! /dev/mmcblk0p2 is mounted. Warning: skipping journal recovery because doing a read-only filesystem check. PCP_ROOT has been mounted 1 times without being checked, check forced. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Free blocks count wrong (6991325, counted=6991188). Fix? no Free inodes count wrong (3893649, counted=3893641). Fix? no PCP_ROOT: 5743/3899392 files (0.3% non-contiguous), 781859/7773184 blocks +---+ |Filename: 2021-07-27 15.17.46 Screen Snipping.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=35359| +---+ mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044 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] poCorePlayer - DAB+ discussion
stevemartins wrote: > Switching on mobile hotspot every time I get in the car, or buying a GSM > modem and separate sim card account don't seem like great options to me > (or maybe I just like a challenge...). I was thinking more about remote SIMs where the car "borrows" the phone SIM (i.e. no SIM in car) using Bluetooth and then the car can also provide a wifi hotspot within the car. > > https://github.com/hradio/omri-usb is a C library and JNI android > library which is used by DAB-Z as middleware, I'm hoping that porting > that to the pi isn't too difficult, all the java stuff appears just to > be wrapper code to the C functions. OK - good there is open source application for dongle you have. I think you should develop & test on a full Raspbian system - then recompile for PCP. To interface with LMS - I think you should be aiming for a command line which can take parameters to tune (i) if no audio stream then stream audio to STDOUT and feed into LMS. (ii) if standard USB PCM audio stream - use arecord to capture and feed into LMS. (iii) Leave metadata until tuning ans treaming audio is sorted. Metadata can be handled in many ways. If there is a simple PCM audio interface then you'll be able to use "arecord" to test and check. Check the USB device to see if there is a audio interface - use something like "*lsusb -v -d 077d:627a*" Look in the output for "audio" interface that is "streaming". It'll also give the format such as PCM but possibly audio from DABmay not be decoded and may still be in AAC. The lsusb output will say what is supported. Truncated output for a RadioShark USB which has AM/FM audio on audio streaming but tuning and LED control is through a HID. Code: Bus 003 Device 013: ID 077d:627a Griffin Technology Radio SHARK Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x077d Griffin Technology idProduct 0x627a Radio SHARK bcdDevice0.10 iManufacturer 1 Griffin Technology, Inc. iProduct2 radioSHARK iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x00e3 bNumInterfaces 3 bConfigurationValue 1 iConfiguration 3 F5 2006/04/27 17:50 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 1 Control Device bInterfaceProtocol 0 iInterface 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType36 bDescriptorSubtype 1 (HEADER) bcdADC 1.00 wTotalLength 0x001e bInCollection 1 baInterfaceNr(0)1 AudioControl Interface Descriptor: bLength12 bDescriptorType36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 1 wTerminalType 0x0601 Analog Connector bAssocTerminal 0 bNrChannels 2 wChannelConfig 0x0003 Left Front (L) Right Front (R) iChannelNames 0 iTerminal 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType36 bDescriptorSubtype 3 (OUTPUT_TERMINAL) bTerminalID13 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bSourceID 1 iTerminal 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber1 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 2 Streaming bInterfaceProtocol 0 iInterface 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber1 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 1 Audio bInterfaceSubClass 2 Streaming bInterfaceProtocol 0 iInterface 0 AudioStreaming Interface Descriptor: bLength 7 bDescriptorType36 bDescriptorSubtype 1 (AS_GENERAL) bTerminalLink 13 bDelay 0 frames wFormatTag 0x0001 PCM AudioStreaming Interface Descriptor: bLength14 bDescriptorType36 bDescriptorSubtype 2 (FORMAT_TYPE) bFormatType 1 (FORMAT_TYPE_I) bNrChannels 1 bSubframeSize 1 bBitResolution 8 bSamFreqType0 Continuous tLowerSamFreq6400 tUpperSamFreq 48000 Endpoint
Re: [SlimDevices: Unix] poCorePlayer - DAB+ discussion
bpa wrote: > While I can see the logic of in-car - just I find it hard to believe > there are roads with a DAB+ signal and not a mobile one. It's just a > word of caution as I think DAB+ may be hard work on a Raspberry Pi. > > Rather than the undocumented USB adaptor you've got you may have better > luck with a RTL-SDR (adaptors are quite cheap 10-20 £/$/) as there is > more open s/w available (e.g. https://github.com/AlbrechtL/welle.io ) > but the downside as it is SDR (it can do any RF not just DAB) but it > requires a good CPU but I believe it is ok on Pi3. Switching on mobile hotspot every time I get in the car, or buying a GSM modem and separate sim card account don't seem like great options to me (or maybe I just like a challenge...). https://github.com/hradio/omri-usb is a C library and JNI android library which is used by DAB-Z as middleware, I'm hoping that porting that to the pi isn't too difficult, all the java stuff appears just to be wrapper code to the C functions. Steve stevemartins's Profile: http://forums.slimdevices.com/member.php?userid=68461 View this thread: http://forums.slimdevices.com/showthread.php?t=114894 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Linux noob
If you want to navigate the file structure and move files from A to B and you are predominantly a Windows person then WinSCP is going to be easier - https://winscp.net/eng/index.php Use the same credentials as you do for ssh - make sure connection type is scp VB2.4[/B] STORAGE *QNAP TS419P (NFS) [B]Living Room* Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s *Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s *Dining Room* SB Boom *Kitchen* UE Radio (upgraded to SB Radio) *Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones *Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers *Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes Everything controlled by iPeng & Material on iOS d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051 View this thread: http://forums.slimdevices.com/showthread.php?t=114879 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Linux noob
Muele wrote: > Damned. Case sensitivity in the file system. I feel so stupid now. > > Edit: that and not knowing if the smb share (which maps deeper in the > file structure) or the actual mount is used. Non-native file systems are always mounted with single user write permissions. When mounting a vfat file system as root you can specify additional command line parameters to grant read/write access to other users as well. See 'this page' (https://superuser.com/questions/61/how-do-i-auto-mount-a-usb-drive-that-all-users-can-write-to/617782#617782) for info. Beware of hints stating to use fstab to accomplish this. If the drive is not attached during boot there is a chance that the system will stall on the mountall phase and that is pretty annoying on a headless system because this means that the ssh daemon will never be started and you either need an alternative method to connect to the system (i.e. a serial console) or boot a rescue system to access and delete the conflicting line. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114879 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix