Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
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
06-04-2015, 02:30
Post: #13
RE: Java MediaPlayer
(03-04-2015 09:51)PeteManchester Wrote:  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.
Pete, thanks for taking the time to walk a newbee through this. It took me back a while when I used to work with Solaris on day to day basis but saw the commands to get rid of the Carrot M and then I was able to run the scripts. The init.d portion still giving me issues but its on my end. I am manually running the .run.sh and piping it to /dev/null. I am up and running and BubbleUPnP from the phone sees mediaplayer and I am able to stream Tidal through Mediaplayer. Thank you for creating a such a great product as you said it provides the mpd a layer that we all need. I will get rid of mplayer and keep on using mpd as you said it works just fine.

Ahmed
Find all posts by this user
Quote this message in a reply
07-04-2015, 10:06
Post: #14
RE: Java MediaPlayer
(06-04-2015 02:30)iq_av Wrote:  Pete, thanks for taking the time to walk a newbee through this. It took me back a while when I used to work with Solaris on day to day basis but saw the commands to get rid of the Carrot M and then I was able to run the scripts. The init.d portion still giving me issues but its on my end. I am manually running the .run.sh and piping it to /dev/null. I am up and running and BubbleUPnP from the phone sees mediaplayer and I am able to stream Tidal through Mediaplayer. Thank you for creating a such a great product as you said it provides the mpd a layer that we all need. I will get rid of mplayer and keep on using mpd as you said it works just fine.

Ahmed

Hi Ahmed,

No problem, I hope you enjoy the MediaPlayer..

It is indeed a bit like the old days of Solaris :-) at least I found a way to remove the ^M without using VI Wink

I am hoping to fix the ^M issue to make things easier during the install..

Thanks,

Pete.
Find all posts by this user
Quote this message in a reply
25-04-2015, 03:29
Post: #15
RE: Java MediaPlayer
Pete:
Do you have any suggestions as to how I can make BubbleUPnP on RPI2 to see MediaPlayer as a Renderer. It does that just fine on the Samsung Note 2 and I am enjoying streaming Tidal through MediaPlayer as a Renderer from the Note. But for some reason, when I use server version of the BubbleUPnP using the web browser to connect, it does not show MediaPlayer as a Renderer. I was hoping to use the server version as it is connected to the LAN via ethernet over the wifi connection.

Ahmed
Find all posts by this user
Quote this message in a reply
25-04-2015, 08:23
Post: #16
RE: Java MediaPlayer
(25-04-2015 03:29)iq_av Wrote:  Pete:
Do you have any suggestions as to how I can make BubbleUPnP on RPI2 to see MediaPlayer as a Renderer. It does that just fine on the Samsung Note 2 and I am enjoying streaming Tidal through MediaPlayer as a Renderer from the Note. But for some reason, when I use server version of the BubbleUPnP using the web browser to connect, it does not show MediaPlayer as a Renderer. I was hoping to use the server version as it is connected to the LAN via ethernet over the wifi connection.

Ahmed

Hi Ahmed,

I'm not sure why that would be, I've just tested on my setup and BuubleUPNP can detect my MediaPlayers,

An extract from the log output:


Code:
[cling-32        ] INFO     - 01:00:54.932 - c                           :

        Manufacturer: Made in Manchester
        Model name: Open Home Java Renderer: v0.0.8.7
        Presentation URL: http://127.0.1.1:8088
        UDN: device-Pi2-rpipi2-MediaRenderer

[main            ] INFO     - 01:00:55.95  - d                           : added Renderer device: Pi2
[cling-32        ] INFO     - 01:00:55.150 - c                           :

        Manufacturer: Made in Manchester
        Model name: Open Home Java Renderer: v0.0.8.7
        Presentation URL: http://127.0.1.1:8088
        UDN: device-Garden-rpistudy-MediaRenderer

[main            ] INFO     - 01:00:55.164 - d                           : added Renderer device: Garden
[qtp4813446-65   ] INFO     - 01:01:20.873 - b                           : com.bubblesoft.bubbleupnpserver.server.servlets.g-1add732: g
[qtp4813446-65   ] INFO     - 01:01:21.59  - d                           : added comet session: ipi3fojhrbvl185c41yvr2n92
[qtp4813446-65   ] INFO     - 01:01:21.75  - d                           : comet session already added: ipi3fojhrbvl185c41yvr2n92

[qtp4813446-66   ] INFO     - 01:02:07.239 - Options                     : successfully got WAN IP Address

