View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Dec 16, 2005 6:14 pm 
Offline
Joined: Wed Jun 08, 2005 7:51 pm
Posts: 38
I rewrote a lot of mythstreamtv to include some functionality that it didn't have before and to improve the UI. It uses rich client/AJAX instead of page submissions for every action, so its a lot snappier, though the browser back/forward position never changes so going back will take you to whereever you clicked to get to mythstreamtv.php.

In the state it is in currently, embedding the video into the page doesn't work all of the time (I think I need to make a synchronous call to wait for the stream as opposed to an asynchronous call which tries to launch the media player before the stream is going), the command line output doesn't work in IE, though it did earlier today (didn't work in Konqueror or Firefox 1.0.7 either...works perfectly in firefox 1.5 on windows though), the streaming templates off of the first page aren't set up (the code is in place, I just need templates...khrusher?) so the stream button is disabled from there as it doesn't do anything yet, and the layout is thrown together and some of it is bad (I just kind of threw it together). Anyhow, this program only uses the shell scripts from the original mythstreamtv and mythstreamtv.php from the /var/www/mythweb/ - all other files are no longer used.

In this zip file -

copy mythstreamtv_action.php to /usr/share/mythtv/mythweb/

copy mythstreamtv.php to /usr/share/mythtv/mythweb/themes/Default/ (be sure to back up the original as this overwrites it)

copy process.js to /usr/share/mythtv/mythweb/js/

copy log.new, log.current, log.old, log.txt, and mythstreamreadverb.sh to /myth/stream , do a chmod +x to
mythstreamreadverb.sh


This whole thing requires that mythstreamtv was in place and working before.

I am waiting to hear back from Josh Ebel and Khrusher on their opions of this code (they were working on several updates for functionality to mythstreamtv, and asked me to contribute to the interface...I did a bit more than that, but hopefully it will fit in with what they have been working on), but I was bored at work so I went ahead and posted it up here so other people can see it. Any input, debugging, trying in different browsers, etc. would be greatly appreciated so I can try to figure out what needs to be done. Let me know what you think!

http://www.filefactory.com/get/f.php?f= ... 9aa858afbd

-Rich


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 16, 2005 6:16 pm 
Offline
Joined: Wed Jun 08, 2005 7:51 pm
Posts: 38
Sorry...I didn't know how much filefactory blows. If anyone wants to upload it elsewhere and post a link, it would be much appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 19, 2005 1:02 am 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
You could probably update the wiki page for this plugin and then you can attach the files there.

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 19, 2005 2:19 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
also screenshots would be nice. everyone loves pretty pictures.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 19, 2005 7:20 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
The sourceforge mythstreamtv site has an updated beta release on the site.

here: https://sourceforge.net/forum/message.php?msg_id=3484673

It does not yet include hotspoons's ajax work. We need to get the multiple streams of developemt merged. If you are willing, please give the Beta 0.97 code a test as well as the AJAX interface.

there is a forum for mythstreamtv bugs and comments for either update here: https://sourceforge.net/forum/?group_id=127846

I have heard from Cecil that there are issues with the mythstreamtv implemetation and the latest mythv release. I am not running the latest release and you like feedback from those that are. Has anyone debugged (or is able to describe) the issue?

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 20, 2005 12:42 am 
Offline
Joined: Wed Jun 08, 2005 7:51 pm
Posts: 38
My screen shots won't be very impressive since I've never had mythstreamtv actually working (ironic, isn't it?). VLC doesn't like the MPEG2 from my DCT6200 cable box and turns it into garbled nonsense.

As it sits now, it looks identical more or less to what it was before, except instead of submitting pages, you just click to change layers via javascript, and all settings are collected (by class, not ID or DOM reference...that took me a while to figure out, but was much easier in the end) and added upon until you submit the stream AJAX style (with a click, and the layer changes again and has code written to it based on what server returns, yet the page never reloads...f'ing voodoo I tell you)...oh, and you can try to embed the video into the page, though it shouldn't be an AJAX (asynchronous javascript and xml) call, but a SJAX (yeah, wheel of fortune pronouced) call, waiting on confirmation from the server before it tries to stream the video...it doesn't work all of the time as of yet.

I'm going to wait until Josh and Khrusher give me the go ahead to post any updates to my code (any update will have to be significant and work across most/all browsers before I even bother), and hopefully in the near future, we will have my code and the new mythstreamlive/mythstreamtv code boiled into one stew.

I'm also going to start work on a mythstreamlive PVR module for DCT620x cable boxes (if I can get VLC to read what comes out of mine properly) to compliment what J Ebel is doing for the PVRx50 stuff.

Anyhow, any and all comments are welcomed, and that will be either the last or second to last release of non-merged code (depending on what Josh and Khrusher feel is best) before its all boiled down.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 20, 2005 2:35 pm 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
I’m not tiring to discourage you from improving the mythstreem interface. But extensive use of javascript and other propitiatory and optional interfaces will only make it harder to use for many people.

Personally I disable javescript (and 95% of all options) in my browser and would prefer a simple html only interface which loads my chosen media player externally. Not one that requires any special browser or scripting language enabled to view a simple video.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 21, 2005 5:56 pm 
Offline
Joined: Wed Jun 08, 2005 7:51 pm
Posts: 38
ryanpatterson wrote:
I’m not tiring to discourage you from improving the mythstreem interface. But extensive use of javascript and other propitiatory and optional interfaces will only make it harder to use for many people.

Personally I disable javescript (and 95% of all options) in my browser and would prefer a simple html only interface which loads my chosen media player externally. Not one that requires any special browser or scripting language enabled to view a simple video.


I wouldn't exactly call JavaScript a proprietary interface as its been part of every GUI web browser I've used since Netscape Navigator 2, but of course it is optional. The way it sits now, Josh Ebel and Khrusher are developing all of the new features into the current interface for mythstreamTV, and once I get all of the core features working across all modern browsers with AJAX, a version with the new features based on AJAX controls will be released.

You have to understand that using client side logic greatly simplifies a lot of stuff for the server side, and allows you to do things you would never be able to do otherwise (when I get it working across everything, the shell output from VLC that updates once a second and appends itself to what was there before on the page is very nifty). Programs end up less clunky and a lot quicker (I should be able to put the entire mythstreamTV "program" into one PHP file, of course with the shell scripts elsewhere) this way. 99% of the free world uses javascript on their web browsers. You just can't look at a lot of the internet otherwise.

You don't happen to work solely from the shell and use w3m for a web browser, do you?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu