Kodi Community Forum

Full Version: [RELEASE] VideoMonkey - a video plugin for YouTube, Dailymotion, and everything else!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
Tried this on my xbox running XBMC from 6-16 and get an error saying:
'cache to disc' is an invalid keyword argument for this function.

All other plug-ins loaded to same directory (Q/plugins/video) and added as source under videos work just fine.
Any ideas?

Thanks in advance........
dtviewer Wrote:...my xbox running XBMC from 6-16...

Updating your XBMC would resolve the problem Cool Why do you use an old build Huh

sfaxman...
sfaxman Wrote:Updating your XBMC would resolve the problem Cool Why do you use an old build Huh

sfaxman...

Thanks sfaxman.

I have just always stuck with the build I have because it works perfect.
I didnt want to take a chance on a newer build having issues.
First: sfaxman i love youNodLaugh
Second: are there more news about justin.tv on your plugin?
Please reply to me
sfaxman Wrote:Hi Temhil,

it's probably my fault Blush I will release this weekend a stable version.
Did you try to use mplayer as player Huh It makes sometimes the difference Wink

Bonne nuit,
sfaxman...

Hi sfaxman,

I tried on XBMC windows and Xbox, but I didn't try on XBOX with the 2nd player.

I was just wonderwing something, could it be a IP address area issue?

Since I am not in Europe, when I go on the website and try to watch the video, it tells me I have the wrong IP, nevertheless if I use the video URL directly i.e:
http://mfile.akamai.com/39759/wmv/artege..._HQ_FR.wmv

It works fine ...
dtviewer Wrote:I have just always stuck with the build I have because it works perfect.
I didnt want to take a chance on a newer build having issues.

OK. I will fix this issue in the next release. But i don't know if then other errors arise. Some fonctionalities will not work.

sassi Wrote:First: sfaxman i love youNodLaugh
Second: are there more news about justin.tv on your plugin?

Merci Rofl I didn't even checked if it is doable Oo This site will unlikely be added in the next weeks.

Temhil Wrote:I was just wonderwing something, could it be a IP address area issue?

Since I am not in Europe, when I go on the website and try to watch the video, it tells me I have the wrong IP, nevertheless if I use the video URL directly... It works fine ...

Then it is not an IP issue Nerd I just checked it on the xbox and it works fine with mplayer Nod

sfaxman...
sfaxman Wrote:Then it is not an IP issue Nerd I just checked it on the xbox and it works fine with mplayer Nod

sfaxman...
Sorry I wasn't very clear, actually when I said IP issue, I meant the IP provided by my ISP, this one being not in Europe, when we download the webpage of the video (the <targetURL> url in the XML), instead of having 'availableFormats' with the video links in the loaded webpage, I have something like:
"Désolé, vous devez résider en Allemagne, France, Guadeloupe, Guyane Française, Martinique, La Réunion, Polynésie Française, Saint-Pierre-et-Miquelon, Wallis-et-Futuna, Mayotte, Nouvelle-Calédonie ou Territoires Français du Sud pour voir cette vidéo."

it appears (on the server side) there is a check on my IP address and if this one in not in the correct area, the html code generated is not the same.
Nevertheless, if I use a direct link of the video (in a strm for instance), there is not check at this leverl and so I can watch the video on my XBOX.

So the issue is when we load the webpage of the video (targetURL), since html is different, the regex won't never find the video URL and so it sill never play.

I guess it is possible to go over that a proxy?
Temhil Wrote:So the issue is when we load the webpage of the video (targetURL), since html is different, the regex won't never find the video URL and so it sill never play.

I guess it is possible to go over that a proxy?

Salut Temhil,

then, you are right Nod Use a free proxy... There is more than enough... Laugh

sfaxman...
Plugin is awesome Big Grin I would like to add support to one of my sites, anyone can help me?

I made an API to fetch info from the website:

Code:
Category list
    http://www.atrapavideo.com/xbmc/catlist
Websites list
    http://www.atrapavideo.com/xbmc/weblist
All video list
    http://www.atrapavideo.com/xbmc/all/PAGE
    http://www.atrapavideo.com/xbmc/all/2
Videos from category
    http://www.atrapavideo.com/xbmc/cat/CAT_ID/PAGE_ID
    http://www.atrapavideo.com/xbmc/cat/1/2
Videos from website
    http://www.atrapavideo.com/xbmc/web/WEB_ID/PAGE_ID
    http://www.atrapavideo.com/xbmc/web/1/2
Video info
    http://www.atrapavideo.com/xbmc/video/VIDEO_ID
    http://www.atrapavideo.com/xbmc/video/1
Hi,

first i want to say that this plugin is really great. I run it on my Windows PC and everthing worked great. Then i tried to run it on my HTPC which has ubuntu hardy + xbmc on it. If i try to connect to youtube the following error message comes:

Error running VideoMonkey.
Reason:
u'\u2665'

I take a look in the default.py and i suggest this has something to do with character coding. Sadly im not used to python and linux is also new for me.
I hope someone can help me out? Someon running VideoMonkey on Linux(Ubuntu)?

Thanks in advance.
Hm, I got this error, too, even when starting XBMC with envvar LC_ALL=POSIX.
Here's the traceback from the Debug Log:
Code:
23:05:55 T:2940976016 M: 94654464  NOTICE: Traceback (most recent call last):
23:05:55 T:2940976016 M: 94654464  NOTICE:   File "/home/echtler/.xbmc/plugins/video/VideoMonkey/default.py", line 1770, in run
23:05:55 T:2940976016 M: 94654464  NOTICE:     if self.parseView(currentView) == 0:
23:05:55 T:2940976016 M: 94654464  NOTICE:   File "/home/echtler/.xbmc/plugins/video/VideoMonkey/default.py", line 1651, in parseView
23:05:55 T:2940976016 M: 94654464  NOTICE:     self.addDir(m.title, self.codeVideoUrl(m), m.thumb, len(self.currentlist.list), m)
23:05:55 T:2940976016 M: 94654464  NOTICE:   File "/home/echtler/.xbmc/plugins/video/VideoMonkey/default.py", line 1679, in addDir
23:05:55 T:2940976016 M: 94654464  NOTICE:     u = sys.argv[0] + "?url=" + urllib.quote_plus(url)
23:05:55 T:2940976016 M: 94654464  NOTICE:   File "../Python/Lib/urllib.py", line 1123, in quote_plus
23:05:55 T:2940976016 M: 94310400  NOTICE:     s = quote(s, safe + ' ')
23:05:55 T:2940976016 M: 94310400  NOTICE:   File "../Python/Lib/urllib.py", line 1117, in quote
23:05:55 T:2940976016 M: 94310400  NOTICE:     res = map(safe_map.__getitem__, s)
23:05:55 T:2940976016 M: 94310400  NOTICE: KeyError: u'\u2665'

HTH, Floe
sfaxman Wrote:OK. I will fix this issue in the next release. But i don't know if then other errors arise. Some fonctionalities will not work.



..

Thanks but I went ahead and updated my xbmc to the newest build and everything is working great.

thanks for the great plug-in!!
ubuntu_xbmc Wrote:Error running VideoMonkey.
Reason:
u'\u2665'

If you get this error, a quick fix seems to be to change default.py, line 1679 to:
Code:
u = sys.argv[0] + "?url=" + urllib.quote_plus(url.encode("utf-8"))

Youtube now works for me, at least.

Floe
Hi floe,
I tried your modification and it seems to fix the problem. Youtube is working now. Big Grin

Thank you very much for your help.
It looks like alpha-Centauri support is broken. Huh

Could you check it please?
And if confirmed, also fix it? Wink

Edit:
And by the way, do you see a chance to add also fxguide tv support?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39