PDA

View Full Version : Plugin help.


coolblaze03
2008-11-15, 23:08
I couldnt find any tutorial on how to create a plugin so i found a couple and tried to mimic the behavior but with the modified values of the site i was trying to access. if anyone could tell me whats wrong it would be much appiciated.

When i clicked the plugin it tells me it cannot connect to the server.


import urllib,urllib2,re,xbmcplugin,xbmcgui,socket,xbmc




def CATS():
addDir('Action','http://www.thepiratecity.org/search.htm?cat=29&type=',1,"")
addDir('Drama ','http://www.thepiratecity.org/search.htm?cat=33&type=',1,"")
addDir('Family','http://www.thepiratecity.org/search.htm?cat=31&type=',1,"")
addDir('Horror','http://www.thepiratecity.org/search.htm?cat=34&type=',1,"")
addDir('Comedy','http://www.thepiratecity.org/search.htm?cat=32&type=',1,"")
addDir('Sci-fi','http://www.thepiratecity.org/search.htm?cat=36&type=',1,"")
addDir('Others','http://www.thepiratecity.org/search.htm?cat=37&type=',1,"")


def INDEX(data):
req = urllib2.Request(data)
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14')
lemon = urllib2.urlopen(req);response=lemon.read();lemon.c lose()
url=re.compile('<a class="anc" href="(.+?)\"').findall(response)
#url=re.compile('<div onclick="window.location.href=\'(.+?)\'" onMouseOver="toggleDiv.+?"').findall(response)
name=re.compile('_(.+?).htm').findall(str(url))
#name=re.compile('/(.+?),.+?.html').findall(str(url))
#thumb=re.compile('<img src="(.+?)" width=".+?" height=".+?" border="0">').findall(response)
for n in range(0,len(url)):
addDir(name[n],'http://www.thepiratecity.org/'+url[n],2,"")

def ExtractMediaUrl(data):
if len(data) > 0:

videoPath = ""
storeMessage = ""
alphabet = "abcdefghijklmnopqrstuvwxyz"
randomAlpha = ""
randomNumber = 0
storeMessage = data
switchOverDecoded = ""
keyPosition = 0
i = 0
j = 0

while i < 26:
if data[0] == alphabet[i]:
keyPosition = i
i = i + 1

i = 0

while i < 26:
randomAlpha = randomAlpha + alphabet[keyPosition]
keyPosition = keyPosition + 1
if keyPosition == 26:
keyPosition = 0
i = i + 1

i = 0

while i < len(storeMessage):
if (storeMessage[i] > "`" and storeMessage[i] < "{"):
j = 0
while j < 26:
if (storeMessage[i] == randomAlpha[j]):
switchOverDecoded = switchOverDecoded + alphabet[j]
j = j + 1
else:
switchOverDecoded = switchOverDecoded + storeMessage[i]
i = i + 1

storeMessage = switchOverDecoded[1:]
randomAlpha = ""
switchOverDecoded = ""
videoPath = storeMessage

return videoPath

else:
return ""



def VIDEO(url,name):
req = urllib2.Request(url)
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14')
lemon = urllib2.urlopen(req);response=lemon.read();lemon.c lose()
vpageurl=re.compile('<iframe scrolling="no" frameborder="0" src="(.+?)\"').findall(response)

req = urllib2.Request('http://www.thepiratecity.org/'+vpageurl[0])
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14')
lemon = urllib2.urlopen(req);response=lemon.read();lemon.c lose()
match=re.compile('\r\nflashvars="myURL=(.+?)"').findall(response)
link=ExtractMediaUrl(match[0])

addLink(name+'Flv',link,"")


def get_params():
param=[]
paramstring=sys.argv[2]
if len(paramstring)>=2:
params=sys.argv[2]
cleanedparams=params.replace('?','')
if (params[len(params)-1]=='/'):
params=params[0:len(params)-2]
pairsofparams=cleanedparams.split('&')
param={}
for i in range(len(pairsofparams)):
splitparams={}
splitparams=pairsofparams[i].split('=')
if (len(splitparams))==2:
param[splitparams[0]]=splitparams[1]

return param

