Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

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:
Poll: Would you like to have MPD for C200/A200/A210?
Yes I would like to have
No I don't
[Show Results]
Note: This is a public poll, other users will be able to see what you voted for.
Post Reply 
[100/200/300/400] Music Player Daemon (MPD) - v0.18.5 - Updated on 10th Dec 2013 - CSI
02-06-2012, 11:07 AM
Post: #346
RE: [Apps] Music Player Daemon (MPD) C200/A200
95 % is pretty good, won't load after reload cover btn ?

I've got my music sorted by
<album>\<artist1>\blabla.mp3
<album>\<artist2>\lala.mp3
And I did notice that the .jpg has to be stored with the .MP3
so that's a pain with my Various Artists albums.

Media Player: Popcorn Hour C-200, Lite-On iHOS104, WD Scorpio Blue 750GB
Find all posts by this user
Add Thank You Quote this message in a reply
02-17-2012, 07:25 AM
Post: #347
RE: [Apps] Music Player Daemon (MPD) C200/A200
(02-06-2012 11:07 AM)Onraed Wrote:  95 % is pretty good, won't load after reload cover btn ?

I've got my music sorted by
<album>\<artist1>\blabla.mp3
<album>\<artist2>\lala.mp3
And I did notice that the .jpg has to be stored with the .MP3
so that's a pain with my Various Artists albums.

I have different setup with you. I have:
<artist1>/<albumA>/abc.flac + cover art .jpg
/<albumB>/def.flac + cover art .jpg
<artist2>/<albumC>/xyz.flac + cover art.jpg

It works with MPoD mostly.

PCH-C200, 2.5" 500G Segate internal HD, Denon AV Amp, Panasonic AE-500 Projector.
Find all posts by this user
Add Thank You Quote this message in a reply
03-08-2012, 01:39 PM
Post: #348
RE: [Apps] Music Player Daemon (MPD) C200/A200
I'm not familiar with MPD, but someone pointed me in this direction because he thought it would fulfill my desires about quick and easy playlist generation for the PCH C200 (without having to turn the TV on to start NMJ, and without having to go through the hassle of manually adding every file individually in File Mode).

http://www.networkedmediatank.com/showth...?tid=59889

I hope there'll be a manual or something to explain it to a simpleton like me.
Find all posts by this user
Add Thank You Quote this message in a reply
03-08-2012, 03:32 PM
Post: #349
RE: [Apps] Music Player Daemon (MPD) C200/A200
Can the MPD look for MP3 in diff. folders? F.e. in the Music and in the Downloadfolder?

How is the syntax for this?
Find all posts by this user
Add Thank You Quote this message in a reply
03-08-2012, 10:12 PM
Post: #350
RE: [Apps] Music Player Daemon (MPD) C200/A200
Hey,

You can't directly use mutliple directories.
But this is Linux, so there's a workaround:

Let's say you have two directories you want to use:
/Folder1/Music
/Directory24/Songs

Then setup mpd to use a new (empty) directory:
/mpd/music

Inside this directory, create symbolic links to the two directories you actually want to use:
ln -s /Folder1/Music Music
ln -s /Directory24/Songs Songs

mpd will then use both directories.
(At least that's the theory, I haven't tried myself)

See also:
http://mpd.wikia.com/wiki/Using_Multiple...der_Parent
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to Hendershot for this post
03-09-2012, 09:42 PM
Post: #351
RE: [Apps] Music Player Daemon (MPD) C200/A200
Please help!
clicking the install button for mpd in http://PCH-A210:9999/local_web/ causes no effect besides page refresh and my "Duh?" here. I see the install button remained and no files installed in the apps subfolders,
while after clicking the install button for busybox I saw its delete button appear and some files with "busybox" in the name in the apps subfolders. After installing busybox, I rebooted the PCH.

I was following instructions in Post #196
"in opkg, the following packages need to be installed :
. busybox (a PCH reboot is recommended after install)
. mpd
. mpc (if you want it, not mandatory)"

