Author Topic: Mede8er JukeBox Desktop Player (Net Api Windows client)  (Read 74395 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 #75 on: December 17, 2013, 10:51:02 PM »
Installed 64 bit version. getting opening and closing  jukebox errors. and scan stops

I analysed the log you send me and there wasn't any error on the file (except "Discarding file type" "errors")
From the logs, it seems the application is trying to get the information from the mede8er, but it hangs while waiting for the information:

"2013-12-17 17:20:34,972 DEBUG p.t.m.s.i.t.TCPClient Executing [jukebox query entry]
2013-12-17 17:20:35,022 DEBUG p.t.m.s.i.t.TCPClient Connected to [192.168.178.15:1187].
2013-12-17 17:21:17,345 DEBUG p.t.m.s.i.t.TCPClient Executing [jukebox open 11]"

When you have the time (and the patience :( ),could you try scanning again?

Offline Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #76 on: December 18, 2013, 06:59:43 AM »
I analysed the log you send me and there wasn't any error on the file (except "Discarding file type" "errors")
From the logs, it seems the application is trying to get the information from the mede8er, but it hangs while waiting for the information:

"2013-12-17 17:20:34,972 DEBUG p.t.m.s.i.t.TCPClient Executing [jukebox query entry]
2013-12-17 17:20:35,022 DEBUG p.t.m.s.i.t.TCPClient Connected to [192.168.178.15:1187].
2013-12-17 17:21:17,345 DEBUG p.t.m.s.i.t.TCPClient Executing [jukebox open 11]"

When you have the time (and the patience :( ),could you try scanning again?


Did several attemts. With 32/64 bit version al resulting in opening and closing jukebox errors.
Will send last log file. Has more information. Also renamed the directories to see this has influence -> no
Will try to scan from my pc iso laptop (wired)

Off course do ihave the patience, only lack of time at the moment ( x-mas, examens at school and one more week to work)

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 Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #77 on: December 19, 2013, 04:28:00 PM »
Did install app on my pc. Scan started and din't get any opening or closing jukebox errors. (yet )

2 options:

1) my wifi is the cause somehow..... will have to investigate further. because i don't have any other trouble what so ever
     with my wifi network. The upnp (bubleupnp and my onkyo app are working fine)
2) my laptop is an win-8.1 laptop !? could someone confirm this

mike42
« Last Edit: December 20, 2013, 12:50:11 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 #78 on: December 20, 2013, 01:09:41 AM »
1) my wifi is the cause somehow..... will have to investigate further. because i don't have any other trouble what so ever
     with my wifi network. The upnp (bubleupnp and my onkyo app are working fine)

Mike, thank you very much for all your patience and efforts in testing this application.

Although i cant fully explain it, i think that i understand why the problem occurs : i had verified that for some reason, in some situations the application connects by TCP to the mede8er, but the connection "hangs".
I have a timeout of 2s, that occurs if the application cant read the data from the socket, and after the 2s, an error is raised.

I had verified that this situation sometimes occurred when sending a play command.
To prevent this i had already implemented a retry mechanism on the play and status commands, that closes and reopens the TCP connection, and resubmit the command.
When i use the aplication for several hours, i can see in the logs that sometimes the "hanging" occurs, but after retrying, the play or status command command is correctly send.

When i read your last logs, and realized the 2s gaps after establishing the tcp connection, i realized that it could also be occurring in the scan process, so i extended the retry mechanism to all TCP commands.
I'm counting that this should correct those problems, and prevent the situation you have verified.

Unfortunately, i will only be able to test this modification next year, so i will only be able to submit a new version in the first days of January.

I think that this shouldn't happen in a wired connection, so if you scan the database using the wire connection, and then copy the created Mede8erDb.xml database to the computer with the wireless connection, you should be able to use the application, because the play command already has the retry mechanism implemented.
It's an "ugly" workaround, but should work until i have the opportunity to submit a new version.

Thanks again for your help.
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 #79 on: December 20, 2013, 12:53:33 PM »
Nice to hear that progres is happening ! I will continue testing and sending reports/logs if something new occurs.
Will try the workaround to see if the lag problem consists.

Merry x-mas and a happy mede8er year !  ;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

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 #80 on: December 20, 2013, 01:23:27 PM »
Nice to hear that progres is happening ! I will continue testing and sending reports/logs if something new occurs.

Well, after all the work, i don't want to give up, and i my purpose is to make this app fully functional for all the users.
Correcting software problems isn't difficult, the major problem is diagnose them.
So, provided that someone discovers the problems, i'll do my best to correct them as soon as possible.

I also wish you and all the users a Merry x-mas and a happy mede8er year !

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 #81 on: December 30, 2013, 10:37:25 AM »
New Versions

64 Bits : https://meocloud.pt/link/251e9849-f075-4ed7-b56e-594e545696be/Mede8erMusicPlayer.zip
32 Bits : https://meocloud.pt/link/13ea2c03-84e4-44cd-9f1f-9bc268f57a33/Mede8erMusicPlayer%20-%2032%20bits.zip

Changelog:

- Re-factoring of the Open/Play/Close Jukebox mechanism (as per last post)
- Correction of negative status time

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 #82 on: January 06, 2014, 11:22:27 PM »
No more feedback :( ?

Offline Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #83 on: January 07, 2014, 04:46:08 PM »
No more feedback :( ?

did install new version, but still connecting errors. din't do more test because of school exams
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 #84 on: January 07, 2014, 09:17:52 PM »
... but still connecting errors. ...
Wireless or wired ?

Offline Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #85 on: January 07, 2014, 09:40:15 PM »
Wireless or wired ?

Wifi connection. I use the same connection for bubleupnp on my tablet without any trouble.
Tried also true wired connection scanning did finish. But din't try playing, etc.....
After next week i have some more time for testing.

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 Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #86 on: January 08, 2014, 05:58:18 PM »
Wifi connection. I use the same connection for bubleupnp on my tablet without any trouble.
Tried also true wired connection scanning did finish. But din't try playing, etc.....
After next week i have some more time for testing.

Mike42

found the issue with the connection error. i'm using an wifi repeater in my living room for the smartphones.
this repeater somehow can not connect to the mede8er (don't know why yet) however when i switch to my main
wifi router connection with the mede8er is fine. Scanning now (wait for results later)

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 #87 on: January 08, 2014, 06:35:16 PM »
Thank you very much Mike, you've been invaluable.
I will try to make a few enhancements next weekend (at least the double click functionality you requested :)

Offline Mike42

  • B8a Tester - 1000X3D
  • Senior Member
  • ****
  • Posts: 470
  • Helpful Contribution Status: +2/-1
Re: Mede8er JukeBox Desktop Player (Net Api Windows client)
« Reply #88 on: January 09, 2014, 06:55:05 AM »
Thank you very much Mike, you've been invaluable.
I will try to make a few enhancements next weekend (at least the double click functionality you requested :)

Did some basic tests.

Scanning- din't time it but scanning finished pretty quick for 30000 + mp3s
Search - working
Browsing - lower part of screen refreshed continuosly, cd covers stopped refreshing.
After search function cd covers din't revert back to normal view after restore search.

Din't play, stop, skip,etc yet...

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 #89 on: January 09, 2014, 11:51:38 AM »
Scanning- din't time it but scanning finished pretty quick for 30000 + mp3s
This was using a wireless or wired connection?

Browsing - lower part of screen refreshed continuosly, cd covers stopped refreshing.
Can you please detail what do you mean by browsing?
- Using the top left < > buttons?
- Using the covers slider?

After search function cd covers din't revert back to normal view after restore search.
I've never had this behavior, the "restore" (clear search) must have generated an error.
Can you please send me me the log file by email?

I've already implemented the double click behavior, i will generate a new version this weekend.