User(s) browsing this thread: 1 Guest(s)
| Poll: Was the installation succesful? This poll is closed. |
|||
| Yup, everything is working fine. | ![]() ![]() |
27 | 57.45% |
| No, but I fixed it. | ![]() ![]() |
2 | 4.26% |
| No, it's broken :-( | ![]() ![]() |
7 | 14.89% |
| I don't know how to install MPD. | ![]() ![]() |
11 | 23.40% |
| Total | 47 votes | 100% | |
| * You voted for this item. | [Show Results] |
|
Music Player Daemon (MPD) 2010-04-04 v0.15.9
|
|
04-04-2010, 01:09 PM
(This post was last modified: 04-09-2011 11:02 PM by shadowcode.)
|
|||
|
|||
|
Music Player Daemon (MPD) 2010-04-04 v0.15.9
Hello all, I've finally gotten around to compile, test and package 0.15.9. These will NOT work on the C200 or A200 (or any other 200 series. ONLY on the 100 series). Please refer to the 200 series forum for more information. Download:
About This is MPD version 0.15.9 modified for the NMT and CSI support, check the changelog here The following features were enabled:
Installation Instructions Once enough people confirmed that the packages are working as expected (I need 5 replies, at least) I'll ask somebody to host them so that they appear in the CSI package browser. Until then, the only way to install MPD is through the "Manual Package Installation" instructions below. Manual Package Installation
Known Issues
Source Code was built from: MPD 0.15.9 from http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki, with the following patch applied.Which was derived from:
Uh oh, it doesn't work! Bugger. I need the following files from you;
Okay, and now for some tech info; Compiled with: Code: --with-faad --enable-mad --with-libOggFLAC --enable-lastfm --enable-mms --enable-ffmpeg --enable-shoutCode: -O3 -ffast-math -march=mips32r2 -mtune=mips32r2Config output: Code: ########### MPD CONFIGURATION ############What MPD is saying: Code: @mediatank mpd# LD_LIBRARY_PATH=lib bin/mpd -v -V Log: Accessible at http://mediatank:9999/mpd/log.txt Obviously replace 'mediatank' with your mediatank IP or hostname. Thoughts:
|
|||
7 users say Thank You to shadowcode for this post |
|
04-04-2010, 05:51 PM
|
|||
|
|||
|
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
looks great! im gonna give it a test.
does this have last.fm support? can i play streams from last.fm with it? |
|||
|
04-04-2010, 05:57 PM
|
|||
|
|||
|
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
Installing both packages mpd says at startup "Environment variables MPD_HOST and/or MPD_PORT not set", while port is set in the config and MPD_HOST is not part of the config file.
Further I noticed that the plugin is not installed in the default location mpd/plugins but somewhere outside the mpd-directory structure. I also noticed that the daemon.sh was changed from the version that AlanH made (sleeps were added, several other lines were removed, different log-location was added) I reverted back to the version that AlanH made originaly. - 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 |
|||
|
04-04-2010, 06:06 PM
(This post was last modified: 04-04-2010 06:14 PM by shadowcode.)
|
|||
|
|||
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
(04-04-2010 05:51 PM)mercenary Wrote: looks great! im gonna give it a test.Yup. Start with the step #4 here (04-04-2010 05:57 PM)avanegmond Wrote: Installing both packages mpd says at startup "Environment variables MPD_HOST and/or MPD_PORT not set", while port is set in the config and MPD_HOST is not part of the config file.What startup? Iirc that's MPC-ird complaining, not MPD, and usually due mpc not being able to connect yet. I noticed that if you give it some time (hence the sleep) it connects fine. This is probably only an issue if you want ir support, of which I'm not even sure if that still works (or who even developed it). (04-04-2010 05:57 PM)avanegmond Wrote: Further I noticed that the plugin is not installed in the default location mpd/plugins but somewhere outside the mpd-directory structure.There is no default location at all. In fact, we can't distribute the plugin and MPD together, hence the two packages. The MPDAudioOutput plugin (presumably the other location you mention merely copies the plugin file to the plugin folder on install). If for some reason your plugin file was missing in the plugin folder after installation, something went wrong with your installation but I do not know what. Got the logs for me? (04-04-2010 05:57 PM)avanegmond Wrote: I also noticed that the daemon.sh was changed from the version that AlanH made (sleeps were added, several other lines were removed, different log-location was added)That is correct. Mind that these are the same scripts as the previous package, though. |
|||
1 user says Thank You to shadowcode for this post |
|
04-04-2010, 07:09 PM
|
|||
|
|||
|
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
just installed , work great with few tests - thanks for this package
- i even have the problem , with my 2 libraries - music and music_test which couldn't be added both in config file - so i do always stop and start with new config and database , not too difficult, but i should remember each time with what database and library i'm playing again great |
|||
|
04-04-2010, 07:51 PM
|
|||
|
|||
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
(04-04-2010 07:09 PM)jluc2808 Wrote: just installed , work great with few tests - thanks for this package Remind me again of what you were trying to accomplish? Do you want one single database with both music and music_test? Or do you actually want two seperate databases? |
|||
|
04-04-2010, 08:36 PM
|
|||
|
|||
|
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
First I installed on top of the previous version. It didn't appear to pickup the previous database, even though it was still there. Maybe if I'd just been a bit more patient it would have..
But I wasn't: uninstalled, rebooted, installed from scratch, ran top to check while it was rebuilding the database, everything's fine now. |
|||
|
04-04-2010, 09:25 PM
(This post was last modified: 04-04-2010 09:26 PM by jluc2808.)
|
|||
|
|||
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
(04-04-2010 07:51 PM)shadowcode Wrote: Remind me again of what you were trying to accomplish? Do you want one single database with both music and music_test? Or do you actually want two seperate databases?i would like one single database with both music and music_test inside, because of the path i couldn't use links, the skin which use this feature know the real path not the links, and second problme is that a lot of album are the same , artist/album/song are misunderstanded as same and doesn't create a new entry in the database |
|||
|
04-04-2010, 09:48 PM
(This post was last modified: 04-04-2010 09:52 PM by avanegmond.)
|
|||
|
|||
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
(04-04-2010 06:06 PM)shadowcode Wrote:(04-04-2010 05:57 PM)avanegmond Wrote: Installing both packages mpd says at startup "Environment variables MPD_HOST and/or MPD_PORT not set", while port is set in the config and MPD_HOST is not part of the config file.What startup? Iirc that's MPC-ird complaining, not MPD, and usually due mpc not being able to connect yet. I noticed that if you give it some time (hence the sleep) it connects fine. This is probably only an issue if you want ir support, of which I'm not even sure if that still works (or who even developed it). This my log: Code: Client mpc already installed...mpd is running and responding though, so I don't know what the error is about. It is just that with the original AlanH-version I never got this error. EDIT: after restarting a few times I no longer get this error, but only the following remark shows Code: Client mpc already installed...If you want to get rid of the Update popup from CSI, change the version number in appinfo.json to something larger then 20090922. I changed it into 20100404 and now it remains quiet. (04-04-2010 05:57 PM)avanegmond Wrote: Further I noticed that the plugin is not installed in the default location mpd/plugins but somewhere outside the mpd-directory structure. Quote:There is no default location at all. In fact, we can't distribute the plugin and MPD together, hence the two packages. The MPDAudioOutput plugin (presumably the other location you mention merely copies the plugin file to the plugin folder on install). If for some reason your plugin file was missing in the plugin folder after installation, something went wrong with your installation but I do not know what. Got the logs for me? It is part of your install procedure. Within the mpd-directory structure there is a subdirectory called plugins. It seemed more logical to me to keep the audioplugin also within the mpd-directory structure instead of outside of it. Quote:That is correct. Mind that these are the same scripts as the previous package, though. I always used the AlanH original version to install the mpd for NMT. I also noticed that the mpd was installed as root. I can't remember if the AlanH version was also installed as root. But I had to change the permissions of the directories and files to be able to make local copies of config-files and to be able to put back a backup copy of my database. - 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 |
|||
|
04-04-2010, 10:13 PM
|
|||
|
|||
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
(04-04-2010 09:48 PM)avanegmond Wrote: mpd is running and responding though, so I don't know what the error is about. It is just that with the original AlanH-version I never got this error.Yup, actually, I'd probably just redirect the error output to /dev/null instead. Added the log symlink last-minute in case people run into problems and don't know how to access the MPD log. (04-04-2010 09:48 PM)avanegmond Wrote: If you want to get rid of the Update popup from CSI, change the version number in appinfo.json to something larger then 20090922. I changed it into 20100404 and now it remains quiet.The problem is that when the package goes live, then it will probably hide or replace the existing MPD package. I think that some people are still using that due to the USB support. I might rename this package to MPDNMT or something. (04-04-2010 05:57 PM)avanegmond Wrote: It is part of your install procedure.This is working as intended. As I said we can't distribute a single package with both MPD and the audio plugin, nor can we force a CSI package to install to a specific folder. In fact, what the plugin package does is simply copy the output plugin, so you should have two copies of the plugin on your nmt harddisk; one in the outputplugin dir and one in the mpd/plugins dir. (04-04-2010 05:57 PM)avanegmond Wrote: I always used the AlanH original version to install the mpd for NMT.All apps are started as root so all files that MPD create are also created as owned by root. Somehow CSI or the FTP server chowns the file to the nmt user. I noticed that other apps seem to happily chmod all files to 0777. Might do the same next time. |
|||
|
04-04-2010, 10:44 PM
(This post was last modified: 04-05-2010 08:36 AM by benzo.)
|
|||
|
|||
|
Installed manually :
- rename my old mpd directory - decompress archive mpd in directory Apps/mpd - decompress plugins in Apps/mpd/plugins directory and copy mpd.conf in Apps/etc - create empty Apps/mpd/database files - copy my old playlist in playlists directory - add export MPD_HOST=localhost; export MPD_PORT=6600 in daemon.sh and it works ... with all internet radios ... Yessss ! For CSI, I think it'll be easier to have only one package with mpd + plugins. Is it possible to enable playing .dts files ? |
|||
|
04-05-2010, 09:46 AM
|
|||
|
|||
|
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
It worked directly by following your instructions!
Thanks a lot man! |
|||
|
04-05-2010, 10:57 AM
|
|||
|
|||
|
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
last.fm support upiii
![]() does anyone know if music info from last.fm is showed by mpd ? about other playbacks ... will i be able to play http/mms streams like this one ? thanks for all your effort!
|
|||
|
04-05-2010, 01:06 PM
(This post was last modified: 04-05-2010 01:55 PM by awdkoers.)
|
|||
|
|||
|
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
Thank you for this. It rocks!
![]() 1. Deinstalled previous version using CSI 2. Installed the 2 packages using CSi 3. Used MPDJB frontend to play my mp3 and flac collection on my internal harddisk. I do not know what the differences are, i think some bug fixes, and solved memory leaks. In the previous version the songs started a bit distorted, that seems to be fixed. I'll have a look experimenting crossfading & volume balancing. I noticed in previous version the PCH will get quite hot, manipulating these settings. That's because of the slow CPU i guess. Thanks, Alex Configuration:
|
|||
|
04-05-2010, 02:52 PM
|
|||
|
|||
|
Hi,
thanks a lot for your effort ![]() well, i've got some good and some bad news. The Installation went flawlessly using your instructions, except that there's still that old annoying version of mpd around in the csi repository you mentioned, which is presented as an update. The problem with hdmi audio initialization is still there. I need to play something using the internal player before using mpd or connect my AV receiver via SPDIF in addition to hdmi. Mp3 and flac playback work fine as they did before. Ogg files do get indexed now and show up in the database yipppiee (they didn't before).But: Playback of ogg files is stuttering heavily and sounds a bit like in slow motion. So still no Ogg support for me ![]() I noticed a very high cpu usage of one of the mpd processes running during ogg playback, like 90% or even more. When playing mp3s, cpu usage is only 12 to 15%. Seems like my poor little hdx box ist somewhat overloaded with mpd/ogg. Is there anything i could do to get ogg files working? I *can* play ogg using the internal player, with all its disadvantages, but this isn't what most of us mpd users might want to do. MP3/4 and flac users will be happy with this new version i think. cheers, Tom |
|||
|
« Next Oldest | Next Newest »
|

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





.


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







