Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: kind on June 24, 2014, 02:20:47 PM

Title: Cannot install mpd
Post by: kind on June 24, 2014, 02:20:47 PM
Hi

I install mpd from Repo:
tce-load -iw mpd

Installation stops on
Downloading: liborc.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: short write
liborc.tcz: FAILED
md5sum: WARNING: 1 of 1 computed checksums did NOT match
Error on liborc.tcz

Tried many times with same result...

Please give me some help.
Thanks
Title: Re: Cannot install mpd
Post by: bmarkus on June 24, 2014, 10:16:20 PM
Most likely out of space on the storage media where /tce resides. Check free space. Which piCore version you installed?
Title: Re: Cannot install mpd
Post by: kind on June 25, 2014, 12:02:19 AM
Oh, I should give more info, sorry.

The only way I'm going to use Pi is to play music using USB out.
Just like I did with VoyageMPD and Volumio.
So I choose SSH version.

First I tried 5.3.1 SSH.
Next I tried 5.3 SSH.

I use 2Gb SD.

I've got very basic linux skills... Pity, but I don't know how to check free space using command line.
I would appreciate your help.
Title: Re: Cannot install mpd
Post by: bmarkus on June 25, 2014, 12:44:34 AM
To check free space, execute the following command in terminal:

Code: [Select]
df -h /mnt/mmcblk0p2
Did you read README and expanded file system on /dev/mmcblk0p2 as described?
Title: Re: Cannot install mpd
Post by: kind on June 25, 2014, 01:57:28 AM
Did you read README and expanded file system on /dev/mmcblk0p2 as described?

No I didn't and that was my fault.
Now I've read it and done as described.
MPD installed with no errors.

Thank you so much!

And yet I have another question: I can't find mpd.conf. This is config file for mpd setup.
In Volumio and Voyage it's located in /etc/init.d.
Title: Re: Cannot install mpd
Post by: kind on June 25, 2014, 04:43:36 AM
Would be great if someone give step-by-step instructions to get MPD working.
Seems I cannot do it myself because of lack of experience.
Title: Re: Cannot install mpd
Post by: kind on June 27, 2014, 11:51:50 PM
Guys, if someone got MPD up and running please share your experience.

Now I have MPD installed.
I can see it in /usr/local/tce.installed

How should I start it?

Title: Re: Cannot install mpd
Post by: bmarkus on June 28, 2014, 01:57:17 AM
Read man pages, there is a sample config file. Also, Internet is full with mpd article. Use Google, Bing, Yahoo, ... to search for them.
Title: Re: Cannot install mpd
Post by: kind on June 28, 2014, 03:21:23 AM
There is a particular feature of TCL making me asking those stupid questions.
TLC clears any files and directories after reboot.

I don't understand where config file should be located in order not to be deleted after reboot.

As I mentioned I've got 2 linux system with MPD. I can manage quite easy there because they are "ordinary". So no problems with MPD's setup and running.

Honestly, I am an audiophile. And my only wish is to get MPD on. I don't intend to get much into linux jungles.
Unfortunately there is no ready-to-go audiophile image of TCL for ARM.
That's why I'm here.
Title: Re: Cannot install mpd
Post by: Juanito on June 28, 2014, 03:44:23 AM
You need to add the config file to your backup.

This is done by adding the file to /opt/.filetool.lst

..something like "usr/local/etc/mpd/mpd.conf" I presume?
Title: Re: Cannot install mpd
Post by: bmarkus on June 28, 2014, 03:54:47 AM

Unfortunately there is no ready-to-go audiophile image of TCL for ARM.


What do you mean ARM? Which machine, which architecture?
Title: Re: Cannot install mpd
Post by: kind on June 28, 2014, 05:01:33 AM
You need to add the config file to your backup.

This is done by adding the file to /opt/.filetool.lst

..something like "usr/local/etc/mpd/mpd.conf" I presume?

Thank you for direction! I'll try it
Title: Re: Cannot install mpd
Post by: kind on June 28, 2014, 05:06:24 AM

Unfortunately there is no ready-to-go audiophile image of TCL for ARM.


What do you mean ARM? Which machine, which architecture?

I have Cubox (v.1) and Rasberry Pi on hand.
In this case I'm interested in Raspberry, of course, for this is Raspberry Pi thread. :)
Title: Re: Cannot install mpd
Post by: kind on July 02, 2014, 12:34:54 AM
Oh, what a seepless nights...  :)
But finally I got MPD up and runing.

Now I stuck in updating database.
My music located on Synology NAS.
I mount it to my music folder:
Code: [Select]
sudo mount -t nfs 192.168.0.110:/volume1/music /home/mpd/musicNo problems here.

Updating database:
Code: [Select]
mpc update
That command kills mpd process.
Mpd log shows:
mpd: sndfile.c:312: sf_open: Assertion `sizeof (sf_count_t) == 8' failed.

Tried mounting CIFS with same result.
Please show me the direction, I just can't give up

P.S.
My Pi is first version, I think. There is no A or B marks on it, but it bought it 2 years ago (didn't try it until now).
Title: Re: Cannot install mpd
Post by: Da Alchemist on January 14, 2015, 12:17:12 AM
I came to this Thread because i have got the same Error. I found out, that this happens when it comes to wav-Files.

Start mpd with this Options:

mpd --verbose --no-daemon --stdout > mpd_trouble.out

I do not know the reason for this Bug, I converted my Wav Files to Flac....

Regards
Title: Re: Cannot install mpd
Post by: Da Alchemist on January 15, 2015, 05:40:17 AM
That mpd 1.8.9 can not play Wave files is a bug in mpd itself, as one could see from this thread .
http://forum.musicpd.org/viewtopic.php?f=8&t=374

and there is an other issue, this Version of mpd can not read long File Names.

Regards
Title: Re: Cannot install mpd
Post by: onelife on January 31, 2015, 05:48:59 AM
I'm sure this is solved but thought I'd comment with a tiny note as I also use TC for audio.

As an alternative for mpd I compiled DerMixD and seems to offer easier use than mpd.

You can see more on DerMixD here :

http://thomas.orgis.org/dermixd/

As I say, just a comment if it will help for anyone.

Thanks

Title: Re: Cannot install mpd
Post by: beerstein on February 09, 2015, 05:49:18 AM
Hi:
Are you planning to provide a .tcz extension from your DerMixd compilation?
I installed piCore 6.0 last night and discovered there is nothing in the repo to play mp3 or other sound files from a simple GUI.
I also would be happy if I could find out how to play sound files from the command line.
Title: Re: Cannot install mpd
Post by: onelife on February 09, 2015, 06:25:54 AM
Will gladly, but sadly I haven't had luck in getting the TCZ thing on my side.

I think there's a mental block that I just don't seem to get working. So, perhaps someone could tell me how I simply create a TCZ from a live loaded system. For example. If I have the compiled DerMixD file in the folder /home/snb/dermixd/ how do I now get that to become a loaded TCZ? At the moment I include this path in the filetool.sh process so it puts the daemon back every reboot.

Sorry to not have a working TCZ :( ... But really keen to get this right and will gladly even open my system up for ssh access if someone can help us.

Thanks and hope to chat soon :)

Regards
Title: Re: Cannot install mpd
Post by: beerstein on February 10, 2015, 04:33:26 AM
Thanx - I never made a tcz. There is some info in the wiki. I will check it out.