Post Reply 
Java MediaPlayer
02-04-2015, 14:44
Post: #11
RE: Java MediaPlayer
(02-04-2015 09:43)PeteManchester Wrote:  
(02-04-2015 01:51)iq_av Wrote:  Hi Pete:
I am not able to find the mediaplayer folder. When I installed it on my RPI2, it did not install it on the /home/pi folder but some where else. I do something in the /usr/bin but kept on getting an error saying that its not a folder, even when I login as root. Any ideas.
Thanks,
Ahmed

Hi Ahmed,

It's a bit hard to understand what you have done and what you were trying to do, but if you run this command

Code:
sudo find / -name mediaplayer.jar

it will tell you if you have the mediaplayer.jar file on the file system and where it is.

I would recommend that for your first install you follow the instructions here:

https://github.com/PeteManchester/MediaP...spberry-Pi

Guus has also put together some very good instructions here

https://github.com/guussie/PiDS/wiki/RPi...l-Streamer

Have a look at 'Building the Software'

And of course if you have any more questions please ask.

Once you have it working, then you can try changing the file locations etc if you need to.

Thanks,

Pete.
My apologies for not providing the full context and I did make some progress last night also. MY goal is to create a music server based on RPI2(not B+) along side Cirrus Logic Audio Card. Ragnar Johnson had created a new Rasbian image that works with this card. I need to have a media player installed on RPI2 along side BubbleUPnp Server, so that I can have the media player configured as a open home renderer. My RPI2 is connected to an Onkyo AVR through SPDIF cable. I had previously installed MPD and MPC on RPI2 and got them to work but can not find them through BubbleUPnp. Then I had installed Upmpdcli and also minidlna, but they were not helpful either. Yesterday I had removed Upmdcli and minidlna and wanted to focus on MediaPlayer. I had followed the instructions btw and installed the package using apt-get install mplayer. I did see the instructions as follows:-
Copy the Release/mediaplayer folder to the /home/pi/ directory (this should include the mediaplayer_lib directory)
Change directory to /home/pi/mediaplayer
cd /home/pi/mediaplayer

So after my panic post, I looked up instructions and cloned the GIT repository in its entirety in my RPI2 /home/pi/tmp folder and created a mediaplayer folder now in /home/pi. At this point I can run the /run.sh manually but I am not able to setup the services using the following command:-
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

The commands execute without error but when I try to run the service, they complain that the files do not exist. So I will check to make sure that my folder notations are correct. My orignial point was that after installing through apt-get install mplayer command, should I see the /mediaplayer folder in the /home/pi and I found out that I would not be able to, until I pull down the repository from GIT.
One area that I seek your help is, OK, I got this installed and running, but how do I use it. Also if you have comments on setting the service properly, I would appreciate it. I will read through the other article that you had posted. Thanks for chiming in.

Ahmed
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)