Official Xtreamer Forums: mpd - Music Player Daemon package discussion - Official Xtreamer Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

mpd - Music Player Daemon package discussion All about mpd and its web client client175

#1 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 29 July 2010 - 14:35

Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music. Through plugins and libraries it can play a variety of sound files while being controlled by its network protocol.

http://mpd.wikia.com...yer_Daemon_Wiki

For it you first need and USB sound adapter plugged into your eTRAYz USB port. More info about on which one I used here:

http://forum.xtreame...ngs-yes-he-can/

Its an application that builds database of your songs (can play mp3, ogg and flac files) and stream them to sound card. You can control it with integrated console based client called ncmpc. Type in console to run it after you started mpd process:

ncmpc.sh


Posted Image

Alternative to that is a realy nice Web client called client175:

Posted Image

Another alternative is a Firefox addon called Minion:

Posted Image

Realy cool stuff. And tons of option I haven't explored yet.

Drivers for your USB card should be autostarted when your first start mpd process.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#2 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 18 January 2011 - 20:16

I have updated MPD package with latest version 0.16.1. Included is the new module vpeter made. I also updated the ncurses client ncmpc.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#3 User is offline   Vainee 

  • Newbie
  • Group: Members
  • Posts: 1
  • Joined: 03-January 11
  • Country:Czech Republic

Posted 16 February 2011 - 01:56

Hi, I like the mpd, I use it on my PC. I would like to install it on my Xtreamer SideWinder. You have already installed it on eTRAYz, do you think it is possible to do it also for SideWinder? I tried to use XMP pack, but when I try to install mpd package (and lot of other requirements), I broke it and I had to use an emergency upgrade. I would appreciate any hint.
0

#4 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 16 February 2011 - 05:57

Not from my side. Contact XMP authors.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#5 User is offline   outkastm 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 08-December 09
  • City:Oud-turnhout
  • Country:Belgium

Posted 10 March 2012 - 14:40

Can we install some plugins to play AAC radio stream ?
eTRAYz
0

#6 User is offline   vpeter 

  • Developer and Modder
  • View blog
  • Group: Moderators
  • Posts: 3131
  • Joined: 09-October 09
  • City:basement
  • Country:Slovenia

Posted 10 March 2012 - 14:55

View PostVainee, on 16 February 2011 - 01:56, said:

Hi, I like the mpd, I use it on my PC. I would like to install it on my Xtreamer SideWinder.
It's not possible because third party application can't use sound output.
ShairPort emulates AirPort Express to receive AirPlay audio streams
Please vote for coreboot support on Xtreamer Ultra - coreboot replaces the proprietary BIOS with much faster one - would be great with OpenELEC -- seems this will newer happen
Projects: BBC iPlayer , SVTPlay, my OpenELEC version
normal user, software developer and integrator
You can support my work with paypal donation


#7 User is offline   outkastm 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 08-December 09
  • City:Oud-turnhout
  • Country:Belgium

Posted 13 March 2012 - 13:34

There is a new version available, can u update please ? And maybe you can add suport for AAC http radio streams. Thang You.
eTRAYz
0

#8 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 13 March 2012 - 13:49

I can't add custom support for codecs. Only the ones available in source. Will see what I can do with new version.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#9 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 13 March 2012 - 16:26

This will be online soon:

# mpd -V
mpd (MPD: Music Player Daemon) 0.16.7

Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright (C) 2008-2010 Max Kellermann <max@duempel.org>
This is free software; see the source for copying conditions.  There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Supported decoders:

[mad] mp3 mp2
[mpg123] mp3
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[faad] aac
[mp4ff] m4a m4b mp4
[wavpack] wv
[ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav wma wmv wsaud wsvga wv wve

Supported outputs:

null fifo oss httpd recorder

Supported encoders:

null vorbis lame wave flac

Supported archives:

bz2

Supported protocols:

file:// http:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps://


Does it now include all that you need?
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#10 User is offline   outkastm 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 08-December 09
  • City:Oud-turnhout
  • Country:Belgium

Posted 14 March 2012 - 08:29

Thank You very much. Everything will be perfect.
eTRAYz
0

#11 User is offline   outkastm 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 08-December 09
  • City:Oud-turnhout
  • Country:Belgium

Posted 14 March 2012 - 10:01

Testing now, AAC streams plays fine. My mistake i didn't see that streams i want to play are encoded in AACP :( . Do you think we can get get that working ?
eTRAYz
0

#12 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 14 March 2012 - 10:05

Check homepage of software:

http://mpd.wikia.com...yer_Daemon_Wiki

You should get info what it is capable of there.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#13 User is offline   outkastm 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 08-December 09
  • City:Oud-turnhout
  • Country:Belgium

Posted 09 April 2012 - 15:23

There is a new version available. Can You update please ? Thx.
eTRAYz
0

#14 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 09 April 2012 - 15:55

Yes I can. Already did. Give it a test.

PS: Fix your avatar image.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#15 User is offline   mike2nl 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 12-November 11
  • City:Utrecht
  • Country:Netherlands

Posted 07 July 2012 - 08:18

Some trouble with the playlists write rigths:

------------------------------------------------------------------------------
Login in ssh console via putty as: sysadmin
because i can't login with root. Used pw as admin, but not working.

------------------------------------------------------------------------------
When i use ncmpc.sh and have added two or three mp3 songs to the playlist,
and will save this list with SHIFT-S, then i get permission denied.

------------------------------------------------------------------------------
There are also the same issue with the mpd.state file.

mpd.log tells me:
- date: state_file: failed to create /home/sysadmin/.mpd/mpd.state: Permission denied

also i get in mpd.log:
- date: decoder_thread: Unrecognized URI
But i think that's an issue with the sample rate. Not the issue at all.

------------------------------------------------------------------------------
I installed the MPD Music Player Deamon from the list, shown in the APP Installer

eTrayz firmware: Ver.1.0.7-official
eTrayz APP Installer: Ver 2.05

Possible someone has an idea and can help out. Thank You...

This post has been edited by mike2nl: 07 July 2012 - 08:19

0

#16 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 07 July 2012 - 08:23

Type this in console:

chmod 777 -R /home/sysadmin/.mpd/


And try again.

If still not working then login to SSH as user root using your sysadmin password.

Let me know if it worked.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#17 User is offline   mike2nl 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 12-November 11
  • City:Utrecht
  • Country:Netherlands

Posted 07 July 2012 - 09:17

View PostTheHijacker, on 07 July 2012 - 08:23, said:

Type this in console:

chmod 777 -R /home/sysadmin/.mpd/


And try again.

If still not working then login to SSH as user root using your sysadmin password.

Let me know if it worked.


1st Thanks for the help so far.

For chmod 777 -R /home/sysadmin/.mpd/ i get:
chmod: changing permissions of '/home/sysdamin/.mpd/playlists': Operation not permirred
same for: mpd.log, mpd.db and mpd.state

When i login with root and the same password as sysadmin (that password works) i get:
- Access denied

Password for the time being is 'XXXXX'. Is there the problem about the '!'?

This post has been edited by TheHijacker: 07 July 2012 - 09:21
Reason for edit: Don't show your password!

0

#18 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 07 July 2012 - 09:22

Try this then:

sudo chmod 777 -R /home/sysadmin/.mpd/


But you should be able to login as root also using your sysadmin password. If not login as sysadmin and type:

su

My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#19 User is offline   mike2nl 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 12-November 11
  • City:Utrecht
  • Country:Netherlands

Posted 07 July 2012 - 09:35

View PostTheHijacker, on 07 July 2012 - 09:22, said:

Try this then:

sudo chmod 777 -R /home/sysadmin/.mpd/


But you should be able to login as root also using your sysadmin password. If not login as sysadmin and type:

su


Ahh, yes.. that has fixed it: sudo chmod 777 -R /home/sysadmin/.mpd/
old times gentoo and debian come up.

But su or su root doesn't work at all with that password.
I think i will backup all the files and do a complete restart at all from out of the box.
Possible something goes wrong in the system. But i will report this later how it is working with root.
Thanks so far to help out....

This post has been edited by mike2nl: 07 July 2012 - 13:12

0

#20 User is offline   mike2nl 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 12-November 11
  • City:Utrecht
  • Country:Netherlands

Posted 09 July 2012 - 07:13

View PostTheHijacker, on 07 July 2012 - 09:22, said:

But you should be able to login as root also using your sysadmin password. If not login as sysadmin and type:
su


I have made a complete new install from up the setup.exe with bin file.

After i had setup the system step by step with the wizzard, i was able to
login with sysadmin. I have changed the apssword for sysadmin to: ;-).

Then login with putty via ssh as sysadmin on Windows 7 Ultimate.

With su or su root with the new password i get: Access denied
Also with su passwd root and a new password i had no chance.
Then the login with root under putty was also not possible. Everytime i get Access denied.

I have tested it from ># and from > cd /usr/bin then with su root: Access denied

There must be something wrong i think. Do you have any ideas what's going on?

UPDATE:
After i had installed WinScp now under Windows 7 Ultimate, i can connect as root.
Strange, very strange. Because i have the latest putty.exe. When i use putty
directly i have no chance. When i use putty via WinScp it is working.

What is that? I am crazy or stupid ;-)...

This post has been edited by mike2nl: 09 July 2012 - 15:56

0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users