def addLink(name,url,iconimage):
ok=True
liz=xbmcgui.ListItem(name, iconImage="DefaultVideo.png", thumbnailImage=iconimage)
liz.setInfo( type="Video", infoLabels={ "Title": name } )
ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=url,listitem=liz)
return ok


def addDir(name,url,mode,iconimage):
u=sys.argv[0]+"?url="+urllib.quote_plus(url)+"&mode="+str(mode)+"&name="+urllib.quote_plus(name)
ok=True
liz=xbmcgui.ListItem(name, iconImage="DefaultFolder.png", thumbnailImage=iconimage)
liz.setInfo( type="Video", infoLabels={ "Title": name } )
ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=u,listitem=liz,isFolder=True)
return ok


params=get_params()
url=None
name=None
mode=None
try:
url=urllib.unquote_plus(params["url"])
except:
pass
try:
name=urllib.unquote_plus(params["name"])
except:
pass
try:
mode=int(params["mode"])
except:
pass
print "Mode: "+str(mode)
print "URL: "+str(url)
print "Name: "+str(name)
if mode==None or url==None or len(url)<1:
print "CATEGORY INDEX : "
CATS()
elif mode==1:
INDEX(url)
elif mode==2:
VIDEO(url,name)



xbmcplugin.endOfDirectory(int(sys.argv[1]))

coolblaze03
2008-11-16, 02:43
it was just bad spacing. if anyone has any pointers to make it better let me know.

Voinage
2008-11-17, 04:40
Great job :->

Nicely coded.

Add some thumbs and description of each film, if you can`t be bothered to code it have my IMDB Search function.

Pass the name to the function it does the rest.

It returns genre,year,thumb,plot & rating


def IMDB(url):
req = urllib2.Request('http://www.imdb.com/find?s=all&q='+urllib.quote(url))
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14')
response = urllib2.urlopen(req).read()
alt=re.compile('<b>Media from&nbsp;<a href="/title/(.+?)/">').findall(response)
if len(alt)>0:
req = urllib2.Request('http://imdb.com/title/'+alt[0])
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14')
response = urllib2.urlopen(req).read()
genre=re.compile(r'<h5>Genre:</h5>\n<a href=".+?">(.+?)</a>').findall(response)
year=re.compile(r'<a href="/Sections/Years/.+?/">(.+?)</a>').findall(response)
image=re.compile(r'<img border="0" alt=".+?" title=".+?" src="(.+?)" /></a>').findall(response)
rating=re.compile(r'<div class="meta">\n<b>(.+?)</b>').findall(response)
req = urllib2.Request('http://www.imdb.com/title/'+alt[0]+'/plotsummary')
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14')
response = urllib2.urlopen(req).read()
plot=re.compile('<p class="plotpar">\n(.+?)\n<i>\n').findall(response)
try:
if plot[0].find('div')>0:
plot[0]='No Plot found on Imdb'
except IndexError: pass
if len(plot)<1:
req = urllib2.Request('http://www.imdb.com/title/'+alt[0]+'/synopsis')
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14')
plotter = urllib2.urlopen(req).read();clean=re.sub('\n','',p lotter)
plot=re.compile('<div id="swiki.2.1">(.+?)</div>').findall(clean)
try:
if plot[0].find('div')>0:
plot[0]='No Plot found on Imdb'
except IndexError: pass

return genre[0],year[0],image[0],rating[0],plot[0]
else :
genre=re.compile(r'<h5>Genre:</h5>\n<a href=".+?">(.+?)</a>').findall(response)
year=re.compile(r'<a href="/Sections/Years/.+?/">(.+?)</a>').findall(response)
image=re.compile(r'<img border="0" alt=".+?" title=".+?" src="(.+?)" /></a>').findall(response)
rating=re.compile(r'<div class="meta">\n<b>(.+?)</b>').findall(response)
bit=re.compile(r'<a class="tn15more inline" href="/title/(.+?)/plotsummary" onClick=".+?">.+?</a>').findall(response)
req = urllib2.Request('http://www.imdb.com/title/'+bit[0]+'/plotsummary')
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14')
response = urllib2.urlopen(req).read()
plot=re.compile('<p class="plotpar">\n(.+?)\n<i>\n').findall(response)
try:
if plot[0].find('div')>0:
plot[0]='No Plot found on Imdb'
except IndexError: pass
if len(plot)<1:
req = urllib2.Request('http://www.imdb.com/title/'+bit[0]+'/synopsis')
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14')
plotter = urllib2.urlopen(req).read();clean=re.sub('\n','',p lotter)
plot=re.compile('<div id="swiki.2.1">(.+?)</div>').findall(clean)
try:
if plot[0].find('div')>0:
plot[0]='No Plot found on Imdb'
except IndexError: pass
return genre[0],year[0],image[0],rating[0],plot[0]

nicoli_k
2008-11-17, 07:40
Here's the code from the first post but with some spacing sorted out. I was able to start A Knight's Tale and saw all of Finish Line. Some movies didn't work, but I didn't check to see if they were working online. I was just trying to get the plugin to work and I was able to successfully watch a movie.
Just make a folder called PirateCity and copy the code into a text document and save it as default.py. Put the default.py into the PirateCity folder and put it into Video Plugins. Great plugin coolblaze03!


import urllib,urllib2,re,xbmcplugin,xbmcgui,socket,xbmc




def CATS():
addDir('Action','http://www.thepiratecity.org/search.htm?cat=29&type=',1,"")
addDir('Drama ','http://www.thepiratecity.org/search.htm?cat=33&type=',1,"")
addDir('Family','http://www.thepiratecity.org/search.htm?cat=31&type=',1,"")
addDir('Horror','http://www.thepiratecity.org/search.htm?cat=34&type=',1,"")
addDir('Comedy','http://www.thepiratecity.org/search.htm?cat=32&type=',1,"")
addDir('Sci-fi','http://www.thepiratecity.org/search.htm?cat=36&type=',1,"")
addDir('Others','http://www.thepiratecity.org/search.htm?cat=37&type=',1,"")


def INDEX(data):
req = urllib2.Request(data)
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14')
lemon = urllib2.urlopen(req);response=lemon.read();lemon.c lose()
url=re.compile('<a class="anc" href="(.+?)\"').findall(response)
#url=re.compile('<div onclick="window.location.href=\'(.+?)\'" onMouseOver="toggleDiv.+?"').findall(response)
name=re.compile('_(.+?).htm').findall(str(url))
#name=re.compile('/(.+?),.+?.html').findall(str(url))
#thumb=re.compile('<img src="(.+?)" width=".+?" height=".+?" border="0">').findall(response)
for n in range(0,len(url)):
addDir(name[n],'http://www.thepiratecity.org/'+url[n],2,"")

def ExtractMediaUrl(data):
if len(data) > 0:

videoPath = ""
storeMessage = ""
alphabet = "abcdefghijklmnopqrstuvwxyz"
randomAlpha = ""
randomNumber = 0
storeMessage = data
switchOverDecoded = ""
keyPosition = 0
i = 0
j = 0

while i < 26:
if data[0] == alphabet[i]:
keyPosition = i
i = i + 1

i = 0

while i < 26:
randomAlpha = randomAlpha + alphabet[keyPosition]
keyPosition = keyPosition + 1
if keyPosition == 26:
keyPosition = 0
i = i + 1

i = 0

while i < len(storeMessage):
if (storeMessage[i] > "`" and storeMessage[i] < "{"):
j = 0
while j < 26:
if (storeMessage[i] == randomAlpha[j]):
switchOverDecoded = switchOverDecoded + alphabet[j]
j = j + 1
else:
switchOverDecoded = switchOverDecoded + storeMessage[i]
i = i + 1

storeMessage = switchOverDecoded[1:]
randomAlpha = ""
switchOverDecoded = ""
videoPath = storeMessage

return videoPath

else:
return ""



def VIDEO(url,name):
req = urllib2.Request(url)
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14')
lemon = urllib2.urlopen(req);response=lemon.read();lemon.c lose()
vpageurl=re.compile('<iframe scrolling="no" frameborder="0" src="(.+?)\"').findall(response)

req = urllib2.Request('http://www.thepiratecity.org/'+vpageurl[0])
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14')
lemon = urllib2.urlopen(req);response=lemon.read();lemon.c lose()
match=re.compile('\r\nflashvars="myURL=(.+?)"').findall(response)
link=ExtractMediaUrl(match[0])

addLink(name+'Flv',link,"")


def get_params():
param=[]
paramstring=sys.argv[2]
if len(paramstring)>=2:
params=sys.argv[2]
cleanedparams=params.replace('?','')
if (params[len(params)-1]=='/'):
params=params[0:len(params)-2]
pairsofparams=cleanedparams.split('&')
param={}
for i in range(len(pairsofparams)):
splitparams={}
splitparams=pairsofparams[i].split('=')
if (len(splitparams))==2:
param[splitparams[0]]=splitparams[1]

return param

def addLink(name,url,iconimage):
ok=True
liz=xbmcgui.ListItem(name, iconImage="DefaultVideo.png", thumbnailImage=iconimage)
liz.setInfo( type="Video", infoLabels={ "Title": name } )
ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=url,listitem=liz)
return ok


