Re: [jamdb-user] Unknown Type
Status: Beta
Brought to you by:
mschiff
|
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
|