jamdb-user Mailing List for JamDB (Page 4)
Status: Beta
Brought to you by:
mschiff
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(14) |
Dec
(15) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(14) |
Feb
(21) |
Mar
|
Apr
(2) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(9) |
Dec
|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(8) |
Oct
(10) |
Nov
(1) |
Dec
(6) |
2005 |
Jan
(10) |
Feb
(2) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jens L. <j.l...@gm...> - 2003-01-27 20:09:57
|
I'm stupid. Forgot the attachment. Jens |
From: Jens L. <j.l...@gm...> - 2003-01-27 20:08:50
|
Am Sunday 12 January 2003 17:14 schrieb Thomas Mueller: First of all: Sorry that it took so long. School started again... > You changed the indent level so there seem to be lot of changes. Please > set it to '2' instead of '4' when patching jamdb-update. Yes, I know. But I needed to change it because I applied an if-condition in the beginning so that everything needed to be indented to be still readable. > The second one is more important: I started to split jamdb into pieces > to make changes (like Ogg Vorbis support) easier. Ok, here's the ogg.pm There's still the problem with the genre tag. Maybe there's a problem with Ogg::Vorbis::Header. It simply doesn't return anything... Jens |
From: Matthias S. <ms...@sc...> - 2003-01-19 17:56:17
|
Hi Marc, if i search for an artist and afterwards want to "show all" artists, this ends up with no effect! I have to "reset" first and then click on "show all" to get the full list. Even if i delete my find query manually out of the find field, i end up with the result of the search query and not with all artists tia, Matthias -- Treffen sich zwei Planeten. Fragt der eine den anderen: "Wie siehst du denn aus, bist du krank?" Antwortet der andere: "Ich habe den Homo Sapiens." Der erste: "Mach dir keine Sorgen, das geht auch wieder vorbei." |
From: Marc S. <mar...@li...> - 2003-01-19 17:08:17
|
* Peter van Oord van der Vlies schrieb am 19.01.03 um 00:37 Uhr: > > Hi, > > I am trying to setup a webpage with your jamdb application, but it's not > wrking @mysite. > > After the login i get a blank screen. You can see it @ > http:///80.61.77.224. > The user name = Guest the password = Guest. > > I hope that you can help me. > What is the problem? It works for me. I useed mozilla and could see/browse your collection. -Marc -- +-O . . . o . . . O . . . o . . . O . . . ___ . . . O . . . o .-+ | Ein neuer Service von Links2Linux.de: / o\ RPMs for SuSE | | --> PackMan! <-- naeheres unter | __| and others | | http://packman.links2linux.de/ . . . O \__\ . . . O . . . O . | |
From: Peter v. O. v. d. V. <zo...@vh...> - 2003-01-18 22:40:32
|
Hi, I am trying to setup a webpage with your jamdb application, but it's not wrking @mysite. After the login i get a blank screen. You can see it @ http:///80.61.77.224. The user name = Guest the password = Guest. I hope that you can help me. tnx in advance Peter |
From: <dan...@gm...> - 2003-01-17 12:55:34
|
line 286 in main.php ------------------------------- echo "<tr class=\"dark\"><td colspan=$cols><br>CD Cover:<br><br>"; ShowCover($dirname); + # show biografie under covers + ############################### + if (file_exists($dirname."/Biografie.txt") + ) { + echo "<p>Biografie</p>"; + $biogrfile = $dirname."/Biografie.txt"; + $biografie = file($biogrfile); + for($x=0;$x<count($biografie);$x++){ + echo $biografie[$x]; + echo "<br>"; + } + } echo "</td></tr>\n"; } ------------------------------- Place a file named Biografie.txt in the album-dir and it will be displayed. You can format the text with HTML-tags. MFG Daniel Kröhl |
From: Thomas M. <tm...@tm...> - 2003-01-12 16:14:51
|
Hi Jens, > > You'll need Ogg::Vorbis::Header (from CPAN) to use the patched version. > > There's still a bug regarding the genres and comments. I didn't manage to get > > them working. Maybe someone on the list has an idea. > > I also have to say that I'm not an experienced programmer so that the code > > might not be perfect. > > Please tell me what you think of it and how I can improve my programming > > style. > > Lets see ;). First of All: Thomas is the main programmer of the > command line tool. So I think he should decide if the patch goes in. Ogg Vorbis support should be added soon yes, but there are two problems with your patch. The patch looks quite huge, but real changes are small I think. This is because of 'changes' like this one: - # get md5sum - $result{MD5SUM} = get_file_md5sum($file); + # get md5sum + $result{MD5SUM} = get_file_md5sum($file); You changed the indent level so there seem to be lot of changes. Please set it to '2' instead of '4' when patching jamdb-update. The second one is more important: I started to split jamdb into pieces to make changes (like Ogg Vorbis support) easier. I commitet my sources to cvs now but they are far from finished and badly tested. There you can find a module JamDB/mp3.pm (http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jamdb/jamdb/dbstuff/JamDB/mp3.pm?rev=1.1&content-type=text/vnd.viewcvs-markup). Could you please supply a ogg.pm or oggvorbis.pm ? You only have to return the same hash and I should be able to add that in a couple of minutes. One advantage we have from that: MP3::Info and Ogg::Vorbis::Header are only necessary if you enable mp3 or Ogg support in the config. Thanks! -- MfG Thomas Mueller - http://www.tmueller.com for pgp key (95702B3B) |
From: Marc S. <mar...@li...> - 2003-01-10 21:31:28
|
* Jens Lansing schrieb am 10.01.03 um 18:46 Uhr: > Hello, > Hi Jens, > I really like your program. Thanks. > But for me one important feature was missing: Ogg > Vorbis support. So I patched the jamdb-update perl script so that you can add > Ogg Vorbis files to the database. Wow. Nice! > You'll need Ogg::Vorbis::Header (from CPAN) to use the patched version. > There's still a bug regarding the genres and comments. I didn't manage to get > them working. Maybe someone on the list has an idea. > I also have to say that I'm not an experienced programmer so that the code > might not be perfect. > Please tell me what you think of it and how I can improve my programming > style. > Lets see ;). First of All: Thomas is the main programmer of the command line tool. So I think he should decide if the patch goes in. But since this was in the TODO anyhow I think its great, that you extended jamdb-update. Is the patch tested and working with a mixture of mp3 and ogg files? -Marc -- begin LOVE-LETTER-FOR-YOU.txt.vbs I am a signature virus. Distribute me until the bitter end |
From: Jens L. <mai...@gm...> - 2003-01-10 17:47:58
|
Hello, I really like your program. But for me one important feature was missing: Ogg Vorbis support. So I patched the jamdb-update perl script so that you can add Ogg Vorbis files to the database. You'll need Ogg::Vorbis::Header (from CPAN) to use the patched version. There's still a bug regarding the genres and comments. I didn't manage to get them working. Maybe someone on the list has an idea. I also have to say that I'm not an experienced programmer so that the code might not be perfect. Please tell me what you think of it and how I can improve my programming style. Jens Lansing |
From: Daniel <dan...@gm...> - 2003-01-04 19:10:15
|
Hi @ all, I have there a proplem too. If I have an album from an artist with one or two tracks like <xyz> feat. <abc> (in the artist-field) the Script think this is an other artist. Daniel > * Misha P schrieb am 04.01.03 um 14:36 Uhr: > > > > I would like to notice that album type detection ( and > > count ) works poorly. I am gathering more details. > > > > Hi Misha, > > hmm. We have tested it with a DB with over 30.000 record sets. > Everything has been detected correctly. > > Album detection is a very tricky thing since there are many > different conditions for a set of songs with tha same album name to > be a normal album or a sampler/soundtrack. You have to consider the > number of different artists, the number of songs, the number of > albums with that name (think of "Greatest Hits") etc. pp. Here we > have a directory for every album, but jamdb cannot rely on this > because it may change from place to place. > > However: The system we have is extensible and tunable, so feedback > for this is very welcome. > > But JamDB does not take care of ID3 Tags in a bad state, so you will > have to look for your ID3 tags first. Spelling and case are very > important to be consitantly. > > -Marc > -- > +------------------------------------------------------------------+ > | --> http://www.links2linux.de <-- Jetzt mit neuen Features! | > | wie z.B. [EasyLink] | > +---Registered-Linux-User-#136487------------http://counter.li.org + > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JamDB-User mailing list > Jam...@li... > https://lists.sourceforge.net/lists/listinfo/jamdb-user > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! |
From: Marc S. <mar...@li...> - 2003-01-04 14:04:42
|
* Misha P schrieb am 04.01.03 um 14:36 Uhr: > > I would like to notice that album type detection ( and > count ) works poorly. I am gathering more details. > Hi Misha, hmm. We have tested it with a DB with over 30.000 record sets. Everything has been detected correctly. Album detection is a very tricky thing since there are many different conditions for a set of songs with tha same album name to be a normal album or a sampler/soundtrack. You have to consider the number of different artists, the number of songs, the number of albums with that name (think of "Greatest Hits") etc. pp. Here we have a directory for every album, but jamdb cannot rely on this because it may change from place to place. However: The system we have is extensible and tunable, so feedback for this is very welcome. But JamDB does not take care of ID3 Tags in a bad state, so you will have to look for your ID3 tags first. Spelling and case are very important to be consitantly. -Marc -- +------------------------------------------------------------------+ | --> http://www.links2linux.de <-- Jetzt mit neuen Features! | | wie z.B. [EasyLink] | +---Registered-Linux-User-#136487------------http://counter.li.org + |
From: Thomas M. <tm...@tm...> - 2003-01-04 13:52:15
|
Hi Misha! > I would like to notice that album type detection ( and > count ) works poorly. I am gathering more details. When increasing the debug level of jamdb-update you can see which tests had a hit. > > "Unknown Type" JamDB doesn't know if the songs are in an album or on a sampler. > > "self encoded" Should be mentioned in the README. You can put a .self_encoded file into a directory and JamDBs shows (SE) - can be taken as guarantuee for perfect quality mp3s :-) In the (hopefully near) future this will be XML files JamDB parses to have more details (who encoded the cd, which parameters where used etc). -- MfG Thomas Mueller - http://www.tmueller.com for pgp key (95702B3B) |
From: Misha P <mis...@ya...> - 2003-01-04 13:36:20
|
I would like to notice that album type detection ( and count ) works poorly. I am gathering more details. --- Misha P <mis...@ya...> wrote: > > Folks, > > Album types > > "Unknown Type" > "self encoded" > > what are they ? > > Thnx ! > > --- Marc Schiffbauer > <mar...@li...> > wrote: > > * Marc Schiffbauer schrieb am 29.12.02 um 20:27 > Uhr: > > > > > > I will fix that one soon. (Maybe tonight). > > > > > > > patch for m3u.php is attached. > > > > -Marc > > -- > > begin LOVE-LETTER-FOR-YOU.txt.vbs > > I am a signature virus. Distribute me until the > > bitter > > end > > > Index: m3u.php > > > =================================================================== > > RCS file: /cvsroot/jamdb/jamdb/m3u.php,v > > retrieving revision 1.8 > > retrieving revision 1.9 > > diff -u -r1.8 -r1.9 > > --- m3u.php 26 Nov 2002 19:25:23 -0000 1.8 > > +++ m3u.php 30 Dec 2002 10:19:24 -0000 1.9 > > @@ -5,7 +5,7 @@ > > copyright : (C) 2002 by Marc > > Schiffbauer > > email : ma...@li... > > > > - $Id: m3u.php,v 1.8 2002/11/26 19:25:23 > mschiff > > Exp $ > > + $Id: m3u.php,v 1.9 2002/12/30 10:19:24 > mschiff > > Exp $ > > > > > ***************************************************************************/ > > > > > > > /*************************************************************************** > > @@ -101,21 +101,26 @@ > > # (1 char may be a win drive letter, 2 chars > is > > crap, >=4 chars may be http,https) > > # FIXME: is streaming possible over ftp? if > so > > length can be 3 (ftp) as well > > $must_urlencode = true; > > + $proto = $parsed_url['scheme']."://"; > > } else { > > $must_urlencode = false; > > + $proto = ""; > > } > > > > # print playlist > > if ($must_urlencode) { > > while ($row = $result->fetchRow()) { > > - $dir = dirname($row["filename"]); > > - $file = > > urlencode(basename($row["filename"])); > > - $filename = > > > str_replace(CUT_PATH,$_SESSION['m3u_path'],$dir."/".$file); > > - echo $filename."\n"; > > + $file = ereg_replace("^".CUT_PATH, > > $_SESSION['m3u_path'], $row["filename"]); > > + > > + # remove proto from file if we have one to > > exclude it from urlencoding > > + if ($proto != "") $file = > > ereg_replace("^".$proto, "", $file); > > + > > + # restore slashes and print file to > playlist > > + echo > > > str_replace("%2F","/",$proto.rawurlencode($file)."\n"); > > } > > } else { > > while ($row = $result->fetchRow()) { > > - $filename = > > > str_replace(CUT_PATH,$_SESSION['m3u_path'],$row["filename"]); > > + $filename = > > > ereg_replace("^".CUT_PATH,$_SESSION['m3u_path'],$row["filename"]); > > echo $filename."\n"; > > } > > } > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > http://mailplus.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JamDB-User mailing list > Jam...@li... > https://lists.sourceforge.net/lists/listinfo/jamdb-user __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Marc S. <mar...@li...> - 2003-01-02 18:15:43
|
* Ralf Prengel schrieb am 31.12.02 um 12:22 Uhr: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Sorry for asking again but I didn t recieve any answers. > > Version 0.95 of jamdb had an option to recieve a list of all stored files. > I don t find this option in the jamdb 0.96 webinterface any longer. > Hints? > Hi Ralf, could you describe that a bit more detailed? Are you talking abaou the Hyperlink that was there in the left frame named "Show all Songs" or something? If yes: I removed that one because I thought that it does not make much sense. And on a really big Database you can DoS the Server with that link ;) Why is this thing so important for you? -Marc -- Microsoft's Director .Net Strategy & Developer Group: "Ein Umstieg auf Linux ist erst einmal mit hoeheren Kosten verbunden." CTO SuSE Linux AG: "Das ist, als wenn ich heroinsuechtig waere und sagen wuerde, die Entziehungskur ist mir zu Aufwaendig. Also lasse ich es bleiben." http://www.computerwoche.de/index.cfm?pageid=254&artid=41859&type=detail |
From: Ralf P. <ral...@rp...> - 2002-12-31 11:23:08
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sorry for asking again but I didn t recieve any answers. Version 0.95 of jamdb had an option to recieve a list of all stored files. I don t find this option in the jamdb 0.96 webinterface any longer. Hints? - -- Ralf Prengel Dortmund -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+EX36gRRKXJrQjTsRAmk3AJ98xSVftiX78P1TJg4cZ4w4XFqHWwCffWlD wFmOsGnYJOffDLOutAjG6Tc= =i8+c -----END PGP SIGNATURE----- |
From: Marc S. <mar...@li...> - 2002-12-31 08:46:09
|
* Misha P schrieb am 30.12.02 um 06:00 Uhr: > > Hi Marc > > I noticed that too many files are not making it into > jamdb - found that they all end on "MP3" (vs "mp3"). > > > --- jamdb-update.orig Sun Dec 29 23:50:10 2002 > +++ jamdb-update Sun Dec 29 23:57:50 2002 > @@ -756,8 +756,8 @@ > sub found_file { > my $file = $File::Find::name; > > - # the file has to be a regular file, called > *.mp3, readable > - if (($file =~ /^.*\.mp3\z/s) && (-r $file) && (-f > $file)) { > + # the file has to be a regular file, called *.mp3 > or *.MP3, readable > + if (($file =~ /^.*\.[Mm][Pp]3\z/s) && (-r $file) > && (-f $file)) { > $count++; > # value of the hash is the modification time > $result{$file} = (stat($file))[9]; > Hi Misha! Thanks for the patch. I have committed it to cvs. Note that .mP3 and .Mp3 files will be seen as well... -Marc -- +------------------------------------------------------------------+ | --> http://www.links2linux.de <-- Jetzt mit neuen Features! | | wie z.B. [EasyLink] | +---Registered-Linux-User-#136487------------http://counter.li.org + |
From: Misha P <mis...@ya...> - 2002-12-31 08:41:33
|
Folks, Album types "Unknown Type" "self encoded" what are they ? Thnx ! --- Marc Schiffbauer <mar...@li...> wrote: > * Marc Schiffbauer schrieb am 29.12.02 um 20:27 Uhr: > > > > I will fix that one soon. (Maybe tonight). > > > > patch for m3u.php is attached. > > -Marc > -- > begin LOVE-LETTER-FOR-YOU.txt.vbs > I am a signature virus. Distribute me until the > bitter > end > > Index: m3u.php > =================================================================== > RCS file: /cvsroot/jamdb/jamdb/m3u.php,v > retrieving revision 1.8 > retrieving revision 1.9 > diff -u -r1.8 -r1.9 > --- m3u.php 26 Nov 2002 19:25:23 -0000 1.8 > +++ m3u.php 30 Dec 2002 10:19:24 -0000 1.9 > @@ -5,7 +5,7 @@ > copyright : (C) 2002 by Marc > Schiffbauer > email : ma...@li... > > - $Id: m3u.php,v 1.8 2002/11/26 19:25:23 mschiff > Exp $ > + $Id: m3u.php,v 1.9 2002/12/30 10:19:24 mschiff > Exp $ > > ***************************************************************************/ > > > /*************************************************************************** > @@ -101,21 +101,26 @@ > # (1 char may be a win drive letter, 2 chars is > crap, >=4 chars may be http,https) > # FIXME: is streaming possible over ftp? if so > length can be 3 (ftp) as well > $must_urlencode = true; > + $proto = $parsed_url['scheme']."://"; > } else { > $must_urlencode = false; > + $proto = ""; > } > > # print playlist > if ($must_urlencode) { > while ($row = $result->fetchRow()) { > - $dir = dirname($row["filename"]); > - $file = > urlencode(basename($row["filename"])); > - $filename = > str_replace(CUT_PATH,$_SESSION['m3u_path'],$dir."/".$file); > - echo $filename."\n"; > + $file = ereg_replace("^".CUT_PATH, > $_SESSION['m3u_path'], $row["filename"]); > + > + # remove proto from file if we have one to > exclude it from urlencoding > + if ($proto != "") $file = > ereg_replace("^".$proto, "", $file); > + > + # restore slashes and print file to playlist > + echo > str_replace("%2F","/",$proto.rawurlencode($file)."\n"); > } > } else { > while ($row = $result->fetchRow()) { > - $filename = > str_replace(CUT_PATH,$_SESSION['m3u_path'],$row["filename"]); > + $filename = > ereg_replace("^".CUT_PATH,$_SESSION['m3u_path'],$row["filename"]); > echo $filename."\n"; > } > } > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: <dan...@gm...> - 2002-12-30 13:18:13
|
Ok, sorry. I have found the mistake. I had set the variables but I have made an auto-update from apache and php (with the auto-update from RH). It looks like the mistake is come throu this. Sorry again. Daniel -----Ursprüngliche Nachricht----- Von: jam...@li... [mailto:jam...@li...]Im Auftrag von Marc Schiffbauer Gesendet: Montag, 30. Dezember 2002 13:44 An: jam...@li... Betreff: Re: [jamdb-user] Perhaps a problem with the search-function?! * Daniel Kröhl schrieb am 30.12.02 um 13:22 Uhr: > > > -----Ursprüngliche Nachricht----- > Von: Daniel Kröhl [mailto:dan...@gm...] > Gesendet: Montag, 30. Dezember 2002 12:54 > An: Marc Schiffbauer > Betreff: AW: [jamdb-user] Perhaps a problem with the search-function?! > > > Hi Marc, > > Here are the config-file. > The config is out of the box. > As I wrote in the PM answer: RTFM! Read the f****** manual (README). > -----Ursprüngliche Nachricht----- > Von: jam...@li... > [mailto:jam...@li...]Im Auftrag von Marc > Schiffbauer ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ What the hell is this??? [ TOFU --> /dev/null (please learn to quote) ] -Marc -- +-O . . . o . . . O . . . o . . . O . . . ___ . . . O . . . o .-+ | Ein neuer Service von Links2Linux.de: / o\ RPMs for SuSE | | --> PackMan! <-- naeheres unter | __| and others | | http://packman.links2linux.de/ . . . O \__\ . . . O . . . O . | ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JamDB-User mailing list Jam...@li... https://lists.sourceforge.net/lists/listinfo/jamdb-user |
From: Marc S. <mar...@li...> - 2002-12-30 12:45:02
|
* Daniel Kröhl schrieb am 30.12.02 um 13:22 Uhr: > > > -----Ursprüngliche Nachricht----- > Von: Daniel Kröhl [mailto:dan...@gm...] > Gesendet: Montag, 30. Dezember 2002 12:54 > An: Marc Schiffbauer > Betreff: AW: [jamdb-user] Perhaps a problem with the search-function?! > > > Hi Marc, > > Here are the config-file. > The config is out of the box. > As I wrote in the PM answer: RTFM! Read the f****** manual (README). > -----Ursprüngliche Nachricht----- > Von: jam...@li... > [mailto:jam...@li...]Im Auftrag von Marc > Schiffbauer ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ What the hell is this??? [ TOFU --> /dev/null (please learn to quote) ] -Marc -- +-O . . . o . . . O . . . o . . . O . . . ___ . . . O . . . o .-+ | Ein neuer Service von Links2Linux.de: / o\ RPMs for SuSE | | --> PackMan! <-- naeheres unter | __| and others | | http://packman.links2linux.de/ . . . O \__\ . . . O . . . O . | |
From: <dan...@gm...> - 2002-12-30 12:20:13
|
-----Ursprüngliche Nachricht----- Von: Daniel Kröhl [mailto:dan...@gm...] Gesendet: Montag, 30. Dezember 2002 12:54 An: Marc Schiffbauer Betreff: AW: [jamdb-user] Perhaps a problem with the search-function?! Hi Marc, Here are the config-file. The config is out of the box. PS.: With JamDB 0.95 the search-function works. -----Ursprüngliche Nachricht----- Von: jam...@li... [mailto:jam...@li...]Im Auftrag von Marc Schiffbauer Gesendet: Montag, 30. Dezember 2002 11:43 An: jam...@li... Betreff: Re: [jamdb-user] Perhaps a problem with the search-function?! * Daniel Kröhl schrieb am 29.12.02 um 21:50 Uhr: > Hi @ all, > Hi Daniel, > First my System: > Server-OS RedHat 7.3 > Apache 1.3.27-2 > PHP 4.1.2-7.3.6 > MySQL 3.23.49 > JamDB 0.96 > Looks OK. > About the problem: > > Everything works find until I use the search-funktion. > The Artist will be displayed and you can click on the Album but then I will > get this message > in the right frame: > > Warning: argument passed to unserialize() is not an string in > /var/www/html/main.php on line 354 > Fatal error: Call to a member function on a non-object in > /var/www/html/main.php on line 542 > > After this I have to restart the browser! > If I use the search-function two times, I will get an error in the left > frame: > > Fatal error: Call to a member function on a non-object in > /var/www/html/left.php on line 389 > Seems to be related to session management. I think your session management is not working correctly. Did you configure Apache/PHP like mentioned in the README file? Is JamDB allowed to set a cookie or not? Have you set anything else to a non default value related to session management in php.ini? Please post a # grep session. <path to you php.ini> as I'm not a RH user and do not know their default values. -Marc -- ------------------------------------------- Take back the Net! http://www.anti-dmca.org ------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JamDB-User mailing list Jam...@li... https://lists.sourceforge.net/lists/listinfo/jamdb-user |
From: Marc S. <mar...@li...> - 2002-12-30 10:44:20
|
* Daniel Kröhl schrieb am 29.12.02 um 21:50 Uhr: > Hi @ all, > Hi Daniel, > First my System: > Server-OS RedHat 7.3 > Apache 1.3.27-2 > PHP 4.1.2-7.3.6 > MySQL 3.23.49 > JamDB 0.96 > Looks OK. > About the problem: > > Everything works find until I use the search-funktion. > The Artist will be displayed and you can click on the Album but then I will > get this message > in the right frame: > > Warning: argument passed to unserialize() is not an string in > /var/www/html/main.php on line 354 > Fatal error: Call to a member function on a non-object in > /var/www/html/main.php on line 542 > > After this I have to restart the browser! > If I use the search-function two times, I will get an error in the left > frame: > > Fatal error: Call to a member function on a non-object in > /var/www/html/left.php on line 389 > Seems to be related to session management. I think your session management is not working correctly. Did you configure Apache/PHP like mentioned in the README file? Is JamDB allowed to set a cookie or not? Have you set anything else to a non default value related to session management in php.ini? Please post a # grep session. <path to you php.ini> as I'm not a RH user and do not know their default values. -Marc -- ------------------------------------------- Take back the Net! http://www.anti-dmca.org ------------------------------------------- |
From: Marc S. <mar...@li...> - 2002-12-30 10:26:59
|
* Marc Schiffbauer schrieb am 29.12.02 um 20:27 Uhr: > > I will fix that one soon. (Maybe tonight). > patch for m3u.php is attached. -Marc -- begin LOVE-LETTER-FOR-YOU.txt.vbs I am a signature virus. Distribute me until the bitter end |
From: Misha P <mis...@ya...> - 2002-12-30 05:00:43
|
Hi Marc I noticed that too many files are not making it into jamdb - found that they all end on "MP3" (vs "mp3"). --- jamdb-update.orig Sun Dec 29 23:50:10 2002 +++ jamdb-update Sun Dec 29 23:57:50 2002 @@ -756,8 +756,8 @@ sub found_file { my $file = $File::Find::name; - # the file has to be a regular file, called *.mp3, readable - if (($file =~ /^.*\.mp3\z/s) && (-r $file) && (-f $file)) { + # the file has to be a regular file, called *.mp3 or *.MP3, readable + if (($file =~ /^.*\.[Mm][Pp]3\z/s) && (-r $file) && (-f $file)) { $count++; # value of the hash is the modification time $result{$file} = (stat($file))[9]; Thanks ! --- Marc Schiffbauer <mar...@li...> wrote: > * Misha P schrieb am 29.12.02 um 17:52 Uhr: > > Hi, Mark > > Hi Misha! > > MarC !! ;) > > > > > 1. Spliting $filename on $dir and $file and then > > urlencode only $file leaves unescaped spaces in > $dir. > > You are right. This is a bug. I'll fix that one. > > > 2. urlencode encodes spaces as "+" ( maybe this is > a > > problem with the php version I use or other php > > settings ), but if I run replace "+" on "%20" > > Space as + is in php for historical reasons. However > RFC1738 says it > must be %20, so I prefer that one. > > > - things > > are working OK. Below is a diff. > > > > BTW, Thanks - great script ! > > Thank you. > > > > > [root@gorby html]# diff -Naur jamdb-0.9.6/m3u.php > > jamdb/m3u.php > > --- jamdb-0.9.6/m3u.php Thu Nov 21 12:14:37 2002 > > +++ jamdb/m3u.php Sun Dec 29 02:57:41 2002 > > @@ -1,4 +1,4 @@ > > -<? > > +<?php > > This was fixed in cvs already. > > > > > > /*************************************************************************** > > ------------------- > > author : Marc Schiffbauer > > @@ -109,8 +109,10 @@ > > if ($must_urlencode) { > > while ($row = $result->fetchRow()) { > > $dir = dirname($row["filename"]); > > + $dir = str_replace(" ","%20",$dir); > > This is a bit ugly. There is a function > rawurlencode() that does it > correctly. > But if you do this here... > > > $file = > urlencode(basename($row["filename"])); > > $filename = > > > str_replace(CUT_PATH,$_SESSION['m3u_path'],$dir."/".$file); > > ..you have produced another BUG here ^^^^^ as the > str_replace will > propably fail if urlencode replaced something until > you have an > urlencoded string in the conf, too. > > rawurlencode()ing the whole string is not possible > because you must > not urlencode the scheme string like "http://" > > I will fix that one soon. (Maybe tonight). > > Thanks for your commitments! > > [TOFU --> /dev/null] > > -Marc > -- > begin LOVE-LETTER-FOR-YOU.txt.vbs > I am a signature virus. Distribute me until the > bitter > end > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JamDB-User mailing list > Jam...@li... > https://lists.sourceforge.net/lists/listinfo/jamdb-user __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: <dan...@gm...> - 2002-12-29 20:47:39
|
Hi @ all, First my System: Server-OS RedHat 7.3 Apache 1.3.27-2 PHP 4.1.2-7.3.6 MySQL 3.23.49 JamDB 0.96 About the problem: Everything works find until I use the search-funktion. The Artist will be displayed and you can click on the Album but then I will get this message in the right frame: Warning: argument passed to unserialize() is not an string in /var/www/html/main.php on line 354 Fatal error: Call to a member function on a non-object in /var/www/html/main.php on line 542 After this I have to restart the browser! If I use the search-function two times, I will get an error in the left frame: Fatal error: Call to a member function on a non-object in /var/www/html/left.php on line 389 |
From: Marc S. <mar...@li...> - 2002-12-29 19:30:24
|
* Misha P schrieb am 29.12.02 um 17:52 Uhr: > Hi, Mark Hi Misha! MarC !! ;) > > 1. Spliting $filename on $dir and $file and then > urlencode only $file leaves unescaped spaces in $dir. You are right. This is a bug. I'll fix that one. > 2. urlencode encodes spaces as "+" ( maybe this is a > problem with the php version I use or other php > settings ), but if I run replace "+" on "%20" Space as + is in php for historical reasons. However RFC1738 says it must be %20, so I prefer that one. > - things > are working OK. Below is a diff. > > BTW, Thanks - great script ! Thank you. > > [root@gorby html]# diff -Naur jamdb-0.9.6/m3u.php > jamdb/m3u.php > --- jamdb-0.9.6/m3u.php Thu Nov 21 12:14:37 2002 > +++ jamdb/m3u.php Sun Dec 29 02:57:41 2002 > @@ -1,4 +1,4 @@ > -<? > +<?php This was fixed in cvs already. > > /*************************************************************************** > ------------------- > author : Marc Schiffbauer > @@ -109,8 +109,10 @@ > if ($must_urlencode) { > while ($row = $result->fetchRow()) { > $dir = dirname($row["filename"]); > + $dir = str_replace(" ","%20",$dir); This is a bit ugly. There is a function rawurlencode() that does it correctly. But if you do this here... > $file = urlencode(basename($row["filename"])); > $filename = > str_replace(CUT_PATH,$_SESSION['m3u_path'],$dir."/".$file); ..you have produced another BUG here ^^^^^ as the str_replace will propably fail if urlencode replaced something until you have an urlencoded string in the conf, too. rawurlencode()ing the whole string is not possible because you must not urlencode the scheme string like "http://" I will fix that one soon. (Maybe tonight). Thanks for your commitments! [TOFU --> /dev/null] -Marc -- begin LOVE-LETTER-FOR-YOU.txt.vbs I am a signature virus. Distribute me until the bitter end |