User(s) browsing this thread: 3 Guest(s)
|
[200] Music Player Daemon (MPD)
|
|
01-27-2012, 07:22 AM
(This post was last modified: 02-03-2012 07:37 AM by vventuree.)
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C200/A200
I have been studing this topic for quite a long time. I summarized as below steps. Here is my status:
1. install CSI (done) 2. install opkg (done) 3. telnet myC200_IP_address 4. telnet# cd / 5. telnet# opkg update (done) 6. telnet# opkg install busybox (done) 7. telnet# opkg install mpd (done) But I tried manually stop and start again, I got the following messages: telnet# /share/Apps/local/etc/init.d/99mpd.sh stop telnet# /share/Apps/local/etc/init.d/99mpd.sh start >> Failed to bind to '0.0.0.0:6600' address already in use I supposed the correct C200 IP address is not taken. check if MPD is running: telnet# ps -ef | grep mpd Does anyone know why and how to solve it? By the way, how can I uninstall busybox and mpd? PCH-C200, 2.5" 500G Segate internal HD, Denon AV Amp, Panasonic AE-500 Projector. |
|||
|
02-01-2012, 03:04 PM
(This post was last modified: 02-02-2012 04:29 AM by vventuree.)
|
|||
|
|||
RE: [Apps] Music Player Daemon (MPD) C200/A200
(01-27-2012 07:22 AM)vventuree Wrote: I have been studing this topic for quite a long time. I summarized as below steps. Here is my status: After some works and very long time effort, I FINALLY MADE IT WORK!!C200+MPoD!! Thank all the developers! This is really awesome!! The reminding questions are: 1. How to uninstall? Just delete the folders? 2. How to update music database if make some changes? 3. How the album cover be shown on MPoD? Some of the album does not show cover picture correctly. Thank you!! PCH-C200, 2.5" 500G Segate internal HD, Denon AV Amp, Panasonic AE-500 Projector. |
|||
|
02-01-2012, 03:43 PM
|
|||
|
|||
RE: [Apps] Music Player Daemon (MPD) C200/A200
(02-01-2012 03:04 PM)vventuree Wrote:(01-27-2012 07:22 AM)vventuree Wrote: I have been studing this topic for quite a long time. I summarized as below steps. Here is my status: 1. Don't know maybe some one else I use Mpad, but I think the settings are compareble. 2. With MPod, there should be a setting/button to update the mpd db 3. I'm still trying this myself. With the connection settings you can select, where to fetch the album art. Also Mpad has a button to reload the Album art. I'm doing some test to add album art to the PCH album dir and display this. (have to fight over the Ipad with the Kids, so it takes a while) I think, local album art is the best option, you can decide yourself what picture it is. How did you solve "Failed to bind to '0.0.0.0:6600' address already in use" Media Player: Popcorn Hour C-200, Lite-On iHOS104, WD Scorpio Blue 750GB |
|||
|
02-02-2012, 04:42 AM
(This post was last modified: 02-02-2012 05:07 AM by vventuree.)
|
|||
|
|||
RE: [Apps] Music Player Daemon (MPD) C200/A200
(02-01-2012 03:43 PM)Onraed Wrote:I have currently 572 album folders with ~4000 music files in database. I did use local album art (always name: folder.jpg at the same folder as album music files) for most of my collections. However, I found MPoD did not refer to my local album art and always get it thru internet, so some of them are blank even I have local album art. What's the correct file structure and naming for MPoD album art serach? MPoD is free app, but Mpad is charged. So I used MPoD.(02-01-2012 03:04 PM)vventuree Wrote: After some works and very long time effort, I FINALLY MADE IT WORK!! ![]() I just reboot the system to fix that "0.0.0.0" issue.
PCH-C200, 2.5" 500G Segate internal HD, Denon AV Amp, Panasonic AE-500 Projector. |
|||
|
02-02-2012, 11:00 AM
(This post was last modified: 02-02-2012 11:35 AM by Onraed.)
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C200/A200
Hi,
I was experimenting a bit, but I can't get it to work (yet). After reading this I'm not sure if it's implemented. http://www.katoemba.net/makesnosenseatal...-and-mpad/ Maybe the developers can help, got some local music on my system that's unknown to the album art profiders. edit: As I understand it there is need of an webserver edit 2: does any body know or is any body able to test this. this goes beyond my knowledge of Linux http://www.symphonic-net.com/kubotayo/ar...empd.html# Media Player: Popcorn Hour C-200, Lite-On iHOS104, WD Scorpio Blue 750GB |
|||
|
02-02-2012, 11:55 AM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C200/A200
Hey,
The album art can be provided from the PCH. However, you need a webserver for this. On my A-300 I ended up adding it to one of the webservers already running (don't know by heart which one that is). On the mpad/mpod, you need to add the URL to that webserver with the path (http://PCH:1234/Music - PCH is hostname / IP address - 1234 is the port the webserver is listening on - /Music is the alias configured in the webserver to point to the music directory) And I noticed that you also need to set the filename to Folder.jpg (CaPiTaLiZaTiOn IS important - Setting this to folder.jpg will not find Folder.jpg). Mpad / mpod state that it defaults to Folder.jpg, but my impression is that it doesn't. Anyway it is safer to set it explicitely. How to add the correct configuration to the webserver is explained indeed at the official site (and already linked above), but here goes:http://www.katoemba.net/makesnosenseatal...-and-mpad/ You can always easily test the webserver connection. If you try to browse to the webserver yourself (any browser will do): http://PCH:1234/Music/Tool/Opiate/Folder.jpg --> If this does not work, mpad /mpod will not find it either. (Again capitalization is important) Hope this helps. H. |
|||
|
02-03-2012, 03:35 AM
|
|||
|
|||
RE: [Apps] Music Player Daemon (MPD) C200/A200
(02-02-2012 11:55 AM)Hendershot Wrote: Hey, Thank you Hendershot! Because I had local cover art, so I tried to figure out to get it from local. In MPoD, there is a "Local Cover Art" section. It required below info as you mentioned: URL: myC200IP_address:1234/music Cover Filename: my case is => folder.jpg (default is Folder.jpg) If my music database in C200 is like: /share/music/CD MUSIC/(artists)/(album)/***.flac, what should I put in my URL to replace "music" at above? Is "1234" at above URL example true? or how should I know which port I should use? thank you PCH-C200, 2.5" 500G Segate internal HD, Denon AV Amp, Panasonic AE-500 Projector. |
|||
|
02-03-2012, 08:34 AM
(This post was last modified: 02-03-2012 08:36 AM by Hendershot.)
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C200/A200
Hey,
All that depends on the settings you do in your webserver. The alias you create in the webserver should match the directory you configured for mpd. If this is /share/music/CD MUSIC should add an alias to that location. If it is /share/music, you should set the alias to that location. So in the httpd.conf either: Alias /music/ "/share/music/" or: Alias /music/ "/share/music/CD MUSIC" --> This alias will then be made available by your webserver (after restart). Take a look at the link provided in the previous post to set other settings in the httpd.conf to get permissions correct. Also in the httpd.conf, you should search for the correct port (1234 was just an example), probably something like: Listen 2080 --> in this case the port would be 2080 To construct the correct URL: http://IP:PORT/ALIAS Example if IP would be 192.168.1.100; http://192.168.1.100:2080/music The way it works is as follows: mpad knows the location of the mp3 files (relative to the path set in the mpd configuration). mpad will then browse to the URL provided and add the same directory as the location of the mp3 file and add the cover filename. Again in the example this would lead to (assuming mpd configured to be inside CD MUSIC): Code: http://192.168.1.100:2080/music/(artist)/(album)/folder.jpgCode: http://192.168.1.100:2080/music/CD MUSIC/(artist)/(album)/folder.jpgThat should do the trick. Again try the URL in a browser. If that is not working, you need to make sure that the webserver is configured correctly AND the URL is correct. Hope this helps. H. |
|||
1 user says Thank You to Hendershot for this post |
|
02-03-2012, 08:50 AM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C200/A200
Ah, thank you Hendershot,
so the question know is, is there a web-server available in the PCH-c200 which can do this. and is this available from CSI, OPkg, or pre installed. and where to find the config file and how to edit. Is there someone who can help ? Media Player: Popcorn Hour C-200, Lite-On iHOS104, WD Scorpio Blue 750GB |
|||
|
02-04-2012, 10:03 AM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C200/A200
Hey,
Not sure about the 200 series as I have a A-300. I instaled a lighttpd through opkg. The httpd.conf is located at: /share/Apps/AppInit/httpd.conf And is quite easy: Code: Port 9999This means the following directory is available for browsing: /share/Apps/AppInit/websites Luckily it allows to follow links. So what I did is the following: go to that directory and link the directory: Code: cd /share/Apps/AppInit/websitesP.S. I do not know if installation will result in the same structure on the A-200. After installation, you can always search for the httpd.conf file by looking at the process: Code: ps -ef | grep httpdCode: 1724 nobody 0:00 /share/Apps/local/sbin/lighttpd -f /share/Apps/local/etc/lighttpd/lighttpd.conf -m /share/Apps/local/lib/lighttpd/The -f shows the location of the httpd.conf. So all I did was install lighttpd & create a link to get my music directory available through http. Hope this helps. H. |
|||
3 users say Thank You to Hendershot for this post |
|
02-04-2012, 02:41 PM
|
|||
|
|||
RE: [Apps] Music Player Daemon (MPD) C200/A200
(02-04-2012 10:03 AM)Hendershot Wrote: Hey, Hi H. Thank you again for the info. I made it work!! What I did at C200 are: - Install lighttpd thru CSI (it's already done before) - telnet to PCH-C200 # cd /share/Apps/AppInit/websites # ln -s /share/Music music (be carefule about CaPiTiLiZaTiOn) What I did in MPoD are: URL: http://myC200IP:9999/music cover filename: folder.jpg Then it WORKS!!!! Great and appreciate!! Last question is will the "ln -s" info still exist after reboot? how to keep it after reboot? Write into http.conf? PCH-C200, 2.5" 500G Segate internal HD, Denon AV Amp, Panasonic AE-500 Projector. |
|||
1 user says Thank You to vventuree for this post |
|
02-04-2012, 03:20 PM
|
|||
|
|||
RE: [Apps] Music Player Daemon (MPD) C200/A200
(02-04-2012 02:41 PM)vventuree Wrote: Then it WORKS!!!! ln -s will exist after reboot, because you are doing in the internal SATA_DISK/USB_DISK and not the system partition which will lost after reboot. Sriram C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730 |
|||
2 users say Thank You to vaidyasr for this post |
|
02-05-2012, 03:21 AM
|
|||
|
|||
RE: [Apps] Music Player Daemon (MPD) C200/A200
(02-04-2012 03:20 PM)vaidyasr Wrote:(02-04-2012 02:41 PM)vventuree Wrote: Then it WORKS!!!! Great! Glad to hear that! Thank you, Vaidyasr to make all the S/W developped. After almost 2 years waiting, I finally made it happen to my C200 and iPHone. Wonderful! PCH-C200, 2.5" 500G Segate internal HD, Denon AV Amp, Panasonic AE-500 Projector. |
|||
|
02-05-2012, 11:23 AM
|
|||
|
|||
|
RE: [Apps] Music Player Daemon (MPD) C200/A200
After a struggle of several hours, I made it work.
I thought, I had to made some change to the .conf file. so after reinstalling opkg, mpd and lighthttp. and giving the shell commands it's working. thank you Vaidyasr, Hendershot and vventuree. I now know it for sure, I have to find a way to boost my linux knowledge. Media Player: Popcorn Hour C-200, Lite-On iHOS104, WD Scorpio Blue 750GB |
|||
|
02-06-2012, 10:55 AM
|
|||
|
|||
RE: [Apps] Music Player Daemon (MPD) C200/A200
(02-05-2012 11:23 AM)Onraed Wrote: After a struggle of several hours, I made it work. Actually, I think it works for 95%. I found some of my local folder contains cover art, but MPoD did not catch them. However, it works at least 95%. PCH-C200, 2.5" 500G Segate internal HD, Denon AV Amp, Panasonic AE-500 Projector. |
|||
|
« Next Oldest | Next Newest »
|

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


.png)



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





