gnump3d-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnump3d-users] Re: Windows Configuration (can't figure out the slashes)


From: Brian Shepard
Subject: [Gnump3d-users] Re: Windows Configuration (can't figure out the slashes)
Date: Sat, 16 Jun 2007 17:18:58 -0400


This makes sense in theory, but I'm not sure how to apply it.  I started fresh with GNUMP3d and the only things I've changed are the root directory in gnump3d.conf.win and the root directory in gnump3d.bat.  My music directory is  K:\music.  Unfortunately, now I can only get the music directory to come up but I can't open any of the subdirectories.  I get the following error in Firefox when I try to click on a subdirectory (mp3 or flac): Firefox doesn't know how to open this address, because the protocol k isn't associated with any program.  Similarly, I get this error in Safari: Safari can't open "k:%5Cmusic/mp3/" because Mac OS X doesn't recognize Internet addresses starting with "k:".  I've tried listing the root as k:/music, k:\music and  k:\\music and get the same errors.  The server is located at mapleshade.dyndns.org:8888.  Now I've fixed it so I it's not working at all. : (

Any ideas are appreciated.
Brian


On 6/15/07, Jim Lucas <address@hidden> wrote:
Brian Shepard wrote:
> I hope someone might have some insight on this.  I'll include an example of
> what I'm talking about from GNUMP3d 2.9 final's default conf.win.in file:
>
> root               = C:/mp3
> logfile            = C:/gnump3d2/logs/access.log
> errorlog           = C:/gnump3d2/logs/error.log
> stats_program      = C:\gnump3d2\bin\gnump3d- top.bat
> index_program      = C:\gnump3d2\bin\gnump3d-index.bat
> template_directory = C:/gnump3d2/templates
> theme_directory    = C:/gnump3d2/templates
> theme_dir          = c:\gnump3d2\templates
> plugin_directory   = C:/gnump3d2/lib/gnump3d/plugins
> mime_file          = C:/gnump3d2/etc/mime.types
> file_types         = C:/gnump3d2/etc/file.types
> now_playing_dir    = C:/gnump3d2/logs/serving
> tag_cache          = C:/gnump3d2/logs/tag.cache
> lockfile           = C:/gnump3d2/lock.tmp
> plugin_directory   = C:/gnump3d2/lib/gnump3d/plugins
> now_playing_path   = c:\gnump3d2\logs\serving
> tag_cache          = C:/gnump3d2/logs/tag.cache
>
> Are the forward slash and back slash used interchangeably?  Is there some
> sort of reason why one is used in a certain case?  If I revert back to the
> default conf.win file, I have to use K:/music as opposed to K:\music as my
> root directory or Firefox cannot open any subdirectories.  What's the deal?
>
> Brian
>
> On 6/11/07, Brian Shepard < address@hidden> wrote:
>>
>> I had GNUMP3d working beautifully under Ubuntu, but I switched my HTPC to
>> Windows and want to retain my music server.  Unfortunately, I can't
>> get all
>> the features set up correctly.  There seems to be a lot of issues with
>> forward slash "/" and back slash "\" and when to use which one.  Plus
>> there
>> is so much more redundancy under Windows, under linux I only had to
>> change
>> the conf.  I got it installed correctly and a lot of trial and error
>> got the
>> server working but without random selections and "new" never went
>> away, even
>> though it was set to 7 days.  Does anyone have some configuration tips;
>> which slash to use where and which files need editing?  This is the
>> missing
>> link to my HTPC and I want my GNUMP3d back.  I appreciate it.
>>
>> Brian
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gnump3d-users mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnump3d-users
To give you a little more info.

\n = new line
\t = tab
\r = carriage return

These are all special characters when you are talking about a string

in some cases, a '\' before any char will escape the char.  So, what you
end up with is this

this
index_program      = C:\gnump3d2\bin\gnump3d-index.bat
will be this
index_program      = C:\gnump3d2\bin\gnump3d-index.bat

this
index_program      = C:\\gnump3d2\\bin\\gnump3d- index.bat
will be this
index_program      = C:\gnump3d2\bin\gnump3d-index.bat

but this
index_program      = C:/gnump3d2/bin/gnump3d-index.bat
equates to this
index_program      = C:\gnump3d2\bin\gnump3d- index.bat

Hope this explains it a little better

Jim Lucas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]