Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
webos_3.0.4 cmpatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Ramos committed Oct 18, 2011
1 parent 1757018 commit d0cbb10
Show file tree
Hide file tree
Showing 45 changed files with 31 additions and 21 deletions.
1 change: 1 addition & 0 deletions css/avis.css
@@ -1,4 +1,5 @@
.enyo-bg, body {background-image: url(../images/bg.png);}
#avis_video_video {background-image: url(../images/bg.png);}
.progressBar {margin: 20px;}
.loadingData {color: darkGray;}
.loadingString {margin-left: 20px;color: darkgray;}
Expand Down
37 changes: 23 additions & 14 deletions data/shows.json
Expand Up @@ -35,15 +35,6 @@
"video": [],
"favicon":"images/shows/ipad.jpg"
},
{
"title": "Green Tech Today",
"name": "Green Tech Today",
"video_url": "http://feeds.twit.tv/gtt_video_large",
"audio_url": "http://leoville.tv/podcasts/gtt.xml",
"audio": [],
"video": [],
"favicon": "images/shows/gtt.jpg"
},
{
"title": "This Week In Google",
"name": "This Week In Google",
Expand Down Expand Up @@ -207,12 +198,30 @@
"favicon": "images/shows/socialhour.jpg"
},
{
"title": "Current Geek Weekly",
"name": "Current Geek Weekly",
"video_url": "http://feeds.twit.tv/cgw_video_large",
"audio_url": "http://leoville.tv/podcasts/cgw.xml",
"title": "Futures in Biotech",
"name": "Futures in Biotech",
"video_url": "http://feeds.twit.tv/fib_video_large",
"audio_url": "http://leoville.tv/podcasts/fib.xml",
"audio": [],
"video": [],
"favicon": "images/shows/fib.jpg"
},
{
"title": "Tech History Today",
"name": "Tech History Today",
"video_url": "http://feeds.twit.tv/tht_video_large",
"audio_url": "http://leoville.tv/podcasts/tht.xml",
"audio": [],
"video": [],
"favicon": "images/shows/tht.jpg"
},
{
"title": "TWiRT",
"name": "This Week in Radio Tech",
"video_url": "http://feeds.twit.tv/twirt_video_large",
"audio_url": "http://leoville.tv/podcasts/twirt.xml",
"audio": [],
"video": [],
"favicon": "images/shows/cgw.jpg"
"favicon": "images/shows/twirt.jpg"
}
]
Binary file modified icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/shows/aaa.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/shows/abby.jpg
Binary file not shown.
Binary file removed images/shows/cgw.jpg
Binary file not shown.
Binary file modified images/shows/drkikish.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/shows/fc.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/shows/fib.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/shows/fr.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/shows/fw.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/shows/gtt.jpg
Binary file not shown.
Binary file modified images/shows/hn.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/shows/htg.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/shows/ipad.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/shows/mbw.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/shows/mc.jpg
Binary file not shown.
Binary file removed images/shows/mh.jpg
Binary file not shown.
Binary file removed images/shows/mphoto.jpg
Binary file not shown.
Binary file modified images/shows/nsfw.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/shows/photo.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/shows/rrtp.jpg
Binary file not shown.
Binary file modified images/shows/sn.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/shows/socialhour.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/shows/t.jpg
Binary file not shown.
Binary file modified images/shows/techguy.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shows/tht.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/shows/tlspecials.jpg
Binary file modified images/shows/tnt.jpg
Binary file modified images/shows/tri.jpg
Binary file modified images/shows/twich.jpg
Binary file removed images/shows/twif.jpg
Diff not rendered.
Binary file modified images/shows/twig.jpg
Binary file modified images/shows/twil.jpg
Binary file added images/shows/twirt.jpg
Binary file modified images/shows/twit.jpg
Binary file modified images/shows/wgw.jpg
Binary file modified images/shows/ww.jpg
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>TWiT Player</title>
<script src="/opt/PalmSDK/Current/share/refcode/framework/enyo/1.0/framework/enyo.js" type="text/javascript"></script>
<script src="/opt/PalmSDK/Current/share/framework/enyo/1.0/framework/enyo.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
Expand Down
Binary file modified me.sergioramos.twitplayer_0.1.0_all.ipk
Binary file not shown.
2 changes: 1 addition & 1 deletion readme
@@ -1,5 +1,5 @@
This is a player for the TWiT netcasts.

Its not working on the Touchpad yet because it uses the enyo video kind that its not fully functional yet.
Now working on the touchpad

Its not in the App Catalog.
6 changes: 4 additions & 2 deletions source/avis.js
Expand Up @@ -17,7 +17,7 @@ enyo.kind({
{width: "25%", kind: "SlidingView", name: "episodesView", components: [
{kind: "episodesList", onSelect: "episodeSelected", flex: 1}
]},
{name: "content", kind: "SlidingView", onResize: "resizeHandler", flex: 1, components: [
{name: "content", kind: "SlidingView", onResize: "resizeVideo", flex: 1, components: [
{kind: "avis.video", flex: 1}
]}
]}
Expand All @@ -30,6 +30,7 @@ enyo.kind({
this.selectedShowRow;
},
rendered: function() {
this.inherited(arguments);
this.$.rss.getShows();
},
unloadHandler: function() {
Expand Down Expand Up @@ -73,11 +74,12 @@ enyo.kind({
episodeSelected: function(inSender, inRow) {
this.$.episodesList.setPlayingShow(this.selectedShowRow);
this.$.video.setEpisodeName(this.shows[this.selectedShowRow].video[inRow].title[0].Text);
//this.$.
try {this.$.video.setVideo(this.shows[this.selectedShowRow].video[inRow].enclosure[0].url);} catch (e) {this.$.video.setVideo("");}
try {this.$.video.setAudio(this.shows[this.selectedShowRow].audio[inRow].enclosure[0].url);} catch (e) {this.$.video.setAudio("");}
this.$.video.initVideo();
},
resizeHandler: function() {
resizeVideo: function() {
this.$.video.resizeVideo();
}
});
2 changes: 0 additions & 2 deletions source/episodes.js
Expand Up @@ -30,7 +30,6 @@ enyo.kind({
},
playingShowChanged: function() {
this.log(this.playingShow);
this.$.list.render();
this.$.list.refresh();
},
selectedShowChanged: function() {
Expand All @@ -49,7 +48,6 @@ enyo.kind({
},
titlesChanged: function() {
this.$.showName.setContent(this.showName);
this.$.list.render();
this.$.list.refresh();
},
episodeSelected: function(inSender, inEvent) {
Expand Down
2 changes: 1 addition & 1 deletion source/video.js
Expand Up @@ -123,7 +123,7 @@ enyo.kind({
resizeVideo: function() {
try {
this.$.video.node.width = this.$.videoContainer.getBounds().width;
this.$.video.node.height = this.$.videoContainer.getBounds().height;
this.$.video.node.height = ((this.$.videoContainer.getBounds().width*480)/864);
} catch (e) {}
},
play: function(inSender, loging) {
Expand Down
Binary file added twil.jpg

0 comments on commit d0cbb10

Please sign in to comment.