Author Topic: Mede8er JukeBox Desktop Player (Net Api Windows client)  (Read 51638 times)

Offline Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #15 on: October 29, 2013, 07:41:09 pm »
Send the last lines of the logfile through the e-mail. Stil app not working gives an error
that it can't get information from the mede8er. (detials in the mail)

mede8er not crashed scanning log seems ok scanned until zz-top


Mike42 8)
Mede8er : MED1000X3D
Network: Wired CAT5
NAS: WDMyCloud 4TB, streaming true NFS
Tv: Samsung LE32B650T2WXXN, LCD, HD TV
AV receiver: Onkyo TX-NR414
additional equipment:
- Switch sitecom N118 (MED, Onkyo receiver,PS3)
- Samsung galaxy Tab-3 10.1", android 4.2, max resultion 1280x800

Offline Mede8er1

  • Administr8or
  • Hero Member
  • ******
  • Posts: 3 766
  • Helpful Contribution Status: +101/-24
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #16 on: October 29, 2013, 08:16:49 pm »
I tried to edit the xml but now when launching the App  get a JavaFX Launcher Error

Log attached

Mede8er1

Mede8er1
The Greatest Show on Earth
Read the user Guides
http://www.mede8er.com/mede8er_support_user_guides.htm

Offline neo_2011

  • B8a Tester - X3D NET API
  • Experienced Member
  • ****
  • Posts: 119
  • Helpful Contribution Status: +0/-0
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #17 on: October 29, 2013, 08:25:10 pm »
Send the last lines of the logfile through the e-mail. Stil app not working gives an error
that it can't get information from the mede8er.

Hello Mike.

Looking to the logs, it seems that the application managed to scan Jukeboxes 1 to 4, and when it tried to scan Jukebox 5, it received an error from mede8er and crashed:

------------------------------------------------------------------------------------
2013-10-29 20:00:33,578 DEBUG p.t.m.s.i.JukeboxService Sending Mede8er Command  [jukebox close 4].
2013-10-29 20:00:34,750 DEBUG p.t.m.s.i.JukeboxService Mede8er Command Response => [ok].
2013-10-29 20:00:34,781 DEBUG p.t.m.s.i.Mede8erService Before opening [5].
2013-10-29 20:00:34,788 DEBUG p.t.m.s.i.JukeboxService Sending Mede8er Command  [jukebox open 5 ].
pt.tss.mede8er.service.api.exceptions.TcpConnectionException: java.lang.Exception: Error getting information from Mede8er.
 at pt.tss.mede8er.service.impl.tcp.TCPClient.send(Unknown Source) ~[mede8er-remote-service-impl-1.0.jar:na]
------------------------------------------------------------------------------------


I will have to protect the application from this situations, as in a case like this, the application should show the information regarding the Jukeboxes 1 to 4 ( I don't know why it couldn't open Jukebox 5).

As soon as i correct this error, i will update the links with the new application.

Thank you very much for the logs.

Best regards :)


Offline neo_2011

  • B8a Tester - X3D NET API
  • Experienced Member
  • ****
  • Posts: 119
  • Helpful Contribution Status: +0/-0
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #18 on: October 29, 2013, 08:31:33 pm »
I tried to edit the xml but now when launching the App  get a JavaFX Launcher Error
Log attached
Mede8er1

Mede8er1,

looking to your logs, it seems that the application was installed on :
C:\Downloads\Mede8erMusicPlayer\Mede8erMusicPlayer\app\config\Configuration.xml

---------------------------------------------------------------------------------------------------------------------------------
2013-10-29 22:10:42,421 ERROR p.t.m.s.i.u.XmlUtils Error on marshalMusicJukebox.
java.io.FileNotFoundException: C:\Downloads\Mede8erMusicPlayer\Mede8erMusicPlayer\app\config\Configuration.xml (The system cannot find the file specified)
---------------------------------------------------------------------------------------------------------------------------------

I think it could be a permission issue ?

Offline Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #19 on: October 30, 2013, 06:56:23 am »
Hello Mike.

Looking to the logs, it seems that the application managed to scan Jukeboxes 1 to 4, and when it tried to scan Jukebox 5, it received an error from mede8er and crashed:

