Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
The cache location wont have anything to do with it. Best thing is just to look at the drive from an ssh session. Can you see the files, what are the permissions showing? Assuming you can see the files, I would do a complete clear and rescan of your library. When you move the drive around, timestamps can change, such that LMS doesn't pickup the new files. 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=111787 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
garym wrote: > I have my LMS cache, etc. on the USB drive. So I always stop rPi (using > the piCorePlayer webGUI for stopping), then remove the USB drive. Then > I add the USB drive back to the rPi BEFORE I apply power to the rPi to > restart it. Sounds like exactly what I did (powered down the Pi using the pCP web UI), then switched off the disc. When I reconnected, I powered on the disc, waited for a bit, then powered on the Pi again. Only difference is I don't have the LMS cache on the external disc... PugRallye's Profile: http://forums.slimdevices.com/member.php?userid=17668 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
PugRallye wrote: > And when reconnecting the drive to the Pi (which I'd powered down), is > there a "right" order in which to connect and power on? > > e.g. should I connect the disc, then power on the Pi, then the disc? > > Or power on the disc, then the Pi? > > Or does it not make any difference?! :) I have my LMS cache, etc. on the USB drive. So I always stop rPi (using the piCorePlayer webGUI for stopping), then remove the USB drive. Then I add the USB drive back to the rPi BEFORE I apply power to the rPi to restart it. *Home:* VBA 4TB (2.5) -or- rPi4B/pCP6.0/4TB>LMS 7.9.3>Transporter, Touch, Boom, Radio (all ethernet) *Cottage:* VBA 3TB (2.4) -or- rPi4B/pCP6.0/4TB>LMS 7.9.1>Touch>Benchmark DAC I, Boom, Radio w/Battery (ethernet, Radio WIFI) *Office:* Win10(64)>LMS 7.9.3>Squeezelite *The Wild: *rPi3B+/pCP4.0, hifiberry Dac+Pro, 4TB USB (LMS & Squeezelite) *Controllers:* iPhone11 & iPadAir2 (iPeng), CONTROLLER, or SqueezePlay 7.8 on Win10(64) *Files:* ripping: dbpa > FLAC; post-rip: mp3tag, PerfectTunes; Streaming: Spotify garym's Profile: http://forums.slimdevices.com/member.php?userid=17325 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
And when reconnecting the drive to the Pi (which I'd powered down), is there a "right" order in which to connect and power on? e.g. should I connect the disc, then power on the Pi, then the disc? Or power on the disc, then the Pi? Or does it not make any difference?! :) PugRallye's Profile: http://forums.slimdevices.com/member.php?userid=17668 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
PugRallye wrote: > It was Windows 10 (and I was sure to properly unmount the disc before > disconnecting it from the laptop) got it. same for me. win10 *Home:* VBA 4TB (2.5) -or- rPi4B/pCP6.0/4TB>LMS 7.9.3>Transporter, Touch, Boom, Radio (all ethernet) *Cottage:* VBA 3TB (2.4) -or- rPi4B/pCP6.0/4TB>LMS 7.9.1>Touch>Benchmark DAC I, Boom, Radio w/Battery (ethernet, Radio WIFI) *Office:* Win10(64)>LMS 7.9.3>Squeezelite *The Wild: *rPi3B+/pCP4.0, hifiberry Dac+Pro, 4TB USB (LMS & Squeezelite) *Controllers:* iPhone11 & iPadAir2 (iPeng), CONTROLLER, or SqueezePlay 7.8 on Win10(64) *Files:* ripping: dbpa > FLAC; post-rip: mp3tag, PerfectTunes; Streaming: Spotify garym's Profile: http://forums.slimdevices.com/member.php?userid=17325 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
garym wrote: > can't recall now, but what is the OS of the computer you're connecting > the drive to? Windows? Linux? OsX? It was Windows 10 (and I was sure to properly unmount the disc before disconnecting it from the laptop) PugRallye's Profile: http://forums.slimdevices.com/member.php?userid=17668 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
PugRallye wrote: > Thanks for the help/feedback... > > I too had to extend the USB wait value (as my disc was slow to be > recognised) > > No idea what's happened here then (with these missing file permissions). > > I have some more music I need to transfer tomorrow, so I'll give it > another go and see what happens... can't recall now, but what is the OS of the computer you're connecting the drive to? Windows? Linux? OsX? *Home:* VBA 4TB (2.5) -or- rPi4B/pCP6.0/4TB>LMS 7.9.3>Transporter, Touch, Boom, Radio (all ethernet) *Cottage:* VBA 3TB (2.4) -or- rPi4B/pCP6.0/4TB>LMS 7.9.1>Touch>Benchmark DAC I, Boom, Radio w/Battery (ethernet, Radio WIFI) *Office:* Win10(64)>LMS 7.9.3>Squeezelite *The Wild: *rPi3B+/pCP4.0, hifiberry Dac+Pro, 4TB USB (LMS & Squeezelite) *Controllers:* iPhone11 & iPadAir2 (iPeng), CONTROLLER, or SqueezePlay 7.8 on Win10(64) *Files:* ripping: dbpa > FLAC; post-rip: mp3tag, PerfectTunes; Streaming: Spotify garym's Profile: http://forums.slimdevices.com/member.php?userid=17325 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
Thanks for the help/feedback... I too had to extend the USB wait value (as my disc was slow to be recognised) No idea what's happened here then (with these missing file permissions). I have some more music I need to transfer tomorrow, so I'll give it another go and see what happens... PugRallye's Profile: http://forums.slimdevices.com/member.php?userid=17668 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: LMS Monitor 2020
bummer, was hoping that would finally join the dots OLED looks totally generic, sadly doesn't mention chip specifics but the python scripts only nuance was the GPIO specifics and the command line I gave should have nailed it I'll do a little more digging this end As of 2020/06/08 *Total Tracks: 150,513 Total Albums: 13,771 Total Artists: 19,483 Total Genres: 688 Total Playing Time: 24239:07:23* shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185 View this thread: http://forums.slimdevices.com/showthread.php?t=111790 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
garym wrote: > Yes, I move lots of files to that USB drive after ripping a bunch of new > things. I've never had to set permissions on the 4 different > picoreplayer setups I've done (starting with 4.0 and now using 6.0). > The USB drive is NFTS format and I did "enable and install additional > file systems" on the picoreplayer page where I added the USB drive. But > otherwise the attached USB drive just works. Only thing I ever had to > do was do a setting in tweaks where I told rPi to give it 5 seconds to > attach upon boot rather than the default 2 seconds. Just to say I agree with all @garym says here, it just works, no special requirements And if your Pi and Windows machine were wired instead of wireless, it's no faff at all. *Server - LMS 8.0.0 *Pi4B 4GB/Flirc case/pCP 6.1.0 18K library, playlists & LMS cache on SSD (ntfs) *Study -* Pi3B+/pCP 5.0.0/pi screen/HiFiBerry DAC+/jivelite, *Lounge* - Pi2/pCP 5.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5 *Dining Room* - Squeezebox Boom *Garage* - Squeezebox Touch > Edifier R980T *Spares* - 1xTouch, 1xSB3, 1xRadio, 7xRPi kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436 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
PugRallye wrote: > I think my external drive is NTFS - I wonder if that's causing the > permissions issues? > > Maybe I should use exFAT? > > Or would EXT4 be better? > > Any suggestions greatly appreciated... I'm using NTFS and have had no problems (and didn't have to set any permissions) *Home:* VBA 4TB (2.5) -or- rPi4B/pCP6.0/4TB>LMS 7.9.3>Transporter, Touch, Boom, Radio (all ethernet) *Cottage:* VBA 3TB (2.4) -or- rPi4B/pCP6.0/4TB>LMS 7.9.1>Touch>Benchmark DAC I, Boom, Radio w/Battery (ethernet, Radio WIFI) *Office:* Win10(64)>LMS 7.9.3>Squeezelite *The Wild: *rPi3B+/pCP4.0, hifiberry Dac+Pro, 4TB USB (LMS & Squeezelite) *Controllers:* iPhone11 & iPadAir2 (iPeng), CONTROLLER, or SqueezePlay 7.8 on Win10(64) *Files:* ripping: dbpa > FLAC; post-rip: mp3tag, PerfectTunes; Streaming: Spotify garym's Profile: http://forums.slimdevices.com/member.php?userid=17325 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
PugRallye wrote: > Can I ask, do you write to this disc (that you use with the Pi) from > your Windows machine? > > And if so, do you have to set any permissions or anything when you copy > onto this disc? > > Thank you... Yes, I move lots of files to that USB drive after ripping a bunch of new things. I've never had to set permissions on the 4 different picoreplayer setups I've done (starting with 4.0 and now using 6.0). The USB drive is NFTS format and I did "enable and install additional file systems" on the picoreplayer page where I added the USB drive. But otherwise the attached USB drive just works. Only thing I ever had to do was do a setting in tweaks where I told rPi to give it 5 seconds to attach upon boot rather than the default 2 seconds. *Home:* VBA 4TB (2.5) -or- rPi4B/pCP6.0/4TB>LMS 7.9.3>Transporter, Touch, Boom, Radio (all ethernet) *Cottage:* VBA 3TB (2.4) -or- rPi4B/pCP6.0/4TB>LMS 7.9.1>Touch>Benchmark DAC I, Boom, Radio w/Battery (ethernet, Radio WIFI) *Office:* Win10(64)>LMS 7.9.3>Squeezelite *The Wild: *rPi3B+/pCP4.0, hifiberry Dac+Pro, 4TB USB (LMS & Squeezelite) *Controllers:* iPhone11 & iPadAir2 (iPeng), CONTROLLER, or SqueezePlay 7.8 on Win10(64) *Files:* ripping: dbpa > FLAC; post-rip: mp3tag, PerfectTunes; Streaming: Spotify garym's Profile: http://forums.slimdevices.com/member.php?userid=17325 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
I think my external drive is NTFS - I wonder if that's causing the permissions issues? Maybe I should use exFAT? Or would EXT4 be better? Any suggestions greatly appreciated... PugRallye's Profile: http://forums.slimdevices.com/member.php?userid=17668 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
garym wrote: > true, but that said, I have same setup and can remove my USB drive, do > things with it connected to my Windows computer, then return it to the > rPi, and after starting the rPi I've never had to reconnect the USB > drive. It just works. Can I ask, do you write to this disc (that you use with the Pi) from your Windows machine? And if so, do you have to set any permissions or anything when you copy onto this disc? Thank you... PugRallye's Profile: http://forums.slimdevices.com/member.php?userid=17668 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
kidstypike wrote: > If you have SAMBA running on the Pi, why do you need to disconnect the > drive to copy music over? Copying GBs of FLAC files via wifi is rather tedious (when a USB3 connection does it at about 200MB/s) :) Plus I'll want to disconnect the drive from the Pi for backup purposes on a regular basis. So I'd like to figure out what happened. It looks like all the files were missing Linux permissions (even though I ran the "Set write permissions" thing on pCP (that didn't seem to fix it). I had to manually chmod to set full perms on the files in question - a bit of a faff, but it meant the files could be indexed by LMS... PugRallye's Profile: http://forums.slimdevices.com/member.php?userid=17668 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
kidstypike wrote: > If you have SAMBA running on the Pi, why do you need to disconnect the > drive to copy music over? true, but that said, I have same setup and can remove my USB drive, do things with it connected to my Windows computer, then return it to the rPi, and after starting the rPi I've never had to reconnect the USB drive. It just works. *Home:* VBA 4TB (2.5) -or- rPi4B/pCP6.0/4TB>LMS 7.9.3>Transporter, Touch, Boom, Radio (all ethernet) *Cottage:* VBA 3TB (2.4) -or- rPi4B/pCP6.0/4TB>LMS 7.9.1>Touch>Benchmark DAC I, Boom, Radio w/Battery (ethernet, Radio WIFI) *Office:* Win10(64)>LMS 7.9.3>Squeezelite *The Wild: *rPi3B+/pCP4.0, hifiberry Dac+Pro, 4TB USB (LMS & Squeezelite) *Controllers:* iPhone11 & iPadAir2 (iPeng), CONTROLLER, or SqueezePlay 7.8 on Win10(64) *Files:* ripping: dbpa > FLAC; post-rip: mp3tag, PerfectTunes; Streaming: Spotify garym's Profile: http://forums.slimdevices.com/member.php?userid=17325 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: LMS Monitor 2020
Still not working for me, will try with a fresh install of picoreplayer tomorrow. Thanks kit1cat's Profile: http://forums.slimdevices.com/member.php?userid=66141 View this thread: http://forums.slimdevices.com/showthread.php?t=111790 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
PugRallye wrote: > Hi all, > > A curious problem > > I shut down my Pi4 pCP server, disconnected the USB3 attached drive, > connected the drive to my laptop and then copied a bunch more music > files onto the drive. > > When I reconnected and started the pCP up again, I had to remove the > re-mount the disc. > > I have a SAMBA share and can see all the newly added files on the > attached disc. > > But when I run a scan (either full or partial) the LMS doesn't find or > index any of the newly added files. > > The disc is a single NTFS partition and was properly unmounted from my > Windows laptop before being reconnected to the Pi4 > > I figure it may be a permissions issue, but I'm not sure how to resolve. > > > > Any tips/suggestions? > > Thank you... If you have SAMBA running on the Pi, why do you need to disconnect the drive to copy music over? *Server - LMS 8.0.0 *Pi4B 4GB/Flirc case/pCP 6.1.0 18K library, playlists & LMS cache on SSD (ntfs) *Study -* Pi3B+/pCP 5.0.0/pi screen/HiFiBerry DAC+/jivelite, *Lounge* - Pi2/pCP 5.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5 *Dining Room* - Squeezebox Boom *Garage* - Squeezebox Touch > Edifier R980T *Spares* - 1xTouch, 1xSB3, 1xRadio, 7xRPi kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436 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: LMS Monitor 2020
thanks much As of 2020/06/02 *Total Tracks: 149,767 Total Albums: 13,717 Total Artists: 19,409 Total Genres: 687 Total Playing Time: 24172:29:30* shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185 View this thread: http://forums.slimdevices.com/showthread.php?t=111790 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
Hi all, A curious problem I shut down my Pi4 pCP server, disconnected the USB3 attached drive, connected the drive to my laptop and then copied a bunch more music files onto the drive. When I reconnected and started the pCP up again, I had to remove the re-mount the disc. I have a SAMBA share and can see all the newly added files on the attached disc. But when I run a scan (either full or partial) the LMS doesn't find or index any of the newly added files. The disc is a single NTFS partition and was properly unmounted from my Windows laptop before being reconnected to the Pi4 I figure it may be a permissions issue, but I'm not sure how to resolve. Any tips/suggestions? Thank you... PugRallye's Profile: http://forums.slimdevices.com/member.php?userid=17668 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] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Probably. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Greg Erskine wrote: > Lucky it sort of works and no one noticed for years. :) If you start more than one Squeezelite on the Pi like you describe here: https://forums.slimdevices.com/showthread.php?111787-ANNOUNCE-piCorePlayer-6-0-0=977935=1#post977935 wouldn't there be the same problem? Pi4 4GB piCorePlayer with LMS and Squeezelite for USB; Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCoreplayer with Squeezlite/Jivelite for Hifiberry and Bluetooth headphone; two Airport Express carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113 View this thread: http://forums.slimdevices.com/showthread.php?t=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Thanks Paul, That bit of code was written way before we had LMS running on pCP. Lucky it sort of works and no one noticed for years. :) Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Philippe's bridges - eg Chromecast Bridge, UPnP Bridge. I have LMS running on this pCP and those Plugins as well. 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=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Where do these other processes come from? Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Paul Webster wrote: > and the reason being ... there is more than one process on that port Yes, that is correct: Code: tcp0 0 192.168.178.109:58094 192.168.178.109:3483 ESTABLISHED 8700/squeeze2raop-a tcp0 0 192.168.178.109:58126 192.168.178.109:3483 ESTABLISHED 9117/squeezelite Pi4 4GB piCorePlayer with LMS and Squeezelite for USB; Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCoreplayer with Squeezlite/Jivelite for Hifiberry and Bluetooth headphone; two Airport Express carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113 View this thread: http://forums.slimdevices.com/showthread.php?t=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
and the reason being ... there is more than one process on that port (sudo netstat -pnt) Code: tcp0 0 192.168.2.140:50588 192.168.2.140:3483 ESTABLISHED 8722/squeeze2cast-a tcp0 0 192.168.2.140:36398 192.168.2.140:3483 ESTABLISHED 8772/squeezelite 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=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
My suggestion is to put a "uniq" on the end Code: tc@PiTouch:~$ IP=$(netstat -nt 2>&1 | grep :3483 | grep ESTABLISHED | uniq -f 4 | awk '{ print $5 }' | grep :3483 | awk -F: '{ print $1 }') tc@PiTouch:~$ echo $IP 192.168.2.140 192.168.2.140 tc@PiTouch:~$ netstat -nt 2>&1 | grep :3483 | grep ESTABLISHED | uniq -f 4 | awk '{ print $5 }' | grep :3483 | awk -F: '{ print $1 }' 192.168.2.140 192.168.2.140 tc@PiTouch:~$ netstat -nt 2>&1 | grep :3483 | grep ESTABLISHED | uniq -f 4 | awk '{ print $5 }' | grep :3483 | awk -F: '{ print $1 }' | uniq 192.168.2.140 tc@PiTouch:~$ IP=$(netstat -nt 2>&1 | grep :3483 | grep ESTABLISHED | uniq -f 4 | awk '{ print $5 }' | grep :3483 | awk -F: '{ print $1 }' | uniq) tc@PiTouch:~$ echo $IP 192.168.2.140 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=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Greg Erskine wrote: > What does this return? Now it only returns: 192.168.178.109 But now e.g. "pcp play" is working. As I tested it an hour ago it was not working! Pi4 4GB piCorePlayer with LMS and Squeezelite for USB; Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCoreplayer with Squeezlite/Jivelite for Hifiberry and Bluetooth headphone; two Airport Express carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113 View this thread: http://forums.slimdevices.com/showthread.php?t=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
By chance, does typing $ pcp d0 do anything? (debug off) I had different but similar messages and this fixed it on the pCP I am working on. I often turn debug on in a script when testing and occassionally it gets into production by error. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
carsten_h wrote: > No, I have only one. Good, that simplifies things a lot. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Paul Webster wrote: > Only one LMS. > Running the command (look for ESTABLISHED) by hand shows the same IP > address twice. What does this return? Code: netstat -nt 2>&1 | grep :3483 | grep ESTABLISHED | uniq -f 4 | awk '{ print $5 }' | grep :3483 | awk -F: '{ print $1 }' Yes the 2 "grep :3483" are required. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Greg Erskine wrote: > Do you have more than one LMS? No, I have only one. Pi4 4GB piCorePlayer with LMS and Squeezelite for USB; Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCoreplayer with Squeezlite/Jivelite for Hifiberry and Bluetooth headphone; two Airport Express carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113 View this thread: http://forums.slimdevices.com/showthread.php?t=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Paul Webster wrote: > You can edit the function to return the IP address (change the echo > statement to always return the same IP address - assuming your LMS is > always at the same place) Yes, my LMS is always at the same IP-address. And it has only one IP address. How can such a function return two IP-addresses? Pi4 4GB piCorePlayer with LMS and Squeezelite for USB; Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCoreplayer with Squeezlite/Jivelite for Hifiberry and Bluetooth headphone; two Airport Express carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113 View this thread: http://forums.slimdevices.com/showthread.php?t=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Only one LMS. Running the command (look for ESTABLISHED) by hand shows the same IP address twice. 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=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Do you have more than one LMS? I am looking another issue where LMSIP is set to the local LMS IP but squeezelite is connected to a remote LMS IP. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Yes You can edit the function to return the IP address (change the echo statement to always return the same IP address - assuming your LMS is always at the same place). Then when the pCP team fix things, their updated script would overwrite your hack. 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=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Correctly handle USB Speakers with piCorePlayer (6.0.0)?
Paul Webster wrote: > I can repeat this. > > My first suspicion is that it is to do with the pcp_lmsip (in > pcp-functions) returning 2 IP addresses. > Perhaps the output from the netstat call that it makes has changed and > it no longer handles it properly. Is there something I can do? It worked before, but now it is not! Pi4 4GB piCorePlayer with LMS and Squeezelite for USB; Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCoreplayer with Squeezlite/Jivelite for Hifiberry and Bluetooth headphone; two Airport Express carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113 View this thread: http://forums.slimdevices.com/showthread.php?t=112344 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix