jamdb-user Mailing List for JamDB (Page 5)
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: Misha P <mis...@ya...> - 2002-12-29 16:52:20
|
Hi, Mark 1. Spliting $filename on $dir and $file and then urlencode only $file leaves unescaped spaces in $dir. 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" - things are working OK. Below is a diff. BTW, Thanks - great script ! [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 /*************************************************************************** ------------------- author : Marc Schiffbauer @@ -109,8 +109,10 @@ if ($must_urlencode) { while ($row = $result->fetchRow()) { $dir = dirname($row["filename"]); + $dir = str_replace(" ","%20",$dir); $file = urlencode(basename($row["filename"])); $filename = str_replace(CUT_PATH,$_SESSION['m3u_path'],$dir."/".$file); + $filename = str_replace("+","%20",$filename); echo $filename."\n"; } } else { --- Marc Schiffbauer <mar...@li...> wrote: > * Misha P schrieb am 29.12.02 um 07:08 Uhr: > > > > Hi there, > > > > Hi Misha, > > > I can't get the playlist thingie to work using > Mozilla > > or XP IE. > > > > Mozilla works. You have to define a Helper-App > > Edit --> Preferences --> Navigator --> Helper > Applications > > "New Type" > > Description: audio/x-mpegurl > File Extension: m3u > MIME-Type: audio/x-mpegurl > Handled by: <I have an xmms_enqueue.sh Script here> > > -------8<---- > #!/bin/bash > # helper for mozilla > /usr/bin/xmms -e $* > ------>8------ > > IE however is too stupid to understand the MIME-type > audio/x-mpegurl correctly. > This is not a JamDB Problem, it is an IE Problem. If > you choose > "Save As" and then doubleclick the downloaded file > it works fine. So > MediaPlayer likes it but IE is too stupid. > > Tell me waht to change in JamDB to make it work with > IE and I will > propably fix it. > > > If click on the link - I get > > > > http://gorby/jamdb/m3u.php?a=1577&s=6999 > > loaded to Windows Media Player ( or XMMS ). > > > > WM titles it as "Playlist", but does not play. > > > > It is known to work under Windoze with mozilla. > > > If I right click and select "Save Target As...", > > I get URLs like below loaded > > > > http://gorby/mp3/s/spin+doctors+--+two+princes.mp3 > > > > or even worse ( notice unescaped space in > "Patricia > > Kaas" ) > > > > http://gorby/mp3/k/Patricia > > > Kaas/Patricia+Kaas+et+Pascal+Obispo-+L%27aigle+noir.mp3 > > > > What is wrong with these URLs? They ar totally > correct IMHO. > I do not see any "unescaped" Space here? > > > define("CUT_PATH", "/c3/media/mp3/"); > > $m3u_paths = array("Web" => "http://gorby/mp3/", > > > > This *might* be correct. For debugging you might > edit m3u.php and > put a '#' at the front of line 90 and 91. > > Looks like that then: > > # header("Content-Type: audio/x-mpegurl"); > # header("Content-Disposition: inline; > filename=jamdb.m3u"); > > After that, the playlist will be printed into the > right frame > instead of send as playlist. > > > HTTP Server runnig on > > Apache/1.3.19 (Unix) (Red-Hat/Linux) > > Ok > > > PHP 4.1.2 > > Ok > > > MySQL 3.23.45 is on Solaris 2.8 > > > > Ok AFAIK > > JamDB Version? > > -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: Marc S. <mar...@li...> - 2002-12-29 16:32:15
|
* Misha P schrieb am 29.12.02 um 07:08 Uhr: > > Hi there, > Hi Misha, > I can't get the playlist thingie to work using Mozilla > or XP IE. > Mozilla works. You have to define a Helper-App Edit --> Preferences --> Navigator --> Helper Applications "New Type" Description: audio/x-mpegurl File Extension: m3u MIME-Type: audio/x-mpegurl Handled by: <I have an xmms_enqueue.sh Script here> -------8<---- #!/bin/bash # helper for mozilla /usr/bin/xmms -e $* ------>8------ IE however is too stupid to understand the MIME-type audio/x-mpegurl correctly. This is not a JamDB Problem, it is an IE Problem. If you choose "Save As" and then doubleclick the downloaded file it works fine. So MediaPlayer likes it but IE is too stupid. Tell me waht to change in JamDB to make it work with IE and I will propably fix it. > If click on the link - I get > > http://gorby/jamdb/m3u.php?a=1577&s=6999 > loaded to Windows Media Player ( or XMMS ). > > WM titles it as "Playlist", but does not play. > It is known to work under Windoze with mozilla. > If I right click and select "Save Target As...", > I get URLs like below loaded > > http://gorby/mp3/s/spin+doctors+--+two+princes.mp3 > > or even worse ( notice unescaped space in "Patricia > Kaas" ) > > http://gorby/mp3/k/Patricia > Kaas/Patricia+Kaas+et+Pascal+Obispo-+L%27aigle+noir.mp3 > What is wrong with these URLs? They ar totally correct IMHO. I do not see any "unescaped" Space here? > define("CUT_PATH", "/c3/media/mp3/"); > $m3u_paths = array("Web" => "http://gorby/mp3/", > This *might* be correct. For debugging you might edit m3u.php and put a '#' at the front of line 90 and 91. Looks like that then: # header("Content-Type: audio/x-mpegurl"); # header("Content-Disposition: inline; filename=jamdb.m3u"); After that, the playlist will be printed into the right frame instead of send as playlist. > HTTP Server runnig on > Apache/1.3.19 (Unix) (Red-Hat/Linux) Ok > PHP 4.1.2 Ok > MySQL 3.23.45 is on Solaris 2.8 > Ok AFAIK JamDB Version? -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-29 06:08:51
|
Hi there, I can't get the playlist thingie to work using Mozilla or XP IE. If click on the link - I get http://gorby/jamdb/m3u.php?a=1577&s=6999 loaded to Windows Media Player ( or XMMS ). WM titles it as "Playlist", but does not play. If I right click and select "Save Target As...", I get URLs like below loaded http://gorby/mp3/s/spin+doctors+--+two+princes.mp3 or even worse ( notice unescaped space in "Patricia Kaas" ) http://gorby/mp3/k/Patricia Kaas/Patricia+Kaas+et+Pascal+Obispo-+L%27aigle+noir.mp3 define("CUT_PATH", "/c3/media/mp3/"); $m3u_paths = array("Web" => "http://gorby/mp3/", HTTP Server runnig on Apache/1.3.19 (Unix) (Red-Hat/Linux) PHP 4.1.2 MySQL 3.23.45 is on Solaris 2.8 Thanks ! __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Ralf P. <ral...@rp...> - 2002-12-06 17:39:48
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Version 0.95 of jamdb had an option to recieve al 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 iD8DBQE98ODWgRRKXJrQjTsRAiHYAKDJCWx23WBRou9yHXjCPR+8YJyEHgCfbCnf xKWGDawNtgWVQneM2q+R1JY= =qXKq -----END PGP SIGNATURE----- |
From: Marc S. <mar...@li...> - 2002-11-26 23:08:15
|
* Thomas Mueller schrieb am 26.11.02 um 12:45 Uhr: > Hi vince! > > > Thanks for the quick response, I figured it all out right after i sent the > > email and it all works well except for one bug that i found. To > > reproduce it > > enter a nonexistent artist/album/song into the search, then click it > > twice..notice that > > the left nav window disappears, the only way to recover is to reload the > > browser. > > I can't reproduce that. I entered a artist like 'ewoigfhasdvg', double > click the 'find' button and get as result '0 artists'. > What browser are you using? I have Mozilla/5.0 (X11; U; Linux i686; > en-US; rv:1.2b) Gecko/20021016 > > He is not subscribed... did you bcc him? -Marc -- ------------------------------------------- Take back the Net! http://www.anti-dmca.org ------------------------------------------- |
From: Marc S. <mar...@li...> - 2002-11-26 23:08:10
|
* Daniel Kröhl schrieb am 26.11.02 um 00:11 Uhr: > First I will try it in english: > > Hi @all, > > I have some problems with the DB in V0.96 > [...] > 2. When I connect to the DB from my WinXP the playlists look like this: > > #EXTM3U > #EXTINF:-1,jamdb[1] > \Dokumente und Einstellungen\Chaosmann\Lokale Einstellungen\Temporary > Internet Files\Content.IE5\45IJERM5\jamdb[1].m3u > > If I right-click on the Link and choose Target save as... or I try > it on the Linux-System the Playlists looks ok. > This is a known problem. Use mozilla, tell him what to do with files of MIME type audio/x-mpegurl and everything is ok. I think this is an IE feature to break mp3 playlists. Tell me what is wrong with the http header of the playlist send to the browser and I'll fix it. If IE tells a program where to find a file to play and the file is not there, this is not a JamDB problem IMHO. -Marc -- ------------------------------------------- Take back the Net! http://www.anti-dmca.org ------------------------------------------- |
From: Marc S. <mar...@li...> - 2002-11-26 23:08:05
|
* Daniel Kröhl schrieb am 26.11.02 um 15:33 Uhr: > It looks like: > Winamp get the path to the temporary INet-Files but the m3u-file isn't in > the cache. > Is there any posibillity to cache the m3u-file? > ask the MS Support... I do not know. > @Marc: > Please write in the Scripts <?php at the beginning. The newest PHP don't > loves the <? > THX Ok thank you. Although I never ever had a problem with that it is fixed in current cvs. -Marc -- begin LOVE-LETTER-FOR-YOU.txt.vbs I am a signature virus. Distribute me until the bitter end |
From: Daniel <dan...@gm...> - 2002-11-26 14:34:00
|
> Hi Daniel! > > > First I will try it in english: > > That's the way to go - not everybody speaks german :-) > > > I have some problems with the DB in V0.96 > > > > 1. the login doesn't work. I have made an account test with the > > password test, but every time I try to login, I get a missmatch. > > Mismatch? That sounds as if your problem is the gui login?? right, there is my problem. But only with Red Hat 8.0 I have now SuSe 8.0 running and the problem is gone :? > > three logins have to work to get jamdb up :-) > 1. jamdb-update has to connect the database to fill it > 2. the user needs to login to jamdb (gui) > 3. the gui has to connect the database to do queries > > If you are running apache you probably created the htpasswd using by > changing to the etc directory and typing 'htpasswd htpasswd test' ? > Are the rights of that file ok? Can the user the webserver is running > as read that file? > > > 2. When I connect to the DB from my WinXP the playlists look like this: > > Uh? So the login works when using WinXP and it doesn't using what? > Linux? > I edit the auth.inc to go into the DB. But I have the following problem also with SuSe 8.0 as OS > > #EXTM3U > > #EXTINF:-1,jamdb[1] > > We never add this entries to a playlist I think. > > > \Dokumente und Einstellungen\Chaosmann\Lokale Einstellungen\Temporary > > Internet Files\Content.IE5\45IJERM5\jamdb[1].m3u > > > > If I right-click on the Link and choose Target save as... or I try > > it on the Linux-System the Playlists looks ok. > > Marc? > It looks like: Winamp get the path to the temporary INet-Files but the m3u-file isn't in the cache. Is there any posibillity to cache the m3u-file? @Marc: Please write in the Scripts <?php at the beginning. The newest PHP don't loves the <? THX > > -- > MfG Thomas Mueller - http://www.tmueller.com for pgp key (95702B3B) > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > 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: Thomas M. <tm...@tm...> - 2002-11-26 12:01:38
|
Hi Daniel! > First I will try it in english: That's the way to go - not everybody speaks german :-) > I have some problems with the DB in V0.96 > > 1. the login doesn't work. I have made an account test with the > password test, but every time I try to login, I get a missmatch. Mismatch? That sounds as if your problem is the gui login?? three logins have to work to get jamdb up :-) 1. jamdb-update has to connect the database to fill it 2. the user needs to login to jamdb (gui) 3. the gui has to connect the database to do queries If you are running apache you probably created the htpasswd using by changing to the etc directory and typing 'htpasswd htpasswd test' ? Are the rights of that file ok? Can the user the webserver is running as read that file? > 2. When I connect to the DB from my WinXP the playlists look like this: Uh? So the login works when using WinXP and it doesn't using what? Linux? > #EXTM3U > #EXTINF:-1,jamdb[1] We never add this entries to a playlist I think. > \Dokumente und Einstellungen\Chaosmann\Lokale Einstellungen\Temporary > Internet Files\Content.IE5\45IJERM5\jamdb[1].m3u > > If I right-click on the Link and choose Target save as... or I try > it on the Linux-System the Playlists looks ok. Marc? -- MfG Thomas Mueller - http://www.tmueller.com for pgp key (95702B3B) |
From: Thomas M. <tm...@tm...> - 2002-11-26 11:45:21
|
Hi vince! > Thanks for the quick response, I figured it all out right after i sent the > email and it all works well except for one bug that i found. To > reproduce it > enter a nonexistent artist/album/song into the search, then click it > twice..notice that > the left nav window disappears, the only way to recover is to reload the > browser. I can't reproduce that. I entered a artist like 'ewoigfhasdvg', double click the 'find' button and get as result '0 artists'. What browser are you using? I have Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016 -- MfG Thomas Mueller - http://www.tmueller.com for pgp key (95702B3B) |
From: <dan...@gm...> - 2002-11-25 23:10:46
|
First I will try it in english: Hi @all, I have some problems with the DB in V0.96 1. the login doesn't work. I have made an account test with the password test, but every time I try to login, I get a missmatch. 2. When I connect to the DB from my WinXP the playlists look like this: #EXTM3U #EXTINF:-1,jamdb[1] \Dokumente und Einstellungen\Chaosmann\Lokale Einstellungen\Temporary Internet Files\Content.IE5\45IJERM5\jamdb[1].m3u If I right-click on the Link and choose Target save as... or I try it on the Linux-System the Playlists looks ok. So, jetzt noch mal für alle die des Deutsch mächtig sind: Ich habe einige Probleme mit der DB in der V0.96 1. Ich kann mich nicht einloggen. Ich habe einen Account test angelegt mit dem Passwort test, aber wenn ich mich versuche einzuloggen, bekomme ich immer wieder eine Fehlermeldung, das es nicht stimmen würde. 2. Wenn ich von meinem WinXP-Rechner auf die DB zugreife, und die Playlists direkt vom Winamp übernehmen lasse, sehen die Playlists etwa so aus: #EXTM3U #EXTINF:-1,jamdb[1] \Dokumente und Einstellungen\Chaosmann\Lokale Einstellungen\Temporary Internet Files\Content.IE5\45IJERM5\jamdb[1].m3u Wenn ich aber die Playlisten über Speichern unter ... erst auf der Platte speichere sind sie in ordnung. Auch unter Linux funktioniert alles bestens. MFG Daniel Kröhl alias Chaosmann |
From: vince <vi...@ve...> - 2002-11-25 22:31:24
|
Thanks for the quick response, I figured it all out right after i sent the email and it all works well except for one bug that i found. To reproduce it enter a nonexistent artist/album/song into the search, then click it twice..notice that the left nav window disappears, the only way to recover is to reload the browser. Thomas Mueller wrote: >Hi! > > > >>>Hi, when i try to connect i get DB Error: connect failed >>>error how can i correct this? >>>also when i run the jamdb-update -d i get 0 albums checked, detected 0 >>>albums, 0 sampler, 0 unknown it looks like it not picking up my mp3 dir >>> >>> >>you have to put the correct credentials into >>dbstuff/jamdb-update.conf as well as into etc/jamdb.conf >> >> > >dbstuff/jamdb-update.conf seems to be okay, otherwise you would get an >error when calling jamdb-update. > >'jamdb-update -d' starts a detection of albums/sampler that are already >in the database! You either have to call 'jamdb-update -u' to add the >files to the database and do the detection later, or the recommended >way, add the files and do the detection: 'jamdb-update -u -d' > > > > |
From: Thomas M. <tm...@tm...> - 2002-11-25 11:42:15
|
Hi! > > Hi, when i try to connect i get DB Error: connect failed > > error how can i correct this? > > also when i run the jamdb-update -d i get 0 albums checked, detected 0 > > albums, 0 sampler, 0 unknown it looks like it not picking up my mp3 dir > > you have to put the correct credentials into > dbstuff/jamdb-update.conf as well as into etc/jamdb.conf dbstuff/jamdb-update.conf seems to be okay, otherwise you would get an error when calling jamdb-update. 'jamdb-update -d' starts a detection of albums/sampler that are already in the database! You either have to call 'jamdb-update -u' to add the files to the database and do the detection later, or the recommended way, add the files and do the detection: 'jamdb-update -u -d' -- MfG Thomas Mueller - http://www.tmueller.com for pgp key (95702B3B) |
From: Marc S. <mar...@li...> - 2002-11-25 08:42:31
|
* vi...@ve... schrieb am 24.11.02 um 20:08 Uhr: > > Hi, when i try to connect i get DB Error: connect failed > error how can i correct this? > also when i run the jamdb-update -d i get 0 albums checked, detected 0 > albums, 0 sampler, 0 unknown it looks like it not picking up my mp3 dir > > thx vince > Hi vince, you have to put the correct credentials into dbstuff/jamdb-update.conf as well as into etc/jamdb.conf The username and the password must be correct. This user must be a DB user. Which database are you using? Is it possible for you to connect to the DB with the mysql tool (if using mysql) mysql -u <user> -p jamdb ? -Marc PS: You may subscribe to this list at http://lists.sourceforge.net/lists/listinfo/jamdb-user -- +------------------------------------------------------------------+ | --> http://www.links2linux.de <-- Jetzt mit neuen Features! | | wie z.B. [EasyLink] | +---Registered-Linux-User-#136487------------http://counter.li.org + |
From: <vi...@ve...> - 2002-11-24 19:13:35
|
Hi, when i try to connect i get DB Error: connect failed error how can i correct this? also when i run the jamdb-update -d i get 0 albums checked, detected 0 albums, 0 sampler, 0 unknown it looks like it not picking up my mp3 dir thx vince |
From: Thomas M. <ml...@tm...> - 2002-11-08 21:18:53
|
Hi Ralf! I'd like to continue the discussion on the list. I will not translate the german part, but the discussion will continue in english now. > Werden versehentlich 2 identische Pfade angelegt die sich nur durch > Groß/Kleinschreibung unterscheiden und tragen die MP3 Files den gleichen > Namen erscheint folgendes Problem > Add: > /usr/local/httpd/htdocs/music/mp3/c/CrowSheryl/Theglobesessions/TheGlobeSessions-11-CrshAndBurn.mp3 > AAdding 'CrowSheryl': 'Theglobesessions': 'TheGlobeSessions-11-CrshAndBurn' > ...DBD::mysql::db do failed: Duplicate entry > '/usr/local/httpd/htdocs/music/mp3/c/CrowSheryl/Theglobesessions/TheGlobeSessions-11-CrshAndBurn.mp3' > for key 2 at ./jamdb-update line 494. > Warning: Duplicate song: "TheGlobeSessions-11-CrshAndBurn" by CrowSheryl > > Die Ursache ist klar nur wäre es nett wenn es möglich wäre Fehlermelungen > aller Art automatisch in ein Logfile zu bekommen. > Insbesondere wenn man alte MP3 Bestände aufarbeitet und organisiert könnte es > zu solchen und ähnlichen Problemen kommen. > Ggf. würde ja erst mal eine optionale Stopfunktion ausreichen die bei jedem > Fehler stehen bleibt. In the past we stopped when we encountered an error, but we got requests not to stop. There are several solutions: - add an 'exit 0;' where the error occurs in the script to exit - wait for 0.96 there you'll get Postgres support; Postgres is case sensitive, because of that all files on the disc are added (every SQL92 capable database should work then) - after the 0.96 release I can change jamdb-update and write all error messages to STDERR instead of STDOUT and you could do something like: ./jamdb-update 2>jamdb.errors -- Bitte senden Sie mir keine Word-Anhänge. Siehe http://www.fsf.org/philosophy/no-word-attachments.de.html MfG Thomas Mueller - http://www.tmueller.com for pgp key (95702B3B) |
From: Marc S. <mar...@li...> - 2002-11-05 16:07:35
|
* Marc Schiffbauer schrieb am 05.11.02 um 16:54 Uhr: > This is a first testposting. > > Have fun... Reply test -- +-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: Marc S. <mar...@li...> - 2002-11-05 15:55:08
|
This is a first testposting. Have fun... -- +-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 . | |