INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Suggestion: Prevent (apparent) freezing of MC  (Read 2211 times)

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Suggestion: Prevent (apparent) freezing of MC
« on: February 20, 2011, 07:48:19 am »

In MC v15 when you do File | Library | Connect to Library and select a DLNA music library, your application does indeed start to download the respective library from the remote DLNA Content Directory. However when the remote library contains a lot of music files (mine has over 9000 tracks) this process takes a long time (several tens of minutes in my case). During this time, the user interface of  MC v15 is blocked, and it gives the impression that the application is frozen. (In truth it is not frozen; it just seems that way). => I suggest that this File | Library | Connect to Library process should be done in a separate background thread, so the user can continue to do other things...
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

StFeder

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1493
  • Fight! You may win. If you don't, you already lost
Re: Suggestion: Prevent (apparent) freezing of MC
« Reply #1 on: February 20, 2011, 08:11:47 am »

Does "tens of minutes" mean more than ten minutes? For me MC always freezes when connecting to another MC machine using DLNA and after a few minutes I always killed it, because it stayed freezed and nothing seemed to happen. So I sticked on using the library server, which loads my library within a minute.

I'll give it another try tomorrow and give MC more time to see what happens...
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: Suggestion: Prevent (apparent) freezing of MC
« Reply #2 on: February 20, 2011, 01:32:55 pm »

Does "tens of minutes" mean more than ten minutes?
Yes. Last time I timed it, it took about 28 minutes to download the data on about 9200 tracks (representing about 5..6 tracks per second)...
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Suggestion: Prevent (apparent) freezing of MC
« Reply #3 on: February 23, 2011, 05:34:03 pm »

Agreed. 

AndrewFG and I have been communicating about this indirectly offline.  This is a big issue.  There is no way to cancel either.  There's just a lot of love me long time...

Logged
The opinions I express represent my own folly.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42445
  • Shoes gone again!
Re: Suggestion: Prevent (apparent) freezing of MC
« Reply #4 on: February 23, 2011, 06:04:10 pm »

For what it's worth, version 16 greatly improves DLNA server support.

With version 16, libraries from DLNA servers are loaded in a background thread.

On the first load, the library will fill in as we load from the server (it's not blocking like in v15).

The library is preserved between runs, so subsequent loads are instant.  User playlists and view customization persist.

The library is updated each restart (and also periodically if you leave Media Center running) silently in the background.
Logged
Matt Ashland, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Suggestion: Prevent (apparent) freezing of MC
« Reply #5 on: February 23, 2011, 06:24:39 pm »

It is worth a lot!

I'm using it now, and it is a *huge* difference, thanks.
Logged
The opinions I express represent my own folly.

flac.rules

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1268
Re: Suggestion: Prevent (apparent) freezing of MC
« Reply #6 on: February 24, 2011, 01:21:04 am »

Nice, there is some other actions that also causes the program to "freeze" someimtes (although for seconds or tens of seconds maybe, not minutes. Moving stuff to background threads seems like a good idea in general? (I am not a programmer, so I'm not very skilled in this)
Logged

vagskal

  • Citizen of the Universe
  • *****
  • Posts: 1227
Re: Suggestion: Prevent (apparent) freezing of MC
« Reply #7 on: February 24, 2011, 03:13:38 am »

Trying with MC 16 to load a library with +118k songs over DLNA from Squeezebox server via Whitebear just results in an error message. More details here: http://forums.slimdevices.com/showthread.php?p=613366#post613366
Logged
Pages: [1]   Go Up