User(s) browsing this thread: 1 Guest(s)
|
[300] Music Player Daemon (MPD)
|
|
01-04-2012, 11:53 AM
(This post was last modified: 12-14-2012 12:08 PM by vaidyasr.)
|
|||
|
|||
|
Music Player Daemon (MPD)
The Following are the original instructions posted by Grael in C200/A200 Series.
MPD quick how-to on C300/A300 : Needed : 1 - CSI, to install opkg http://www.networkedmediatank.com/showth...#pid240402 2 - opkg, to install packages http://www.networkedmediatank.com/showth...#pid427422 3 - 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) Mpd is automaticaly started after install, and will be automaticaly restarted on PCH reboot. If you need to restart manualy, start / stop / restart script is here : /share/Apps/local/etc/init.d/99mpd.sh use : /share/Apps/local/etc/init.d/99mpd.sh start /share/Apps/local/etc/init.d/99mpd.sh stop /share/Apps/local/etc/init.d/99mpd.sh restart Config file is here : /share/Apps/local/etc/mpd/mpd.conf If you want to remove volume control from your client, just comment out the following line in mpd.conf Code: mixer_type "software"By default, this file is configured to look for music files under /share/Music If you want to modify it, change it in mpd.conf file, then restart mpd with /share/Apps/local/etc/init.d/99mpd.sh restart If you're using a NAS (or a PC) to store your music files, you can follow those instructions : http://www.networkedmediatank.com/showth...#pid489482 Database file will be created here : /share/Apps/local/etc/mpd/database On first start, mpd is scanning the full repository to update database. It can take some time, and clients can fail to connect to the server during the scan. Just be patient ![]() Playlists will be stored under : /share/Apps/local/etc/mpd/playlists/ Control from a client So, now that everything is installed and configured, we need a client to control it. Let's take GMPC (Gnome Media Player Client) for exemple, which works fine on Windows and Linux, but a lot of other clients for different plateforms are available, OSX, iPad/iPhone/iPod, Android... http://download.sarine.nl/Programs/gmpc/0.20.0/ Then you need to configure on which server GMPC will connect: your popcorn IP followed by :6600 exemple 192.168.0.11:6600 - host address, your popcorn IP - server port, 6600 - no authentication or password required If it's ok, GMPC will connect to PCH mpd and will display your song collection. If you need further information about using GMPC, you can refer to this guide : http://gmpc.wikia.com/wiki/GMPC_FIRST_RUN_GUIDE Tips and limits : 1- When there is a problem at playback, pushing STOP then START usualy resolves it. 2- Using seek in the playing song can break audio output, => tip 1 3- Using Next and Previous a lot can break output too, => tip 1 Changelog : - 0.16.2-1 to 0.16.2-3: first releases - 0.16.2-4: fix mp3 playback - 0.16.2-5: repackaged, no functional changes - 0.16.5-1: . Fixed first 3 seconds missing for the first song of a playlist. Current song is restarted until PCH really starts to play. . In the same playback queue, you can now mix audio files of different resolution. (like 44.1kHz/16bit mixed with 96kHz/24bit...). PCH audio player will be seamlessly restarted when encountering different resolution file . Software Volume Control added by default So, I hope you'll enjoy this. Additional Instructions for 300 series 1. Install libvorbisenc2, libvorbis0 and libvorbisfile3 from opkg. Donate if you like my effort to make this happen
Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
15 users say Thank You to vaidyasr for this post |
|
01-05-2012, 01:17 PM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C300/A300
Super Moderator Popcorn Hour France |
|||
1 user says Thank You to jfcus for this post |
|
01-05-2012, 10:18 PM
(This post was last modified: 01-05-2012 10:29 PM by A-team.)
|
|||
|
|||
| RE: [Apps] Music Player Daemon (MPD) C300/A300 | |||
|
01-06-2012, 06:12 AM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C300/A300
@A-team,
Yes the Packages file was not updated and try now. it should be available. Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
1 user says Thank You to vaidyasr for this post |
|
01-06-2012, 06:27 AM
|
|||
|
|||
RE: [Apps] Music Player Daemon (MPD) C300/A300
![]() It works! Thanks! I was looking to get this installed ever since going from my old HDX-1000 to my new PCH A300.
|
|||
|
01-06-2012, 10:37 AM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C300/A300
For some reason it doens't work here... I remember doing the same on my A200 and then it worked immediately. It seems to install fine cause all the folders appear. The only thing is that there isn't a database folder/file created. I restarted using CSI after installing busybox and after waiting a long time after mpd installed, I restarted again but still no joy.
I'm a complete noob on telnet and linux, but since it worked on my A200 following the same steps... How can I check (as simple as possible) what is wrong and why my database isn't created? Thanks! |
|||
|
01-07-2012, 01:58 AM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C300/A300
Thanks for sharing this, got it working on my A-300
|
|||
|
01-07-2012, 10:31 AM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C300/A300
After hours of thinkering I could not seem to connect between my A300 and the laptop. In the setup of the Gmpc you have to put your IP of the PCH followed by :6600. After I removed :6600 I finally could connect! Everything is working great! Thanks Vaidyasr!
Cheers, Martijn. |
|||
|
01-08-2012, 03:17 PM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C300/A300
subscribed
"The future is already here. It's just not evenly distributed." W. Gibson "I like the future. I'm in it." F. Theater |
|||
|
01-09-2012, 07:34 AM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C300/A300
yes, on my A300, it was labeled .../share1/ as well. I am wondering if this will be persistent or does one have to go in and open the "music" share first each time for it to work. I will test it over the next couple days and let you know.
A-300 via HDMI to a Denon AVR 3311Ci. Samsung 46B750 TV. |
|||
|
01-10-2012, 12:11 PM
(This post was last modified: 01-12-2012 11:09 PM by timwest73.)
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C300/A300
Hi There,
Recently bought an A300 and got mpd setup over the last couple of days. Great way to play music on the A300 without using NMJ. However I have a problem. 90% of my collection is mp3 while 10% is flac. The mp3 files play fine while the flac files are stuttering a little. Is anyone else experiencing this? The same flac files play perfectly fine when playing in NMJ so it appears the issue is with mpd. Installed mpd as per the instructions here. Regards Tim <Edit> Problem solved |
|||
|
01-10-2012, 12:23 PM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C300/A300
Flac plays fine here. (A-300--Marantz NR1501). Even when uploading hundreds of jpg's to the NMT.
|
|||
|
01-12-2012, 07:03 PM
(This post was last modified: 01-12-2012 07:05 PM by sorpio.)
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C300/A300
Jeez can't get this to work on my Synology NAS (SMB share muziek) internal disc does work but with the provided link for network drives I can not seem to get it to work /localhost.drives/NETWORK_SHARE/muziek. Anybody got an idea?
Code: Networked disk |
|||
|
01-12-2012, 07:09 PM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C300/A300
This is probably your problem:
Starting Music Player Daemon: music directory is not a directory: "/opt/sybhttpd /localhost.drives/NETWORK_SHARE/muziek" In my case, even though the share was labeled Music and all, as far as my A300 was concerned, the share is called share1. Also, it does not exist on a reboot, you have to manually launch the share for share1 to be there. Do the telnet steps shown above somewhere (or in the C200/A200 thread) and you can see what it actually is. A-300 via HDMI to a Denon AVR 3311Ci. Samsung 46B750 TV. |
|||
|
01-12-2012, 07:51 PM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C300/A300
Hmm pardon my ignorance but can't seem to find what you're pointing me to ,any directions? Much obliged!
|
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]




![[Image: btn_donateCC_LG.gif]](https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif)



![[+]](images/collapse_collapsed.gif)




It works! Thanks! I was looking to get this installed ever since going from my old HDX-1000 to my new PCH A300.