------------------------------------------------------------------------------------
2013-10-29 20:00:33,578 DEBUG p.t.m.s.i.JukeboxService Sending Mede8er Command  [jukebox close 4].
2013-10-29 20:00:34,750 DEBUG p.t.m.s.i.JukeboxService Mede8er Command Response => [ok].
2013-10-29 20:00:34,781 DEBUG p.t.m.s.i.Mede8erService Before opening [5].
2013-10-29 20:00:34,788 DEBUG p.t.m.s.i.JukeboxService Sending Mede8er Command  [jukebox open 5 ].
pt.tss.mede8er.service.api.exceptions.TcpConnectionException: java.lang.Exception: Error getting information from Mede8er.
 at pt.tss.mede8er.service.impl.tcp.TCPClient.send(Unknown Source) ~[mede8er-remote-service-impl-1.0.jar:na]
------------------------------------------------------------------------------------


I will have to protect the application from this situations, as in a case like this, the application should show the information regarding the Jukeboxes 1 to 4 ( I don't know why it couldn't open Jukebox 5).

As soon as i correct this error, i will update the links with the new application.

Thank you very much for the logs.

Best regards :)



It coyld be an error from my side. I'm lately reoganizng the folder structure of my music
Collection. I'm not sure if all folders are up to date regarding mede8er jukebox spec's.
Will check layer this day and report


Mike42
Mede8er : MED1000X3D
Network: Wired CAT5
NAS: WDMyCloud 4TB, streaming true NFS
Tv: Samsung LE32B650T2WXXN, LCD, HD TV
AV receiver: Onkyo TX-NR414
additional equipment:
- Switch sitecom N118 (MED, Onkyo receiver,PS3)
- Samsung galaxy Tab-3 10.1", android 4.2, max resultion 1280x800

Offline neo_2011

  • B8a Tester - X3D NET API
  • Experienced Member
  • ****
  • Posts: 119
  • Helpful Contribution Status: +0/-0
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #20 on: October 30, 2013, 09:58:11 am »
It coyld be an error from my side. I'm lately reoganizng the folder structure of my music ...

Even so, the application should be protected against this situation.

I'm in the process of re-structuring the interface, adding new functionalities, etc, but i will only have the time to properly test it in the weekend. Because of this, i cant launch a new version with the bug you detected corrected.

Would you mind to try a temporary solution?

- Could you please download the service implementation file, unzip it, and replace it in the directory : app/lib

I've added an extra protection, so even if it receives an error scanning Jukebox 5, it should show the information of the correctly scanned jukeboxes 1 to 4.

Thanks :)


Offline neo_2011

  • B8a Tester - X3D NET API
  • Experienced Member
  • ****
  • Posts: 119
  • Helpful Contribution Status: +0/-0
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #21 on: October 30, 2013, 10:46:11 pm »
As i've feared, the scan process might have problems with very large jukeboxes.
With my Jukebox (maybe 300-500 files), the application works very well.

As i will only have time to properly test the scan process in the weekend, i've been working in the GUI, and added the folowing functionalities:
- Slider with current time progress;
- Ability to play folder and identify the individual songs;
- Cosmetic changes.

You can see the improved version here :  http://youtu.be/gxguqxqdK5o

Offline Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #22 on: October 31, 2013, 03:06:04 pm »
You can see the improved version here :  http://youtu.be/gxguqxqdK5o

Looks already very nice.  ;D As said will give it a go with an smaller DB

mike42
Mede8er : MED1000X3D
Network: Wired CAT5
NAS: WDMyCloud 4TB, streaming true NFS
Tv: Samsung LE32B650T2WXXN, LCD, HD TV
AV receiver: Onkyo TX-NR414
additional equipment:
- Switch sitecom N118 (MED, Onkyo receiver,PS3)
- Samsung galaxy Tab-3 10.1", android 4.2, max resultion 1280x800

Offline jer1956

  • Global Moder8or
  • M8er Addict
  • *****
  • Posts: 17 228
  • Helpful Contribution Status: +193/-54
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #23 on: October 31, 2013, 03:11:33 pm »
I can see Maasbommel asking for a touch screen  version to run on his win8 Hp Envy.   

Offline neo_2011

  • B8a Tester - X3D NET API
  • Experienced Member
  • ****
  • Posts: 119
  • Helpful Contribution Status: +0/-0
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #24 on: October 31, 2013, 04:15:04 pm »
I can see Maasbommel asking for a touch screen  version to run on his win8 Hp Envy.   
Its a very good idea. The problem is that i'm really a newbie in JavaFX, but even so, i don't think it would be to difficult to adapt the application to be able to recognize Touch events.
The oracle documentation shows how to do it here: http://docs.oracle.com/javafx/2/events/touch_events.htm

There could be a faster way to improve the GUI: as soon as the major bugs are corrected and the application is stable, i can share the GUI source code.
If there is someone with experience in JavaFx, he/she could improve the GUI to a new level that my experience so far doesnt allow :)

