[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
MPD installation howto (updated 4 May 2009)
06-30-2010, 07:21 AM
Post: #481
RE: MPD installation howto (updated 4 May 2009)
(06-30-2010 03:36 AM)krazypoloc Wrote:  I'm having all kinds of issues guys. I hop you can help.

Here is what I've got. C-200 with internal USB Thumb Drive with NMT Apps installed and everything good to go.

I have tried installing with CSI with the .zip package and it installed fine but when I go to run the setup I get this.

Code:
C:\Netcat>nc 10.0.0.130 2222
Enter command to run:
sh
Cmd is 'sh'
Spawning.
cd /share
cd /share/Apps/mpd
sh install.sh
grep: /mnt/syb8634/etc/ftpserver.sh: No such file or directory
No generic daemon launcher found, installing...
sed: /mnt/syb8634/etc/ftpserver.sh: No such file or directory
sed: /mnt/syb8634/etc/ftpserver.sh: No such file or directory

Same goes for if I extract the files then copy them to the /share/Apps/mpd folder. I assume this is because its a different mount point than /HARD_DISK/ or whatever it is if you have a HDD as apposed to /USB_DRIVE_A/.

What now?

It's not for a C-200 just for A-100 & A-110.

-
aleg

--------------------------------------------------------------------------------
PCH A100 (Stable firmware), 250GB 2.5"" WD Caviar-PATA,
Connected to Pioneer KRL32V at HDMI 1080p60/50/24,
Ubuntu Server NAS,
Naim DAC + XPS-2,
mpd + iPod with mPod
Find all posts by this user
Add Thank You Quote this message in a reply
09-12-2010, 10:12 PM
Post: #482
RE: MPD installation howto (updated 4 May 2009)
Hi!

Would some kind soul help me?

I'm getting "Starting mpd... listen: failed to listen on any (line 76) : Address already in use. "


I cannot connect to Minion (I get "problems setting volume MPD@192.168.0.3")

I'd really appreciate any help, I've been trying to get this thing to work on and off for a week now, not easy with a toddler believe me.

Steve
Huh
Find all posts by this user
Add Thank You Quote this message in a reply
09-13-2010, 10:07 AM
Post: #483
RE: MPD installation howto (updated 4 May 2009)
(09-12-2010 10:12 PM)stevemondo Wrote:  Hi!

Would some kind soul help me?

I'm getting "Starting mpd... listen: failed to listen on any (line 76) : Address already in use. "


I cannot connect to Minion (I get "problems setting volume MPD@192.168.0.3")

I'd really appreciate any help, I've been trying to get this thing to work on and off for a week now, not easy with a toddler believe me.

Steve
Huh
Oh I get this...

Sep 13 06:31 : state_file: failed to open /share/Apps/mpd/var/run/state: No such file or directory
Sep 13 06:31 : update: added muse/origin of symmetry/Muse - Origin of Symmetry - Space Dementia.mp3
Sep 13 06:31 : update: added muse/origin of symmetry/Muse - Origin of Symmetry - Bliss.mp3
Sep 13 06:31 : update: added muse/origin of symmetry/Muse - Origin of Symmetry - Citizen Erased.mp3
Sep 13 06:31 : update: added muse/origin of symmetry/Muse - Origin of Symmetry - Dark Shines.mp3
Sep 13 06:31 : update: added muse/origin of symmetry/Muse - Origin of Symmetry - Feeling Good.mp3

and then...
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6640c0]moov atom not found
[mp3 @ 0x6650e0]Could not find codec parameters (Audio: mp3, 0 channels, s16)
Sep 13 06:52 : ffmpeg: Couldn't find stream info
Find all posts by this user
Add Thank You Quote this message in a reply
04-12-2011, 05:44 PM
Post: #484
RE: MPD installation howto (updated 4 May 2009)
is it possible to start mpd through an HTML file
Find all posts by this user
Add Thank You Quote this message in a reply
07-16-2011, 12:30 AM (This post was last modified: 07-16-2011 12:40 AM by Sammy95.)
Post: #485
RE: MPD installation howto (updated 4 May 2009)
I have been reading these posts in and out now, but does not find a solution..

I have this problem on my PCH A-100..

Code:
/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/mpd # MPD_HOST and/or MPD_PORT environment variables are not set
error: problems connecting to "localhost" on port 6600: Connection refused

Obviously I cant get it connected to port 6600...

My music does not show up in MPDJB

MyIHome server is enabled.

MPD is(!) indexing my music inside the database file..

MPD.conf file:

