XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > Plugin/Script (Python) Help and Support

Plugin/Script (Python) Help and Support Python requests/suggestions, support, bugs, and everything python goes in here!
Please, add platform prefix to threads that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]"

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 2004-11-08, 13:01   #1
pike
Project Manager
 
pike's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 4,281
pike is on a distinguished road
Send a message via MSN to pike
Default

not sure everyone knows, but i got it from a trustworthy source that there's a way to make aqt more bulletproof. the solution is quite genious.

here's the story: itunes has apple trailer support. it does this by an .xml file somewhere on their site. if we could sniff that xml out and parse it, we would be there. :saint:

i'm not a skilled python coder, in fact, i never done anything in python before. nevertheless, i'm gonna see if i can figure it out, but no promises whatsoever.

any takers? (skilled coders?)
__________________
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first.


pike is offline  
Old 2004-11-08, 23:16   #2
Striker
Fan
 
Join Date: Mar 2004
Posts: 477
Striker is on a distinguished road
Default

from guybrush:

http://www.apple.com/moviesxml/h/index.xml
or
http://www.apple.com/moviesxml/h/view1_all.xml
(set your user agent to "itunes/4.5")

sneaky eh?, xml is perfect for these kind of things

itunes uses these urls for trailers, so the format wont change or they will break their own application.

firefox plugin to change user agents:
https://update.mozilla.org/extension...?id=59&vid=617
Striker is offline  
Old 2004-11-11, 00:19   #3
Asteron
"Skilled" Python Coder
 
Asteron's Avatar
 
Join Date: Feb 2004
Posts: 941
Asteron is on a distinguished road
Default

great stuff... now is there a way to specify user agents in python?

if so this change would be relatively simple. im still a python newb myself.
Asteron is offline  
Old 2004-11-11, 00:44   #4
Striker
Fan
 
Join Date: Mar 2004
Posts: 477
Striker is on a distinguished road
Default

yes there is, pretty ez actually

http://diveintopython.org/http_web_s...ser_agent.html
Striker is offline  
Old 2005-02-02, 14:23   #5
nheinemans
Member
 
Join Date: Sep 2004
Posts: 58
nheinemans is on a distinguished road
Default

:bump:

anyone interested in looking into this?
nheinemans is offline  
Old 2005-02-03, 21:12   #6
solexalex
Skilled Python Coder
 
Join Date: Jul 2004
Posts: 550
solexalex is on a distinguished road
Default

yes
have a look in python script launchbrowser for example (from flash)
it uses http-header
solexalex is offline  
Old 2005-02-07, 16:24   #7
pHo
Junior Member
 
Join Date: Jan 2005
Posts: 13
pHo is on a distinguished road
Default

sorry to be ot, but is there a way of increasing the amount of cache used by aqt ? currently i get about 10 secs of good fluid motion with large trailers before they jam up. medium quality is crap in comparison, so i'm sure a "x secs content" cache would work so much better... is this even a part of aqt tho, or does xbmc take over this bit and i can adjust this in the settings menu ?
pHo is offline  
Old 2005-02-09, 22:29   #8
sgtstadanko
Junior Member
 
Join Date: Feb 2005
Posts: 17
sgtstadanko is on a distinguished road
Default

i dont think its the cache...mine is hard locking the xbox. i increased the cache to 16mb and it played for lunger but still locked up.
sgtstadanko is offline  
Old 2005-02-12, 18:26   #9
YLSF
Junior Member
 
Join Date: Oct 2003
Posts: 26
YLSF is on a distinguished road
Default

Quote:
Originally Posted by (pho @ feb. 07 2005,14:24)
sorry to be ot, but is there a way of increasing the amount of cache used by aqt ? currently i get about 10 secs of good fluid motion with large trailers before they jam up. medium quality is crap in comparison, so i'm sure a "x secs content" cache would work so much better... is this even a part of aqt tho, or does xbmc take over this bit and i can adjust this in the settings menu ?
hmm.. i think mine downloads the entire trailer before playing.. it take a while but the quality is awesome...
YLSF is offline  
Old 2005-02-15, 03:53   #10
Asteron
"Skilled" Python Coder
 
Asteron's Avatar
 
Join Date: Feb 2004
Posts: 941
Asteron is on a distinguished road
Default

yeah i think flash modded it to have a download-and-play option available by editting the file.

as long as the current version is working we should keep aqt as is but if it breaks again than switching to this xml can be done then.
Asteron is offline  
Closed Thread

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
AQTBrowser.py WOW Plugin/Script (Python) Development 114 2005-03-07 02:23
Aqtbrowser, ifilm vocalmind Plugin/Script (Python) Help and Support 0 2005-01-30 06:06
Last aqtbrowser bug Striker Plugin/Script (Python) Help and Support 0 2004-11-27 15:50
AQTBrowser nosral Plugin/Script (Python) Development 4 2004-11-07 20:28
Aqtbrowser Demented05 XBMC for Xbox Specific Support 1 2004-10-15 04:22


All times are GMT +2. The time now is 07:14.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project