Another Google Videos Script
#1
greetings,

i have written a google video script. it can be downloaded here.

the other google video scripts i have seen so far only support popular and random categories. or they only display the first 100 videos.

this one supports all categories and any number of pages. pages can be changed with the x and y buttons.



Reply
#2
i know it's a poor bugreport, but -- it doesn't work. and it ended with a nice exception = xbmc nuke
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
thanx pike. i shall look into it as soon as i get home.
Reply
#4
hi.

i tested on a pal box with xbmc release march 20 t3ch.
it all works fine for me but i was not able to play the videos in "musicvideos".
also some videotitles could not be shown.

thanks for this script!
Reply
#5
http://pastebin.com/617236

has more info. thats the first run, after a forced restart and new attempt, it ran, with this output:

Quote:23-03-2006 01:38:41 info -->python initialized<--
23-03-2006 01:38:41 info
23-03-2006 01:38:41 debug cguimediawindow::getdirectory (q:\scripts\gvp)
23-03-2006 01:38:41 debug parentpath = [q:\scripts\gvp]
23-03-2006 01:38:41 debug loadlibrarya('_ssl.pyd')
23-03-2006 01:38:41 debug kernel32.dll fake function disablethreadlibrarycalls called
23-03-2006 01:38:41 debug loadlibrary('_ssl.pyd') returning: 0xb6efe0
23-03-2006 01:38:41 debug _ssl.pyd!getprocaddress(0xb6efe0, 'init_ssl') => 0x1391aa0
23-03-2006 01:38:41 debug loadlibrarya('_sre.pyd')
23-03-2006 01:38:42 debug kernel32.dll fake function disablethreadlibrarycalls called
23-03-2006 01:38:42 debug loadlibrary('_sre.pyd') returning: 0xc89d80
23-03-2006 01:38:42 debug _sre.pyd!getprocaddress(0xc89d80, 'init_sre') => 0x141a120
23-03-2006 01:38:42 info loading skin file: dialogprogress.xml
23-03-2006 01:38:44 debug activating window id: 13000
23-03-2006 01:39:25 info loading skin file: dialogprogress.xml
23-03-2006 01:39:26 debug cplayercorefactor::getplayers(http://vp.video.google.com/videodownload?version=0&secureurl=oqaaadijzsvsqrrzy24qho9pk73hv6unplx4be5e31o6tql_lp9ufp-z4rpdnoo0fw4lpwocwibmxqvkqhagt2x8yq

fkx0rz8neyvq65mwv30zesu5cmbfnbjr8tohx7kj4x3enfoildi0d_1zjwfd2oqgvw-0twcryidu8aik7opmf40hsi

quzdqb15hxn9nqdvuxppzmsmtcc4g3tve7bdooq0xxk2uxsm632wks3znb&sigh=cxxlyd3wylgp25cwqmjgwnexuei&begin=0&len=30063&docid=-6565353951300176477 cachesize:1024
...etc



Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#6
thanx rockstar. thats weird it works for you and not for pike. i dont think anything i use in my code relies on the specific python version of xbmc version.

yes some videos do not play. the reason for this is that not all videos have download links. the ones that dont have download links can be viewed only through a flash viewer. atleast this is my understanding of google videos. somebody please correct me if im wrong.

the titles not showing up for some videos is something i have noticed too. i shall look into it later and try to find out what is wrong.
Reply
#7
@pike: what version of xbmc are you using?
Reply
#8
cvs (without the anon lag)

i had built maybe 2 hours ago,
latest log message:
- 22-03-2006 fixed: volume change with the remove moved in large chunks.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#9
@pike: can you verify that you have the urllib2 python module? seems like your xbmc is unable to find it. do you have multiple versions of xbmc on ur xbox ? if you do can you try it with a difference version of xbmc?
Reply
#10
whats the module called ?

pls keep in mind im a python n00b

no, having more than one build installed isn't a good idea, so i don't do that
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#11
@pike: no problem. can you download the file python23.zlib from your python folder in the xbmc root directory to your computer and rename it as a .zip file and optn it. now ensure that you have a file called urllib2 inside it and it should be about 44kb.

what resolution do you run at?
Reply
#12
im at pal 16:9 (720x576)

yes file is there, and clocks in at 41 576 bytes
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#13
@pike: did you try running my plugin just once? if so can you try loading it 2-3 times more and see if you get the same messages in the log file?
Reply
#14
i havent been able to get the same issue that i got the first time. ran it maybe 6 times now without crashes

one feature that is needed is bookmarking. i saw a cool video under random category, but i cant for the life of me find it now, even if i search video.google.com Sad
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#15
@pike: yeah iv seen some scripts do that once in a great while. they die with the same error with problems related with loading the .zlib file.

thanx for ur suggestion.
Reply

Logout Mark Read Team Forum Stats Members Help
Another Google Videos Script0