HTPC-Manager icon indicating copy to clipboard operation
HTPC-Manager copied to clipboard

Don't recreate the Plex now playing list each time

Open tester22 opened this issue 11 years ago • 2 comments

Right now the now playing list is recreated each time and that causes some flickering in the browser.

Preferable the HTML should be created once and then the variables should be set afterwards.

tester22 avatar May 25 '14 18:05 tester22

I noticed that as well. The html is inside the html (lol) in the xbmc page and the content is appended by jQuery/javascript

Hellowlol avatar May 25 '14 20:05 Hellowlol

That was my first plan but won't work for multiple items. My new plan is to check the length of now_playing and use http://api.jquery.com/clone/ to create the HTML tags. But only if the length of now_playing differs from the length of the list.

Then fill the list with the same method as the XBMC implementation.

25 maj 2014 kl. 22:56 skrev Hellowlol [email protected]:

I noticed that as well. The html is inside the html (lol) in the xbmc page and the content is appended by jQuery/javascript

— Reply to this email directly or view it on GitHub.

tester22 avatar May 25 '14 21:05 tester22