def addDir(name,url,mode,iconimage):
u=sys.argv[0]+"?url="+urllib.quote_plus(url)+"&mode="+str(mode)+"&name="+urllib.quote_plus(name)
ok=True
liz=xbmcgui.ListItem(name, iconImage="DefaultFolder.png", thumbnailImage=iconimage)
liz.setInfo( type="Video", infoLabels={ "Title": name } )
ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=u,listitem=liz,isFolder=True)
return ok


params=get_params()
url=None
name=None
mode=None
try:
url=urllib.unquote_plus(params["url"])
except:
pass
try:
name=urllib.unquote_plus(params["name"])
except:
pass
try:
mode=int(params["mode"])
except:
pass
print "Mode: "+str(mode)
print "URL: "+str(url)
print "Name: "+str(name)
if mode==None or url==None or len(url)<1:
print "CATEGORY INDEX : "
CATS()
elif mode==1:
INDEX(url)
elif mode==2:
VIDEO(url,name)



xbmcplugin.endOfDirectory(int(sys.argv[1]))

Voinage
2008-11-17, 14:25
A full tab`d plugin is being hosted for coolblaze on my google code page.

If the movie doesn`t work exit and enter a few times - they all work after the address is changed to another mega server.

coolblaze03
2008-11-17, 22:43
Voinage, Thanks for the add on your googlecode page. should i create a google code page to post updates?

Temhil
2008-11-17, 23:20
Very good job and nice plugin, thanks a lot for that.
We are looking for your next creation :D

Voinage
2008-11-18, 00:03
No problem Coolblaze, some people cannot test and save raw python.

Why not create one for your own plugins, you are bound to create a few more - you have the bug now.

here is a little sugg to clean the names : instead or the_cat__monkey etc the cat monkey-2007.



