RuneAudio 0.5-beta for most Raspberry Pi models

Raspberry Pi related support

Re: RuneAudio 0.5-beta for most Raspberry Pi models

Postby iceguy » 20 Jun 2019, 00:05

janui wrote:Hi R101,
R101 wrote:Is there any news about 0.5 support for m3u8 streams?
No real news at the moment, but we are still working on it.
m3u/m3u8 steams are not the only issue with the current version of MPD, there are also problems casting MP3 over UPnP/DLNA and there is also interest in Tidal, Google Play and qobuz support.
I have tried several times to upgrade MPD, including ffmpeg, but it breaks the build.
Upgrades for UPnP/DLNA and shairport-sync would also be welcome.
I am hoping to get an upgraded kernel the very near future, this will include upgraded versions of all packages. It will need a full testing cycle, so it will take some time. It will probably be released as 0.6b.
janui


Hardware: RasPi B+ DAC+
RuneVers: 0.5-beta

Kewl! 0.5-beta installs on my hardware the same as 0.3-beta has been doing for years. Plays albums and streams my favorite classical music sites great. I follow the procedure I developed long ago to put playlists from my Windows box over to the RasPi. That is, I sftp the same ones that work on 0.3-beta to /var/lib/mpd/playlists.

### [begin OldPlaylists] The rest of this post about not being able to load my old playlists was due to my mistake. Read after "end OldPlaylists" to find out why.

But no luck with those playlists. Can't add any playlist to the queue.

Bummer.

But I think I know why.

Remember, rune is a client for mpd. That is rune can't do a lot without mpd. But you can talk to mpd directly via ssh and mpc.

If I ssh to my RasPi and do "mpc version" I see mpd respond "mpd version: 0.20.0".

If I do "mpc lsplaylists" I see all my *.m3u playlists that have worked for me for years with 0.3-beta.

If I then do "mpc load PLAYLISTNAME" mpd responds "Loading: PLAYLISTNAME".

If I then do "mpc playlist" mpd says there are no songs/cuts in the current playlist!

Since the current playlist is rune's queue, this is very bad.

I'm saying that the problem with m3u streaming -- and perhaps m3u8 streaming -- is that version 0.20 of mpd which 0.5-beta installs is just broken.

Whadaya think about that?

Added the next day:

Oh! The "load playlist" works for my list of streaming stations. It fails for albums on my NAS, though.

[end OldPlayLists]

Added Sunday, June 30, 2019

The problem was that the playlists all referred to an NAS with the wrong name. As advised, I removed a special character -- an apostrophe -- from the 03-beta NAS name when I mounted it in 05-beta.

But I neglected to edit my playlists and remove the special character there! So the load command couldn't find the music files as named!

I went to my Windows 7 machine, opened a Cygwin xterm, navigated to the Windows directory with the playlists, and did this:
Code: Select all
mkdir OLD
sed -i"OLD/*" "s/'//" *.m3u


The double quotes around the -i argument and the s substitution are necessary to make sure the '*' and the apostrophe aren't processed by the shell starting sed.

The sed command processes each file argument individually -- the -i argument -- first copying it to the subdirectory OLD, then deleting the FIRST apostrophe in each line and copying the line to a new version of the file in the current directory.

The result was a set of m3u playlists with the NAS path in agreement with the actual NAS path, and the original, or old, m3u playlists.

Then both the mpc load command and the rune playlist worked fine!

My apologies for the erroneous post!
iceguy
 
Posts: 6
Joined: 03 Jul 2015, 20:26

Re: RuneAudio 0.5-beta for most Raspberry Pi models

Postby Vhond » 02 Jul 2019, 16:05

janui-20180903-10 won't upgrade to janui-20180903-11 using the gitpull command
Vhond
 
Posts: 46
Joined: 11 Apr 2017, 18:06

Re: RuneAudio 0.5-beta for most Raspberry Pi models

Postby janui » 04 Jul 2019, 14:12

