The New 4-core Raspberry Pi

Raspberry Pi related support

Re: The New 4-core Raspberry Pi

Postby nopphong » 07 Mar 2015, 08:12

this mod not work with Pi2 image
http://www.runeaudio.com/forum/new-function-added-volume-fade-over-time-t875.html

After i press start fade button it will try to connect to pi but cannot connect any more.I have to reset Pi to make it connect again.But while it try to connect the music still playing as normal.
nopphong
 
Posts: 26
Joined: 17 Jan 2015, 06:13

Re: The New 4-core Raspberry Pi

Postby hondagx35 » 07 Mar 2015, 18:19

Hi nopphong,

this has nothing to do with the RP2 image.

Change the file /srv/http/app/templates/fade.php
from:
Code: Select all
        shell_exec('sed -i "N;s/\n/ /" /var/www/mpc.sh');

        // Open file for reading, and read the line
        $f = fopen("mpc.sh", "r");

        // Read text
        // echo fgets($f);
        fclose($f);

        shell_exec('chmod 777 mpc.sh');
        shell_exec('/var/www/mpc.sh');

to:
Code: Select all
        sysCmd('sed -i "N;s/\n/ /" /var/www/mpc.sh');

        // Open file for reading, and read the line
        $f = fopen("mpc.sh", "r");

        // Read text
        // echo fgets($f);
        fclose($f);

        sysCmd('chmod 777 mpc.sh');
        sysCmdAsync('/var/www/mpc.sh');

and it should work.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: The New 4-core Raspberry Pi

Postby anadigi » 08 Mar 2015, 16:19

Hi hondagx35,
I have updated the new pi2 image. However, I can't update the most recent updates anymore. the regular image with no problem though. :(
anadigi
 
Posts: 43
Joined: 18 Aug 2014, 19:42

Re: The New 4-core Raspberry Pi

Postby nopphong » 08 Mar 2015, 17:20

hondagx35 wrote:Hi nopphong,

this has nothing to do with the RP2 image.

Change the file /srv/http/app/templates/fade.php
from:
...........
...........
and it should work.

Frank


thank you very much Frank.Now it work really good.

Could you please explain why have to change to sysCmd and SysCmdAsync while on top of file still can use shell_exec ?
thank you
nopphong
 
Posts: 26
Joined: 17 Jan 2015, 06:13

Re: The New 4-core Raspberry Pi

Postby emilot » 08 Mar 2015, 18:08

Hi,

Can I ask if you have a plan for the 2+ usb mounting problem? I tried yesterday to mount two usb sticks and Runeaudio only see one of them. The first one actually.

Thank you.
emilot
 
Posts: 15
Joined: 30 Oct 2014, 18:34

Re: The New 4-core Raspberry Pi

Postby hondagx35 » 08 Mar 2015, 18:30

Hi nopphong,

Could you please explain why have to change to sysCmd and SysCmdAsync while on top of file still can use shell_exec ?


"shell_exec" is a blocking command, this means it waits until your program or script returns.
To make it non blocking you can use something like:
shell_exec( yourcommand > /dev/null 2>/dev/null &")
or use the runeaudio built in function sysCmdAsync().
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: The New 4-core Raspberry Pi

Postby hondagx35 » 08 Mar 2015, 22:38

Hi emilot,

Can I ask if you have a plan for the 2+ usb mounting problem? I tried yesterday to mount two usb sticks and Runeaudio only see one of them. The first one actually.

I never have heart about such a problem.
usb-mounts.jpg
usb-mounts.jpg (60.14 KiB) Viewed 2355 times


Are you using two identical usb sticks?
Did it work for you with RP1?

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: The New 4-core Raspberry Pi

Postby emilot » 09 Mar 2015, 12:56

Hi Frank,

Really, you never heard it before? It is a big issue in other platforms.

So, i can see 2 USB sticks(different models) at "Sources" area, but when i go to "Library" - > USB.....I see only the first one which have been mounted.

All these at Pi2. I will ask for this issue one friend of mine with Rasp Pi B+...

sorry for my English.
emilot
 
Posts: 15
Joined: 30 Oct 2014, 18:34

Re: The New 4-core Raspberry Pi

Postby niconoe » 09 Mar 2015, 13:44

Hi, and thanks for this wonderful project! After a few quick frustrating tests with Volumio, I'm finally glad to have discovered Rune Audio and its experimental build for my PI2. Here is a quick report about the

  • Things are generally very good: fast bbot, responsive, stable, good UI, hardware properly detected...
  • I cannot use hardware volume control with my HifiBerry DAC+. I've described my problem with more detail there: hifiberry-dac-hw-volume-runeaudio-0-3-beta-t517-30.html#p5788
  • The UI (playback page) seems to have problem to gracefully switch between airplay and MPD (but sound output is okay). For example, after stopping airplay stream, the UI gets stuck (AJAX spinners instead of song metadata, no progress circle, ...) when I launch MPD music from the library tab. Using Chrome Inspector, I can see that 3 web requests are indefinitely pending. It seems that restarting rune_PL_wrk (from the DEV page) solve the issue. I also tried a "git pull" to get the last revision of RuneUI, but there are local, uncommited changes that prenvent this to work.

Thanks again for this, and don't hesitate to ask for help (testing bugfixes, ...) if you find it useful.
niconoe
 
Posts: 4
Joined: 09 Mar 2015, 12:28

Re: The New 4-core Raspberry Pi

Postby hallo.amt » 09 Mar 2015, 20:27

Hi,

thanks for the last build, works like a charm for me. Using a Pi 2 and a Hifiberry+.
hallo.amt
 
Posts: 3
Joined: 05 Mar 2015, 23:52

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 12 guests
cron