def INDEX(data):
req = urllib2.Request(data)
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14')
lemon = urllib2.urlopen(req);response=lemon.read();lemon.c lose()
url=re.compile('<a class="anc" href="(.+?)\"').findall(response)
nameclean=re.compile('_(.+?).htm').findall(str(url ))
#Tidy names
code=re.sub('_',' ',str(nameclean));code2=re.sub(' ','-',code)
code3=re.sub(''','',code2);code4=re.sub('&amp;','&',code3);code5=re.sub('&eacute;','e',code4)
name=re.compile("'(.+?)'").findall(code5)
#small ammendment - Voinage.
for n in range(0,len(url)):
addDir(name[n],'http://www.thepiratecity.org/'+url[n],2,"")

coolblaze03
2008-11-18, 00:33
Thanks for that extra code. I am already started on my second plugin. I saw that megavideo has changed up there code so im writing a new plugin for it.

rwparris2
2008-11-18, 00:49
Another plus for having your own googlecode is you get svn, and if you work on multiple computers like me it can help keep everything in sync (plus the benefits of subversion, which you prob don't need just for plugins)

Sle7enUK
2008-11-18, 03:58
Nice plug-in and just tested it, it let me watch 1 movie, then stopped working?


00:49:05 M: 38486016 NOTICE: -->Python Initialized<--
00:49:05 M: 38486016 NOTICE:
00:49:07 M: 35627008 NOTICE: Mode: 2
00:49:07 M: 35627008 NOTICE:
00:49:07 M: 35627008 NOTICE: URL: http://www.thepiratecity.org/1377_Harold_&amp;_Kumar_Go_to_White_Castle__2004.htm
00:49:07 M: 35627008 NOTICE:
00:49:07 M: 35627008 NOTICE: Name: Harold_&amp;_Kumar_Go_to_White_Castle__2004
00:49:07 M: 35627008 NOTICE:
00:49:09 M: 35713024 NOTICE:
00:49:09 M: 35713024 NOTICE:
00:49:15 M: 40861696 ERROR: Error creating player for item 6f2 (File doesn't exist?)
00:49:15 M: 40861696 ERROR: Playlist Player: skipping unplayable item: 0, path [6f2]
00:49:20 M: 40796160 ERROR: Error creating player for item 6f2 (File doesn't exist?)
00:49:20 M: 40796160 ERROR: Playlist Player: skipping unplayable item: 0, path [6f2]
00:49:24 M: 40939520 ERROR: Unable to load: Q:\plugins\video\Piratecity\resources\settings.xml , Line 0
Failed to open file

This was the first film I tried and it played OK but after trying a couple of others (Quantum of Solace and Bank Job) received same error, so I tried the one above again! the 2 other films play on-line (through site).

[T3CH XBMC 2008-11-13 8.10 on Xbox]
[PMIII (Default Settings except for Video Cache 8192kb and Unknown Type Cache - Internet 8192kb)]

Could it be something at my end ?

:confused2:

Voinage
2008-11-18, 04:22
Just exit and re-enter a few times.

Piratecity uses megaupload, which change and lockout server access when capacity is overloaded.

Enter & exit until the server changes - They will work.

Sle7enUK
2008-11-18, 17:12
Thanks Voinage I know it was mentioned earlier and I did try it but it wouldn't play anything no matter how many times I tried, weird.

So after a fresh download from your google page and reinstall all seems fine now, most have played first time.

Out of curiosity, as it said:

"Unable to load: Q:\plugins\video\Piratecity\resources\settings.xml"

is there supposed to be a 'settings' file ? or is that called from XBMC itself and not the plug-in.

Cheers CB03 and Voinage for help and plug-in.

Voinage
2008-11-18, 17:29
@Sle7en

The settings.xml is an optional file for plugin settings.
To illustrate the usage , check my google video plugin.

press the black button to bring up menu, select plugin settings.

Cheers V

vedix
2008-11-18, 22:56
wow great work guys, supernice plugin, I watched a full film , all worked splendid. :grin:

native
2008-11-19, 02:47
Thanks!

chamuco
2008-11-19, 09:55
Thanks for this great plugin! I have a tip and a question. First, adding the "View All" url to the "def CATS" list will bring up the complete list, including titles not assigned to any category(at least one anyway, A Beautiful Mind, probably more). The question is, is there any way to retrieve titles that start with 0-9? Thanks again for the great work.

coolblaze03
2008-11-19, 16:13
Heres the link to my plugin. Im still working on the megavideo decryption so wish me the best.

Coolblaze03 XBMC Plugins
http://code.google.com/p/coolblaze-xbmc-plugins/downloads/list

coolblaze03
2008-11-19, 16:35
Thanks for this great plugin! I have a tip and a question. First, adding the "View All" url to the "def CATS" list will bring up the complete list, including titles not assigned to any category(at least one anyway, A Beautiful Mind, probably more). The question is, is there any way to retrieve titles that start with 0-9? Thanks again for the great work.

I have an updated plugin on my google code page. It has a all videos cat.

Coolblaze03 XBMC Plugins
http://code.google.com/p/coolblaze-x...downloads/list

Voinage
2008-11-19, 19:08
I have put up a link to a version with thumbs and IMDB plot lookup on my googlecode page. Have a look at it if you like it then take it and i will remove the link - if not tell me and i will remove the link regardless.

Few small probs CBlaze:

It has a problem with aces n eights & a few others ( You need to remove the #039; from the urls).

Also the new categories you have put up are going out of sync ie name: a knights tale. url: a shot in the dark.htm

coolblaze03
2008-11-19, 21:37
I Have added the additions that you put in. i that a knights tale plays juno....? im not really sure whats the deal with that but im looking at it.

Coolblaze XBMC Plugins
http://code.google.com/p/coolblaze-xbmc-plugins/downloads/list

Voinage
2008-11-20, 00:04
I have fixed all the bugs including imdb ones. link is on my google code page.

CB , how far along are you with megavideo algo ?

coolblaze03
2008-11-20, 07:15
im finished with the decryption and am using it to write a plugin for movie6.net. not all the links on there are for megavideo but a good portion of them are. Also it can be used to write a new quicksilverscreen plugin since there is a good mix of megavideo videos in there with the veoh ones. Ill be posting the plugin tommorrow no later than the afternoon. I dont know what the time zone differences are but im in CST -6

coolblaze03
2008-11-20, 07:16
quick question, how do you delete downloads from google code?

rwparris2
2008-11-20, 07:45
Click the description, then beside search there is a Delete link.

coolblaze03
2008-11-20, 09:36
I posted two new plugins. Both are in beta version. One for movie6.net and the other for quicksilverscreen. They both only play megavideo links. also the quicksilverscreen plugin will tell you when a link was taken down.

Coolblaze XBMC Plugins
http://code.google.com/p/coolblaze-xbmc-plugins/downloads/list

nighthawk
2008-11-20, 11:08
Thanks for the plugins coolblaze.

coolblaze03
2008-11-20, 19:52
The Quicksilverscreen pluigin i created now has veoh support. It supports Veoh and MegaVideo. Hope you like it. Also you can get the Movie Info. Thanks to Voinage. Tell me what you guys think.

Coolblaze XBMC Plugins
http://code.google.com/p/coolblaze-xbmc-plugins/downloads/list

native
2008-11-20, 19:59
The Quicksilverscreen pluigin i created now has veoh support. It supports Veoh and MegaVideo. Hope you like it. Also you can get the Movie Info. Thanks to Voinage. Tell me what you guys think.

Coolblaze XBMC Plugins
http://code.google.com/p/coolblaze-xbmc-plugins/downloads/list

sweet. :grin:

DarkHelmet
2008-11-20, 23:16
Sweet plugins. One question though concerning all of your plugins. How come some movies work fine and others don't? When I click on some movies in the list I get a message like "loading directory" but then after some seconds just nothing happens and I'm back at the list. Some other produce an error message like "too many items of the playlist could not be played". Am I doing something wrong?

coolblaze03
2008-11-20, 23:46
If you let me know which plugin and movie i will look and see can i find anything that could be wrong.

DarkHelmet
2008-11-21, 00:20
Okay, cool.

The plugin is quicksilver.
cloverfield (2008) Megavideo (both links), The Dark Knight (2008) (Megavideo), Hellboy 2 (Megavideo), I Am Legend (Megavideo), Kids (1995) (Veoh), Life Of Brian (1979) (Veoh), Spaceballs (1987) (Veoh), The Sixth Sense (1999) (Megavideo) - reads the directory but instantly returns to the list.

I'll look for some with the message about the too many not playable items.

Edit: Hellboy 2 produces the error in the piratecity plugin.

Voinage
2008-11-21, 00:39
Coolblaze , the veoh flv`s stop after 5mins for movies.

Okay for anime.

You have to setup the link like this :

http://127.0.01:64653/v12454hhdsjhjs - whatever the veoh id is.

That gives the avi file that runs with veohproxy.

Avi full length.

coolblaze03
2008-11-21, 00:56
it seems the errors are occuring when it trys to get the video info. Voinage has fixed most of it so i will be updating the plugins with the new movie info functions. Sorry about that.

Coolblaze XBMC Plugins
http://code.google.com/p/coolblaze-xbmc-plugins/downloads/list

DarkHelmet
2008-11-21, 01:21
Absolutely no need to apologize. I think you're doing a brilliant job.

coolblaze03
2008-11-21, 23:22
I updated my Plugins that had the movie info issue. and also i updated one of Voinage's AnimeSeed Plugins so that it works with all sources again.

Coolblaze XBMC Plugins
http://code.google.com/p/coolblaze-xbmc-plugins/downloads/list