[qtp4813446-69   ] WARNING  - 01:02:36.113 - a                           : Garden: Volume state variable not found
[qtp4813446-69   ] INFO     - 01:02:36.134 - a                           : Garden: supports SetNextAVTransportURI: true
[qtp4813446-69   ] INFO     - 01:02:36.372 - a                           : Garden: protocolInfo: http-get:*:audio/x-flac:*,http-get:*:audio/wav:*,http-g        et:*:audio/wave:*,http-get:*:audio/x-wav:*,http-get:*:audio/mpeg:*,http-get:*:audio/x-mpeg:*,http-get:*:audio/mp1:*,http-get:*:audio/aiff:*,http-get:*:a        udio/x-aiff:*,http-get:*:audio/x-m4a:*,http-get:*:audio/x-ms-wma:*,rtsp-rtp-udp:*:audio/x-ms-wma:*,http-get:*:audio/x-scpls:*,http-get:*:audio/x-mpegurl        :*,http-get:*:audio/x-ms-asf:*,http-get:*:audio/x-ms-wax:*,http-get:*:audio/x-ms-wvx:*,http-get:*:text/xml:*,http-get:*:audio/aac:*,http-get:*:audio/aac        p:*,http-get:*:audio/mp4:*,http-get:*:audio/ogg:*,http-get:*:audio/x-ogg:*,http-get:*:application/ogg:*,http-get:*:video/mpeg:*,http-get:*:video/mp4:*,h        ttp-get:*:video/quicktime:*,http-get:*:video/webm:*,http-get:*:video/x-ms-wmv:*,http-get:*:video/x-ms-asf:*,http-get:*:video/x-msvideo:*,http-get:*:vide        o/x-ms-wax:*,http-get:*:video/x-ms-wvx:*,http-get:*:video/x-m4v:*,http-get:*:video/x-matroska:*,http-get:*:application/octet-stream:*
[qtp4813446-69   ] INFO     - 01:02:36.472 - a                           : Garden: supported mime-types: [audio/x-flac, application/flac, audio/flac, ap        plication/x-flac, audio/wav, application/x-wave, audio/wave, application/wave, application/wav, application/x-wav, audio/x-wave, audio/x-wav, audio/mp3,         application/mp3, application/x-mp3, audio/mpg, audio/mpeg3, application/mpeg, audio/x-mp3, audio/x-mpegaudio, audio/mpeg, audio/x-mpeg3, audio/x-mpg, a        udio/x-mpeg, application/mpeg3, audio/mp1, application/mp1, application/aiff, audio/aiff, application/x-aif, application/aif, application/x-aiff, audio/        x-aifc, audio/x-aiff, audio/aif, audio/aifc, audio/x-aif, audio/m4a, audio/mp4, application/x-m4b, application/x-m4a, application/x-m4p, application/x-m        p4, audio/mpeg4, audio/x-m4b, audio/x-m4a, audio/x-m4p, audio/x-mp4, application/mpeg4, audio/x-ms-wma, application/x-ms-wma, application/wma, audio/wma        , audio/x-scpls, audio/x-mpegurl, audio/x-ms-asf, audio/x-ms-wax, audio/x-ms-wvx, text/xml, audio/aacp, audio/aac, audio/3gpp, audio/3gpp2, audio/x-aac,         audio/x-ogg, application/x-ogg, audio/vorbis, application/ogg, audio/ogg, video/mpeg, application/x-mpegurl, application/vnd.apple.mpegurl, video/mp4v-        es, video/mp4, video/3gpp, video/quicktime, video/webm, video/x-ms-wmv, video/x-ms-asf, video/x-ms-video, video/x-ms-avi, video/avi, video/x-msvideo, vi        deo/x-ms-wax, video/x-ms-wvx, video/x-m4v, video/x-mkv, video/mkv, video/x-matroska, application/octet-stream]
[qtp4813446-69   ] INFO     - 01:02:36.484 - a                           : Garden: AVTransport eventing enabled: false
[qtp4813446-69   ] INFO     - 01:02:36.498 - b                           : Garden: TransportState: Stopped
[qtp4813446-69   ] INFO     - 01:02:36.588 - e                           : started subscription callback for service (n) ServiceId: urn:upnp-org:service

Can UPNP see your mediaservers?

Could it be a network issue?

Cheers,

Pete.
Find all posts by this user
Quote this message in a reply
25-04-2015, 12:50
Post: #17
RE: Java MediaPlayer
(25-04-2015 08:23)PeteManchester Wrote:  
(25-04-2015 03:29)iq_av Wrote:  Pete:
Do you have any suggestions as to how I can make BubbleUPnP on RPI2 to see MediaPlayer as a Renderer. It does that just fine on the Samsung Note 2 and I am enjoying streaming Tidal through MediaPlayer as a Renderer from the Note. But for some reason, when I use server version of the BubbleUPnP using the web browser to connect, it does not show MediaPlayer as a Renderer. I was hoping to use the server version as it is connected to the LAN via ethernet over the wifi connection.

Ahmed

Hi Ahmed,

I'm not sure why that would be, I've just tested on my setup and BuubleUPNP can detect my MediaPlayers,

An extract from the log output:


Code:
[cling-32        ] INFO     - 01:00:54.932 - c                           :

        Manufacturer: Made in Manchester
        Model name: Open Home Java Renderer: v0.0.8.7
        Presentation URL: http://127.0.1.1:8088
        UDN: device-Pi2-rpipi2-MediaRenderer

[main            ] INFO     - 01:00:55.95  - d                           : added Renderer device: Pi2
[cling-32        ] INFO     - 01:00:55.150 - c                           :

        Manufacturer: Made in Manchester
        Model name: Open Home Java Renderer: v0.0.8.7
        Presentation URL: http://127.0.1.1:8088
        UDN: device-Garden-rpistudy-MediaRenderer

