Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
Greg Erskine wrote: > Hi S, > > Try something like this in User Commands. > > > Code: > > /usr/local/bin/squeezelite -n EG_Diele -o Diele -a 80:::0: -m ab:cd:ef:12:34:61 > > > > As mentioned in the More > Help " and & are invalid characters. The -z > in not needed as all User commands are backgrounded. > > regards > Greg Jo Greg! your proposal works fine! But due to the need i found out, to add my instances in: Code: sudo vi /opt/bootlocal.sh In this way i was able to start more than 3 additional. Therefore i deactivated the "normal" instance via web interface "Automatically start Squeezelite when pCP starts" --> No. So fare, it works! Thank you. great people! ziegelstein's Profile: http://forums.slimdevices.com/member.php?userid=66538 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
paul- wrote: > > If you are testing from command line, you need to sudo to get permission > for audio.Once you get it figured out, then you can put it in User > command section of the tweaks web page. The user commands in the web > interface will run with root permissions by default. Update: 1. when i stop the actual squeezelite instance 2. i can start several new instanzes in terminal with: Code: sudo /usr/local/bin/squeezelite -n "Küche" -o Küche -a 80:::0: -m ab:cd:ef:12:34:60 -z Code: sudo /usr/local/bin/squeezelite -n "EG_Diele" -o Diele -a 80:::0: -m ab:cd:ef:12:34:61 -z 3. Backup via: Code: sudo filetool.sh -b But: after reboot all instances are lost. I also tried to work with "User command section of the tweaks web page" --> instances were lost too after reboot. So it seems to me that there is a need for a startupscribt update - but for me as a "NOOB" :o not possible without help. so please - is there anybody out there? regards, S ziegelstein's Profile: http://forums.slimdevices.com/member.php?userid=66538 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
paul- wrote: > > What version of the rpi2b+, is this the new v1.2, I would suggest > talking to Hifiberry, as the drivers and kernel are the same for the 2B+ > and the 3 --> i checked, my pi2b+ is version v1.1 paul- wrote: > > What I do is to write to fstab during the user bootup section. You can > edit /opt/bootlocal.sh to do that, just make sure to backup before you > reboot. > have you an example what to type in "/opt/bootlocal.sh" to mount my devices? for backup i did: Code: sudo filetool.sh -b right? after changing my asound.conf i tried to create a second instance of squeezelite by: Code: /usr/local/bin/squeezelite -n "Diele" -o Diele -a 80:::0: -m ab:cd:ef:12:34:58 -z in Terminal and with tweaks - doesn't work. Code: tc@piCorePlayer:~$ /usr/local/bin/squeezelite -n piCorePlayer1 -o Garage -a 80:::0: -m ab:cd:ef:12:34:56 [21:19:06.590005] test_open:277 playback open error: Device or resource busy [21:19:06.590250] output_init_common:382 unable to open output device any ideas? asound.conf are in line with: http://forums.slimdevices.com/showthread.php?105973-Splitting-USB-DAC-outputs-for-multi-zone-audio-piCorePlayer=863406=1#post863406 but the solution is based on v3.02 is there a way to restart alsa? Code: alsa force-reload && alsa force-reload --> doesn't work with tinycore.. Thanks for your time! Have a nice evening. ziegelstein's Profile: http://forums.slimdevices.com/member.php?userid=66538 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
Hi Guys! First of all - I`m new here and also in using picore-Player and LMS! (coming from alsa and MPD) Therefore i would like to thank to all developers and freaky freaks. :). Great Work! Bug 1 (maybe) I started to use RPI 2 B+ and HifiBerry Digi+ pro - with 3.10 it was not possible to get any sound out of the Digi+.. Just for test i changed to HDMI output and everything was fine - so there is maybe any setting wrong regarding alsa and digi+ ? At the end -sampe procedure - same image with new RPI 3--> works from beginning. (seems to me that there is a different between rpi 2 and 3?) Bug 2 at rpi 3 i activated the LMS ans SAMBA. I attached one USB-Stick and one USB-Hard-drive. Bothe are shown in "Pick from the following detected USB disks to mount" correct with UUID. I want to mount both: one to /mnt/Musik ; the other one to /mnt/Video. At the end all the time just the last Mount is active and runs, the first mount is disabled. Is this a feature or a bug. When i tried to mount manually in fsab - the setting are overwritten after reboot. Thats bad. Request 1: As i wrote - i came form alsa and mpd. in asound.conf i divided my usb-dac from 7.1 into severall mono outputs. example: Code: pcm.SWEEX { type hw card 1 device 0 } ctl.SWEEX { type hw card 0 device 0 } pcm.dmixer { type dmix ipc_key 1024# unique IPC key ipc_perm 0666 # Andere Benutzer können ebenfalls dmix gleichzeitig nutzen slave.pcm "SWEEX" slave { ### buffer_size kann bei Problemen der jeweiligen Karte angepasst werden. #period_time 0 #period_size 1024 #buffer_size 4096 #bei Störungen kann die Konvertierung auf die Rate 44100 eingeschaltet werden. #rate 44100 ### einige Soundkarten benötigen das exakte Datenformat (zB ice1712) #format S32_LE ### Verfügbare Formate: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE ### S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE ### IEC958_SUBFRAME_LE IEC958_SUBFRAME_BE MU_LAW A_LAW IMA_ADPCM MPEG GSM ### Anzahl channels muss mit den bindings übereinstimmen channels 8 } bindings { 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 } } pcm.!default { type plug slave.pcm "dmixer" } pcm.EG_Wohnzimmer { type plug slave { pcm "dmixer" channels 8 } ttable.0.0 1 ttable.1.1 1 } pcm.OG_BAD { type plug slave { pcm "dmixer" channels 8 } ttable.0.5 0.5 ttable.1.5 0.5 } pcm.surround_mono2 { type plug slave { pcm "dmixer" channels 8 } ttable.0.6 0.5 ttable.1.6 0.5 } pcm.EG_Diele { type plug slave { pcm "dmixer" channels 8 } ttable.0.2 0.5 ttable.1.2 0.5 } pcm.EG_WC { type plug slave { pcm "dmixer" channels 8 } ttable.0.3 0.3 ttable.1.3 0.3 } pcm.Garage { type plug slave { pcm "dmixer" channels 8 } ttable.0.4 1 ttable.1.4 1 } pcm.EG_Küche { type plug slave { pcm "dmixer" channels 8 } ttable.0.7 0.5 ttable.1.7 0.5 } In mpd there was an easy way to link each output to an individual "Zone" Problem 1: in PiCore Player 3.10: asound.conf is overwritten after reboot. Problem 2: the defined audio - outputs example: "EG_Küche" are not allowed to fill in in output setting for sqeezelite-settings. So it would be great if there is a workaround in picore 3.10 to start several playerinstances? linked to the dmix-outputs. if we take a look at "maxtoplay": they have build a "Multisqueeze"-Plugin, settings are also possible via web-page - but i have no experience with it. Great feature for 3.11 :) ! a lot of text and wrong words - Sorry for that.:cool: Steve. ziegelstein's Profile: http://forums.slimdevices.com/member.php?userid=66538 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