[RELEASE] Web Viewer - Programs Addon & Module

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
cosmicvibes Offline
Junior Member
Posts: 28
Joined: Sep 2010
Reputation: 0
Post: #51
I have the exact same problem. My crashlog shows the same behaviour has the last poster, so probably not much point posting here. I am indeed also on nightly builds. Unfortunately I do not know with which build this problem started as am using the plugin for the first time.

Let me know if any more info on my install would help.
find quote
kreeturez Offline
Member+
Posts: 139
Joined: Aug 2011
Reputation: 0
Post: #52
cosmicvibes Wrote:I am indeed also on nightly builds. Unfortunately I do not know with which build this problem started as am using the plugin for the first time.

Perhaps try updating to one of the recent Eden Betas to rule out issues with Nightlies?

I can confirm it runs great on Eden Betas 1 through 3 on Win64... The betas themselves are also quite stable...
find quote
ruuk Online
Skilled Python Coder
Posts: 901
Joined: Aug 2005
Reputation: 133
Location: Bremerton, WA USA
Post: #53
Version 0.8.5

Fixes a bug causing downloads to fail.

Get it here:

http://webviewer-xbmc.googlecode.com/fil...-0.8.5.zip
find quote
maschmagic Offline
Junior Member
Posts: 2
Joined: Apr 2012
Reputation: 0
Post: #54
Hi guys

I'm pretty new, so I ask you guys to be a bit more forgiving.

Is it possible to run Web Viewer via terminal/command line?

For example, I am using ssh into the XBMC machine with PuTTY and get access to root.

What I want to do is something like
# webviewer http://news.google.com

Ultimately what I want to do is use Cron to open the headlines every morning at 7am before going to work.

I have found the directory of webviewer to be at /.xbmc/addons/script.web.viewer/ and inside those directories there are some files with .py extension. I don't know which ones are executable. I searched online and supposedly these are python files? I also tried # python webviewer.py and it outputs an error :

root ~/.xbmc/addons/script.web.viewer/lib/webviewer # python webviewer.py
Traceback (most recent call last):
File "webviewer.py", line 1, in <module>
import xbmcaddon #@UnresolvedImport
ImportError: No module named xbmcaddon
root ~/.xbmc/addons/script.web.viewer/lib/webviewer #

I have no idea what I'm doing now. I'm just experimenting. And I've hit a wall. Please advise?
find quote
pgoeri Offline
Member
Posts: 94
Joined: Jun 2010
Reputation: 1
Location: Austria
Post: #55
hi maschmagic,

the xbmc addons are only executable within xbmc hence the error message. But you could probably create a command line tool based on this plugin...

.. OR:

IMHO it would be better to just start a rss reader with cron and use for example this rss link:
Code:
http://news.google.com/news?pz=1&cf=all&ned=us&hl=en&topic=h&num=3&output=rss

JDownloader Plugin - Handle JDownloader from within xbmc
IRFree Plugin - Add links from irfree.com to JDownloader
RlsBB Plugin - Add links from rlsbb.me to JDownloader
find quote
maschmagic Offline
Junior Member
Posts: 2
Joined: Apr 2012
Reputation: 0
Post: #56
Thanks for the reply. The news bit is just a start, eventually I may want to run more stuff on the TV, like voice weather announcements and stuff. So I think I still need a web based solution..

Remember in Iron Man 1 when the lady reporter woke up and there was an announcement about the weather, top headlines and stuff? something along those lines.. my dream of living like Ironman is edging closer and closer =p
find quote
ruuk Online
Skilled Python Coder
Posts: 901
Joined: Aug 2005
Reputation: 133
Location: Bremerton, WA USA
Post: #57
(2012-04-20 13:24)maschmagic Wrote:  Thanks for the reply. The news bit is just a start, eventually I may want to run more stuff on the TV, like voice weather announcements and stuff. So I think I still need a web based solution..

Remember in Iron Man 1 when the lady reporter woke up and there was an announcement about the weather, top headlines and stuff? something along those lines.. my dream of living like Ironman is edging closer and closer =p

What you want is possible, but you would probably need to do in python by writing a service addon. The simplest possibility would probably be a script that starts with xbmc and immediately calls time.sleep() for the amount of time till it needs to run the script. Of course you'll need to know/learn some python and learn how to write an addon.

Of course if the device you are doing this can run a real browser from the command line, that would be even easier and better Smile
(This post was last modified: 2012-04-20 15:15 by ruuk.)
find quote
ruuk Online
Skilled Python Coder
Posts: 901
Joined: Aug 2005
Reputation: 133
Location: Bremerton, WA USA
Post: #58
Version 0.8.7

Changes:
- Fixes broken skin for the image viewer

On my REPO.
(This post was last modified: 2012-05-10 12:29 by ruuk.)
find quote
ruuk Online
Skilled Python Coder
Posts: 901
Joined: Aug 2005
Reputation: 133
Location: Bremerton, WA USA
Post: #59
Version 0.8.8

Changes:
- Handle alternate code for 'Previous Menu' action

On my REPO.
find quote
ruuk Online
Skilled Python Coder
Posts: 901
Joined: Aug 2005
Reputation: 133
Location: Bremerton, WA USA
Post: #60
Version 0.8.9

Changes:
- When opening from within another addon, the parent directory (backspace on the keyboard) action will now exit when there are no more pages in the history.

On my REPO.
find quote
Post Reply