View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Jun 15, 2006 1:31 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
I've recently upgraded to R5C7 (from R5A30.2). Now, when I try to use StreamTV , I can select the show I want to stream but nothing happens after clicking on the button "Select a record and continue". Everything worked right out of the box with older versions of knoppmyth. I had nothing to install.

I'm using Firefox 1.5.

Any idea ?

I don't know if it can help but this is my config:
Sempron 2800+
1 GB RAM
R5C7
2*WinTV150 with IR receiver & blaster.
Maxtor 250 GB


Last edited by zetoune on Sat Jul 08, 2006 9:26 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 27, 2006 12:49 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
I found a fix. Actually it only works if I come from the main page of MythWeb.

But now , command buttons don't work. I can't make it go forward (or backward). The command is displayed on the page, but the streaming video still stays at the same position.


Top
 Profile  
 
 Post subject: Making Controls Work
PostPosted: Mon Jul 03, 2006 1:39 pm 
Offline
Joined: Thu Feb 02, 2006 10:00 am
Posts: 2
Location: Rochester, NY
Controls don't work in R5C7 because of a couple of path errors in the scripts. To fix this, this is what I did:

1.
Code:
ln -s /myth/stream /usr/share/mythstreamtv

2. In the file
Code:
/var/www/mythweb/themes/default/streamtv/createfile.php

find the line
Code:
system("mythstreamtvctrl.sh $streamcommand");
(someplace near line 88, I think). Change this line to
Code:
system("/myth/stream/mythstreamtvctrl.sh $streamcommand");

ALSO ... if you wish you could skip forward or back by other than 30 sec or 1 min, try this. In the same file, include the code:
Code:
        <input type="submit" name="seek_value" value="-1min"/>
        <input type="submit" name="seek_value" value="+1min"/>
        <p>
        <input type="text" name="randomamount" value=""/>
        <input type="submit" name="seek_value" value="random_seek"/>
        <p>
        Enter the amount to seek as a relative or absolute amount.
        <br>
        Examples: &nbsp;&nbsp;-3min &nbsp;&nbsp;+00:45:00
        &nbsp;&nbsp;2:30:01
        <p>
        <p>
        <input type="submit" name="stopper" value="Stop Streaming" />

Actually, the first 2 lines of this, and the last 2, are already there. They are included in the above to provide a contextual reference point for finding where to add the new code. The result of this is the addition of a new text field in which you can add the amount you want to jump forward (with a leading '+') or backward (with a leading '-'). You can also simply type in a time in the movie you want to jump to (no leading '+' or '-').

To make this work, you also need to add a couple of lines of code elsewhere. These are
Code:
if ($seek_value == "+1min") {
        $seek_value = "%2B1min";}
if ($seek_value == "random_seek") {
        $seek_value = $randomamount; }
if ($seek_value != "") {
        $streamcommand = "\"control=seek&seek_value=$seek_value\"";


As with the above, the first and last two lines are already in the file and are for contextual reference.

Enjoy!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 04, 2006 1:19 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
yes, now it works perfectly.
I do love the "random seek" button.
I also added more video speed for LAN. Now it's very good.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 05, 2006 2:06 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
I _just_ found this and it works perfectly... now I can get caught up on France v Portugal!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 05, 2006 3:32 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
ALLLEEEZZ LES BLEUS....


Top
 Profile  
 
 Post subject: THANKS
PostPosted: Sat Jul 08, 2006 3:04 am 
Offline
Joined: Tue Feb 28, 2006 12:54 pm
Posts: 124
Location: Konstanz, Germany
THX a lot for this little mod :-) I love it !!!

Martin

_________________
-------------------------------------------------
KnoppMyth R6 (release)
* ELITEGROUP 915P-A w P4 3,2 GHz 512MB
* ATI x300PCIe
* HD 200 GB SATA / DVD DL(RW)
- DVB-C / Hauppage PVR-500 (2x analog)
- ATI RemoteWonder, CHERRY /wl keyboard/mouse


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 08, 2006 1:59 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
How about sending me a diff for inclusion in the next release?

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 09, 2006 12:29 am 
Offline
Joined: Fri Dec 26, 2003 3:43 pm
Posts: 22
I think you need to add the following lines as well to createfile.php

if (isset($_GET['randomamount'])) {
$randomamount=$_GET['randomamount']; }

place this above or below the following lines:

if (isset($_GET['seek_value'])) {
$seek_value=$_GET['seek_value']; }
if (isset($_GET['control'])) {
$control=$_GET['control']; }


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 03, 2006 1:49 pm 
Offline
Joined: Thu Feb 24, 2005 1:36 am
Posts: 74
Just thought I'd point out that the path errors are still present in R5D1, just had to edit them to get the controls working.


Top
 Profile  
 
 Post subject: Can't seek forward
PostPosted: Thu May 31, 2007 9:11 am 
Offline
Joined: Mon Jun 05, 2006 10:00 am
Posts: 2
The -30sec and -1min buttons work fine for me, but the +30sec and +1min buttons just cause the video to play from the beginning. I've tried using a seek_value of both "%2B30sec" and "+30sec" for the +30sec button, but neither solve the problem.

Any ideas? It seems like this is working fine for other people.

Thanks,
David


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 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