Moode Audio Player for Raspberry Pi

I'm busy building another image but am constantly getting the following error where some of the packages cannot be found. Some of the packages do install however.

"E: Failed to fetch 404 Not Found 404 Not Found [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"

Can anyone explain why this would be happening? I get the impression that some of the mirror sites may be down but am guessing here.

How does one resolve this?

Thanks

@Mars67

A server status code 404 means the server site is up but can't locate the file requested.

Did you run apt-get update as the error message suggests? That has usually fixed the problem when I've encountered it. Package information changes from time to time.

Regards,
Kent
 
Hi
Successfully installed Moode 4 on Pi3 following instructions in Build Recipe v1.6.
I did all steps, including Kernel Update.

My digital chain:
Pi3 -> SPDIF converter Berkeley Alpha Usb -> Adcom multibit DAC.

I need help with strange thing:
Music stops after 30 seconds or so everytime I start playing.

/var/log/syslog shows:
Code:
Nov 12 16:19:12 moode systemd[1]: Started Music Player Daemon.
Nov 12 16:19:40 moode kernel: [  701.563005] usb 1-1.5: USB disconnect, device number 5
Nov 12 16:19:40 moode kernel: [  701.861451] usb 1-1.5: new high-speed USB device number 6 using dwc_otg
Nov 12 16:19:40 moode kernel: [  701.992178] usb 1-1.5: New USB device found, idVendor=21b4, idProduct=0260
Nov 12 16:19:40 moode kernel: [  701.992186] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 12 16:19:40 moode kernel: [  701.992191] usb 1-1.5: Product: Alpha USB Digital Output
Nov 12 16:19:40 moode kernel: [  701.992195] usb 1-1.5: Manufacturer: Berkeley Audio Design
Nov 12 16:19:40 moode kernel: [  701.992198] usb 1-1.5: SerialNumber: Streamlength(tm)
Nov 12 16:19:40 moode mtp-probe: checking bus 1, device 6: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5"
Nov 12 16:19:40 moode mtp-probe: bus: 1, device: 6 was not an MTP device
Nov 12 16:19:40 moode systemd[1]: Stopping Music Player Daemon...
Nov 12 16:19:40 moode systemd[1]: Stopped Music Player Daemon.
Nov 12 16:19:40 moode systemd[1]: Started Music Player Daemon.
Nov 12 16:20:44 moode kernel: [  766.331091] usb 1-1.5: USB disconnect, device number 6
Nov 12 16:20:45 moode kernel: [  766.641379] usb 1-1.5: new high-speed USB device number 7 using dwc_otg
Nov 12 16:20:45 moode kernel: [  766.772236] usb 1-1.5: New USB device found, idVendor=21b4, idProduct=0260
Nov 12 16:20:45 moode kernel: [  766.772245] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 12 16:20:45 moode kernel: [  766.772249] usb 1-1.5: Product: Alpha USB Digital Output
Nov 12 16:20:45 moode kernel: [  766.772253] usb 1-1.5: Manufacturer: Berkeley Audio Design
Nov 12 16:20:45 moode kernel: [  766.772257] usb 1-1.5: SerialNumber: Streamlength(tm)
Nov 12 16:20:45 moode mtp-probe: checking bus 1, device 7: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5"
Nov 12 16:20:45 moode mtp-probe: bus: 1, device: 7 was not an MTP device
Nov 12 16:20:45 moode systemd[1]: Stopping Music Player Daemon...
Nov 12 16:20:45 moode systemd[1]: Stopped Music Player Daemon.
Nov 12 16:20:45 moode systemd[1]: Started Music Player Daemon.
Nov 12 16:21:48 moode kernel: [  829.563076] usb 1-1.5: USB disconnect, device number 7
Nov 12 16:21:48 moode kernel: [  829.861335] usb 1-1.5: new high-speed USB device number 8 using dwc_otg
Nov 12 16:21:48 moode kernel: [  829.992036] usb 1-1.5: New USB device found, idVendor=21b4, idProduct=0260
Nov 12 16:21:48 moode kernel: [  829.992045] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 12 16:21:48 moode kernel: [  829.992049] usb 1-1.5: Product: Alpha USB Digital Output
Nov 12 16:21:48 moode kernel: [  829.992053] usb 1-1.5: Manufacturer: Berkeley Audio Design
Nov 12 16:21:48 moode kernel: [  829.992057] usb 1-1.5: SerialNumber: Streamlength(tm)
Nov 12 16:21:48 moode mtp-probe: checking bus 1, device 8: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5"
Nov 12 16:21:48 moode mtp-probe: bus: 1, device: 8 was not an MTP device
Nov 12 16:21:48 moode systemd[1]: Stopping Music Player Daemon...
Nov 12 16:21:48 moode systemd[1]: Stopped Music Player Daemon.
Nov 12 16:21:48 moode systemd[1]: Started Music Player Daemon.
Is it driver or kernel issue?
What can I try to do with that?

Hi,

Very odd. I'll take a look at the code.

Email the contents of /var/log/moode.log to tim at moodeaudio dot org

-Tim
 
Wait until the sites are available again or backup your SD Card to a .img file and install that on other SD Cards. Have a look at moOde Setup Guide for explanation of how to use the moodecfg.txt file to automatically change names at first boot.

-Tim

Hi, Tim.

I meant to say this last week. I think your build recipe could use a line or two in an appropriate place about how to "backup your SD Card to a .img file". We Linux Enthusiasts (TM) read that and knowingly nod our heads, but I suspect a lot of moOde enthusiasts think they have to start from Step 1 every time they want an image on another card.

Regards,
Kent
 
Hi, Tim.

I meant to say this last week. I think your build recipe could use a line or two in an appropriate place about how to "backup your SD Card to a .img file". We Linux Enthusiasts (TM) read that and knowingly nod our heads, but I suspect a lot of moOde enthusiasts think they have to start from Step 1 every time they want an image on another card.

Regards,
Kent

Hi Kent,

The SD Card procedures that I use on OS X should be in the Appendix of the Build Recipe. The cmds would be very similar on a Linux OS. I have no idea about what works on Windows.

-Tim
 
Hi,

Thats how its supposed to work. Once you save a NAS config you can change params except the File share protocol. To change from CIFS to NFS or vis versa requires a new NAS config to be created.

-Tim

Hi, than you shoud prohibit to change it and show a message... ?
I guess this is the same error I made (I created a second NAS entry with same name - think this fails also...)
 
Hi,

moOde's Radio Station feature requires the stations direct stream link. The playlist file .m3u or .pls will not work.

Thanks @sniglar for provided the direct stream link :)

Try Community Radio Browser to find many direct stream links.
Community Radio Station Board

-Tim

Hm, this station is my absolute favorit... and sorry, there is no driect stream existing... even the one provided by snigar does not work and should also be a different station...

Can I place a feature request to add m3u as well? I know this is working with other players f.e. volumio...

:rolleyes:
Boardy
 
Hm, this station is my absolute favorit... and sorry, there is no driect stream existing... even the one provided by snigar does not work and should also be a different station...

Can I place a feature request to add m3u as well? I know this is working with other players f.e. volumio...

:rolleyes:
Boardy

The direct stream link is in the. m3u file.

Would be great if Moode stored m3u urls and used a cron job to regenerate the. pls file daily to cope with ever-changing m3u files.

This is something computers can do much better than mere humans, so consider this an enhancement request.

Cheers,

Phil
 
Hi Kent,

The SD Card procedures that I use on OS X should be in the Appendix of the Build Recipe. The cmds would be very similar on a Linux OS. I have no idea about what works on Windows.

-Tim

OS X? I just skip past sections marked OS X. I know it's wrong but I'm weak.:rolleyes: My bad.

You're right, though. The cmds are very similar. I think I may take a whack at a proposed editorial change which would generalize them and also add an appropriate reference in the body of the recipe.

