Modular video URL resolving addon?
#16
ah ok, i was thinking what we were working on was the master handler...
that makes a bit more sense.
Reply
#17
update: wrote the init.py

https://github.com/icefilms-xbmc/videour..._init__.py

is it possible you could move your coding to github? they also have a webinterface for editing text documents like the .py files.
if you have a way to chat (skype or jabber or irc or something) please pm me
Reply
#18
Unbehagen Wrote:Hi all,
recently there have been a lot of video streaming plugins that all have to deal with resolving the streamable video URL individually. The most annoying things here are probably one-click-hosting services and youtube-like streaming websites that are a pain to program and debug. If we created one modular addon just for unifying these efforts, it would be much easier to create content plugins for websites distributing their media files using these services.

It should work something like in the youtube plugin:
Code:
url = "plugin://plugin.video.youtube/?path=/root/search&action=play_video&videoid=SOMEID"
, but support a variety of services along with user/premium accounts.

The services that are currently working in other plugins that I know of are: Hotfile, Rapidshare, Megaupload, Youtube, Filesonic. There are probably many more. What do you think?

Just to be sure i fully undertsand your idea: you want to create a library allowing to resolve video URL from main well knowed video hosting websites such as Rapidshare, megavideo, megashare, hotfile, youtube, etc.

Correct?
Image
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

Image
Reply
#19
@Temhil

thats the plan Wink

we've made a fair bit of progress.
https://github.com/icefilms-xbmc/videour...ver-module


its being written as a module and so that all the stuff to do with one hoster is contained within a single .py , to make it easy for people to add more resolvers.

want to help out?
Reply
#20
new stuff:
added nice new megaup and megavid resolvers, that also work for their adult equivalents.

sorry to keep bumping this thread
Reply
#21
Bump it Smile I am follow your progress... I am thinking about write greasemonkey script for this resolver. We can add play with xbmc button for websites. Like this youtube button on my download list: http://code.google.com/p/queeup/downloads/list
Reply
#22
sounds like a neat idea queeup.

i've also discovered that http://pyload.org/ and http://www.tucaneando.com/ have python url resolving routines that it might be possible to rip from their source code to expand this module (unless their code has mad dependencies). its also feasible to attempt porting some stuff from jd source.

i suppose what we are going to focus on is getting the structure of the plugin neatly done and well written, so that its as easy as possible for people to add their own resolver to it. then people won't depend on us for maintaining the resolvers.
Reply
#23
This is an awesome idea. I hope to use it, and contribute, for my greader streamer.

I think the public interface (FileHostModule) is a bit confusing as it is now. Filter, resolve, valid, isonline seem a bit redundant. I'll post something more meaningful later.

Excellent stuff.
Reply
#24
the idea is that isValid checks if the link "looks" like a URL for that file host - this doesn't take any time or bandwidth as it just checks agains the RE pattern. This method can be used by the master handler to determine the plugin to use to resolve that URL. FilterValidURLs can be used to do this for multiple URLs. Resolve actually spits out a streamable URL. I think all the methods are useful, maybe it's just the names that are a bit confusing.

Edit: That said, I didn't want to scare you into thinking you can't come up with something that is a lot smarter. I never wrote python interfaces before, so feel free to contribute anything you like! Just wanted to explain why I did what I did there.
Reply
#25
You guys should definitely start on fileserve and filesonic support after you get megavideo/megaupload working. By just supporting those 3 you will have 90% of the video on the web supported for streaming which would be pretty amazing.

Also i may not be able to code but if you guys would like me to whip up some improved filehost icons for i can do that.
Reply
#26
I went ahead and made some logos up for you guys to use if you want but you don't have to. I tried to keep them minimal and all similar looking but still retain their original colors so people could easily differentiate them from one another.

Megaupload-
Image

Hotfile-
Image

Fileserve-
Image

Filesonic-
Image
Reply
#27
oh hey, thanks for the logos. Unfortunately I won't have time to work on the add-on during the next two weeks. I will put them in when I return.
Reply
#28
kalel90 Wrote:I went ahead and made some logos up for you guys to use if you want but you don't have to. I tried to keep them minimal and all similar looking but still retain their original colors so people could easily differentiate them from one another.

nice, could you make some more to replace the ones i made originally?
they are in https://github.com/icefilms-xbmc/videour...lver_icons
Reply
#29
Ok these should round off the ones your already have in the repo.

Megavideo-
Image

Megaporn-
Image

Megaporn videos-
Image

2shared-
Image
Reply
#30
This would be great for XBMC!

Some clear thoughts about this: http://forum.xbmc.org/showpost.php?p=752417&postcount=3
Reply

Logout Mark Read Team Forum Stats Members Help
Modular video URL resolving addon?1