Another Google Videos Script

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
sumanthjv Offline
Junior Member
Posts: 24
Joined: Mar 2006
Reputation: 0
Post: #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?
find quote
pike Offline
Project Manager
Posts: 4,820
Joined: Sep 2003
Reputation: 28
Location: Sweden
Post: #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: badge.gif]
find quote
sumanthjv Offline
Junior Member
Posts: 24
Joined: Mar 2006
Reputation: 0
Post: #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?
find quote
pike Offline
Project Manager
Posts: 4,820
Joined: Sep 2003
Reputation: 28
Location: Sweden
Post: #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: badge.gif]
find quote
sumanthjv Offline
Junior Member
Posts: 24
Joined: Mar 2006
Reputation: 0
Post: #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.
find quote
LaTropa64 Offline
Fan
Posts: 649
Joined: Nov 2005
Reputation: 0
Post: #16
works good here!

one thing i can't figure out though is how to change the page number with the remote control. i tried the next and previous buttons and a bunch of others but none of them seem to do it. i can only do it if i get up and plug in my controller and than use the x and y buttons on it.



edit: i was looking through gvp.py and i changed the following two lines:

action_x = 18
action_y = 34

to

action_x = 15
action_y = 14

and now it will change pages with the next and previous buttons on the remote. that probably isn't the correct way to do this since the numbers 15 and 14 are duplicated in that list now and it breaks using the gamepad but it is working and i never use the gamepad anyways so there doesn't seem to be any other conflict that i've noticed.
find quote
sumanthjv Offline
Junior Member
Posts: 24
Joined: Mar 2006
Reputation: 0
Post: #17
ahh thanx for letting me know. i dont have a remote and never tested it with a remote. will look into it later Smile
find quote
kWh Offline
Junior Member
Posts: 1
Joined: Apr 2006
Reputation: 0
Post: #18
hi, regarding the thread topic, what other google video scripts are there? this seems to be one, but the interface isn't as good, it doesn't stream videos and doesn't have categories (and needs self.docid = "" on line 39 to run at least here).. but does have search function and clean code.

while acknowledging that this is "highly alpha", it could use a rewrite if it's meant to be built up on. i hacked a search function under a new button but it involved replicating chunks in order to avoid a rewrite. patch is available if wanted.
sure preview and bookmarking would be nice but it might be easier to take a fresh start.

@latropa64:
the remote buttons could be remapped in keymap.xml under <global> or <scripts>, iirc default has x as display.
find quote
sumanthjv Offline
Junior Member
Posts: 24
Joined: Mar 2006
Reputation: 0
Post: #19
Version 0.2 released. Download here.
  • Added Search function.
  • Thumbnails of videos are displayed in video list.
  • Thumbnails are retrieved in parallel to speedup display.
  • Made parsing more robust.
  • Better support for IR remote control.
find quote
Chandler Offline
Member
Posts: 53
Joined: Sep 2005
Reputation: 0
Post: #20
Very good work, works like a charm !
find quote