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

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 #45 on: December 01, 2013, 12:26:32 pm »
Can you please send me the log file?

Offline Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #46 on: December 01, 2013, 12:36:02 pm »
Can you please send me the log file?

don't have your e-mail and can't post it here because the file is 10+ Mb

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 #47 on: December 01, 2013, 12:41:53 pm »
Can you please zip it and send to : ar160212@gmail.com  ?

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 #48 on: December 01, 2013, 12:58:37 pm »
Mike, thanks for the log file.

I can see that the jukeboxes were correctly scanned.
The errors getting the images are due to the special characters on the name file, i still haven't figure how to overcome that error.

I suspect that the reason you are only seeing the WAV files is due to the fact that it was the last scanned jukebox.
I think i've only tested one jukebox at a time. I forgot to test several jukeboxes :(

This afternoon i will create several jukeboxes and perform the scan process.

Regarding the wav jukebox, did you try to play files, perform searches, etc?
Everything went ok ? Any errors ?

Offline Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #49 on: December 01, 2013, 01:24:00 pm »
did some more testing such as playback etc....

Power off --> ok
play --> ok
skip Fw --> ok
skip bw --> ok
stop  --> ok
volume up/dwn --> ok

However encountered some issues:

- ive got an large delay (lag) when skipping fw or bw about +25 sec
- volume up/dwn responding (almost) instantly  1-2 sec lag
- play button lag about 20-25 sec
- pause button 1-2 sec lag
- stop button same reaction as power up/dwn 1-2 sec lag
- switching between album/folders not possible, only song selection possible in "active"cd/folder"
- after several song skip no more song information in top of the screen
- When selecting new cd/folder focus is not reset to top of list but stay's on last choosen focus position
- not able to search
- missing first few seconds of the song, I think it's an mede8er. issue noticed it before

Wishes to think about (later):
*creating playlist(s) on the fly
* start play on double click

i don't know if the lag  is related to my large collection or file type (DTS coded  .WAV files)

PS.. i'm testing from my laptop connected by wifi.

mike42  8)
« Last Edit: December 01, 2013, 01:34:15 pm by 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 #50 on: December 01, 2013, 01:38:16 pm »
Mike, thank you very much for you feedback.

25 sec  is too much, i get a 3/4s lag :( , and i'm also using wifi.

To play a file, i have to do the following command sequence :

1 - jukebox query entry
2 - jukebox open 0
3 - play <file>/var/www/jukebox/0//Adele_21/10_Lovesong.flac</file>
4 - status musictime
5 - jukebox close 0

I repeat this sequence every time i play a new music.

Can anyone confirm i'm using the correct procedure for playing a file?

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 #51 on: December 01, 2013, 01:51:11 pm »

However encountered some issues:

- ive got an large delay (lag) when skipping fw or bw about +25 sec
When FF or RW, i issue a new PLAY command (see PLAY comment)

- volume up/dwn responding (almost) instantly  1-2 sec lag
Its a single command

- play button lag about 20-25 sec
Probably due to the full play sequence i'm using, and the speed of your wifi connection, as i only get a 4s lag
- pause button 1-2 sec lag
- stop button same reaction as power up/dwn 1-2 sec lag

- switching between album/folders not possible, only song selection possible in "active"cd/folder"
When playing a file, i disable the tables selection, to prevent sincronization issues between the folders images and the table folders.

- after several song skip no more song information in top of the screen
I've also encountered this problem, but still havent figure why it happens

- When selecting new cd/folder focus is not reset to top of list but stay's on last choosen focus position
- not able to search
When playing a file, i disable the search, and the Next/Previous Page selection

- missing first few seconds of the song, I think it's an mede8er. issue noticed it before

Wishes to think about (later):
*creating playlist(s) on the fly
Regarding playlists, it will have to wait, i have to correct all the bugs first :)

* start play on double click
This is simple to implement :)
i don't know if the lag  is related to my large collection or file type (DTS coded  .WAV files)

PS.. i'm testing from my laptop connected by wifi.

mike42  8)

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 #52 on: December 01, 2013, 01:58:07 pm »
yep scan finished with succes... However app. is only showing my DTS collection folder ! (all WAV files)
checked the log file.... seems all music including MP3's are scanned but can't get them to show

I've divided the 5k Jukebox in 4 Jukeboxes, and i confirmed that only the LAST jukebox is presented.
Fortunately, it should be a simple bug to correct, and i will address it this afternoon.

Offline Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #53 on: December 01, 2013, 02:26:17 pm »
Below the log of one song. this sequence takes about 7 sec. in the log file

2013-12-01 14:13:19,140 DEBUG p.t.m.s.i.t.TCPClient Executing [jukebox open 9]
2013-12-01 14:13:19,144 DEBUG p.t.m.s.i.t.TCPClient Connected to [192.168.178.15:1187].
2013-12-01 14:13:22,044 DEBUG p.t.m.s.i.s.StateMachineService Success [STOPPED] -> [PRESS_PLAY].
2013-12-01 14:13:22,045 DEBUG p.t.m.s.i.t.TCPClient Executing [play <file>/var/www/jukebox/9//Rammstein - Liebe Ist Für Alle Da/01.  - 01. Rammlied.wav</file>]
2013-12-01 14:13:22,048 DEBUG p.t.m.s.i.t.TCPClient Connected to [192.168.178.15:1187].
2013-12-01 14:13:24,166 DEBUG p.t.m.s.i.c.p.M8PlayCommand Play [/var/www/jukebox/9//Rammstein - Liebe Ist Für Alle Da/01.  - 01. Rammlied.wav] Response [ok] = [true].
2013-12-01 14:13:24,167 DEBUG p.t.m.s.i.s.StateMachineService Success [PRESS_PLAY] -> [PLAYING].
2013-12-01 14:13:24,168 DEBUG p.t.m.s.i.t.TCPClient Executing [status musictime]
2013-12-01 14:13:24,174 DEBUG p.t.m.s.i.t.TCPClient Connected to [192.168.178.15:1187].
2013-12-01 14:13:26,194 DEBUG p.t.m.s.i.u.Utils Parsing Status [1/318].
2013-12-01 14:13:26,195 DEBUG p.t.m.s.i.t.TCPClient Executing [jukebox close 9]

i'm not sure and don't haven java experience, but some other programming experience.Couldn't it be
that  the delay is so large because the app has to check every jukebox available and then check  weither the correct song is in  there due to my multi jukebox structure. (this is jukebox N 9 and the last one)

couldn't you (pre) open the correct jukebox when it's selected in the GUI.

i'm currently making one (1) large jukebox and rescan (How can i reset the DB)

mike42  8)
« Last Edit: December 01, 2013, 02:42:59 pm by 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 #54 on: December 01, 2013, 03:15:26 pm »
Hi Mike.

I think there are two causes for the 25 delay :
1 - Your internet wifi speed
2 - The time spent communicating with the mede8er, with the whole process : query->open->play (at this time the music starts playing), musicstatus -> close.

It is actually consistent with my times:
- The 20k music jukebox took 40m to scan
- I get a 4s gap for the play command.

It seems my connection is 4 times faster than yours.

I'm playing defensively, as i'm closing the jukebox every time i need to play a file.
But as you get 25s gap's, i will have to think of using another strategy, maybe maintain the jukeboxes open when the application is on, and close them all when the application finishes.

If anyone from the NET API could provide he's views on the subject i will appreciate it ...

PS: i will now correct the bug of the scan process, that only shows last jukebox.


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 #55 on: December 01, 2013, 03:26:10 pm »
i'm currently making one (1) large jukebox and rescan (How can i reset the DB)

Just delete the config/Mede8erDB.xml file :)

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 #56 on: December 01, 2013, 06:01:34 pm »
I've divided the 5k Jukebox in 4 Jukeboxes, and i confirmed that only the LAST jukebox is presented.
Fortunately, it should be a simple bug to correct, and i will address it this afternoon.

Bug corrected, new versions online :
- 64 bits :  https://meocloud.pt/link/c1cbc3ac-3325-406c-889d-94a1e2029576/Mede8erMusicPlayer.zip
- 32 bits :  https://meocloud.pt/link/644f6a65-29ae-4f15-ba65-5199b91adecd/Mede8erMusicPlayer%20-%2032Bits.zip

Offline Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
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 #58 on: December 01, 2013, 06:31:31 pm »
Ok will try asap. Thanks in advance for your comitment and effort.
Mike42

Thanks Mike, for such commitment in testing, i really appreciate it :)
Regards!

Offline Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #59 on: December 01, 2013, 09:44:41 pm »
Thanks Mike, for such commitment in testing, i really appreciate it :)
Regards!

No thank you..... for making this app.  :D

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