[main            ] INFO     - 01:00:55.164 - d                           : added Renderer device: Garden
[qtp4813446-65   ] INFO     - 01:01:20.873 - b                           : com.bubblesoft.bubbleupnpserver.server.servlets.g-1add732: g
[qtp4813446-65   ] INFO     - 01:01:21.59  - d                           : added comet session: ipi3fojhrbvl185c41yvr2n92
[qtp4813446-65   ] INFO     - 01:01:21.75  - d                           : comet session already added: ipi3fojhrbvl185c41yvr2n92

[qtp4813446-66   ] INFO     - 01:02:07.239 - Options                     : successfully got WAN IP Address

[qtp4813446-69   ] WARNING  - 01:02:36.113 - a                           : Garden: Volume state variable not found
[qtp4813446-69   ] INFO     - 01:02:36.134 - a                           : Garden: supports SetNextAVTransportURI: true
[qtp4813446-69   ] INFO     - 01:02:36.372 - a                           : Garden: protocolInfo: http-get:*:audio/x-flac:*,http-get:*:audio/wav:*,http-g        et:*:audio/wave:*,http-get:*:audio/x-wav:*,http-get:*:audio/mpeg:*,http-get:*:audio/x-mpeg:*,http-get:*:audio/mp1:*,http-get:*:audio/aiff:*,http-get:*:a        udio/x-aiff:*,http-get:*:audio/x-m4a:*,http-get:*:audio/x-ms-wma:*,rtsp-rtp-udp:*:audio/x-ms-wma:*,http-get:*:audio/x-scpls:*,http-get:*:audio/x-mpegurl        :*,http-get:*:audio/x-ms-asf:*,http-get:*:audio/x-ms-wax:*,http-get:*:audio/x-ms-wvx:*,http-get:*:text/xml:*,http-get:*:audio/aac:*,http-get:*:audio/aac        p:*,http-get:*:audio/mp4:*,http-get:*:audio/ogg:*,http-get:*:audio/x-ogg:*,http-get:*:application/ogg:*,http-get:*:video/mpeg:*,http-get:*:video/mp4:*,h        ttp-get:*:video/quicktime:*,http-get:*:video/webm:*,http-get:*:video/x-ms-wmv:*,http-get:*:video/x-ms-asf:*,http-get:*:video/x-msvideo:*,http-get:*:vide        o/x-ms-wax:*,http-get:*:video/x-ms-wvx:*,http-get:*:video/x-m4v:*,http-get:*:video/x-matroska:*,http-get:*:application/octet-stream:*
[qtp4813446-69   ] INFO     - 01:02:36.472 - a                           : Garden: supported mime-types: [audio/x-flac, application/flac, audio/flac, ap        plication/x-flac, audio/wav, application/x-wave, audio/wave, application/wave, application/wav, application/x-wav, audio/x-wave, audio/x-wav, audio/mp3,         application/mp3, application/x-mp3, audio/mpg, audio/mpeg3, application/mpeg, audio/x-mp3, audio/x-mpegaudio, audio/mpeg, audio/x-mpeg3, audio/x-mpg, a        udio/x-mpeg, application/mpeg3, audio/mp1, application/mp1, application/aiff, audio/aiff, application/x-aif, application/aif, application/x-aiff, audio/        x-aifc, audio/x-aiff, audio/aif, audio/aifc, audio/x-aif, audio/m4a, audio/mp4, application/x-m4b, application/x-m4a, application/x-m4p, application/x-m        p4, audio/mpeg4, audio/x-m4b, audio/x-m4a, audio/x-m4p, audio/x-mp4, application/mpeg4, audio/x-ms-wma, application/x-ms-wma, application/wma, audio/wma        , audio/x-scpls, audio/x-mpegurl, audio/x-ms-asf, audio/x-ms-wax, audio/x-ms-wvx, text/xml, audio/aacp, audio/aac, audio/3gpp, audio/3gpp2, audio/x-aac,         audio/x-ogg, application/x-ogg, audio/vorbis, application/ogg, audio/ogg, video/mpeg, application/x-mpegurl, application/vnd.apple.mpegurl, video/mp4v-        es, video/mp4, video/3gpp, video/quicktime, video/webm, video/x-ms-wmv, video/x-ms-asf, video/x-ms-video, video/x-ms-avi, video/avi, video/x-msvideo, vi        deo/x-ms-wax, video/x-ms-wvx, video/x-m4v, video/x-mkv, video/mkv, video/x-matroska, application/octet-stream]
[qtp4813446-69   ] INFO     - 01:02:36.484 - a                           : Garden: AVTransport eventing enabled: false
[qtp4813446-69   ] INFO     - 01:02:36.498 - b                           : Garden: TransportState: Stopped
[qtp4813446-69   ] INFO     - 01:02:36.588 - e                           : started subscription callback for service (n) ServiceId: urn:upnp-org:service

Can UPNP see your mediaservers?

Could it be a network issue?

Cheers,

Pete.
Pete, You gave me some great idea. I don't think the UPNP sees the media server. I will work on that.

Ahmed
Find all posts by this user
Quote this message in a reply
08-05-2015, 21:52
Post: #18
RE: Java MediaPlayer
(29-05-2014 09:36)PeteManchester Wrote:  
(28-05-2014 14:06)Cableguy Wrote:  Thank you very much for your mediaplayer!! I think it is really great!

I have it running easily following your instructions.

However, I left it playing as songcast receiver following my Linn DS in the main room. I notice that it seems to break somehow after around a day left like this. When this happens it looks in Kinsky like the time is counting and it being in play state but it is silent. It is not possible to stop and restart from Kinsky or to get it to start playing a playlist track. The only thing to do is to restart it from the web page or restart the raspberry pi. Am I doing something wrong here?

Also, do you think it would be possible to add buttons the raspberry pi for stop, play and source?

Thanks again for your amazing work Smile Is it possible to donate?

Thanks for the feedback Wink

I don't think you are doing anything wrong with Songcast, i'm not sure what the problem is though... I've never been that patient and kept it on the Songcast source that long..
I have just rewritten the Songcast code using the Netty library, which has the advantage of making the code easier to maintain and also some slight performance improvements. What I would suggest is that I push this version to the beta download on Github and if possible if you can test using that version, then if you still have issues I will look at the log files.
The songcast code is ready to be tried, but I was doing some work on the web pages adding a lyric page, so that is not quite ready yet so if you ignore that part for now..

I will let you know when the code is ready to be downloaded, it should only be a couple of days..

I'm still thinking what to do with the PlayerStatus page, as you say stop, play and source controls could be added and there are lots of different possibilities, but I don't want to create a control point as there are a lot of good control points already.. I'm in the process of adding a lyric page at the moment, I am thinking of having a break from working on MediaPlayer over the summer, just doing bug fixes and then start again later in the year.

Thanks for the offer of a donation, at the moment I don't have anything setup for that. I'm not sure how many people are using MediaPlayer and if it's worth setting up a website/forum for it yet.. Maybe if you want to make a donation you could donate to Simon if you haven't already, as I am using his forum pages and he has the expense of supporting lots of different NAS boxes...

Thanks again,

Pete.
PeteManchester Wrote:I have updated a few of the jar files so I would recommend that you do the following to update:

Stop mediaplayer
Delete the mediaplayer directory
Copy the new mediaplayer directory to the raspi
Edit the app.properties file
Start mediaplayer

The Songcast code should be fully working, but some of the webpages are not yet complete, so if you can test the Songcast code and let me know if you have the same problem.

Whilst testing it might be worth setting the 'log_file_level' to be 'debug' in the app.properties
log_file_level=debug

Let me know how it goes,

Pete.
Hi Pete!
Here is one really late follow up. Tongue
I installed your beta version 0.0.8.7 this week in my raspi model B with a Wolfson audio card. And everything was working perfect in the beginning, but then this old problem with the app getting unresponsive after being left overnight playing a songcast stream. So I turned on debug log level as per your instructions. I'll post my results if/when it breaks again.
Have a nice weekend!
Find all posts by this user
Quote this message in a reply
08-05-2015, 23:03
Post: #19
RE: Java MediaPlayer
Hi Pete,
I've been playing around with mediaplayer a bit tonight, and again the player suddenly stops after awhile when using the receiver source.
Below are snippets from the log from two of these events.
The last log is what I got when trying to play something again after it had stopped. Nothing happens then, the app is unresponsive.
Hope you can make something out of this, please let me know if you need more from the logs.
And thank tou again for your nice app!
Code:
2015-05-08 23:39:14,996 [Thread-17] INFO  [org.rpi.main.OpenHomeLogger]

2015-05-08 23:39:14,995 [Thread-17] INFO  [org.rpi.main.OpenHomeLogger] Precondition Failed
2015-05-08 23:39:14,995 [Thread-17] INFO  [org.rpi.main.OpenHomeLogger] PropertyWriter, http error 412
2015-05-08 23:39:14,984 [Thread-21] INFO  [org.rpi.main.OpenHomeLogger]

2015-05-08 23:39:14,983 [Thread-21] INFO  [org.rpi.main.OpenHomeLogger] Precondition Failed
2015-05-08 23:39:14,982 [Thread-21] INFO  [org.rpi.main.OpenHomeLogger] PropertyWriter, http error 412
2015-05-08 23:37:30,072 [Thread-3] INFO  [org.rpi.main.SimpleDevice] writeResource Called: org/rpi/image/mediaplayer50.png
2015-05-08 23:37:29,826 [Thread-16] INFO  [org.rpi.main.OpenHomeLogger]

2015-05-08 23:37:29,826 [Thread-16] INFO  [org.rpi.main.OpenHomeLogger] Bad Request
2015-05-08 23:37:29,825 [Thread-16] INFO  [org.rpi.main.OpenHomeLogger] PropertyWriter, http error 400
2015-05-08 23:37:29,791 [Thread-17] INFO  [org.rpi.main.OpenHomeLogger]

