Simple DLNA Renderer for Odroid C1+...or not?

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Ah, I think your cover art problem may be caused by your settings in MaximumMPD -
I think the "HTTP URL Prefix" field should be blank, or just
Code:
/
 

Attachments

  • MaximumMPD-menu.jpg
    MaximumMPD-menu.jpg
    48.2 KB · Views: 58
If I do so nothing happened, no acvtivities: Queue=0, Status=completed. If I take back the setting to NAS-URL. MaxMPD starts processing the queue ... even if it seems pointless.

I came to the same conclusion when testing Volumio.

Subject „MaxMPD+Rune & cover art“: at this point RuneAudio can not show covers in library using Odroid. There‘s a new Pi-version (Re+5) which includes cover art in library (link Rune-Forum)

Another advantage Volumio: yes, it can! :D ...show covers in library on web gui. So I‘m testing this one for a while...although RuneAudio gives me a „straighter audio feeling“.
 
Last edited:
Here is some useful information on the Rune forum -
Local cover art erratic : General discussion • RuneAudio Forum
The Rune administrator suggests to disable Rune's code which looks for embedded cover art.
This involves opening the file coverart_ctl.php in a text editor, and commenting out lines 100 - 114.
To comment out a line in php code you add 2x forward-slashes to the start of the line
Code:
//
Personally, I would also comment out the section relating to LastFM, lines 143 - 171.
 
I must say that RuneAudio is annoying in this respect. In a normal MPD setup, it's quite easy to configure and run lighttpd to serve cover art - I have tried this since around 2014, on multiple Linux installations on desktop computers and single board computers, connecting with different clients running on Android, Windows, and Linux.

The next logical thing to try is to shut down the Rune app completely, and just run mpd and lighttpd on their own. You have already learned how to configure MPD manually, so this should not be very difficult ... provided Rune has not set any other technical traps!
The RuneAudio operating system is based on Arch Linux, so hopefully the Rune app can be disabled via systemd. Try this -

Code:
sudo systemctl disable rgnd
Now enable mpd
Code:
sudo systemctl enable mpd
Open the mpd configuration file, and check the various settings we discussed earlier
Code:
sudo nano /etc/mpd.conf
and finally check that lighttpd is installed
Code:
sudo lighttpd --help
If you can get this far successfully, we will move on to lighttpd configuration.
 
linuxfan said:
Open the mpd configuration file, and check the various settings we discussed earlier

"The file is auto generated by RuneAudio and should be edit in config section." Nevertheless, I've checked the file settings and all were correct. Because the network drive is also configured by RuneAudio, the path of the music directory should be correct. ("/mnt/MPD").

Code:
sudo lighttpd --help

"sudo: lighttpd: command not found"
 
OK, so mpd settings are all correct.
rgnd is now disabled at startup, and mpd is enabled?

Let's get lighttpd installed - because I know that other web servers are not so successful at serving cover art for MPD. Maybe we should tell the Rune developers!
Code:
sudo pacman -S lighttpd
this installation will add a default configuration file /etc/lighttpd/lighttpd.conf
but the contents are mostly wrong for what we want. So rename this file -
Code:
sudo mv /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf-original

Now create a brand new configuration file in nano, ready to add some text -
Code:
sudo nano /etc/lighttpd/lighttpd.conf
paste in this text -
Code:
server.document-root = "/mnt/dsmusic"

mimetype.assign = (
  ".jpg" => "image/jpeg",
  ".png" => "image/png",
 )
Ctrl+o to save. Ctrl+x to exit.
Enable lighttpd at boot up
Code:
sudo systemctl enable lighttpd
And reboot!

In MaximumMPD make the "HTTP URL Prefix" field blank.
Restart MaximumMPD, and hopefully you will now see cover art.
 
Code:
sudo pacman -S lighttpd

Failure...

error: failed retrieving file 'lighttpd-1.4.36-1-armv7h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

I'm idling at this point... :)

PS: mpd service is running
 
Well I'm unfamiliar with Arch Linux package management, but it seems that the Arch Linux version that your Rune OS is based on may be quite old, and the lighttpd version that the installer is looking for (1.4.36) is no longer available in the official repositories/mirrors.
You could manually download a package to install, but we need to be careful because if you install the latest version of a particular package you can easily find that it has dependencies on newer library versions, then the application fails to launch.
The oldest version I could find is close - ver 1.4.37 -
http://tardis.tiny-vps.com/aarm/packages/l/lighttpd/lighttpd-1.4.37-1-armv7h.pkg.tar.xz

We're in uncertain territory here, but here goes: download the package -
Code:
wget [url]http://tardis.tiny-vps.com/aarm/packages/l/lighttpd/lighttpd-1.4.37-1-armv7h.pkg.tar.xz[/url]
now install it
Code:
sudo pacman -U lighttpd-1.4.37-1-armv7h.pkg.tar.xz

If that does not work, you will need to ask on the Rune forum how to install lighttpd.
 
Reaching one's goal can be difficult...

In the meantime I had look at Volumio again. Each app has its advantages and disadvantages. The responsiveness of Volumio's cover art is due to origin cover file sizes and there's no built in preview renderer (average size ~100-500kb).

I'll try to install that but I'm not scared if it fails. Just a new flash session... ;)
 
Last edited:
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.