Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta

2017-04-04 Thread Corelli45

Successful installation!Looks great!No issues so far.



Corelli45's Profile: http://forums.slimdevices.com/member.php?userid=55246
View this thread: http://forums.slimdevices.com/showthread.php?t=107223

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2017-04-04 Thread Michael Herger

Is there any chance that the "Repeat" and "Shuffle" Icons can be added
to you "Large artwork" now playing screen savers ?


You can select what buttons to see in the Settings.


Or some simple indication that they are on would be enough so when I
accidentally touch a button on my remote I do not have to go back
through the menus in order to turn them off.


Hmm... good idea. I'll try to figure something out.


Maybe just a two Dots (one for Shuffle one for repeat) somewhere so we
can see that either is on in some form ?


The Touch skin would show the current state as you hit those buttons on 
the remote. So the code clearly is there. I only have to figure out how 
to make this happen.


--

Michael
___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2017-04-04 Thread Jeff07971

Michael,

Is there any chance that the "Repeat" and "Shuffle" Icons can be added
to you "Large artwork" now playing screen savers ?

Or some simple indication that they are on would be enough so when I
accidentally touch a button on my remote I do not have to go back
through the menus in order to turn them off.

Maybe just a two Dots (one for Shuffle one for repeat) somewhere so we
can see that either is on in some form ?

Not high priority at all but a "nice to have"

Thanks

Jeff



*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezePlayer,PiCorePlayer
x3,Wandboard
*Server:* LMS Version:  7.9.0 - 1475786002 on Centos 7 VM on ESXi 6 on
Dell T320
*Plugins:* AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud
*Remotes:* iPeng8/Orangesqueeze/PC/Jivelite
*Music:* 383GB,1269 albums 17756 songs 4381 artists mostly FLACs

*Want a webapp ?* See
http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
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 3.10

2017-04-04 Thread paul-

usc95 wrote: 
> So my rpi was unplugged by one of my kids last night and when I went to
> plug it back in today LMS did not just reboot.  It started from the
> first screen asking for my mysqueezebox.com credentials and now it looks
> like I have to set everything back up including my favorites, plugins
> etc.  Is this expected? Is there something I can do to locate the
> settings I had before it was unplugged?  Going forward, what should I do
> to make sure this doesn't happen again?  Thanks for any help in
> understanding this.

Need a little more info about your setup.  But LMS settings are saved in
a persistent location, you should not have to back up.



paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=106755

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10

2017-04-04 Thread usc95

I just noticed the "save to usb" button on main page.  I guess I should
have clicked this when was happy with my setup? So no trace of my
previous setup remains and I need to input my favorites and plugin
settings all over again?



usc95's Profile: http://forums.slimdevices.com/member.php?userid=59694
View this thread: http://forums.slimdevices.com/showthread.php?t=106755

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10

2017-04-04 Thread usc95

So my rpi was unplugged by one of my kids last night and when I went to
plug it back in today LMS did not just reboot.  It started from the
first screen asking for my mysqueezebox.com credentials and now it looks
like I have to set everything back up including my favorites, plugins
etc.  Is this expected? Is there something I can do to locate the
settings I had before it was unplugged?  Going forward, what should I do
to make sure this doesn't happen again?  Thanks for any help in
understanding this.



usc95's Profile: http://forums.slimdevices.com/member.php?userid=59694
View this thread: http://forums.slimdevices.com/showthread.php?t=106755

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeeze on Arch - developer version

2017-04-04 Thread GeBa

chrissy wrote: 
> Hi krisbee, 
> I think I kept it and tried it out when I did post 1106 but at this time
> it didn't work anymore. I suppose something in the installation of arch
> Linux must have changed. I use arch Linux for the first time, so I don't
> know much about it. Rather a suse or Debian guy. 
> I did not build the image of Slovenia myself, but got LMS on the image
> to work. Had to install some libs and fix the linker loader. I post it
> in the next days, since I am on easter vacation right now. 
> Happy easter to all of you 
> Christian

