[mythtv-users] MythStreamTV
Ben Dash
ben_dash at yahoo.com
Mon Jul 17 03:36:18 UTC 2006
This is an email that I was planning to write to the
list asking how to get MythStreamTV working. It
turned out to be an email documenting how I got it
working myself, and I though that it may benefit
someone so I thought I'd send it anyway.
If you feel like I missed something please let me
know...
I'm trying to insyall MythStreamTV, I think I did
everything correctly, however, mythweb didn't change
and there's no new "Stream Programs" link.
I'm using Gentoo, I got ffmpeg and vlc, no problem
there, well, slight problem with the patches not being
available in my mirrors bu that was quickly solved...
I got the mythstreamtv package from:
http://jogibear9988.dyndns.org:2080/mythstreamtv.tar.bz2
I didn't get anything from the sourceforge site as I
was under the impression that the link above had a
0.19 patched version.
Here's the output when I ran install.sh:
...start install output...
beta mythstreamtv # ./install.sh
Setting up MythStreamTV......
MythStreamTV Directory? [/usr/share/mythstreamtv]
MythWeb HTTP Directory? [/var/www/mythweb]
/var/www/localhost/htdocs/mythweb
MythStreamTV Server Address? [ebel.host.com]
beta.dashhome.lan
MythStreamTV Server Port? [8001]
MythStreamTV Stream Admin Port? [8002]
MythStreamTV User:Group? [mythtv:mythtv] mythtv:users
Path to where vlc is installed? [/usr/bin/vlc]
Please confirm your configuration:
----------------------------------------------------------------------
MythStreamTV Directory :
/usr/share/mythstreamtv
MythWeb HTTP Directory :
/var/www/localhost/htdocs/mythweb
MythStreamTV Server Address : beta.dashhome.lan
MythStreamTV Server Port : 8001
MythStreamTV Stream Admin Port : 8002
MythStreamTV User:Group : mythtv:users
Path to where vlc is installed : /usr/bin/vlc
----------------------------------------------------------------------
Is this correct? [n] y
Installing MythStreamTV.........
.... Creating target dir /usr/share/mythstreamtv: Done
.... Checking MythWeb Compatablity: .... Installing
/usr/share/mythstreamtv/mythstreamtv.sh: Success
.... Installing
/usr/share/mythstreamtv/mythstreamtvactive.sh: Success
.... Installing
/usr/share/mythstreamtv/mythstreamtvctrl.sh: Success
.... Installing
/usr/share/mythstreamtv/mythstreamtvstop.sh: Success
.... Installing
/var/www/localhost/htdocs/mythweb/modules/streamtv/handler.php:
Success
.... Installing
/var/www/localhost/htdocs/mythweb/modules/streamtv/init.php:
Success
.... Installing
/var/www/localhost/htdocs/mythweb/modules/streamtv/confirm.php:
Success
.... Installing
/var/www/localhost/htdocs/mythweb/modules/streamtv/createfile.php:
Success
.... Installing
/var/www/localhost/htdocs/mythweb/modules/streamtv/selectstream.php:
Success
.... Installing
/var/www/localhost/htdocs/mythweb/themes/default/streamtv/createfile.php:
Success
.... Installing
/var/www/localhost/htdocs/mythweb/themes/default/streamtv/menu.php:
Success
.... Installing
/var/www/localhost/htdocs/mythweb/themes/default/streamtv/confirm.php:
Success
.... Installing
/var/www/localhost/htdocs/mythweb/themes/default/streamtv/selectstream.php:
Success
.... Installing
/var/www/localhost/htdocs/mythweb/themes/default/streamtv/welcome.php:
Success
.... Checking MythWeb Installation: Required -
Installing...
Done
.... Fixing up file permissions: Done
Installation Complete! Good Luck.
beta ~ # ls -la /usr/share/mythstreamtv/
total 24
drwxrwxrwx 2 mythtv users 4096 Jul 16 21:00 .
drwxr-xr-x 95 root root 4096 Jul 16 21:00 ..
-rwxrwxrwx 1 mythtv users 1270 Jul 16 21:00
mythstreamtv.sh
-rwxrwxrwx 1 mythtv users 125 Jul 16 21:00
mythstreamtvactive.sh
-rwxrwxrwx 1 mythtv users 82 Jul 16 21:00
mythstreamtvctrl.sh
-rwxrwxrwx 1 mythtv users 222 Jul 16 21:00
mythstreamtvstop.sh
beta ~ # ls -la /var/www/localhost/htdocs/mythweb/
total 116
drwxr-xr-x 14 apache apache 4096 Jun 27 21:28 .
drwxr-xr-x 4 root root 4096 Jul 11 21:17 ..
-rw-r--r-- 1 apache apache 1493 Jun 12 2005
._cfg0001_.htaccess
-rw-r--r-- 2 apache apache 5062 Jun 27 21:01
.htaccess
-rw------- 1 apache apache 307 Jun 27 20:02 .webapp
-rw------- 1 apache apache 21210 Jun 27 20:02
.webapp-mythweb-0.19
lrwxr-xr-x 1 apache apache 51 Nov 11 2005
backgroundthumbnails ->
/home/mythtv/mythburn/images/backgrounds/thumbnails
drwxr-xr-x 2 apache apache 4096 Jun 27 20:04 config
drwxr-xr-x 4 apache apache 4096 Jun 28 09:35 data
lrwxr-xr-x 1 apache apache 38 Nov 11 2005
highlightthumbnails ->
/home/mythtv/mythburn/images/highlight
drwxrwxr-x 2 apache apache 8192 Jun 27 20:01
image_cache
drwxr-xr-x 3 apache apache 4096 Jun 27 20:02 images
drwxr-xr-x 2 apache apache 4096 Jun 27 20:02
includes
drwxr-xr-x 2 apache apache 4096 Jun 27 20:02 js
drwxr-xr-x 2 apache apache 4096 Jun 27 20:02
languages
drwxr-xr-x 12 apache apache 4096 Jul 16 21:00 modules
lrwxr-xr-x 1 apache apache 26 Nov 11 2005
mythburnconf -> /home/mythtv/mythburn/conf
lrwxr-xr-x 1 apache apache 51 Nov 12 2005
mythtvburndvd.php ->
/home/mythtv/mythburn/mythwebburn/mythtvburndvd.php
lrwxr-xr-x 1 apache apache 59 Nov 12 2005
mythtvburndvd_confirm.php ->
/home/mythtv/mythburn/mythwebburn/mythtvburndvd_confirm.php
lrwxr-xr-x 1 apache apache 61 Nov 12 2005
mythtvburndvd_createdvd.php ->
/home/mythtv/mythburn/mythwebburn/mythtvburndvd_createdvd.php
lrwxr-xr-x 1 apache apache 27 Nov 11 2005
mythtvburnmusic -> /home/mythtv/mythburn/music
-rw-r--r-- 2 apache apache 963 Jun 27 20:02
mythweb.php
drwxrwxr-x 2 apache apache 12288 Jun 27 20:01
php_sessions
drwxr-xr-x 3 apache apache 4096 Jun 27 20:02 skins
drwxr-xr-x 2 apache apache 4096 Jun 27 20:02
templates
drwxr-xr-x 6 apache apache 4096 Jun 27 20:02 themes
...end install output...
I logged into mythweb and... it looked the same.
"Ahh, I had to restart Apache" I thought. I restarted
Apache, cleared my browser caches, and it still looks
the same; no mythstreamtv links.
Note that apache is also in the "users" group.
Does anyone have any ideas what I did wrong?
Hmmm...
Look at this:
beta ~ # ls -la
/var/www/localhost/htdocs/mythweb/modules/
total 52
drwxr-xr-x 12 apache apache 4096 Jul 16 21:00 .
drwxr-xr-x 14 apache apache 4096 Jul 16 21:13 ..
drwxr-xr-x 2 apache apache 4096 Jun 27 20:02
backend_log
drwxr-xr-x 2 apache apache 4096 Jun 27 20:02
movietimes
drwxr-xr-x 2 apache apache 4096 Jun 27 20:02 music
drwxr-xr-x 2 apache apache 4096 Jun 27 20:02 settings
drwxr-xr-x 2 apache apache 4096 Jun 27 20:02 status
drwxr-xr-x 2 apache apache 4096 Jun 27 20:02 stream
drwxr-xr-x 2 root root 4096 Jul 16 21:00 streamtv
drwxr-xr-x 2 apache apache 4096 Jun 27 20:02 tv
drwxr-xr-x 2 apache apache 4096 Jun 27 20:02 video
drwxr-xr-x 2 apache apache 4096 Jun 28 09:19 weather
-rw-r--r-- 2 apache apache 527 Jun 27 20:02
welcome.php
Hmmm, Streamtv is root:root, a quick chown -R
apache:apache, then restarted apache, still no change,
no "stream programs" link :-(
Ok, here's a page that says that you have to edit
init.php:
http://jogibear9988.dyndns.org:2080/
That worked great, except for missing translation
strings, solved here:
http://www.mythtvtalk.com/forum/viewtopic.php?p=12182
Now the current problem is that when I select a
programme to stream the URL is:
http://beta/mythweb/streamtv/streamtv/confirm/?streamfile%5B%5D=%2Fmnt%2Fvideo%2Frecordings%2F1011_20060716200000.mpg
Instead of:
http://beta/mythweb/streamtv/confirm/?streamfile%5B%5D=%2Fmnt%2Fvideo%2Frecordings%2F1011_20060716200000.mpg
A quick few changes, removing extra "streamtv/" paths
from every link, to:
mythweb/themes/default/streamtv/selectstream.php
Fixed all that, hmmm, the web based controls for
pause, skip etc don't work...
A quick addition of:
"/usr/share/mythstreamtv/"
to one of the mythstreamtvctrl.sh system calls fixed
those, since the shell script isn't in the PATH.
Now I can pause, stop, +/- 30 secs or a minute etc.
Sorry to write such a long email but I ended up
solving my problems before I could finish writing them
down :-)
I hope that this helps someone else to get
MythStreamTV working. It looks like this should work
great for my potential future Zaurus, if I actually
decide to get one...
-----------------------------------------------------
| o |
| _ /<_ |
|(_)>(_) |
|Ben Dash |
|Ask free questions - http://bensqanda.blogspot.com |
|My Blog - http://bensdailythoughts.blogspot.com |
|Info - http://bensinformationstation.blogspot.com |
|Workouts - http://bensworkouts.blogspot.com |
-----------------------------------------------------
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the mythtv-users
mailing list