Post Reply 
Java MediaPlayer
03-04-2015, 09:51
Post: #12
RE: Java MediaPlayer
Hi Ahmed,

Thanks for the description.

It's probably best to start with an overview. MPD and mplayer are both audio players, the can play a wide range of formats but neither provide support for UPNP or Open Home playlist support. My Java Mediaplayer is a layer that can be added on top of either MPD or mplayer to provide support for UPNP and Open Home playlist (it does a lot more as well such as support Airplay, Songcast a Radio provider and numerous plugins, but that is just me adding a shameless advert for my MediaPlayer..).. So you can install MPD and or mplayer but you also need to install my Java MediaPlayer.

Between MPD and mplayer I prefer MPD because it supports gapless playback.

I see that you have cloned the full repository, that would work, but you could just download the zip files from either the Beta directory

https://github.com/PeteManchester/MediaP...nload/beta


or the Release directory.

https://github.com/PeteManchester/MediaP...ad/release

The Release version is a more stable version, the beta is a bit more experimental, but has some new features and fixes.

The problem with the services scripts is that in certain circumstances there are ^M characters added to the end of lines, I am working to fix this, but in the mean time there is a workaround where from the scripts directory you run these two commands:

Code:
sed -i 's/\r$//g' mediaplayer.init
sed -i 's/\r$//g' mediaplayer.sh

These remove the ^M characters.

You can then run the following commands to install the service:

Code:
sudo install -m 755 -T mediaplayer.init /etc/init.d/mediaplayer
sudo install -m 755 -T mediaplayer.sh /usr/local/bin/mediaplayer
sudo insserv mediaplayer

Let me know if this works..



Once you have it working, you can use a control point such as Kazoo or Kinksy.
You should see the Java MediaPlayer, the name will be the name you have configured in the /home/pi/mediaplayer/app.properties config option

mediaplayer_friendly_name=Default

For that MediaPlayer you should then be able to select the Playlist and then from your media server (MinimServer?) tab add track to the Playlist and start them playing

Let me know if you need more details, it easier to do than to try and explain..

Thanks again,

Pete.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Java MediaPlayer - PeteManchester - 20-04-2014, 11:01
RE: Java MediaPlayer - simoncn - 20-04-2014, 12:15
RE: Java MediaPlayer - PeteManchester - 20-04-2014, 16:14
RE: Java MediaPlayer - Cableguy - 28-05-2014, 14:06
RE: Java MediaPlayer - PeteManchester - 29-05-2014, 09:36
RE: Java MediaPlayer - PeteManchester - 29-05-2014, 16:52
RE: Java MediaPlayer - Cableguy - 30-05-2014, 13:28
Java MediaPlayer - PeteManchester - 12-06-2014, 17:46
RE: Java MediaPlayer - iq_av - 02-04-2015, 01:51
RE: Java MediaPlayer - PeteManchester - 02-04-2015, 09:43
RE: Java MediaPlayer - iq_av - 02-04-2015, 14:44
RE: Java MediaPlayer - PeteManchester - 03-04-2015 09:51
RE: Java MediaPlayer - iq_av - 06-04-2015, 02:30
RE: Java MediaPlayer - PeteManchester - 07-04-2015, 10:06
RE: Java MediaPlayer - iq_av - 25-04-2015, 03:29
RE: Java MediaPlayer - PeteManchester - 25-04-2015, 08:23
RE: Java MediaPlayer - iq_av - 25-04-2015, 12:50
RE: Java MediaPlayer - Cableguy - 08-05-2015, 21:52
RE: Java MediaPlayer - Cableguy - 08-05-2015, 23:03
RE: Java MediaPlayer - PeteManchester - 15-05-2015, 15:23
RE: Java MediaPlayer - MRA45 - 02-06-2015, 18:27
RE: Java MediaPlayer - PeteManchester - 03-06-2015, 12:28
RE: Java MediaPlayer - bruemmer - 12-01-2016, 12:41
RE: Java MediaPlayer - trondis23 - 19-02-2016, 15:11
RE: Java MediaPlayer - bruemmer - 21-02-2016, 10:24

Forum Jump:


User(s) browsing this thread: 1 Guest(s)