Hi Christian,
what do you think: might it be possible for a non-Linux-Freak to get
Squeezelite running on a Cubietruck with the "Image of Slovenia" or
shall i better forget it? Triodes Image is dead...



GeBa's Profile: http://forums.slimdevices.com/member.php?userid=66765
View this thread: http://forums.slimdevices.com/showthread.php?t=101624

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Netbooting piCorePlayer 3.x

2017-04-04 Thread epoch1970

Sure, glad to be of help. I hope others will find the idea interesting
;)

My use-case is a set of players in a public place, my drivers to want
this were: a. scrape a few bucks per player, b. remove a cause of
failure, c. allow remote "bare metal" players administration, d. save
the planet (one less part to source), e. a tiny bit less smoke in case
the player somehow catches fire. 

pCP 3.20 looks/sounds good, btw. Thanks!



3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9
(linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa
• IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=107233

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2017-04-04 Thread ralphy

Roland0 wrote: 
> In case you haven't solved this in the meantime, you need to activate
> resampling, eg.  with -R -u vE
> 
> While setting up an ES9023-based USB DAC, I noticed that squeezelite's
> auto-detection seems to be a bit off.
> The DAC is reported by ALSA like this:
> > 
Code:

  >   > Interface 1
  > Altset 1
  > Format: S16_LE
  > Channels: 2
  > Endpoint: 3 OUT (SYNC)
  > Rates: 48000

> > 
> squeezelite, however, happily plays a track like this:
> > 
Code:

  >   > output_init_common:411 supported rates: 384000 352800 192000 176400 
96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000
  > alsa_open:389 opened device default:CARD=ES9023 using format: S32_LE sample 
rate: 44100 mmap: 1

> > 
> Weirdly enough, this works for a couple of seconds (although with a
> very high system load and a number of USB errors in the log), until
> the whole system (RPi3) completely freezes and can only be reanimated
> by a power cycle.
> 
> Forcing squeezelite to use the correct sample rate / format fixes the
> issue:
> > 
Code:

  >   > squeezelite -o default:CARD=ES9023 -r 48000-48000 -a 40:4:16:1 -p 20 -R 
-u vE

> > 
> > 
Code:

  >   > output_init_common:411 supported rates: 48000
  > opened device default:CARD=ES9023 using format: S16_LE sample rate: 48000 
mmap: 1

> > 

What does squeezelite report for supported sample rates and sizes if you
use -o *hw:*CARD=ES9023 instead of *default:* ?



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Netbooting piCorePlayer 3.x

2017-04-04 Thread sbp

Hi epoch1970.

This is great news, thank you very much for your hard work and for the
detailed documentation of the steps.

So I will have to try this out and let us see if there is a demand for
this method then it might slip into pCP.
Regarding disabling the webGUI I agree that after you have set up your
pCP you usually can forget about it as you don't need to change
anything.

Steen



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://sites.google.com/site/picoreplayer/home

*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*

sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237
View this thread: http://forums.slimdevices.com/showthread.php?t=107233

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2017-04-04 Thread soundcheck

Hmmh.

I don't use DSD and can't test it. 

Just tried to fix the compiler complaints (obviously once more).



soundcheck's Profile: http://forums.slimdevices.com/member.php?userid=34383
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2017-04-04 Thread ralphy

soundcheck wrote: 
> Hi Ralph.
> 
> A small issue (gcc 6.3.1):
> 
> My fix:
> 
> > 
Code:

  >   > 
  > diff -Naur output.c.orig output.c.new
  > --- output.c.orig   2017-04-03 14:44:04.002246768 +0200
  > +++ output.c.new2017-04-03 14:48:45.712937723 +0200
  > @@ -152,7 +152,7 @@
  > IF_DSD(
  >output.dop = output.next_dop;
  > )
  > -   if (!output.fade == FADE_ACTIVE || 
!output.fade_mode == FADE_CROSSFADE) {
  > +   if (! (output.fade == FADE_ACTIVE) || ! 
(output.fade_mode == FADE_CROSSFADE)) {
  > output.current_replay_gain = 
output.next_replay_gain;
  > }
  > output.track_start = NULL;
  > 
  > 

> > 
> 
> 
> Would be nice to introduce above.
> 
> Thx
> SC
I'd be happy to make the change in git but have you confirmed that
crossfade still works as expected?

I have updated output.c with your change last year and after many
reports of crossfade no longer working, I reverted it.

See
https://github.com/ralph-irving/squeezelite/commit/34c61e454247e13044512b5079f18090dc287ecd



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10

2017-04-04 Thread ralphy

NotTheHerbie wrote: 
> I have not tried PCP 3.20, but I did use Squeezelite v1.8.4-945 as the
> baseline for my tests.  I also figured out I could delete the link to
> squeezelite located at /usr/local/bin and replace it with my test
> builds, knowing they would not survive a reboot.  I think I may have
> found a solution to the skip ahead problem.
> 
> Using the test setup I described earlier, I first verified my rebuilt
> build 945 worked and exhibited the stuttering.  I set log level to
> all=sdebug and looking at pcp_squeezelite.log, I found skip ahead
> entries every 5-10 seconds.  Not all were large enough to be audible,
> but enough were to make the stream unlistenable.
> 
> I then inserted a build with only the following change reverted to build
> 720, which eliminated all but one skip ahead at the beginning of every
> track.
> 
> Let me know if you have any questions or would like me to test anything
> else.
> 
> Thanks,
> Mike

Thanks Mike for looking into this.  The 3 changes from the r727 commit
fixed the status bar reporting for the controllers, but appears to have
broken sync status updates.  I've attached a patch file which reverts
them.  Would you please apply it to a clean r945 and confirm it matches
your changes above and that sync is working properly.  I'll then apply
that change to git and create a new pcp-squeezelite.tcz and pcp binary.


+---+
|Filename: stutter.patch.txt|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=22433|
+---+


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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=106755

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] Netbooting piCorePlayer 3.x

2017-04-04 Thread epoch1970

(Summarized from posts in 'the pCP 3.10 announce/support thread.'
(http://forums.slimdevices.com/showthread.php?106755-Announce-piCorePlayer-3-10=880106#post880106))

A seemingly operational pCP player can be obtained via 'net booting, a
Pi 3 feature only'
(https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/net.md):
  
-  Take a linux server with disk space, install a tftp server to
  support Pi 3 net booting. I chose dnsmasq, the conf for the tftp
  server is extremely simple. "server=172.17.0.2" is the DNS/DHCP server
  on that network. There is no interference between the 2 machines:  
Code:

server=172.17.0.2
dhcp-range=172.17.255.255,proxy
log-dhcp
enable-tftp
tftp-root=/tftp
pxe-service=0,"Raspberry Pi Boot"


  The tftp tree structure is like this. 12345abc and abcde123 represent
  the serial number of 2 different Pi 3s. bootcode.bin has to be placed
  directly under the tftp root:  
Code:

/tftp/
 12345abc
bcm2708-rpi-0-w.dtb
...
start_x.elf
 abcde123
Pls_bind_to_nfs_exported_boot_directory
 bootcode.bin


  The contents of the "12345abc" directory is the same as the first
  partition on a pCP image, with a custom cmdline.txt.
-  On that server, setup exports to provide the player with its data
  partition(s). The main export is the home of pCP, copied from the
  second partition of a pCP image. There is need for a secondary export,
  since pCP offers changing boot parameters and loading hardware
  firmware ("overlays") from the GUI. There has to be an automatic link
  between that export and the directory served by tftp in order for  pCP
  to be able to reboot into new settings.
  As of now I am using a single NFS export on the server.   
Code:

/export 172.17.0.0/16(rw,sync,no_subtree_check,no_root_squash)

 Here is the tree:  
Code:

/export/
 12345abc
BOOT
   bcm2708-rpi-0-w.dtb
...
   start_x.elf
TCE
tce
mydata.tgz
...
 abcde123
...


  To link the /tftp directory with the updatable (exported) BOOT
  directory, I've chosen to setup a bind mount (e.g. "mount -o bind
  /export/12345abc/BOOT/ /tftp/12345abc"). The pCP machine reboots in
  new settings like on the regular SD-based version.
- On the pCP instance, setup a custom /opt/bootlocal.sh script and
  save it ("pcp bu"):  
Code:

#!/bin/sh
# put other system startup commands here

GREEN="$(echo -e '\033[1;32m')"

echo
echo "${GREEN}Running bootlocal.sh..."
#pCPstart--
/home/tc/www/cgi-bin/do_rebootstuff.sh 2>&1 | tee -a /var/log/pcp_boot.log
#pCPstop--

# NFS mounting. See http://forum.tinycorelinux.net/index.php?topic=19913.0
for i in `cat /proc/cmdline`; do
case $i in  
nfsboot*)
# Allows to update pCP boot config over NFS
NFSBOOT=${i#*=}
BOOTMNT="/mnt/mmcblk0p1"
SERVER=$(echo $NFSBOOT | awk -F: '{ print $1 }')
DIR=$(echo $NFSBOOT | awk -F: '{ print $2 }')
OPTS=$(echo $NFSBOOT | awk -F: '{ print $3 }' | tr ',' ' ')
OPTS=$(echo defaults noauto nolock addr=${SERVER} ${OPTS} | tr ' ' ',')
echo "Creating directory ${BOOTMNT}"
sudo mkdir ${BOOTMNT} >/dev/null 2>&1
# pCP checks in fstab for device /dev/mmcblk itself so mounts fail...
# echo "Creating /etc/fstab entry for ${BOOTMNT} over NFS"
# ME="$0"
# sudo sh -c "cat << EOF >> /etc/fstab
## Added by $ME
#${SERVER}:${DIR} ${BOOTMNT} nfs ${OPTS} 0 0
#EOF
#"
# ... so instead we mount permanently as pCP won't mount/unmount
# if mounted already.
echo "Mounting ${SERVER}:${DIR} to ${BOOTMNT}"
sudo mount -t nfs -o ${OPTS} ${SERVER}:${DIR} ${BOOTMNT}
;;
nfsmount*)
# Keep pCP happy with a normal-looking SD mount
NFSMOUNT="/mnt/nfs"
TCEMNT="/mnt/mmcblk0p2"
echo "Creating directory ${TCEMNT}"
sudo mkdir ${TCEMNT} >/dev/null 2>&1
echo "Adding bind mount for ${TCEMNT}"
sudo mount -o bind ${NFSMOUNT} ${TCEMNT} >/dev/null 2>&1
;;
esac
done


  This codes stays inactive until cmdline.txt includes the relevant boot
  parameters.
- Edit cmdline.txt to set the parameters, e.g.:  
Code:

nfsmount=172.17.71.10:/export/12345abc/TCE 
nfsboot=172.17.71.10:/export/12345abc/BOOT:udp,vers=3,noatime


a
  - nfsmount is a true TCLinux bootcode, this is processed in
/etc/init.d/tc-config. This export gets mounted under /mnt/nfs. It
should support the form :: but the
script only looks for some special options (noping?) and doesn't
apply generic ones, like udp. The 

Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta

2017-04-04 Thread mherger

Thanks for the update! Installation went smoothly (after some RTFM
moments wrt. wireless setup...). The only peculiarity I'd mention is the
refresh duration being too short after some actions. Eg. when I tried to
install jivelite, I obviously had to expand the filesystem. After doing
so the web UI would try to automatically refresh the page after 30(?)
seconds. On my Pi2 with wlan only this wasn't long enough, resulting in
an error page. The same happened after the jivelite installation
(refresh=5). I think those values can be a bit more generous, as there's
a "click here to refresh" button anyway on that page.

Nice job!



Michael

http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=107223

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix