script.module.urlresolver development - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Add-ons (/forumdisplay.php?fid=26)
+--- Thread: script.module.urlresolver development (/showthread.php?tid=105707)
- DragonWin - 2011-11-18 17:55
Sorry for being absent, but some one at the company decided that "sure we can build a fully redundant 2-factor authentication solution with fail-over between Europe, US, and Asia, and we can do it within a month. Unfortunately the software that was decided upon did not support "virtualization" and no one had taken into account the added security that must be in place for such a service, so I have been working between 50 and 70 hours a week since I disappeared, and I don't see much (if any) time to work on the resolver this year or Q1 next year.
Eldorado Wrote:Well I took a look in Dragonwin's context menu stuff, and I have questions.. hopefully he shows up again!
This was originally thought of as being an easy way to add favorites / delete favorites etc, and not a full manipulation of the contextmenu. In hind sight it might have been better to have made it more flexible.
This should properly have been called some thing different, now that you mention it, I can see how confusing the naming is. It's not the contextmenu list it refers to, but the items currently being shown on the xbmc screen (such as movies / songs).
True = Execute code and update the list of movies / songs shown on the screen
False = Execute code but do not update of the list shown on the page
Eldorado Wrote:To replace the context menu you do this:
You are right, it's not possible in the current code to call other XBMC.functions than the Container.Update and XBMC.RunPlugin. For the favorites the Container.Update is used when a favorite is deleted, and RunPlugin is used when they are being added.
Eldorado Wrote:So.. it would be nice if Dragonwin could come back to help out on this, if not then I think it might be best to drop the helper function and just let a list item get passed into add_directory() and add_video_item() along with a boolean for replaceitems
Yes you are right it should be added to any directory or video/music item.
I hope this have given you some of the answers you were looking for. Again as I mentioned before this is the first time I actually have coded any thing in python, so I'm fairly sure the code can be optimized / simplified.
- Eldorado - 2011-11-18 19:22
Ah.. I understand it now
I'm thinking for starters we should just add in the support for context menu's how I mentioned - allow them to be passed in
I'm not sure how helpful a 'helper' function could be to create the objects? Might be tough to create one that is very flexible
- t0mm0 - 2011-11-18 19:43
DragonWin Wrote:I hope this have given you some of the answers you were looking for. Again as I mentioned before this is the first time I actually have coded any thing in python, so I'm fairly sure the code can be optimized / simplified.
thanks for the explanation dragonwin - (and i hope you had fun with your authentication project ) sorry you are too busy to play with this stuff but i know the feeling
i'll take a look this weekend and see if i can simplify and make it a bit more flexible (probably the kind of thing eldorado suggested to start with). i think then we will be close to a release!
- MaxMustermann - 2011-11-29 12:47
Any updates, t0mm0?
I have begun to rework my xstream plugin some weeks ago because the release of urlresolver seemed to be near. Now that it takes so long to finish urlresolver, my users lost patience and started to convert the urlresolver plugins back to xstream plugins I love urlresolver but that's definitely a negative side effect for me.
- t0mm0 - 2011-11-29 19:47
MaxMustermann Wrote:Any updates, t0mm0?
sorry for the lack of progress - there is always something else to get in the way
the last change that needs to be made is the context menu stuff, which should be a quick fix (and actually doesn't affect urlresolver itself anyway, just the common modules), then it is a matter of getting it in the official repo.
i should get the context menu changes done by the this weekend (unless someone sends a patch sooner ) after that it is a matter of whether anything needs to be done to make it ready for the official repo.
- halfman - 2011-12-06 21:05
Checking to see if there has been any progress made, thanks for all your work?
- Eldorado - 2011-12-07 00:03
t0mm0 - Just sent you a pull request with the contextmenu suport
- dirtylion - 2012-01-03 11:44
someone can help me with videobb.com
the decoded link is always empty for me..
here my short script:
import re, urllib
url = "http://videobb.com/watch_video.php?v=8FvAG6AQpHi8"
data = urllib.urlopen(url).read()
id = re.findall('"u":"(.*?)"', data)
for each in id:
- Lynx187 - 2012-01-03 13:30
your search result is already empty.
you should call this url:
- dirtylion - 2012-01-03 14:28
thank you for your feedback.
sorry url = "http://videobb.com/watch_video.php?v=8FvAG6AQpHi8" was a typo.
i get now this as output (240p and 480p):
but this links still empty
any idea why ?
- Lynx187 - 2012-01-03 15:09
Yes, this is only the first part of the link. If you use e.g. Wireshark you will see that the videolink is much longer.
A solution written in python is here: https://github.com/Lynx187/xbmc-urlresolver/blob/master/script.module.urlresolver/lib/urlresolver/plugins/videobb.py
How to decrypt what i found on rapidleech.
- dirtylion - 2012-01-03 15:42
Lynx187 Wrote:Yes, this is only the first part of the link. If you use e.g. Wireshark you will see that the videolink is much longer.
- Harry Muscle - 2012-01-23 21:27
I noticed there hasn't been any activity on t0mm0's github repository for this project since November 3, so I was just wondering if this project is still active and being maintained or if it has been abandoned? I was hoping to use it for my latest project, but if it's no longer being maintained I might have to rethink that.
Thanks for any input.
- Eldorado - 2012-01-23 23:15
Harry Muscle Wrote:I noticed there hasn't been any activity on t0mm0's github repository for this project since November 3, so I was just wondering if this project is still active and being maintained or if it has been abandoned? I was hoping to use it for my latest project, but if it's no longer being maintained I might have to rethink that.
The common library and urlresolver are pretty much ready, if t0mm0 doesn't come back anytime soon I think it might be best that we take it upon ourselves to try and get them into the official repo so they can be used by all
- newatv2user - 2012-01-24 18:54
Never knew this thing existed. So far I've seen couple of addon author's own implementation of such an idea. Ajay had snapvideos on his addons. Pretty sure I saw someone else's library too. I'm even working on my own implementation based on jbel's work on documentaryheaven. If I knew about this one, I wouldn't have had to.