Hi Vhond,
Vhond wrote:janui-20180903-10 won't upgrade to janui-20180903-11 using the gitpull command
Try upgrading from the /dev UI or use the following commands:
Code: Select all
rm -f /var/www/command/mpd-watchdog
cd /srv/http/
git config --global core.editor "nano"
git config user.email "any@body.com"
git config user.name "anybody"
git stash
git add .
git pull --no-edit
It should change to the janui-20180903-11 patch level after the next reboot.
janui
User avatar
janui
 
Posts: 674
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: RuneAudio 0.5-beta for most Raspberry Pi models

Postby Vhond » 05 Jul 2019, 11:23

Thx Janui, did it by console
Vhond
 
Posts: 46
Joined: 11 Apr 2017, 18:06

Re: RuneAudio 0.5-beta for most Raspberry Pi models

Postby Vhond » 05 Jul 2019, 19:18

Can you confirm when updating to a new release soundfiles are overwritten (files I have modified like the files mentioned in http://www.runeaudio.com/forum/tweaking-the-audio-performance-rpi3-t4301-70.html)??
Vhond
 
Posts: 46
Joined: 11 Apr 2017, 18:06

Re: RuneAudio 0.5-beta for most Raspberry Pi models

Postby CH23 » 05 Jul 2019, 23:07

I'm trying to update my rpi2b+ to the latest version using git-pull, but in debug i see that the build version is older. how come?

###### System info ######
Linux version 4.14.34-1-ARCH (alarm@alarmpi) (gcc version 7.3.1 20180312 (GCC)) #1 SMP Tue May 15 00:50:02 CDT 2018

System time: Sat Jul 6 00:00:25 CEST 2019
System load: 1.11 0.31 0.11 1/142 1076
Hardware model: Raspberry Pi 2 Model B Rev 1.1
Linux version: 4.14.34-1-ARCH
RuneOS/UI: 0.5b (gearhead) - Experimental Beta 0.5 20180903
Git Branch: 0.5b
HW platform: RaspberryPi2 (08)
Build version: 20170229-0
CH23
 
Posts: 9
Joined: 22 Mar 2017, 11:02

Re: RuneAudio 0.5-beta for most Raspberry Pi models

Postby janui » 06 Jul 2019, 16:18

Hi CH23,
CH23 wrote:I'm trying to update my rpi2b+ to the latest version using git-pull, but in debug i see that the build version is older. how come?
I have no idea how you got to this state. Looks like you have a mixture of files from different versions, but you do have the correct Linux kernel. Running the following commands should fix it:
Code: Select all
cd /var/www
/srv/http/command/rune_shutdown
git config user.email "any@body.com"
git config user.name "anybody"
git config --global core.editor "nano"
umount http-tmp
rm -rf /var/www/{*,.*}
git clone -b 0.5b https://github.com/gearhead/RuneUI.git/ /var/www
chown -R http.http /srv/http/
find /srv/http/ -type f -exec chmod 644 {} \;
find /srv/http/ -type d -exec chmod 755 {} \;
find /etc -name *.conf -exec chmod 644 {} \;
find /usr/lib/systemd/system -name *.service -exec chmod 644 {} \;
chmod 644 /etc/nginx/html/50x.html
chmod 777 /run
chmod 755 /srv/http/command/*
chmod 755 /srv/http/db/redis_datastore_setup
chmod 755 /srv/http/db/redis_acards_details
chmod 755 /etc/X11/xinit/start_chromium.sh
chown mpd.audio /mnt/MPD/*
chown mpd.audio /mnt/MPD/USB/*
chmod 777 /mnt/MPD/USB
chmod 777 /mnt/MPD/USB/*
chown -R mpd.audio /var/lib/mpd
redis-cli del buildversion
redis-cli del patchlevel
/srv/http/db/redis_datastore_setup check
/srv/http/command/refresh_nics
/srv/http/command/refresh_ao
reboot
It will reboot and may take a little while to restart. This method will preserve most of your settings, webradios, etc.
If this fails, the other option is to download the latest version in the first post in this thread.
janui
User avatar
janui
 
Posts: 674
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: RuneAudio 0.5-beta for most Raspberry Pi models

Postby janui » 06 Jul 2019, 16:46

Hi Vhond,
Vhond wrote:Can you confirm when updating to a new release soundfiles are overwritten (files I have modified like the files mentioned in tweaking-the-audio-performance-rpi3-t4301-70.html)??
In principle the update will only modify files in the path:
Code: Select all
/var/www/...
Occasionally there are exceptions, you can find these in the file: '/srv/http/command/update_os.php'
The update function carries out a 'git stash' before updating. So any files which you modified or files which are different to the standard distribution should have been saved. You should be able to see these files by using the following commands:
Code: Select all
cd /var/www
git stash show
It is possible to restore a specific stash or individual files from a stash by using the command:
Code: Select all
git stash pop <parameters and options>
Check out the manual before running the 'git stash pop' command, see here: https://git-scm.com/docs/git-stash
janui
User avatar
janui
 
Posts: 674
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: RuneAudio 0.5-beta for most Raspberry Pi models

Postby CH23 » 07 Jul 2019, 14:29

janui wrote:Hi CH23,
CH23 wrote:I'm trying to update my rpi2b+ to the latest version using git-pull, but in debug i see that the build version is older. how come?
I have no idea how you got to this state. Looks like you have a mixture of files from different versions, but you do have the correct Linux kernel. Running the following commands should fix it:
Code: Select all
cd /var/www
/srv/http/command/rune_shutdown
git config user.email "any@body.com"
git config user.name "anybody"
git config --global core.editor "nano"
umount http-tmp
rm -rf /var/www/{*,.*}
git clone -b 0.5b https://github.com/gearhead/RuneUI.git/ /var/www
chown -R http.http /srv/http/
find /srv/http/ -type f -exec chmod 644 {} \;
find /srv/http/ -type d -exec chmod 755 {} \;
find /etc -name *.conf -exec chmod 644 {} \;
find /usr/lib/systemd/system -name *.service -exec chmod 644 {} \;
chmod 644 /etc/nginx/html/50x.html
chmod 777 /run
chmod 755 /srv/http/command/*
chmod 755 /srv/http/db/redis_datastore_setup
chmod 755 /srv/http/db/redis_acards_details
chmod 755 /etc/X11/xinit/start_chromium.sh
chown mpd.audio /mnt/MPD/*
chown mpd.audio /mnt/MPD/USB/*
chmod 777 /mnt/MPD/USB
chmod 777 /mnt/MPD/USB/*
chown -R mpd.audio /var/lib/mpd
redis-cli del buildversion
redis-cli del patchlevel
/srv/http/db/redis_datastore_setup check
/srv/http/command/refresh_nics
/srv/http/command/refresh_ao
reboot
It will reboot and may take a little while to restart. This method will preserve most of your settings, webradios, etc.
If this fails, the other option is to download the latest version in the first post in this thread.
janui


I have no idea why it failed before, but now it works! thanks!

The only custom thing I have on there is SSH keyauth to my NAS, but that's a real PITA to set up. i'm glad I don't have to redo that.
CH23
 
Posts: 9
Joined: 22 Mar 2017, 11:02

Re: RuneAudio 0.5-beta for most Raspberry Pi models

Postby leardo » 08 Jul 2019, 03:51

Hello all,

Wondering if i could get some help installing the latest so it will work with the 3B+ model.

/i get the following messages and Rune never starts.

I've attached an image of the screen. Any help is appreciated!!

Mike
Attachments
Screen Shot 2019-07-07 at 10.49.47 PM.jpg
Screen Shot 2019-07-07 at 10.49.47 PM.jpg (157.19 KiB) Viewed 495 times
leardo
 
Posts: 5
Joined: 08 Jul 2019, 03:44

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 2 guests