Configuration 2012 aug 15: PCH-A210 internal samsung HD103SJ 1TB, hdmi:tv philips 32PFL8404H-12, installed: opkg, mpd, busybox, gzip
PC: Vista, CSI, Notepad++, GMPC, remote gui's transmission, usb hdd with media backup
Android smartphone: ConnectBot, BitMPC, Droided Media Tank, DroidMPD
Find all posts by this user
Add Thank You Quote this message in a reply
03-10-2012, 03:46 AM
Post: #352
RE: [Apps] Music Player Daemon (MPD) C200/A200
(03-09-2012 09:42 PM)Forgone Wrote:  Please help!

You can try to install it via command line. It is really simple. Do the steps as below.
Open Run command in windows and type telnet [your popcorn ip]
A Black window will be opened without any password asked.
Type as below
Code:
# opkg install mpd -force-overwrite

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730

oPKG Available Packages and Info:
400 Series - 200/300 Series - 100 Series
Find all posts by this user
Add Thank You Quote this message in a reply
03-10-2012, 07:35 PM (This post was last modified: 06-18-2012 07:55 PM by Forgone.)
Post: #353
Luctor et emergo
Ok, thanks, I got MPD running. I had a big fight with it. I am not sure how I succeeded.
Ran into "ERROR: problems opening audio device" with telnet mpc and Gnome Music Player Client yesterday and some other errors, listed furtheron in my quotes of the telnet sessions. But today it suddenly ran.
Maybe mpd needed a long time to build the music database.
My IR remote operations are not listed, and might be of influence.
[UPDATE 6-18-2012 sometimes mpd play becomes silent, while mpc/bitMPC shows mpd still playing, and sometimes after a for me unexplicable while, the sound is back again. Related to going into standby mode?]

I noticed, that I can browse the HDD with the IR remote and start playing another music file, while mpc still shows the interrupted file play is still playing. When I telnet mpc stop and play, the current play by IR remote is interrupted by the replay of the file that mpc listed as still playing.
When I press on the IR remotes "source" button and choose the song icon, the top play bar appears with title "mpd.flac". I guess the IR remote operates a concurrent browser besides mpc and maybe even a concurrent player besides mpd that can block mpd/mpc from working?
Or has it to do with "error while loading shared libraries: libao.so.2: cannot open shared object file: No such file or directory mpd" or "Segmentation fault" ?

Greetings!

Telnet session 1
Quote:sh-3.00# opkg install mpd -force-overwrite
Installing mpd (0.16.5-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...1_mips.ipk
.
Configuring tzdata.
No tzone.conf exists in /share/Apps/local/etc/tzdata/
Configuring lighttpd-mod-fastcgi.
Collected errors:
* opkg_install_pkg: Package mpd md5sum mismatch. Either the opkg or the package
index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package mpd.
sh-3.00# opkg update
Downloading http://sourceforge.net/projects/c200ipkg.../Packages.
Updated list of available packages in /share/Apps/local/lib/opkg/lists/c200local
.
sh-3.00# opkg install mpd -force-overwrite
Installing mpd (0.16.5-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...1_mips.ipk
.
package libjack0 suggests installing jackd2
Installing libao4 (1.1.0-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...0-1_mips.i
pk.
Installing libaudiofile0 (0.2.6-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...e0_0.2.6-1
_mips.ipk.
Installing libavcodec52 (0.6-2) to root...
Downloading http://sourceforge.net/projects/c200ipkg...2_0.6-2_mi
ps.ipk.
Installing libavutil50 (0.6-2) to root...
Downloading http://sourceforge.net/projects/c200ipkg..._0.6-2_mip
s.ipk.
Installing libfaac0 (1.28-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...28-1_mips.
ipk.
Installing libmp3lame0 (3.98.2-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg..._3.98.2-1_
mips.ipk.
Installing libopenjpeg2 (1.3.0-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...2_1.3.0-1_
mips.ipk.
Installing libschroedinger1 (1.0.7-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...nger1_1.0.
7-1_mips.ipk.
Installing liboil0.3 (0.3.16-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg....3.16-1_mi
ps.ipk.
Installing libspeex1 (1.2rc1-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg....2rc1-1_mi
ps.ipk.
Installing libtheora0 (1.1.1-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...1.1.1-1_mi
ps.ipk.
Installing libx264-107 (20101011-svn2245-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg..._20101011-
svn2245-1_mips.ipk.
Installing libxvidcore4 (1.2.2-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...4_1.2.2-1_
mips.ipk.
Installing libavformat52 (0.6-2) to root...
Downloading http://sourceforge.net/projects/c200ipkg...52_0.6-2_m
ips.ipk.
Installing libcue1 (1.3.0-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg....0-1_mips.
ipk.
Installing libfaad2 (2.7-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...7-1_mips.i
pk.
Installing libglib2.0-0 (2.29.12-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...0_2.29.12-
1_mips.ipk.
Installing libffi5 (3.0.9-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg....9-1_mips.
ipk.
Installing libjack0 (1.9.7-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...9.7-1_mips
.ipk.
Installing libmad0 (0.15.1b-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...5.1b-1_mip
s.ipk.
Installing libmikmod3 (3.2.0-beta2-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...3.2.0-beta
2-1_mips.ipk.
Installing libmodplug0 (0.8.7-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg..._0.8.7-1_m
ips.ipk.
Installing libmpcdec5 (1.2.6-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...1.2.6-1_mi
ps.ipk.
Installing libmpg123-0 (1.13.3-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg..._1.13.3-1_
mips.ipk.
Installing libltdl7 (2.4-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...4-1_mips.i
pk.
Installing libsamplerate0 (0.1.7-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg...te0_0.1.7-
1_mips.ipk.
Installing libshout3 (2.2.2-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg....2.2-1_mip
s.ipk.
Installing libsndfile1 (1.0.21-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg..._1.0.21-1_
mips.ipk.
Installing libtwolame0 (0.3.12-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg..._0.3.12-1_
mips.ipk.
Configuring libxvidcore4.
Configuring libtheora0.
Configuring libavutil50.
Configuring libfaac0.
Configuring libmp3lame0.
Configuring libopenjpeg2.
Configuring liboil0.3.
Configuring libschroedinger1.
Configuring libspeex1.
Configuring libx264-107.
Configuring libavcodec52.
Configuring libavformat52.
Configuring libffi5.
Configuring libshout3.
Configuring libmad0.
Configuring libao4.
Configuring libaudiofile0.
Configuring libcue1.
Configuring libfaad2.
Configuring libglib2.0-0.
Configuring libjack0.
Configuring libmikmod3.
Configuring libmodplug0.
Configuring libmpcdec5.
Configuring libltdl7.
Configuring libmpg123-0.
Configuring libsamplerate0.
Configuring libsndfile1.
Configuring libtwolame0.
Configuring mpd.
Starting Music Player Daemon: /share/Apps/local/bin/mpd: error while loading sha
red libraries: libao.so.2: cannot open shared object file: No such file or direc
tory
mpd.
sh-3.00#
sh-3.00# /share/Apps/local/bin/mpd
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# reboot

Telnet session 2
Quote:#top showed mpd running
sh-3.00# cd share
sh-3.00# cd Music
sh-3.00# mpc ls|mpc add
sh-3.00# mpc playlist
Moby - Another Woman
Gotan Project - Last Tango in Paris
Fila Brazilla - Soft Music Under Stars
sh-3.00# mpc play
Moby - Another Woman
[playing] #1/25 0:00/3:52 (0%)
volume: n/a repeat: off random: off single: off consume: off
sh-3.00# mpc volume 50
error: problems setting volume
sh-3.00# mpc current
Moby - Another Woman
sh-3.00# mpc
Moby - Another Woman
[paused] #1/25 0:00/3:52 (0%)
volume:100% repeat: off random: off single: off consume: off
sh-3.00# mpc play
Moby - Another Woman
[playing] #1/25 0:01/3:52 (0%)
volume:100% repeat: off random: off single: off consume: off
sh-3.00# mpc next
Gotan Project - Last Tango in Paris
[playing] #2/25 0:00/5:18 (0%)
volume:100% repeat: off random: off single: off consume: off

Configuration 2012 aug 15: PCH-A210 internal samsung HD103SJ 1TB, hdmi:tv philips 32PFL8404H-12, installed: opkg, mpd, busybox, gzip
PC: Vista, CSI, Notepad++, GMPC, remote gui's transmission, usb hdd with media backup
Android smartphone: ConnectBot, BitMPC, Droided Media Tank, DroidMPD
Find all posts by this user
Add Thank You Quote this message in a reply
04-07-2012, 02:49 PM
Post: #354
RE: How To : [Apps] Music Player Daemon (MPD) C200/A200
I cannot manage to install mpd. I follow the instructions but when I install MPD via opkg I cannot get it installed. The install logo stays before mpd.
Find all posts by this user
Add Thank You Quote this message in a reply
04-07-2012, 05:33 PM (This post was last modified: 04-07-2012 05:34 PM by Forgone.)
Post: #355
RE: How To : [Apps] Music Player Daemon (MPD) C200/A200
(04-07-2012 02:49 PM)dedeen Wrote:  The install logo stays before mpd.
I had the same problem. I got mpd working following instructions in post #352 in this thread

Groetjes, en succes!

Configuration 2012 aug 15: PCH-A210 internal samsung HD103SJ 1TB, hdmi:tv philips 32PFL8404H-12, installed: opkg, mpd, busybox, gzip
PC: Vista, CSI, Notepad++, GMPC, remote gui's transmission, usb hdd with media backup
Android smartphone: ConnectBot, BitMPC, Droided Media Tank, DroidMPD
Find all posts by this user
Add Thank You Quote this message in a reply
04-08-2012, 01:52 PM
Post: #356
RE: [Apps] Music Player Daemon (MPD) C200/A200
I got it finally working! Thanks Forgone. Your tip helped. I had to install another package via OPKG and then I just had to wait until MPD was finished creating the playlist. Then everything works smoothly.

At the same time I was also trying to get Airplay working on my Ipad. That also worked, but sometimes it stops working. Is it possible that MPD and airplay do not get along very well together?
Find all posts by this user
Add Thank You Quote this message in a reply
04-08-2012, 08:16 PM (This post was last modified: 04-08-2012 08:21 PM by Forgone.)
Post: #357
Is it possible that MPD and airplay do not get along very well together?
(04-08-2012 01:52 PM)dedeen Wrote:  Is it possible that MPD and airplay do not get along very well together?
I notice your question and don't know the answer. I have made your question more visible for those who do know by placing it in the subject line for you.

Configuration 2012 aug 15: PCH-A210 internal samsung HD103SJ 1TB, hdmi:tv philips 32PFL8404H-12, installed: opkg, mpd, busybox, gzip
PC: Vista, CSI, Notepad++, GMPC, remote gui's transmission, usb hdd with media backup
Android smartphone: ConnectBot, BitMPC, Droided Media Tank, DroidMPD
Find all posts by this user
Add Thank You Quote this message in a reply
04-09-2012, 12:24 PM (This post was last modified: 04-09-2012 06:41 PM by tns.)
Post: #358
RE: [Apps] Music Player Daemon (MPD) C200/A200
fresh install via command line ..... testing
one problem with libao dependency solved after libao2 install:
Code:
sh-3.00# /share/Apps/local/etc/init.d/99mpd.sh start
Starting Music Player Daemon: /share/Apps/local/bin/mpd: error while loading shared libraries: libao.so.2: cannot open shared object file: No such file or directory
mpd.
sh-3.00# opkg install libao2                        
Installing libao2 (0.8.8-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg/files/libao2_0.8.8-1_mips.ipk.
Installing libasound2 (1.0.24.1-1) to root...
Downloading http://sourceforge.net/projects/c200ipkg/files/libasound2_1.0.24.1-1_mips.ipk.
Configuring libasound2.
Configuring libao2.
sh-3.00# /share/Apps/local/etc/init.d/99mpd.sh start
Starting Music Player Daemon: Failed to load database: Failed to open database file "/share/Apps/local/etc/mpd/database": No such file or directory
mpd.
sh-3.00#


ok, great work guys!!!
edited mpd conf file for pointing to my nas network library share:
Code:
music_directory        "/opt/sybhttpd/localhost.drives/NETWORK_SHARE/MP3"
I can listen to my music library via mpd on my c200 popcorn,
naturally using mpod app for iphone as remote control.
Thank you very much

PS:
Looking at config file, found the output setting:

Code:
audio_output {    
    type        "httpd"    
    name        "PCH Stream"    
    encoder        "flac"        # optional, vorbis or lame    
    port        "8669"    
    compression        "3"            # OK!!!!!!    
    commandstart    "ifconfig eth0:66 192.168.10.11 netmask 255.255.255.0 up;route add -net 192.168.10.0 netmask 255.255.255.0 eth0:66;echo 'GET /playback?arg0=start_aod&arg1=MPDStream&arg2=http://192.168.10.11:8669/mpd.flac&nop=nop' | telnet 127.0.0.1 8008"
    commandstop    "echo 'GET /playback?arg0=stop_aod&nop=nop' | telnet 127.0.0.1 8008; ifconfig eth0:66 down"
    auto_sync    "true"            # restart current song when a http client is ready
}

could someone explain to me the mean of the settings "encoder" and "compression"?
do we need encode the audio file, no worry what type is it, to make mpd working?
that's, if i have an mp3 only music library, better set the encoder to "lame"?
other settings changes to be done in this case? and in case of wave files?
thanks, to all.


a lot of time today...... and took a look at mpd sources.
ok for the config parameter compression, it's libflac option the mpd encoder plugin give to libflac (http://flac.sourceforge.net/documentatio...lac.html). if we use the lame encoder we will set other parameters, like quality or bitrate.
so @ Grael:
can we manage mpd config file to set the encoder option we want (wave, flac, lame, twolame, vorbis) or any other reason did you state so ....? why if i have an mp3 library must i encode it to flac?

....... finally found the answer at #154 to 173.........................
thank you ....... very much
Find all posts by this user
Add Thank You Quote this message in a reply
04-17-2012, 10:38 PM
Post: #359
RE: [Apps] Music Player Daemon (MPD) C200/A200
These latest posts worked like a charm, everything running fine, THANKS GUYS!!! love this shit!
Find all posts by this user
Add Thank You Quote this message in a reply
05-25-2012, 08:33 AM
Post: #360
RE: [Apps] Music Player Daemon (MPD) C200/A200
Since the new update is out of May 23 there is no music page opening on my C200 (that you could access with the source button) to stop the playing or change the volume.

Do you guys have the same?

Could someone adapt this?

Living room: C200 on Philipps AmbiLight TV
Balcony: A110 with small screen as MusicJukebox
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
  [100/200/300/400] Can anyone give me the file of multicast IPTV Player (FlashLite) fareign 8 2,389 04-10-2014 09:11 PM
Last Post: Kir
  [400] oPKG v0.2.0 - Updated on 30th Jan 2014 - CSI vaidyasr 236 31,074 04-09-2014 09:02 PM
Last Post: Adelscott
  [200/300] oPKG v0.2.0 - Updated on 30th Jan 2014 - CSI vaidyasr 505 236,470 04-03-2014 12:34 AM
Last Post: vaidyasr
  [100/200/300/400] Community Software Installer 2.7.4.0 ** UPDATED MAR 18th 2013** jhmiller 506 120,809 03-28-2014 11:40 PM
Last Post: Bogey
  [100/200/300/400] aMule v2.3.1 - Updated 7th Oct 2010 - CSI vaidyasr 149 53,843 02-14-2014 06:11 AM
Last Post: drh104
  [200] Audio player TReneR 1 450 02-06-2014 09:28 AM
Last Post: TReneR
Star [100/200/300/400] Download Manager v3.2 Released - Updated 10th Apr 2009 - CSI vaidyasr 1,701 702,443 01-19-2014 06:47 PM
Last Post: calbo
  [200/300/400] MKVTools v1.1.1 - Updated 27th Feb 2010 - CSI vaidyasr 46 19,009 01-04-2014 06:27 PM
Last Post: pencitku
  [200] [Apps] NMT CSI IPTV Player romanr 46 22,457 12-22-2013 05:34 PM
Last Post: darvenas
  [100/200/300/400] Busybox v1.22.1 - Updated on 31st Jan 2014 - CSI vaidyasr 0 763 11-23-2013 07:05 AM
Last Post: vaidyasr

Forum Jump: