[RELEASE] Web Viewer - Programs Addon & Module

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dozens Offline
Junior Member
Posts: 27
Joined: Apr 2011
Reputation: 0
Post: #16
eTip Wrote:Get Cyberduck for Mac then connect to your ATV via SFTP. Then you can drag and drop the zip file to ATV.

Okay, I downloaded Cyberduck and the zip file, thank you! Now, what do I do in Cyberduck? Sorry, I know nothing of how to do this stuff but I'm trying!
find quote
eTip Offline
Senior Member
Posts: 139
Joined: Apr 2011
Reputation: 0
Post: #17
http://www.zappletv.com/2011/04/10/how-t...cyberduck/

...found simply by Googling: Cyberduck SFTP apple tv
find quote
dozens Offline
Junior Member
Posts: 27
Joined: Apr 2011
Reputation: 0
Post: #18
Thank you for the link, but when I attempt to do this is consistently times out.

I am putting the IP address in the Server filed, then root and alpine in user/pass. I don't get it.
find quote
Shoesy Offline
Donor
Posts: 184
Joined: Jan 2010
Reputation: 1
Location: UK
Post: #19
dozens Wrote:Thank you for the link, but when I attempt to do this is consistently times out.

I am putting the IP address in the Server filed, then root and alpine in user/pass. I don't get it.

Are you using the sftp option?

Check out my stationery blog- http://www.tailormadeinvites.co.uk
find quote
dozens Offline
Junior Member
Posts: 27
Joined: Apr 2011
Reputation: 0
Post: #20
Yes I am.
find quote
eTip Offline
Senior Member
Posts: 139
Joined: Apr 2011
Reputation: 0
Post: #21
@dozens:

Is your ATV on the same network as the Mac?

If so, can you ping the ATV from the Mac?

If so, can you ssh from the Mac to the ATV?
(in terminal, "ssh root@<ip address of ATV>")


If all of the above work then there is likely something wrong with how you are entering the information in Cyberduck. If it doesn't fill in the port for you automatically (I don't currently use Cyberduck) it should be port 22, the userid should be "root" & the password is "alpine".

If you CAN ping the ATV from the Mac but CANNOT ssh to it then it's likely ssh was not installed during jailbreak in which case, you will need to install it. Some of the jailbreak tools provide a method to install ssh separately I believe.
find quote
dozens Offline
Junior Member
Posts: 27
Joined: Apr 2011
Reputation: 0
Post: #22
It is on the same network. And I can SSH into it. Now it is saying "Connection Refused". I do put the ATV2's IP address in the Server area, right? And do I need to keep that private or can I post it?
find quote
eTip Offline
Senior Member
Posts: 139
Joined: Apr 2011
Reputation: 0
Post: #23
For Cyberduck, you are using port 22, right?

Wait - When you say you CAN ssh into it, you mean that it DOES accept the user id & password & returns a prompt like this:

AppleTV:~ root#

It's not clear to me when you say you are getting "connection refused" if you mean when you SSH or in Cyberduck when you SFTP.

Assuming the IP is in the 192.168.X.X (i.e. 192.168.1.15) or 10.X.X.X (i.e. 10.15.10.104) range then posting it won't hurt but also probably won't help us help you. If you checked the IP in the AppleTV interface can ping it then you have that part right.
find quote
dozens Offline
Junior Member
Posts: 27
Joined: Apr 2011
Reputation: 0
Post: #24
Yes, using port 22.

And I can SSH into it using Terminal "ssh root@<atv2 IP address>"

But I get a connection refused using Cyberduck.
find quote
eTip Offline
Senior Member
Posts: 139
Joined: Apr 2011
Reputation: 0
Post: #25
If you can SSH, you should be able to SFTP from the same computer. I am downloading Cyberduck on my Mac now to see what you might be missing.
find quote
eTip Offline
Senior Member
Posts: 139
Joined: Apr 2011
Reputation: 0
Post: #26
Can you post a screenshot of your Cyberduck window with the ATV info entered?


It should look like this:

http://guimkie.com/files/images/fa-1.png

(With your ATV IP obviously. That's not from me, just an image I found on the web)

Steps:

1) open Cyberduck
2) click "Open Connection" (upper left)
3) in the window that pops up, change Protocol to "SSH"
4) for Server, enter IP of your ATV (i.e. 192.168.1.12)
5) Enter "22" for port
6) Enter "root" for username and "alpine" for password.
7) click "connect"
(This post was last modified: 2011-05-29 03:09 by eTip.)
find quote
dozens Offline
Junior Member
Posts: 27
Joined: Apr 2011
Reputation: 0
Post: #27
Success! Don't know why, but now it's working! I think it was a problem with my Airport Extreme.

So, now that I am SSH'd into the ATV2, where do I put the script.web.viewer.zip file and what do I do to it?
find quote
eTip Offline
Senior Member
Posts: 139
Joined: Apr 2011
Reputation: 0
Post: #28
Put the zip in /var/mobile or a subfolder there. In XBMC, "Home"= /var/mobile. You can delete the zip once it installs.

Then in XBMC: Settings > Addons > Install from zip > Home folder > select the zip > OK

Assuming it installs Ok, to open it: Progams > Addons > Web viewer

.... Now, if you are anything like me once you get it open you will soon discover it's not obvious how the CLOSE it! To do so: Press & HOLD Menu > Options > Settings > check Simple Controls > OK. Now press & hold Menu again > scroll down > Exit Web Viewer. (if there is an easier/better way, I am not aware of it.)
find quote
dozens Offline
Junior Member
Posts: 27
Joined: Apr 2011
Reputation: 0
Post: #29
Thank you! BUT I ran into a problem early...

I uploaded the zip to /var/mobile and navigated to it via XBMC, but when I select the file to unzip/install it does not appear to do so and says:

[INDENT]Web Viewer
Dependencies not met[/INDENT]

Hope there's an easy fix!
find quote
gobbledigook Offline
Senior Member
Posts: 235
Joined: Aug 2009
Reputation: 0
Post: #30
ruuk Wrote:Try this version:

http://webviewer-xbmc.googlecode.com/fil...-0.7.9.zip

It adds a close option to the menu, and should install fine from the zip I assume.

hi Smile this version didn't work for me Sad crashed xbmc, i use dharma, on ubuntu 11.04. this looks really promising and i hope to see it working, its something missing from xbmc for a while.

crashlog:

Code:
20:08:42 T:140192913340160 M:3208335360  NOTICE: -->Python Interpreter Initialized<--
20:08:42 T:140192913340160 M:3207573504  NOTICE: {'unplayed': 'True', 'albums': 'True', 'limit': '6'}
20:08:54 T:140193308350560 M:3163566080   ERROR: Keymapping error: no such action '-' defined
20:08:55 T:140192950388480 M:3163389952   ERROR: Previous line repeats 5 times.
20:08:55 T:140192950388480 M:3163389952  NOTICE: My Music: Scanning for music info using worker thread, operation took 00:14
20:09:09 T:140193308350560 M:3130372096   ERROR: Texture manager unable to load file: /home/server/script.web.viewer-0.7.9.zi$
20:10:19 T:140192921732864 M:3127017472 WARNING: CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
20:10:23 T:140192686778112 M:3139248128  NOTICE: -->Python Interpreter Initialized<--
20:10:25 T:140192686778112 M:3137753088  NOTICE: WEBVIEWER: STARTED
20:10:26 T:140192652887808 M:3155021824  NOTICE: http://wiki.xbmc.org/index.php?title=XBMC_Online_Manual
20:10:27 T:140192686778112 M:3155062784  NOTICE: WEBVIEWER: displayPage() - START

thanx!

EDIT: did it with debug on and settings default.... here's the log. could scroll up and down a bit this time and it was only when i pressed right did it crash!
(This post was last modified: 2011-06-14 21:33 by gobbledigook.)
find quote
Post Reply