Author |
Message |
b_adele
|
Posted: Sat Mar 19, 2005 4:31 pm |
|
Joined: Sat Mar 19, 2005 6:02 am
Posts: 7
|
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
_________________ Bruno Adele
Tout sur le soft 100% libre - http://www.jesuislibre.org
|
|
Top |
|
 |
tjc
|
Posted: Sat Mar 19, 2005 5:12 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
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
|
|
Top |
|
 |
b_adele
|
Posted: Sat Mar 19, 2005 5:19 pm |
|
Joined: Sat Mar 19, 2005 6:02 am
Posts: 7
|
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 
_________________ Bruno Adele
Tout sur le soft 100% libre - http://www.jesuislibre.org
|
|
Top |
|
 |
sm1
|
Posted: Mon Mar 21, 2005 8:29 pm |
|
Joined: Mon Mar 21, 2005 8:18 pm
Posts: 10
|
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
|
|
Top |
|
 |
ViralHex
|
Posted: Mon Mar 21, 2005 10:15 pm |
|
Joined: Fri Dec 26, 2003 6:05 pm
Posts: 82
|
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...
|
|
Top |
|
 |
sm1
|
Posted: Mon Mar 21, 2005 10:45 pm |
|
Joined: Mon Mar 21, 2005 8:18 pm
Posts: 10
|
were you getting the same errors as me?
|
|
Top |
|
 |
b_adele
|
Posted: Tue Mar 22, 2005 1:10 am |
|
Joined: Sat Mar 19, 2005 6:02 am
Posts: 7
|
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.
_________________ Bruno Adele
Tout sur le soft 100% libre - http://www.jesuislibre.org
|
|
Top |
|
 |
b_adele
|
Posted: Tue Mar 22, 2005 1:15 am |
|
Joined: Sat Mar 19, 2005 6:02 am
Posts: 7
|
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
_________________ Bruno Adele
Tout sur le soft 100% libre - http://www.jesuislibre.org
|
|
Top |
|
 |
b_adele
|
Posted: Tue Mar 22, 2005 1:24 am |
|
Joined: Sat Mar 19, 2005 6:02 am
Posts: 7
|
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
_________________ Bruno Adele
Tout sur le soft 100% libre - http://www.jesuislibre.org
|
|
Top |
|
 |
sm1
|
Posted: Tue Mar 22, 2005 7:45 am |
|
Joined: Mon Mar 21, 2005 8:18 pm
Posts: 10
|
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?
|
|
Top |
|
 |
sm1
|
Posted: Tue Mar 22, 2005 8:01 am |
|
Joined: Mon Mar 21, 2005 8:18 pm
Posts: 10
|
[Post removed]
Last edited by sm1 on Tue Mar 22, 2005 8:32 am, edited 1 time in total.
|
|
Top |
|
 |
sm1
|
Posted: Tue Mar 22, 2005 8:14 am |
|
Joined: Mon Mar 21, 2005 8:18 pm
Posts: 10
|
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?
|
|
Top |
|
 |
b_adele
|
Posted: Tue Mar 22, 2005 12:19 pm |
|
Joined: Sat Mar 19, 2005 6:02 am
Posts: 7
|
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"
_________________ Bruno Adele
Tout sur le soft 100% libre - http://www.jesuislibre.org
|
|
Top |
|
 |
sm1
|
Posted: Tue Mar 22, 2005 12:21 pm |
|
Joined: Mon Mar 21, 2005 8:18 pm
Posts: 10
|
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?
|
|
Top |
|
 |
b_adele
|
Posted: Tue Mar 22, 2005 12:32 pm |
|
Joined: Sat Mar 19, 2005 6:02 am
Posts: 7
|
now is ok
Please rename config.php_remove by config.php 
_________________ Bruno Adele
Tout sur le soft 100% libre - http://www.jesuislibre.org
|
|
Top |
|
 |