Offline neo_2011

  • B8a Tester - X3D NET API
  • Experienced Member
  • ****
  • Posts: 119
  • Helpful Contribution Status: +0/-0
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #25 on: October 31, 2013, 06:56:02 pm »
Mede8er1 has inform me about the files in the FTP site, so I've accessed it, and downloaded the folders :
- Mede8er_Music_JukeBox_5k_Track_Test_10sec
- Music 20k Tracks Demo

Very cool, now i will have a validated base to test the application, it will save me countless hours ....
 

Offline neo_2011

  • B8a Tester - X3D NET API
  • Experienced Member
  • ****
  • Posts: 119
  • Helpful Contribution Status: +0/-0
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #26 on: November 01, 2013, 11:14:43 pm »
I think i'm getting there :)
I've managed to successfully scan the whole 20k music jukebox, although it took aprox. 40m ...

As its impossible to have 1592 albums at once in memory, i'm implementing a "paging" system, that loads 50 albums per "page".

A preview :)


Offline neo_2011

  • B8a Tester - X3D NET API
  • Experienced Member
  • ****
  • Posts: 119
  • Helpful Contribution Status: +0/-0
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #27 on: November 03, 2013, 04:01:15 pm »
The scanning process is completed, the paging system is completed, but now i'm facing a new problem:
- As the command process is synchronous, there is a 9s hang between the Play command and showing the status on the Slider, as can be seen on the log:

-------------------------------------------------------------------------------------
2013-11-03 13:43:35,579 DEBUG p.t.m.s.i.JukeboxService Sending Mede8er Command  [jukebox query entry].
2013-11-03 13:43:37,648 DEBUG p.t.m.s.i.JukeboxService Mede8er Command Response => [jukebox/entry.json].
2013-11-03 13:43:37,651 DEBUG p.t.m.s.i.JukeboxService Sending Mede8er Command  [jukebox open 0 ].
2013-11-03 13:43:40,202 DEBUG p.t.m.s.i.JukeboxService Mede8er Command Response => [jukebox/0.json].
2013-11-03 13:43:40,203 DEBUG p.t.m.s.i.JukeboxService Sending Mede8er Command  [play <file>/var/www/jukebox/0//Adele_21/10_Lovesong.flac</file>].
2013-11-03 13:43:42,249 DEBUG p.t.m.s.i.JukeboxService Mede8er Command Response => [ok].
2013-11-03 13:43:42,250 DEBUG p.t.m.s.i.JukeboxService Sending Mede8er Command  [status musictime].
22013-11-03 13:43:44,292 DEBUG p.t.m.s.i.JukeboxService Mede8er Command Response => [1/316].
2013-11-03 13:43:46,474 DEBUG p.t.m.s.i.t.ExecuteCommandThread Executed Command [jukebox close 0], response = [ok].
------------------------------------------------------------------------------------------------------------------------

To correct this, i will have to re-define the command process, probably making it asynchronous.
Unfortunately, due to the lack of time, it will probably take me at least a week to complete this re-design :(

Offline neo_2011

  • B8a Tester - X3D NET API
  • Experienced Member
  • ****
  • Posts: 119
  • Helpful Contribution Status: +0/-0
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #28 on: November 05, 2013, 12:23:36 pm »
I've decided to do a complete re-design of the application in order to make it  completely asynchronous (and allow the service to be used in a possible future Android application :))

Unfortunately, to be able to do a good work, it will take at least 1-3 weeks, depending on the amount of spare time extra-work.

So, if i don't post new versions in the next days, is just because i'm re-designing the application. And this time, i will only make it available after properly testing it (which this time will be easier due to the 20k and 5k jukeboxes :))


Offline Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #29 on: November 05, 2013, 06:43:11 pm »
I've decided to do a complete re-design of the application in order to make it  completely asynchronous (and allow the service to be used in a possible future Android application :))

Unfortunately, to be able to do a good work, it will take at least 1-3 weeks, depending on the amount of spare time extra-work.

So, if i don't post new versions in the next days, is just because i'm re-designing the application. And this time, i will only make it available after properly testing it (which this time will be easier due to the 20k and 5k jukeboxes :))



oke, can't wait tot test it  ;D
Mede8er : MED1000X3D
Network: Wired CAT5
NAS: WDMyCloud 4TB, streaming true NFS
Tv: Samsung LE32B650T2WXXN, LCD, HD TV
AV receiver: Onkyo TX-NR414
additional equipment:
- Switch sitecom N118 (MED, Onkyo receiver,PS3)
- Samsung galaxy Tab-3 10.1", android 4.2, max resultion 1280x800