Regards,
Kent

PS - I know there are a number of freeware Windows tools which support creating an image from a USB drive but not being a Windows user except when I have to be, I don't know if any other them support copying less than the full drive.
 
Last edited:
The direct stream link is in the. m3u file.

Would be great if Moode stored m3u urls and used a cron job to regenerate the. pls file daily to cope with ever-changing m3u files.

This is something computers can do much better than mere humans, so consider this an enhancement request.

Cheers,

Phil

Hi Phil,

moOde actually has a built in feature to auto-update the stream link and pls file1=<url> providing the url to the "permalink" is specified in the cfg_radio SQL table.

All the Soma FM stations and a few others are already configured for this.

-Tim
 
The direct stream link is in the. m3u file.

Would be great if Moode stored m3u urls and used a cron job to regenerate the. pls file daily to cope with ever-changing m3u files.

This is something computers can do much better than mere humans, so consider this an enhancement request.

Cheers,

Phil

Thanks for the hint to look into the m3u, with VLC I was able to get the direct link http://hr-hr3-live.cast.addradio.de/hr/hr3/live/mp3/128/stream.mp3
hope this is notchanged oftenly - on the Web page of the station only the m3u is populated - so yes, it is stillö a feature request, but not with priority fo me any longer...

And thanks @sniglar, sorry you provided the same link, but copy paste was corrupting it and I did not recognize...
 
Last edited:
OS X? I just skip past sections marked OS X. I know it's wrong but I'm weak.:rolleyes: My bad.

You're right, though. The cmds are very similar. I think I may take a whack at a proposed editorial change which would generalize them and also add an appropriate reference in the body of the recipe.

Regards,
Kent

PS - I know there are a number of freeware Windows tools which support creating an image from a USB drive but not being a Windows user except when I have to be, I don't know if any other them support copying less than the full drive.

Right. The big advantage of dd is that the the block count can be specified which results in only the partition data being copied and not the entire SD Card.

But dd is DANGEROUS. U can wipe your host computers OS partition if you mistakenly specify the wrong of=<> param :-0

-Tim
 
Does lowering the ALSA volume in the Audio Config page reduce sound quality?

Cheers
Nick

Hi Nick,

Any type of DSP for example volume, eq, crossfeed, etc will change the bitstream. I'm not able to qualify whether it degrades or enhances SQ.

Why would u want to reduce ALSA volume? It should either be at 0dB (100) if MPD volume set to Software or Disabled, or it should logarithmically track moOde 0 -100 volume knob.

-Tim
 
Hi Nick,

Any type of DSP for example volume, eq, crossfeed, etc will change the bitstream. I'm not able to qualify whether it degrades or enhances SQ.

Why would u want to reduce ALSA volume? It should either be at 0dB (100) if MPD volume set to Software or Disabled, or it should logarithmically track moOde 0 -100 volume knob.

-Tim

Hi Tim
When listening to some music at 100% ALSA I sometimes hear a slight crackle. Turning ALSA down resolves this.

Nick
 
Hi Tim
When listening to some music at 100% ALSA I sometimes hear a slight crackle. Turning ALSA down resolves this.

Nick

Hi Nick,

This does sound like clipping. Verify that ALSA 100 = 0dB to rule out some sort of config or driver issue.

1. Stop playback
2. Open alsamixer

alsamixer -c 0 (for I2S deice)
alsamixer -c 1 (for USB device)

3. raise volume level to 100 and note the dB gain value displayed in top left of screen.

-Tim
 
Hi Nick,

This does sound like clipping. Verify that ALSA 100 = 0dB to rule out some sort of config or driver issue.

1. Stop playback
2. Open alsamixer

alsamixer -c 0 (for I2S deice)
alsamixer -c 1 (for USB device)

3. raise volume level to 100 and note the dB gain value displayed in top left of screen.

-Tim

Hi Tim
Just done as your instructions and in alsamixer everything is set to 100% already.

Nick