jer dem | 28 Oct 14:44 2013

"random directory" not working in google chrome *FIXED

Hi!

I am using GNUMP3d version 3.0.

I've experienced some problems that clicking on the "random directory" link was not working correctly in the most recent Google Chrome (version: 30.0.1599.101 m) web browser. It resulted in a blank page.

After some debugging, I've found that Chrome does not accept the broad HTTP header code (300). I've changed the HTTP header code from 300 to 302 on line 528 in random.pm. It seems to be working fine now, also in the other browsers. It might save some other people some hours of valuable time.

Note: You might want to add urlEncode($1) on line 525 if you're experiencing problems with illegal characters in the URL after pressing "random directory", but that was already mentioned in a previous post.

Thanks for having this resource still available!

Jer


_______________________________________________
Gnump3d-users mailing list
Gnump3d-users@...
https://lists.gnu.org/mailman/listinfo/gnump3d-users
Kevin Oberle | 16 Apr 19:45 2013
Picon

Album art?

Howdy,

Rather than as separate image files, my music collection has the album art inserted into the cover tag of each music file.  Has anyone modded Gnump3d to stream such cover art?

If so, would you mind sharing your code changes?

Thanks.
_______________________________________________
Gnump3d-users mailing list
Gnump3d-users@...
https://lists.gnu.org/mailman/listinfo/gnump3d-users
Brandon Kuczenski | 13 Sep 10:04 2012
Picon

uninitialized variable $file in config.pm

Hi,

Running gnump3d v3.0 on freebsd 8.3-RELEASE.  gnump3d-index is revision 
1.27.

When I try to run gnump3d-index I get the following:

[b <at> ocean gnump3d]$ gnump3d-index --config /usr/local/etc/gnump3d/gnump3d.ocean
Use of uninitialized value $file in concatenation (.) or string at 
/usr/local/lib/perl5/site_perl/5.12.4/gnump3d/config.pm line 140.
Use of uninitialized value $file in concatenation (.) or string at 
/usr/local/lib/perl5/site_perl/5.12.4/gnump3d/config.pm line 140.
Can't read configuration in : No such file or directory
[b <at> ocean gnump3d]$

?

gnump3d.ocean is attached.

Thanks in advance for any insight.
Brandon
port = 8888
root = /home/archive/music   
logfile = /var/log/gnump3d/access.log
log_format = $connected_address - $user [$date] "GET $REQUEST" $HTTP_CODE $SERVED_SIZE "-" "$USER_AGENT"
errorlog = /var/log/gnump3d/error.log
user = gnump3d
allowed_clients = all
always_stream = 1
recursive_randomize = 1
advanced_playlists = 0
theme = BlueBoxLocal
theme_directory = /usr/local/share/gnump3d/
directory_format = <tr class="item"><td width="10%">&nbsp;</td><td><a
href="$LINK">$DIR_NAME</a> $NEW</td><td>$SONG_COUNT</td><td>$DIR_COUNT</td><td>[$RECURSE]</td></tr></a>
new_format = <font color="red"><b>New</b></font>
new_days   = 7
file_format = <tr class="item"><td><a class="bar" href="$LINK">$SONG_FORMAT</a></td><td
class="right">[<a href="/info$PLAINLINK">Info</a>&nbsp;-&nbsp;<a href="$PLAINLINK">Link&nbsp;to&nbsp;File</a>]</td></tr>
song_format = $ARTIST - $TRACK $SONGNAME
sort_order = $FILENAME
plugin_directory = /usr/local/lib/perl5/site_perl/5.12.4/gnump3d/plugins/
mime_file = /usr/local/etc/gnump3d/mime.types
now_playing_path = /var/cache/gnump3d/serving
tag_cache = /var/cache/gnump3d/song.tags
shoutcast_streaming = 1
use_client_host = 1
_______________________________________________
Gnump3d-users mailing list
Gnump3d-users@...
https://lists.gnu.org/mailman/listinfo/gnump3d-users
jorge bellido galea | 27 Apr 22:50 2012
Picon

(no subject)

_______________________________________________
Gnump3d-users mailing list
Gnump3d-users@...
https://lists.gnu.org/mailman/listinfo/gnump3d-users
jorge bellido galea | 26 Apr 08:22 2012
Picon

Fwd:

_______________________________________________
Gnump3d-users mailing list
Gnump3d-users@...
https://lists.gnu.org/mailman/listinfo/gnump3d-users
jorge bellido galea | 23 Apr 22:45 2012
Picon

Fw:

_______________________________________________
Gnump3d-users mailing list
Gnump3d-users@...
https://lists.gnu.org/mailman/listinfo/gnump3d-users
Facundo Suárez | 12 Apr 01:58 2012
Picon

gnump3d over ssl

Hi all

I am trying to set gnump3d up to work over ssl. Is there any way?. How?

I read the config file and there is nothing there about that.

Thanks...

--

-- 
Facundo Suarez
Neuquen - Capital
suarezjf -> twitter

()  ascii ribbon campaign - contra el coreo html
/\  www.asciiribbon.org   - contra adjuntos propietarios
jorge bellido galea | 10 Apr 17:14 2012
Picon

Re: (no subject)

...Choose the 100% way to become rich  http://www.ramiro.barcelo.nom.br/click.link.php?gfriend=61yr5
_______________________________________________
Gnump3d-users mailing list
Gnump3d-users@...
https://lists.gnu.org/mailman/listinfo/gnump3d-users
Marty | 10 Mar 08:42 2012
Picon

iPod Touch streaming

Hi!  I'm glad this list is still active.  I've been hosting a server with gnump3d for about 6 years now and was
disappointed to see the software stop being developed in 2007.  The software for V3 still works fine on
Slackware when other computers go to my server's site to stream m3u playlists.  However, when my iPod Touch
2G goes to stream an m3u playlist it cannot.  I am, however, able to stream mp3s by changing the
always_stream = 1 variable in gnump3d.conf to:

always_stream = 0

My iPod streams using a Quicktime plugin with Safari Browser.

So, can iPod Touches stream playlists with gnump3d?

Marty
Facundo Suárez | 17 Jan 20:27 2012
Picon

maximum_connections

Hi all.

I am trying to setup gnump3d, it works really great. I need to set up
maximum connections, but it seems to not work. I tested it in a LAN.
Just to try, i seted up maximum_connectios = 1 to test, but more than
1 connection can access the server.

I am wrong about somethin i don't know?

Thanks.

--

-- 
Facundo Suarez
Neuquen - Capital
suarezjf -> twitter

()  ascii ribbon campaign - contra el coreo html
/\  www.asciiribbon.org   - contra adjuntos propietarios
Richard Wheelock | 17 Sep 19:35 2011
Picon

Gnump3d help - will index but not stream

Hello all,

I'm attempting to get Gnump3d working to where I can stream my music to local machines, and then eventually to my work computer over the Internet.

Out of the box, it seemed to work brilliantly when I copied a few mp3's to /var/music. But when I changed the root directory to /media/Share/Music, it broke. The homepage at 127.0.0.1:8888 would just be a blank page - no formatting or menus at all. If I tried 127.0.0.1:8888/playlist, I would get the play list generation screen, showing all of the music. However, all the links appeared to be broken. I did some googling, and found that others had experienced similar issues relating to the media being on an NTFS or fat partition, and the way that it is mounted in /etc/fstab. In my case though, it's an ext4 partition on a local drive. I tried changing the owner of the Music folder to gnump3d, and still no luck. I changed the owner of the folder back to myself, and, as before, allow others read only access.

I made some progress by creating a symlink from /media/Share/Music to /var/music/Music, and changing root back to root = /var/music. Now, when I go to 127.0.0.1:8888, I get the properly formatted home page, but no music is listed the way it was at first when I had copied a few files straight to /var/music. I can navigate to the custom playlist page, and see all of the music, but if I click on any of the albums, I'll get something like this (as I did before the symlink):


The requested file /Music/311/Greatest%20Hits%20%2793-%2703/ couldn't be found. Please try returning to the index.

The debug gives this output:

No CGI parameters for URI /Music/311/Greatest%20Hits%20%2793-%2703/
Testing plugin : plugins::copying - for /Music/311/Greatest Hits '93-'03/ plugin won't handle path
Testing plugin : plugins::info - for /Music/311/Greatest Hits '93-'03/ plugin won't handle path
Testing plugin : plugins::now - for /Music/311/Greatest Hits '93-'03/ plugin won't handle path
Testing plugin : plugins::playlist - for /Music/311/Greatest Hits '93-'03/ plugin won't handle path
Testing plugin : plugins::prefs - for /Music/311/Greatest Hits '93-'03/ plugin won't handle path
Testing plugin : plugins::random - for /Music/311/Greatest Hits '93-'03/ plugin won't handle path
Testing plugin : plugins::recent - for /Music/311/Greatest Hits '93-'03/ plugin won't handle path
Testing plugin : plugins::search - for /Music/311/Greatest Hits '93-'03/ plugin won't handle path
Testing plugin : plugins::size - for /Music/311/Greatest Hits '93-'03/ plugin won't handle path
Testing plugin : plugins::stats - for /Music/311/Greatest Hits '93-'03/ plugin won't handle path
Testing plugin : plugins::tagbrowse - for /Music/311/Greatest Hits '93-'03/ plugin won't handle path
Header: HTTP/1.0 404 OK
Connection: close
Server: GNUMP3d 3.0
Content-type: text/html
Set-Cookie: theme=Tabular;path=/; expires=Mon, 10-Mar-08 14:36:42 GMT;

I'm fairly sure this is a permissions issue, but as far as how to resolve it, I'm stumped. Tried doing a "sudo chmod a+r /media/Share/Music", but again no change. Any ideas? I've attached my current gnump3d.conf, though I think I've changed everything back to default.

Thank you,

Richard
Attachment (gnump3d.conf): application/octet-stream, 31 KiB
_______________________________________________
Gnump3d-users mailing list
Gnump3d-users@...
https://lists.gnu.org/mailman/listinfo/gnump3d-users

Gmane