Page 1 of 1

twonky server my library stays empty remote.

Posted: Fri Oct 03, 2014 8:41 pm
by spacecabbie
Hi i have setup twonky to work remotely

local under the localip:9000 and localip:9100 all works like a charm

Remotly myname.duckdns.org:9100 works fine apard from the fact that when click video the page loads and only show the my library and nothing else....
Setings page wil load fine and shows it has scanned Videos: 3161.

Any one know whats going on here ?

Re: twonky server my library stays empty remote.

Posted: Fri Oct 03, 2014 9:31 pm
by phibertron
what version of twonky?

Re: twonky server my library stays empty remote.

Posted: Fri Oct 03, 2014 9:46 pm
by spacecabbie
Version: 7.2.8

Re: twonky server my library stays empty remote.

Posted: Fri Oct 03, 2014 10:04 pm
by phibertron
Ill assume you configured the twonkyserver.ini correctly?
Or did you just do a port forward?

In any case you should take a look at this

[INFO] Twonky Server 7.2.8 Web Interface Remote Access
http://twonkyforum.com/viewtopic.php?f=2&t=11708

Re: twonky server my library stays empty remote.

Posted: Fri Oct 03, 2014 10:13 pm
by spacecabbie
yep studied that to the leter simulair setup but i use port 9100

appard from that all settings the same including runing on http

Re: twonky server my library stays empty remote.

Posted: Sat Oct 04, 2014 1:01 am
by phibertron
Odd, once I did the last thing mentioned in that post it worked for me, in regards to the https issue

Are you connecting using http or https?
# enable https remote connections
enabletls=0

# dynamic dns prefix for remote access, including http:// or https://
dyndns=http:// myname.duckdns.org
Or
# enable https remote connections
enabletls=1

# dynamic dns prefix for remote access, including http:// or https://
dyndns=https:// myname.duckdns.org
In the past, in prior versions one sometimes needed to also add the port here

# dynamic dns prefix for remote access, including http:// or https://
dyndns=http:// myname.duckdns.org:9100

Or, depending on what enabletls was set to

# dynamic dns prefix for remote access, including http:// or https://
dyndns=https:// myname.duckdns.org:9100
As an alternative, you could use my modified version,
no twonkyserver.ini tweaks needed,
no reboot needed
just backup the originals
and then port forward to 9000

Twonky 7.2.x Search Version 6
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg

.

Re: twonky server my library stays empty remote.

Posted: Sat Oct 04, 2014 8:54 am
by spacecabbie
Ok nice your files fixed the problem but now it won't play in the browser anymore insteath just prompt to download the files.

Got any solutionb for that?

So far good :)

Re: twonky server my library stays empty remote.

Posted: Sat Oct 04, 2014 5:01 pm
by phibertron
what browser?
Its possible that the file type association is set to download

Re: twonky server my library stays empty remote.

Posted: Sat Oct 04, 2014 5:14 pm
by spacecabbie
this is in chrome and ie it did work localy but with these changed files playback reverts to download file.

Re: twonky server my library stays empty remote.

Posted: Sat Oct 04, 2014 7:37 pm
by phibertron
I'll take a look at the issue and report back

Re: twonky server my library stays empty remote.

Posted: Sun Oct 05, 2014 4:42 pm
by phibertron
I haven't tested yet, been a little busy, but maybe this might be it

If you edit the "index.html", and remove this, its at the top, save it
<!-- phibertron -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
then just refresh or reopen a browser to the server, and see if it helps

Re: twonky server my library stays empty remote.

Posted: Sun Oct 05, 2014 5:11 pm
by spacecabbie
No fix and caused the website to become slow sluggish and not load proper pages like klicking on folders then show the same page i was on afhter klick twice it would go and in the end still direct download link.

Take your time btw its not an urgent issue i want to share my movies with my Gf in england so thats why the stream is importand.

Re: twonky server my library stays empty remote.

Posted: Sun Oct 05, 2014 5:50 pm
by phibertron
Bummer

Re: twonky server my library stays empty remote.

Posted: Thu Jan 08, 2015 11:46 am
by Siliphant
I had almost the same issue: no items were shown in 'My Library'. It's a bug in the web-UI of twonky 7.2.x, while 7.0.11 didn't have that issue.

As a workaround: Just access twonky by its IP address instead of its DNS name. For example: use http://192.168.0.10:9000 instead of http://nas:9000 (not sure if that helps for DynDNS access too, I'm not using this). At least in my case that solves the issue.

The bug is located in resources/webbrowse/browse.js: functions 'isServer()' and 'getPort()' are erroneous, they obviously expect IP addresses, not DNS names.

Edit: The code can be fixed like this:
resources/webbrowse/browse.js, line 271

original:
var i = url.indexOf(":", 6);

replace by:
var i = url.lastIndexOf(":");

(unfortunetely I'm not allowed to upload browse.js as an attachment)