]> git.sesse.net Git - vlc/commit
http-interface: - fixed large playlist loading failure
authorMark Hassman <mark@hassman.org>
Wed, 28 Jul 2010 16:02:23 +0000 (12:02 -0400)
committerIlkka Ollakka <ileoo@videolan.org>
Wed, 28 Jul 2010 18:00:09 +0000 (21:00 +0300)
commit11c280f342df4e6ffc57e041b01f332419ab3a3f
treef300cd0133215d2ff5f13ee96abd2b42042c928b
parentc8ab1739f952be53c7dfe9e96eaf309f69cafecf
http-interface: - fixed large playlist loading failure

large playlists can take >10 seconds to load. since the xmlhttp object is
common within the page, multiple /status.xml requests would occurr (1 per sec)
before the playlist was loaded cancelling the /playlist.xml request.. i moved
the xmlhttp request object to a global variable. it's now checked to see if
there are any outstanding/active requests before submitting a new request. -
improved playlist display of large playlists.

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
share/http/js/functions.js