Code:
music_directory            "/share/Music"
playlist_directory        "/share/Music"
db_file                "/share/Apps/mpd/etc/database"
log_file            "/share/Apps/mpd/var/log/mpd.log"
pid_file            "/share/Apps/mpd/var/run/mpd.pid"
bind_to_address            "192.168.1.117 127.0.0.1"
port                "6600"
log_level            "default"
follow_outside_symlinks    "yes"
follow_inside_symlinks        "yes"
audio_output {
    type        "smp86xx"
    name        "My Sigma Chip"
    engine        "0"        # optional
    decoder        "1"        # optional
    ramdac        "0"        # optional
    line_count    "2048"        # optional
    fifo_us        "500000"    # optional
    hdmi        "sii9134"
}
mixer_type            "hardware"
max_playlist_length        "32768"
filesystem_charset        "UTF-8"

Restarted PCH but no go.. Anyone..?

Sammy Undecided
(04-12-2011 05:44 PM)isitmeor Wrote:  is it possible to start mpd through an HTML file

Hmm.. Interresting thought..

Not sure about what You mean though.. Do You mean MPDJB or only MPD..?

Because I think it should be easy to create a webservice that start MPDJB instead of browsing for the Index file..

Sammy Smile
Find all posts by this user
Add Thank You Quote this message in a reply
07-16-2011, 11:57 PM
Post: #486
RE: MPD installation howto (updated 4 May 2009)
Try
Code:
bind_to_address    "any"
port                "6600"
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to banquo for this post
07-17-2011, 01:25 AM (This post was last modified: 07-18-2011 09:56 AM by Sammy95.)
Post: #487
RE: MPD installation howto (updated 4 May 2009)
(07-16-2011 11:57 PM)banquo Wrote:  Try
Code:
bind_to_address    "any"
port                "6600"

Worked.. Big Grin
Thank You !!!

Files got listed..
But then I could not play them... Well - Easy come - Easy go..
Looks like this one will stay for a looong time when it's done.. Wink

MPDJB says: Error Decoding "filename.mp3"

No sound - And nothing shows up when I choose "Now playing"..
Will have to read more in this huge pile of posts.. Wink
Find all posts by this user
Add Thank You Quote this message in a reply
07-17-2011, 02:11 AM (This post was last modified: 07-17-2011 02:12 AM by banquo.)
Post: #488
RE: MPD installation howto (updated 4 May 2009)
(07-17-2011 01:25 AM)Sammy95 Wrote:  MPDJB says: Error Decoding "filename.mp3"

No sound - And nothing shows up when I choose "Now playing"..

Have you rescanned your database since you updated the mpd.conf file?

Easiest way is to delete the 'database' file in the mpd folder then select update database in mpdjb.

Also if you have a large library be prepared to wait for a while!
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to banquo for this post
07-18-2011, 09:56 AM
Post: #489
RE: MPD installation howto (updated 4 May 2009)
(07-17-2011 02:11 AM)banquo Wrote:  
(07-17-2011 01:25 AM)Sammy95 Wrote:  MPDJB says: Error Decoding "filename.mp3"

No sound - And nothing shows up when I choose "Now playing"..

Have you rescanned your database since you updated the mpd.conf file?

Easiest way is to delete the 'database' file in the mpd folder then select update database in mpdjb.

Also if you have a large library be prepared to wait for a while!

Banquo You are one of the best !! Big Grin
Worked 100% - Thank You..

I only had 12 songs on the internal HD, so the library was created in a flash,
however my plan is to play the songs on my NAS and yes.. that may take a while to add..

Does this mean that the easiest way would be to just change the config file, delete the database, and then rescan in MPDJB once again...????

Thank You again Smile
Find all posts by this user
Add Thank You Quote this message in a reply
07-20-2011, 12:36 AM
Post: #490
RE: MPD installation howto (updated 4 May 2009)
Glad I could help! Big Grin

When you change the location of your music library in the mpd.conf file, it automatically creates a new 'database' file for you.
Find all posts by this user
Add Thank You Quote this message in a reply
10-24-2011, 05:13 PM
Post: #491
RE: MPD installation howto (updated 4 May 2009)
Anyone planning on updating this to latest?
Find all posts by this user
Add Thank You Quote this message in a reply
01-03-2012, 09:37 PM
Post: #492
RE: MPD installation howto (updated 4 May 2009)
Hey, thanks for instructions and great effort in this pretty nice software.
I've got a question.

On my HDX1000, after executing sh daemon.sh, I always receive a message the database is missing:

Starting mpd...
Starting Remote control for MPD...
Failed to load database: Failed to open dabatase file "/share/Apps/mps/database : no such file or directory
fred1
fred2
fred3
fred4