2015-05-08 23:37:29,791 [Thread-17] INFO  [org.rpi.main.OpenHomeLogger] Bad Request
2015-05-08 23:37:29,790 [Thread-17] INFO  [org.rpi.main.OpenHomeLogger] PropertyWriter, http error 400
2015-05-08 23:37:13,218 [Thread-19] INFO  [org.rpi.main.OpenHomeLogger] SSDP Multicast      HttpError

2015-05-08 23:22:11,216 [Thread-19] INFO  [org.rpi.main.OpenHomeLogger] SSDP Multicast      HttpError

2015-05-08 23:17:29,993 [Thread-5] INFO  [org.rpi.main.SimpleDevice] writeResource Called: org/rpi/image/mediaplayer50.png
2015-05-08 23:17:29,768 [Thread-18] INFO  [org.rpi.main.OpenHomeLogger]

2015-05-08 23:17:29,768 [Thread-18] INFO  [org.rpi.main.OpenHomeLogger] Bad Request
2015-05-08 23:17:29,767 [Thread-18] INFO  [org.rpi.main.OpenHomeLogger] PropertyWriter, http error 400
2015-05-08 23:17:29,729 [Thread-21] INFO  [org.rpi.main.OpenHomeLogger]

2015-05-08 23:17:29,729 [Thread-21] INFO  [org.rpi.main.OpenHomeLogger] Bad Request
2015-05-08 23:17:29,727 [Thread-21] INFO  [org.rpi.main.OpenHomeLogger] PropertyWriter, http error 400
2015-05-08 23:08:58,774 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohu://192.168.1.70:51973
Zone: 0050-c221-76e9
2015-05-08 23:08:58,774 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(54B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 36 00 00 00 0e 00 00 00 18 |Ohz ...6........|
|00000010| 30 30 35 30 2d 63 32 32 31 2d 37 36 65 39 6f 68 |0050-c221-76e9oh|
|00000020| 75 3a 2f 2f 31 39 32 2e 31 36 38 2e 31 2e 37 30 |u://192.168.1.70|
|00000030| 3a 35 31 39 37 33                               |:51973          |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:08:58,772 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohu://192.168.1.70:51973
Zone: 0026-0f21-a615
2015-05-08 23:08:58,761 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(54B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 36 00 00 00 0e 00 00 00 18 |Ohz ...6........|
|00000010| 30 30 32 36 2d 30 66 32 31 2d 61 36 31 35 6f 68 |0026-0f21-a615oh|
|00000020| 75 3a 2f 2f 31 39 32 2e 31 36 38 2e 31 2e 37 30 |u://192.168.1.70|
|00000030| 3a 35 31 39 37 33                               |:51973          |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:08:58,646 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohu://192.168.1.70:51973
Zone: 0050-c221-76e9
2015-05-08 23:08:58,645 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(54B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 36 00 00 00 0e 00 00 00 18 |Ohz ...6........|
|00000010| 30 30 35 30 2d 63 32 32 31 2d 37 36 65 39 6f 68 |0050-c221-76e9oh|
|00000020| 75 3a 2f 2f 31 39 32 2e 31 36 38 2e 31 2e 37 30 |u://192.168.1.70|
|00000030| 3a 35 31 39 37 33                               |:51973          |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:08:58,644 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohu://192.168.1.70:51973
Zone: 0026-0f21-a615
2015-05-08 23:08:58,643 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(54B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 36 00 00 00 0e 00 00 00 18 |Ohz ...6........|
|00000010| 30 30 32 36 2d 30 66 32 31 2d 61 36 31 35 6f 68 |0026-0f21-a615oh|
|00000020| 75 3a 2f 2f 31 39 32 2e 31 36 38 2e 31 2e 37 30 |u://192.168.1.70|
|00000030| 3a 35 31 39 37 33                               |:51973          |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:08:58,545 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohu://192.168.1.70:51973
Zone: 0050-c221-76e9
2015-05-08 23:08:58,545 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(54B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 36 00 00 00 0e 00 00 00 18 |Ohz ...6........|
|00000010| 30 30 35 30 2d 63 32 32 31 2d 37 36 65 39 6f 68 |0050-c221-76e9oh|
|00000020| 75 3a 2f 2f 31 39 32 2e 31 36 38 2e 31 2e 37 30 |u://192.168.1.70|
|00000030| 3a 35 31 39 37 33                               |:51973          |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:08:58,543 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohu://192.168.1.70:51973
Zone: 0026-0f21-a615
2015-05-08 23:08:58,542 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(54B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 36 00 00 00 0e 00 00 00 18 |Ohz ...6........|
|00000010| 30 30 32 36 2d 30 66 32 31 2d 61 36 31 35 6f 68 |0026-0f21-a615oh|
|00000020| 75 3a 2f 2f 31 39 32 2e 31 36 38 2e 31 2e 37 30 |u://192.168.1.70|
|00000030| 3a 35 31 39 37 33                               |:51973          |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:08:43,753 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohm://0.0.0.0:0
Zone: 0026-0f21-a615
2015-05-08 23:08:43,752 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(45B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 2d 00 00 00 0e 00 00 00 0f |Ohz ...-........|
|00000010| 30 30 32 36 2d 30 66 32 31 2d 61 36 31 35 6f 68 |0026-0f21-a615oh|
|00000020| 6d 3a 2f 2f 30 2e 30 2e 30 2e 30 3a 30          |m://0.0.0.0:0   |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:08:43,745 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohm://0.0.0.0:0
Zone: 0050-c221-76e9
2015-05-08 23:08:43,744 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(45B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 2d 00 00 00 0e 00 00 00 0f |Ohz ...-........|
|00000010| 30 30 35 30 2d 63 32 32 31 2d 37 36 65 39 6f 68 |0050-c221-76e9oh|
|00000020| 6d 3a 2f 2f 30 2e 30 2e 30 2e 30 3a 30          |m://0.0.0.0:0   |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:08:43,642 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohm://0.0.0.0:0
Zone: 0026-0f21-a615
2015-05-08 23:08:43,642 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(45B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 2d 00 00 00 0e 00 00 00 0f |Ohz ...-........|
|00000010| 30 30 32 36 2d 30 66 32 31 2d 61 36 31 35 6f 68 |0026-0f21-a615oh|
|00000020| 6d 3a 2f 2f 30 2e 30 2e 30 2e 30 3a 30          |m://0.0.0.0:0   |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:08:43,635 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohm://0.0.0.0:0
Zone: 0050-c221-76e9
2015-05-08 23:08:43,634 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(45B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 2d 00 00 00 0e 00 00 00 0f |Ohz ...-........|
|00000010| 30 30 35 30 2d 63 32 32 31 2d 37 36 65 39 6f 68 |0050-c221-76e9oh|
|00000020| 6d 3a 2f 2f 30 2e 30 2e 30 2e 30 3a 30          |m://0.0.0.0:0   |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:08:43,536 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohm://0.0.0.0:0
Zone: 0050-c221-76e9
2015-05-08 23:08:43,536 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(45B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 2d 00 00 00 0e 00 00 00 0f |Ohz ...-........|
|00000010| 30 30 35 30 2d 63 32 32 31 2d 37 36 65 39 6f 68 |0050-c221-76e9oh|
|00000020| 6d 3a 2f 2f 30 2e 30 2e 30 2e 30 3a 30          |m://0.0.0.0:0   |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:08:43,534 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohm://0.0.0.0:0
Zone: 0026-0f21-a615
2015-05-08 23:08:43,533 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(45B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 2d 00 00 00 0e 00 00 00 0f |Ohz ...-........|
|00000010| 30 30 32 36 2d 30 66 32 31 2d 61 36 31 35 6f 68 |0026-0f21-a615oh|
|00000020| 6d 3a 2f 2f 30 2e 30 2e 30 2e 30 3a 30          |m://0.0.0.0:0   |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:07:33,145 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohu://192.168.1.73:63963
Zone: 0050-c221-76e9
2015-05-08 23:07:33,144 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(54B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 36 00 00 00 0e 00 00 00 18 |Ohz ...6........|
|00000010| 30 30 35 30 2d 63 32 32 31 2d 37 36 65 39 6f 68 |0050-c221-76e9oh|
|00000020| 75 3a 2f 2f 31 39 32 2e 31 36 38 2e 31 2e 37 33 |u://192.168.1.73|
|00000030| 3a 36 33 39 36 33                               |:63963          |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:07:33,142 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohu://192.168.1.73:63963
Zone: 0026-0f21-a615
2015-05-08 23:07:33,141 [nioEventLoopGroup-8-1] DEBUG [io.netty.handler.logging.LoggingHandler] [id: 0x3faf054f, /0.0.0.0:51972] RECEIVED(54B)
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 4f 68 7a 20 01 01 00 36 00 00 00 0e 00 00 00 18 |Ohz ...6........|
|00000010| 30 30 32 36 2d 30 66 32 31 2d 61 36 31 35 6f 68 |0026-0f21-a615oh|
|00000020| 75 3a 2f 2f 31 39 32 2e 31 36 38 2e 31 2e 37 33 |u://192.168.1.73|
|00000030| 3a 36 33 39 36 33                               |:63963          |
+--------+-------------------------------------------------+----------------+
2015-05-08 23:07:33,036 [nioEventLoopGroup-8-1] DEBUG [org.rpi.songcast.ohz.OHZMessageDecoder] OHZMessage
URI: ohu://192.168.1.73:63963
Zone: 0050-c221-76e9

Code:
2015-05-08 23:51:43,884 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Resetting repair process
2015-05-08 23:51:43,884 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465506 from repair queue
2015-05-08 23:51:43,884 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465505 from repair queue
2015-05-08 23:51:43,883 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465504 from repair queue
2015-05-08 23:51:43,883 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465503 from repair queue
2015-05-08 23:51:43,883 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465502 from repair queue
2015-05-08 23:51:43,883 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465501 from repair queue
2015-05-08 23:51:43,883 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465500 from repair queue
2015-05-08 23:51:43,882 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465499 from repair queue
2015-05-08 23:51:43,882 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465498 from repair queue
2015-05-08 23:51:43,882 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465497 from repair queue
2015-05-08 23:51:43,882 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465496 from repair queue
2015-05-08 23:51:43,881 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465495 from repair queue
2015-05-08 23:51:43,881 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465494 from repair queue
2015-05-08 23:51:43,881 [nioEventLoopGroup-14-1] DEBUG [org.rpi.songcast.ohu.OHUMessageAudioHandler] Songcast: Sending frame 137465493 from repair queue

Code:
2015-05-08 23:57:30,290 [Thread-5] INFO  [org.rpi.main.SimpleDevice] writeResource Called: org/rpi/image/mediaplayer50.png
2015-05-08 23:57:30,138 [Thread-16] INFO  [org.rpi.main.OpenHomeLogger]

2015-05-08 23:57:30,137 [Thread-16] INFO  [org.rpi.main.OpenHomeLogger] Bad Request
2015-05-08 23:57:30,137 [Thread-16] INFO  [org.rpi.main.OpenHomeLogger] PropertyWriter, http error 400
2015-05-08 23:57:30,108 [Thread-21] INFO  [org.rpi.main.OpenHomeLogger]

2015-05-08 23:57:30,108 [Thread-21] INFO  [org.rpi.main.OpenHomeLogger] Bad Request
2015-05-08 23:57:30,107 [Thread-21] INFO  [org.rpi.main.OpenHomeLogger] PropertyWriter, http error 400
2015-05-08 23:57:01,807 [Thread-0] DEBUG [org.rpi.player.PlayManager] SetStatus: Paused
2015-05-08 23:57:01,807 [Thread-0] DEBUG [org.rpi.player.PlayManager] EventStatusChanged: Paused
2015-05-08 23:57:01,807 [Thread-0] DEBUG [org.rpi.mpdplayer.MPDPlayer] Status Changed: Paused
2015-05-08 23:57:01,806 [Thread-0] DEBUG [org.rpi.mpdplayer.StatusMonitor] Status Changed From : Playing To: Paused
2015-05-08 23:56:50,742 [Thread-0] DEBUG [org.rpi.player.PlayManager] SetStatus: Playing
2015-05-08 23:56:50,742 [Thread-0] DEBUG [org.rpi.player.PlayManager] EventStatusChanged: Playing
2015-05-08 23:56:50,741 [Thread-0] DEBUG [org.rpi.mpdplayer.MPDPlayer] Status Changed: Playing
2015-05-08 23:56:50,740 [Thread-0] DEBUG [org.rpi.mpdplayer.StatusMonitor] Song Changed From : 3 To: 4
2015-05-08 23:56:50,735 [Thread-6] DEBUG [org.rpi.mpdplayer.MPDPlayer] ADD TO PLAYLIST{Id=4}
2015-05-08 23:56:45,939 [Thread-6] DEBUG [org.rpi.radio.parsers.FileParser] FLAC File: http://192.168.1.65:9790/minimserver/*/nasen/keltik_musik/music/Music/flac/Dull*20Knife*20-*201971*20-*20Electric*20Indian/03*20-*20Lonely*20Is*20The*20Man*20Kind.flac
2015-05-08 23:56:45,937 [Thread-6] DEBUG [org.rpi.player.PlayManager] SetStatus: Buffering
2015-05-08 23:56:45,937 [Thread-6] DEBUG [org.rpi.player.PlayManager] EventStatusChanged: Buffering
2015-05-08 23:56:45,936 [Thread-6] DEBUG [org.rpi.player.PlayManager] GetTrackFromIndex: 2
2015-05-08 23:56:45,936 [Thread-6] DEBUG [org.rpi.providers.PrvPlayList] SeekIndex: 2 Adapter: 192.168.1.81 uriPrefix: http://192.168.1.81:52821/device-Rut-Wolfson-1-MediaRenderer/Upnp/resource/ Version:1
2015-05-08 23:56:40,394 [Thread-0] DEBUG [org.rpi.player.PlayManager] SetStatus: Playing
2015-05-08 23:56:40,394 [Thread-0] DEBUG [org.rpi.player.PlayManager] EventStatusChanged: Playing
2015-05-08 23:56:40,393 [Thread-0] DEBUG [org.rpi.mpdplayer.MPDPlayer] Status Changed: Playing
2015-05-08 23:56:40,390 [Thread-0] DEBUG [org.rpi.mpdplayer.StatusMonitor] Song Changed From : 2 To: 3
2015-05-08 23:56:40,386 [Thread-4] DEBUG [org.rpi.mpdplayer.MPDPlayer] ADD TO PLAYLIST{Id=3}
2015-05-08 23:56:37,575 [Thread-4] DEBUG [org.rpi.radio.parsers.FileParser] FLAC File: http://192.168.1.65:9790/minimserver/*/nasen/keltik_musik/music/Music/flac/Dull*20Knife*20-*201971*20-*20Electric*20Indian/01*20-*20Plastic*20People.flac
2015-05-08 23:56:37,574 [Thread-4] DEBUG [org.rpi.player.PlayManager] SetStatus: Buffering
2015-05-08 23:56:37,573 [Thread-4] DEBUG [org.rpi.player.PlayManager] EventStatusChanged: Buffering
2015-05-08 23:56:37,573 [Thread-4] DEBUG [org.rpi.player.PlayManager] GetTrackFromIndex: 0
2015-05-08 23:56:37,573 [Thread-4] DEBUG [org.rpi.providers.PrvPlayList] SeekIndex: 0 Adapter: 192.168.1.81 uriPrefix: http://192.168.1.81:52821/device-Rut-Wolfson-1-MediaRenderer/Upnp/resource/ Version:1
2015-05-08 23:56:30,376 [Thread-0] DEBUG [org.rpi.player.PlayManager] SetStatus: Playing
2015-05-08 23:56:30,376 [Thread-0] DEBUG [org.rpi.player.PlayManager] EventStatusChanged: Playing
2015-05-08 23:56:30,376 [Thread-0] DEBUG [org.rpi.mpdplayer.MPDPlayer] Status Changed: Playing
2015-05-08 23:56:30,375 [Thread-0] DEBUG [org.rpi.mpdplayer.StatusMonitor] Status Changed From : Paused To: Playing
2015-05-08 23:56:30,373 [Thread-0] DEBUG [org.rpi.mpdplayer.StatusMonitor] Song Changed From : 1 To: 2
2015-05-08 23:56:30,011 [Thread-5] DEBUG [org.rpi.mpdplayer.MPDPlayer] ADD TO PLAYLIST{Id=2}
2015-05-08 23:56:29,999 [Thread-5] DEBUG [org.rpi.radio.parsers.FileParser] FLAC File: http://192.168.1.65:9790/minimserver/*/nasen/keltik_musik/music/Music/flac/Dull*20Knife*20-*201971*20-*20Electric*20Indian/02*20-*20Go*20Down*20To*20The*20River.flac
2015-05-08 23:56:29,997 [Thread-5] DEBUG [org.rpi.player.PlayManager] SetStatus: Buffering
2015-05-08 23:56:29,997 [Thread-5] DEBUG [org.rpi.player.PlayManager] EventStatusChanged: Buffering
2015-05-08 23:56:29,997 [Thread-5] DEBUG [org.rpi.player.PlayManager] Returning Next Track: http://192.168.1.65:9790/minimserver/*/nasen/keltik_musik/music/Music/flac/Dull*20Knife*20-*201971*20-*20Electric*20Indian/02*20-*20Go*20Down*20To*20The*20River.flac
2015-05-08 23:56:29,996 [Thread-5] DEBUG [org.rpi.player.PlayManager] Getting Next Track, CurrentTrack is: http://192.168.1.65:9790/minimserver/*/nasen/keltik_musik/music/Music/flac/Dull*20Knife*20-*201971*20-*20Electric*20Indian/01*20-*20Plastic*20People.flac
2015-05-08 23:56:29,995 [Thread-5] DEBUG [org.rpi.providers.PrvPlayList] Play Adapter: 192.168.1.81 uriPrefix: http://192.168.1.81:52821/device-Rut-Wolfson-1-MediaRenderer/Upnp/resource/ Version:1
2015-05-08 23:56:28,779 [nioEventLoopGroup-16-1] DEBUG [org.rpi.songcast.ohu.OHUMessageSlaveHandler] Channel Unregistered: OHUSlaveHandler
2015-05-08 23:56:28,779 [nioEventLoopGroup-16-1] DEBUG [org.rpi.songcast.ohu.OHUMessageMetaTextHandler] Channel Unregistered: OHMMessageMetaTextHandler
2015-05-08 23:56:28,778 [nioEventLoopGroup-16-1] DEBUG [org.rpi.songcast.ohu.OHUMessageTrackHandler] Channel Unregistered: OHMTrackHandler
2015-05-08 23:56:26,126 [Thread-0] DEBUG [org.rpi.player.PlayManager] SetStatus: Paused
2015-05-08 23:56:26,125 [Thread-0] DEBUG [org.rpi.player.PlayManager] EventStatusChanged: Paused
2015-05-08 23:56:26,125 [Thread-0] DEBUG [org.rpi.mpdplayer.MPDPlayer] Status Changed: Paused
2015-05-08 23:56:26,116 [Thread-0] DEBUG [org.rpi.mpdplayer.StatusMonitor] Status Changed From : Playing To: Paused
2015-05-08 23:56:25,034 [Thread-0] DEBUG [org.rpi.player.PlayManager] SetStatus: Playing
Find all posts by this user
Quote this message in a reply
15-05-2015, 15:23
Post: #20
RE: Java MediaPlayer
(08-05-2015 23:03)Cableguy Wrote:  Hi Pete,
I've been playing around with mediaplayer a bit tonight, and again the player suddenly stops after awhile when using the receiver source.
Below are snippets from the log from two of these events.
The last log is what I got when trying to play something again after it had stopped. Nothing happens then, the app is unresponsive.
Hope you can make something out of this, please let me know if you need more from the logs.

Hi,

Sorry only just seen this post, for some reason Gmail put the email in the spam folder.
If possible can you send me the full log.

Thanks,

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


Forum Jump:


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