LinHES Forums
http://forum.linhes.org/

Update mythburn script
http://forum.linhes.org/viewtopic.php?f=6&t=3876
Page 1 of 8

Author:  b_adele [ Sat Mar 19, 2005 4:31 pm ]
Post subject:  Update mythburn script

Sorry for my bad english, i'm french.

I'm have updated a mythburn script for corrected this:
- One configuration file (config.sh) for all scripts(shell and PHP)
- Running in multi-platform (Debian, Knoppyx, etc ..), i tested in Gentoo
- Flip and blue(Cb/Cr) movies (configure in config.sh)
- Now is running in gentoo ;)

In my site, they are two files, the patch and the configuration file.

just run ./install.sh

http://www.jesuislibre.org/docbook/mythburn/

Bruno Adele

Author:  tjc [ Sat Mar 19, 2005 5:12 pm ]
Post subject: 

VERY cool, and an excellent idea. I haven't had a chance to look at this yet, but would suggest moving a few more things to the configuration file if you haven't already.
    - Selection of multiplexer - remplex, multiplex, ...
    - Path to the transcode utility and other external programs
    - The mythburn directory path

Author:  b_adele [ Sat Mar 19, 2005 5:19 pm ]
Post subject: 

tjc wrote:
- Selection of multiplexer - remplex, multiplex, ...

Possible

tjc wrote:
- Path to the transcode utility and other external programs
- The mythburn directory path

now exist ;)

Author:  sm1 [ Mon Mar 21, 2005 8:29 pm ]
Post subject: 

I patched a cvs copy of myth burn with your patch, and installed it on gentoo, however whenever i chose a show and click the button at the bottom, apache decides to crap out and try to send an error email out ( but i dont have mail configured so it just sits there timely for a little bit ).

When it loads the next page it is prefixed with:
Code:
Warning at /var/mythburn/mythwebburn/mythtvburndvd_confirm.php, line 43:
explode(): Empty delimiter. Warning at /var/mythburn/mythwebburn/mythtvburndvd_confirm.php, line 44:
implode(): Bad arguments. Warning at /var/mythburn/mythwebburn/mythtvburndvd_confirm.php, line 43:
explode(): Empty delimiter. Warning at /var/mythburn/mythwebburn/mythtvburndvd_confirm.php, line 44:
implode(): Bad arguments. Warning at /var/mythburn/mythwebburn/mythtvburndvd_confirm.php, line 43:
explode(): Empty delimiter. Warning at /var/mythburn/mythwebburn/mythtvburndvd_confirm.php, line 44:
implode(): Bad arguments. Warning at /var/mythburn/mythwebburn/mythtvburndvd_confirm.php, line 43:
explode(): Empty delimiter. Warning at /var/mythburn/mythwebburn/mythtvburndvd_confirm.php, line 44:
implode(): Bad arguments. Warning at /var/mythburn/mythwebburn/mythtvburndvd_confirm.php, line 43:
explode(): Empty delimiter. Warning at /var/mythburn/mythwebburn/mythtvburndvd_confirm.php, line 44:
implode(): Bad arguments.


Obviously the show isn't picked, and nothing works then.

here are my versions:
Code:
supermario supermario # emerge -pv apache php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] net-www/apache-2.0.53 [2.0.52-r2] -apache2 -debug -doc -ldap -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker -no-suexec +ssl -static-modules -threads 5,009 kB
[ebuild   R   ] dev-php/php-5.0.3-r1  (-adabas) -bcmath +berkdb (-birdstep) -bzlib -calendar -cdb (-cpdflib) +crypt -ctype +curl -curlwrappers -db2 +dba -dbase -dbm (-dbmaker) -dbx -debug -dio (-empress) (-empress-bcs) (-esoob) -exif +fam (-fdftk) (-filepro) (-firebird) -flatfile (-frontbase) -ftp +gd -gd-external +gdbm -gmp -hyperwave-api -iconv -imap (-informix) (-ingres) -inifile -iodbc +jpeg -kerberos -ldap -libedit -mcve -memlimit -mhash -mime -ming -mnogosearch -msession -msql -mssql +mysql -mysqli +ncurses -nis +nls -oci8 -odbc -oracle7 -ovrimos -pcntl -pcre (-pfpro) +png -posix -postgres -qdbm +readline -recode -sapdb -sasl -session -sharedext -sharedmem -simplexml -snmp -soap -sockets (-solid) -spell -spl -sqlite +ssl (-sybase) (-sybase-ct) -sysvipc -tidy +tiff -tokenizer +truetype -wddx +xml2 -xmlrpc +xpm -xsl +zlib 0 kB

Author:  ViralHex [ Mon Mar 21, 2005 10:15 pm ]
Post subject: 

I tried it and it wouldn't work until I commented out

Code:
require_once "config.php";


in mythtvburn.php. was this a bad idea? when I tried to access the mythtvburn web interface it said it couldn't find config.php (which is NOT in the mythwebburn directory. Should I have should I have not done this? I have not gotten a chance to test it...

Author:  sm1 [ Mon Mar 21, 2005 10:45 pm ]
Post subject: 

were you getting the same errors as me?

Author:  b_adele [ Tue Mar 22, 2005 1:10 am ]
Post subject: 

sm1 wrote:
were you getting the same errors as me?


Have you install unmasked ebuild ?

Because i'installed all ebuild without error

PS: sorry for my late , because i don't receive email for new post.

Author:  b_adele [ Tue Mar 22, 2005 1:15 am ]
Post subject: 

sm1 wrote:
I patched a cvs copy of myth burn with your patch, and installed it on gentoo, however whenever i chose a show and click the button at the bottom, apache decides to crap out and try to send an error email out ( but i dont have mail configured so it just sits there timely for a little bit ).


Can you send the report bug at my email adress?

my email is bruno.adele AROBAS3 jesuislibre.org

Author:  b_adele [ Tue Mar 22, 2005 1:24 am ]
Post subject: 

ViralHex wrote:
I tried it and it wouldn't work until I commented out

Code:
require_once "config.php";


in mythtvburn.php. was this a bad idea? when I tried to access the mythtvburn web interface it said it couldn't find config.php (which is NOT in the mythwebburn directory. Should I have should I have not done this? I have not gotten a chance to test it...


Hum ..., this line as you uncommented is in my patch.

But in my configuration this file is in mythwebburn directory

If any problem, email me

Author:  sm1 [ Tue Mar 22, 2005 7:45 am ]
Post subject: 

b_adele wrote:
sm1 wrote:
were you getting the same errors as me?


Have you install unmasked ebuild ?

Because i'installed all ebuild without error

PS: sorry for my late , because i don't receive email for new post.


All of my versions installed are ACCEPT_KEYWORDS=~amd64, and actually I just updated mod_php to 4.3.10 last night and apache to 2.0.53, now it isn't trying to do a sendmail every time, but still has all of the same errors after selecing a show.

I haven't used PHP before, but maybe is the way tha you are using explode() and implode() deprecated to a certain version of PHP?

Author:  sm1 [ Tue Mar 22, 2005 8:01 am ]
Post subject: 

[Post removed]

Author:  sm1 [ Tue Mar 22, 2005 8:14 am ]
Post subject: 

Okay I looked further into this - you dont provide the file mythwebburn/config.php - so this is generated after the first install, but nothing will be done with it. It need the contents of $mythburnfolder and $mythrecordings from what I understand. Can you provide it?

Author:  b_adele [ Tue Mar 22, 2005 12:19 pm ]
Post subject: 

sm1 wrote:
Okay I looked further into this - you dont provide the file mythwebburn/config.php - so this is generated after the first install, but nothing will be done with it. It need the contents of $mythburnfolder and $mythrecordings from what I understand. Can you provide it?


Indeed, I forgot to join the file config.php

Now accessible here http://www.jesuislibre.org/docbook/mythburn/

after lauch install.sh for configure automaticaly the config.php file

Sorry for this error.

PS: i don't know add the new files with command "cvs diff"

Author:  sm1 [ Tue Mar 22, 2005 12:21 pm ]
Post subject: 

This is gonna seem crazy, but whenever it is downloaded its a blank file? Does your server allow viewing the source of a php file?

Author:  b_adele [ Tue Mar 22, 2005 12:32 pm ]
Post subject: 

now is ok :oops:

Please rename config.php_remove by config.php ;)

Page 1 of 8 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/