hi, i would like some suggestions on how to go about developing this add-on. i am testing this on my xbmc-live set-up; i am fairly affluent in bash/ c but unfortunately i dont have experience with python.
i trimmed the data using this bash 1-liner so the output looks like:
Code:
xbmc@XBMCLive:~$ wget -q --output-document=- www.google.com/movies | sed -n 3p | tr '\<' "\n" | egrep "(title_bar|id=link_1_theater|class=info|mid=|Rated|class=times|fandango)" | grep -v ^style | sed s/alt=/\>/ | awk -F \> '{print $2}' | sed s/\&....../" "/g
Showtimes for Boston, MA 02111
Simons IMAX Theatre at the New England Aquarium
Central Wharf, Atlantic Ave, Boston, MA - (617) 973-5206
Hubble 3D
45min - Rated G - Documentary -
"Rated 3.9 out of 5.0"
10:00am
Sea Rex: Journey To A Prehistoric World 3D
45min - Documentary -
12:00 5:00pm
Under the Sea 3D
40min - Rated G - Documentary -
"Rated 3.8 out of 5.0"
11:00am 2:00 4:00 6:00pm
Tron Legacy: An IMAX 3D Experience
2hr 7min - Rated PG - Action/Adventure/Scifi/Fantasy -
"Rated 3.7 out of 5.0"
7:15pm
Dolphins and Whales 3D: Tribes of the Ocean
42min - Rated G - Documentary -
"Rated 4.0 out of 5.0"
1:00 3:00pm
ArtsEmerson::Film
559 Washington St, Boston, MA - (617) 824-8000
The Sun Also Rises
2hr 10min - Drama -
"Rated 0.0 out of 5.0"
7:30pm
AMC Loews Boston Common 19
175 Tremont Street, Boston, MA - (888) 262-4386
Battle: Los Angeles
1hr 56min - Rated PG-13 - Action/Adventure/Scifi/Fantasy -
"Rated 2.8 out of 5.0"
11:15am 12:45 3:25 4:45
6:10
7:00
7:30
8:55
9:45
10:30pm
Rango
1hr 47min - Rated PG - Animation/Action/Adventure -
"Rated 3.5 out of 5.0"
11:10am 1:50 2:45 4:30 5:20
7:15
8:00
9:55
10:35pm
Red Riding Hood
1hr 40min - Rated PG-13 - Drama -
"Rated 2.5 out of 5.0"
11:05am 12:40 2:10 3:30 5:00
7:45
10:20
11:05pm
The Adjustment Bureau
1hr 46min - Rated PG-13 - Romance/Scifi/Fantasy -
"Rated 3.6 out of 5.0"
11:25am 12:55 1:55 3:35 4:25
6:05
7:10
8:50
9:50pm
Mars Needs Moms in Disney Digital 3D
1hr 28min - Rated PG - Animation/Action/Adventure/Comedy
2:30 4:50pm
Beastly
1hr 35min - Rated PG-13 - Romance/Drama -
"Rated 3.6 out of 5.0"
12:35 2:50 5:05
7:25
9:30pm
Hall Pass
1hr 38min - Rated R - Comedy -
"Rated 3.1 out of 5.0"
12:05pm
Just Go With It
1hr 50min - Rated PG-13 - Comedy/Romance -
"Rated 3.3 out of 5.0"
11:00am 1:40 4:35
7:40
10:20pm
The King Speech
1hr 51min - Rated R - Drama -
"Rated 4.6 out of 5.0"
1:00 3:45
6:30
9:20pm
Unknown
1hr 49min - Rated PG-13 - Drama/Suspense/Thriller -
"Rated 3.3 out of 5.0"
1:15 4:00
7:20
10:00pm
I Am Number Four
1hr 44min - Rated PG-13 - Action/Adventure/Suspense/Thriller -
"Rated 3.0 out of 5.0"
12:50
6:15pm
Gnomeo uliet 3D
...
at this point i am seeking help on how to get this data displayed when the add-on is run.
i am hoping this is generic enough so that those not aware of what xbmc is would be able provide python examples.
thank you,
schneidz