How to fix the page refresh bug in Twonky 7.1.2 Special

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag
How to fix the page refresh bug in Twonky 7.1.2 Special

Post by phibertron » Sat Nov 17, 2012 10:21 pm

There is a bug in the web interface that effects doing a page refresh
The problem is in the function loadMediaContents(id, startItem, numItems, reloadContent){
in the config.js

if you do an F5 the media content div is wiped and not refreshed
7.1.2 page refreah issue.png
7.1.2 page refreah issue.png (42.82KiB)Viewed 4499 times
here is what was done to make it work
7.1.2 media fix.png
7.1.2 media fix.png (40.17KiB)Viewed 4499 times
I actually posted this back in 7.0.5, but it is still present
If you also want to make the mytwonky breadcrumb links work on a page refresh
here is what was done to make it work
7.1.2 mytwonky fix.png
7.1.2 mytwonky fix.png (32.92KiB)Viewed 4499 times
I've attached a modified copy of the config.js with the edits pre-made for you

Enjoy!
7.1.2 config.js.zip
(32.83KiB)Downloaded 407 times
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: How to fix the page refresh bug in Twonky 7.1.2 Special

Post by phibertron » Fri Nov 23, 2012 8:19 pm

I've also added this fix to the search version of 7.1.2
Here you go, Version 2 of this tweak, pre-edited for 7.0.9 and 7.1.2

Whats New in Version 2
==================
- moved the search function into the loadmediacontents function
- made it so a search can survive a page refresh
- added a fix for a known mytwonky breadcrumb page refresh bug
- added a fix for a kwown page refresh in 7.0.10 through 7.1.2

Twonky 7.0.9 Special Search Version 2.zip
http://www.twonkyforum.com/download/file.php?id=882

Twonky 7.1.2 Special Search Version 2.zip
http://www.twonkyforum.com/download/file.php?id=881
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Locked