Also, MPD quits at almost every album, like for example (after just removing the 4 tracks before on which the daemon got stuck) after Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/20-Eminem-Still Don't Give a Fuck-The Slim Shady LP.mp3:


Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/01-Jeff Bass-Public Service Announcement-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/02-Eminem-My Name Is-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/03-Eminem-Guilty Conscience-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/04-Eminem-Brain Damage-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/05-Paul 'Bunyan Rosenberg-Paul-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/06-Eminem-If I Had-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/07-Eminem-97' Bonnie & Clyde-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/08-Zoe Winkler-Bitch-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/09-Eminem-Role Model-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/10-Eminem-Lounge-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/11-Eminem-My Fault-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/12-Aristotle-Ken Kaniff-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/13-Eminem-Cum on Everybody-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/14-Eminem-Rock Bottom-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/15-Eminem-Just Don't Give a Fuck-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/16-Jeff Bass-Soap-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/17-Eminem-As the World Turns-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/18-Eminem-I'm Shady-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/19-Eminem-Bad Meets Evil-The Slim Shady LP.mp3
Jan 03 20:28 : update: added Eminem/Eminem - The Slim Shady LP (1999)/20-Eminem-Still Don't Give a Fuck-The Slim Shady LP.mp3

Thanks in advance for helping me out[/quote]
Find all posts by this user
Add Thank You Quote this message in a reply
01-03-2012, 10:09 PM
Post: #493
RE: MPD installation howto (updated 4 May 2009)
If u stop all other services like torrent, and then change the directory where you got your mp3s from ex music to bkmusic then put 100mp3 in that directory.
then you update database.
after that you add another 500 or so and update again, maybe more, i had the same problem before and updated the database that way and everything worked.
might have done something more but not that i remember for the moment.
Find all posts by this user
Add Thank You Quote this message in a reply
01-27-2012, 06:26 PM (This post was last modified: 01-27-2012 06:28 PM by Hann1BaL.)
Post: #494
RE: MPD installation howto (updated 4 May 2009)
hello,

I have had MPD running, but it stops creating a database when it finds a file it cannot process. (like an avi file.) So I deleted the database and removed all "difficult" files from the music directory. Now I want renew the database, but I get the message below:
Code:
/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/mpd # bin/mpc update
volume:100%   repeat: off   random: off   single: off   consume: off
/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/mpd # bin/mpd -create--db
bin/mpd: can't load library 'libfaad.so.2'

I reinstalled MPC. The libfaad.so.2 is available in mpd/lib.
Code:
http://nmt:9999/mpd/log.txt
says:
Code:
Jan 27 18:15 : state_file: failed to open /share/Apps/mpd/var/run/state: No such file or directory
But that file (0 bytes) does exist.

Anyone a good clue? it would be great to have this working on my A-110 and MpaD on the ipad. Smile Tnx!!
Find all posts by this user
Add Thank You Quote this message in a reply
07-20-2012, 09:43 PM
Post: #495
RE: MPD installation howto (updated 4 May 2009)
sh-3.00# mpd --stdout --no-daemon --verbose
path: path_set_fs_charset: fs charset is: UTF-8
output: No "audio_output" defined in config file
output: Attempt to detect audio output device
output: Attempting to detect a oss audio device
oss: Error opening OSS device "/dev/dsp": No such file or directory
oss: Error opening OSS device "/dev/sound/dsp": No such file or directory
output: Attempting to detect a jack audio device
output: Successfully detected a jack audio device
Segmentation fault
sh-3.00#


I had everything running for quite some months now, today my ipad wouldn't connect with the server :/ This is the error log that came with it when i try to start it trough ssh. Does someone has a clue?
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Apps] opkg A100/A110 - Updated 21st Sep vaidyasr 405 83,189 05-15-2013 06:04 PM
Last Post: ricardojrm
Rainbow Music Player Daemon (MPD) - v0.16.2 shadowcode 120 35,522 05-10-2013 08:42 AM
Last Post: Djiest
Star [CSI] Community Software Installer 2.7.2 ** UPDATED DEC 28th ** Ger Teunis 580 261,951 04-10-2013 12:42 PM
Last Post: timwest73
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 7,978 01-19-2013 04:07 PM
Last Post: winfried_laane
  Music Player Daemon (MPD) 2010-04-04 v0.15.9 shadowcode 245 84,104 03-10-2012 01:05 AM
Last Post: ianny
Music fuppes 0.629 for NMT - dlna, upnp media server [UPDATED: 31-May-2009] Mr Segfault 53 45,173 10-12-2011 01:04 AM
Last Post: spud
  [Apps] Qt4 WebKit - Web Browser - A110/100 - Updated 28th June vaidyasr 168 62,974 07-05-2011 10:31 AM
Last Post: gkreidl
  Utils v0.0.4 - A110 - Released - Updated 5th July vaidyasr 84 24,917 01-31-2011 01:21 PM
Last Post: dc11ab
  [split] [Apps] I-pkg A100/A110 - Updated 27th Jan linky 1 1,775 01-27-2011 10:11 PM
Last Post: dc11ab
  music player daemon MPD & PCH Remote control beatnut88 19 9,947 12-22-2010 12:31 AM
Last Post: dooly

Forum Jump: